xref: /linux/drivers/net/wwan/Kconfig (revision 21a0ffd9b38c61d79b5ade54893b0f59f2e8c2c3)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Wireless WAN device configuration
4#
5
6menu "Wireless WAN"
7
8config WWAN
9	tristate "WWAN Driver Core"
10	help
11	  Say Y here if you want to use the WWAN driver core. This driver
12	  provides a common framework for WWAN drivers.
13
14	  To compile this driver as a module, choose M here: the module will be
15	  called wwan.
16
17if WWAN
18
19config WWAN_HWSIM
20	tristate "Simulated WWAN device"
21	help
22	  This driver is a developer testing tool that can be used to test WWAN
23	  framework.
24
25	  To compile this driver as a module, choose M here: the module will be
26	  called wwan_hwsim.  If unsure, say N.
27
28config MHI_WWAN_CTRL
29	tristate "MHI WWAN control driver for QCOM-based PCIe modems"
30	depends on MHI_BUS
31	help
32	  MHI WWAN CTRL allows QCOM-based PCIe modems to expose different modem
33	  control protocols/ports to userspace, including AT, MBIM, QMI, DIAG
34	  and FIREHOSE. These protocols can be accessed directly from userspace
35	  (e.g. AT commands) or via libraries/tools (e.g. libmbim, libqmi,
36	  libqcdm...).
37
38	  To compile this driver as a module, choose M here: the module will be
39	  called mhi_wwan_ctrl.
40
41config 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
53config QCOM_BAM_DMUX
54	tristate "Qualcomm BAM-DMUX WWAN network driver"
55	depends on (DMA_ENGINE && PM && QCOM_SMEM_STATE) || COMPILE_TEST
56	help
57	  The BAM Data Multiplexer provides access to the network data channels
58	  of modems integrated into many older Qualcomm SoCs, e.g. Qualcomm
59	  MSM8916 or MSM8974. The connection can be established via QMI/AT from
60	  userspace with control ports available through the WWAN subsystem
61	  (CONFIG_RPMSG_WWAN_CTRL) or QRTR network sockets (CONFIG_QRTR).
62
63	  To compile this driver as a module, choose M here: the module will be
64	  called qcom_bam_dmux.
65
66config RPMSG_WWAN_CTRL
67	tristate "RPMSG WWAN control driver"
68	depends on RPMSG
69	help
70	  RPMSG WWAN CTRL allows modems available via RPMSG channels to expose
71	  different modem protocols/ports to userspace, including AT and QMI.
72	  These protocols can be accessed directly from userspace
73	  (e.g. AT commands) or via libraries/tools (e.g. libqmi, libqcdm...).
74
75	  This is mainly used for modems integrated into many Qualcomm SoCs,
76	  e.g. for AT and QMI on Qualcomm MSM8916 or MSM8974. Note that many
77	  newer Qualcomm SoCs (e.g. SDM845) still provide an AT port through
78	  this driver but the QMI messages can only be sent through
79	  QRTR network sockets (CONFIG_QRTR).
80
81	  To compile this driver as a module, choose M here: the module will be
82	  called rpmsg_wwan_ctrl.
83
84config IOSM
85	tristate "IOSM Driver for Intel M.2 WWAN Device"
86	depends on INTEL_IOMMU
87	select NET_DEVLINK
88	help
89	  This driver enables Intel M.2 WWAN Device communication.
90
91	  If you have one of those Intel M.2 WWAN Modules and wish to use it in
92	  Linux say Y/M here.
93
94	  If unsure, say N.
95
96endif # WWAN
97
98endmenu
99