• Loic Poulain's avatar
    net: Add Qcom WWAN control driver · fa588eba
    Loic Poulain authored
    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: default avatarLoic Poulain <loic.poulain@linaro.org>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    fa588eba
mhi_wwan_ctrl.c 7.59 KB