Quectel MHI PCIe Driver and QMI WWAN Driver

I am trying to build Openwrt 25.04 (Snapshot with Linux 6.12) for my router with RM520N-CN in. I need mhi pcie driver and qmi wwan driver. I tried to use old quectel mhi driver v1.3.7, but it didn’t work:

pcie_mhi-1.3.7/core/mhi_init.c:647:25: error: 'no_llseek' undeclared here (not in a function); did you mean 'noop_llseek'?
  647 |         .llseek =       no_llseek,
      |                         ^~~~~~~~~
      |                         noop_llseek

Could you please share?

@Issacc_Vito you can get the driver from this repository.

1 Like