Skip to content

Commit aa730a9

Browse files
Loic Poulaindavem330
authored andcommitted
net: wwan: Add MHI MBIM network driver
Add new wwan driver for MBIM over MHI. MBIM is a transport protocol for IP packets, allowing packet aggregation and muxing. Initially designed for USB bus, it is also exposed through MHI bus for QCOM based PCIe wwan modems. This driver supports the new wwan rtnetlink interface for multi-link management and has been tested with Quectel EM120R-GL M2 module. Signed-off-by: Loic Poulain <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 8730379 commit aa730a9

File tree

3 files changed

+670
-0
lines changed

3 files changed

+670
-0
lines changed

drivers/net/wwan/Kconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,18 @@ config MHI_WWAN_CTRL
3838
To compile this driver as a module, choose M here: the module will be
3939
called mhi_wwan_ctrl.
4040

41+
config MHI_WWAN_MBIM
42+
tristate "MHI WWAN MBIM network driver for QCOM-based PCIe modems"
43+
depends on MHI_BUS
44+
help
45+
MHI WWAN MBIM is a WWAN network driver for QCOM-based PCIe modems.
46+
It implements MBIM over MHI, for IP data aggregation and muxing.
47+
A default wwan0 network interface is created for MBIM data session
48+
ID 0. Additional links can be created via wwan rtnetlink type.
49+
50+
To compile this driver as a module, choose M here: the module will be
51+
called mhi_wwan_mbim.
52+
4153
config RPMSG_WWAN_CTRL
4254
tristate "RPMSG WWAN control driver"
4355
depends on RPMSG

drivers/net/wwan/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,6 @@ wwan-objs += wwan_core.o
99
obj-$(CONFIG_WWAN_HWSIM) += wwan_hwsim.o
1010

1111
obj-$(CONFIG_MHI_WWAN_CTRL) += mhi_wwan_ctrl.o
12+
obj-$(CONFIG_MHI_WWAN_MBIM) += mhi_wwan_mbim.o
1213
obj-$(CONFIG_RPMSG_WWAN_CTRL) += rpmsg_wwan_ctrl.o
1314
obj-$(CONFIG_IOSM) += iosm/

0 commit comments

Comments
 (0)