xref: /openbmc/linux/drivers/net/wwan/Kconfig (revision 67559900)
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 RPMSG_WWAN_CTRL
54	tristate "RPMSG WWAN control driver"
55	depends on RPMSG
56	help
57	  RPMSG WWAN CTRL allows modems available via RPMSG channels to expose
58	  different modem protocols/ports to userspace, including AT and QMI.
59	  These protocols can be accessed directly from userspace
60	  (e.g. AT commands) or via libraries/tools (e.g. libqmi, libqcdm...).
61
62	  This is mainly used for modems integrated into many Qualcomm SoCs,
63	  e.g. for AT and QMI on Qualcomm MSM8916 or MSM8974. Note that many
64	  newer Qualcomm SoCs (e.g. SDM845) still provide an AT port through
65	  this driver but the QMI messages can only be sent through
66	  QRTR network sockets (CONFIG_QRTR).
67
68	  To compile this driver as a module, choose M here: the module will be
69	  called rpmsg_wwan_ctrl.
70
71config IOSM
72	tristate "IOSM Driver for Intel M.2 WWAN Device"
73	depends on INTEL_IOMMU
74	select NET_DEVLINK
75	help
76	  This driver enables Intel M.2 WWAN Device communication.
77
78	  If you have one of those Intel M.2 WWAN Modules and wish to use it in
79	  Linux say Y/M here.
80
81	  If unsure, say N.
82
83endif # WWAN
84
85endmenu
86