OSDN Git Service

net: Add Qcom WWAN control driver
authorLoic Poulain <loic.poulain@linaro.org>
Fri, 16 Apr 2021 08:36:34 +0000 (10:36 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Apr 2021 22:31:02 +0000 (15:31 -0700)
commitfa588eba632df14d296436995e6bbea0c146ae77
tree3ce7e7011e3d765978124ef30191741af325e0f9
parent9a44c1cc63887627284ae232a9626a9f1cd066fc
net: Add Qcom WWAN control driver

The MHI WWWAN control driver allows MHI QCOM-based modems to expose
different modem control protocols/ports via the WWAN framework, so that
userspace modem tools or daemon (e.g. ModemManager) can control WWAN
config and state (APN config, SMS, provider selection...). A QCOM-based
modem can expose one or several of the following protocols:
- AT: Well known AT commands interactive protocol (microcom, minicom...)
- MBIM: Mobile Broadband Interface Model (libmbim, mbimcli)
- QMI: QCOM MSM/Modem Interface (libqmi, qmicli)
- QCDM: QCOM Modem diagnostic interface (libqcdm)
- FIREHOSE: XML-based protocol for Modem firmware management
        (qmi-firmware-update)

Note that this patch is mostly a rework of the earlier MHI UCI
tentative that was a generic interface for accessing MHI bus from
userspace. As suggested, this new version is WWAN specific and is
dedicated to only expose channels used for controlling a modem, and
for which related opensource userpace support exist.

Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wwan/Kconfig
drivers/net/wwan/Makefile
drivers/net/wwan/mhi_wwan_ctrl.c [new file with mode: 0644]