Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
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 depends on GNSS || GNSS = n
11 help
12 Say Y here if you want to use the WWAN driver core. This driver
13 provides a common framework for WWAN drivers.
14
15 To compile this driver as a module, choose M here: the module will be
16 called wwan.
17
18if WWAN
19
20config WWAN_DEBUGFS
21 bool "WWAN devices debugfs interface" if EXPERT
22 depends on DEBUG_FS
23 default y
24 help
25 Enables debugfs infrastructure for the WWAN core and device drivers.
26
27 If this option is selected, then you can find the debug interface
28 elements for each WWAN device in a directory that is corresponding to
29 the device name: debugfs/wwan/wwanX.
30
31config WWAN_HWSIM
32 tristate "Simulated WWAN device"
33 help
34 This driver is a developer testing tool that can be used to test WWAN
35 framework.
36
37 To compile this driver as a module, choose M here: the module will be
38 called wwan_hwsim. If unsure, say N.
39
40config MHI_WWAN_CTRL
41 tristate "MHI WWAN control driver for QCOM-based PCIe modems"
42 depends on MHI_BUS
43 help
44 MHI WWAN CTRL allows QCOM-based PCIe modems to expose different modem
45 control protocols/ports to userspace, including AT, MBIM, QMI, DIAG
46 and FIREHOSE. These protocols can be accessed directly from userspace
47 (e.g. AT commands) or via libraries/tools (e.g. libmbim, libqmi,
48 libqcdm...).
49
50 To compile this driver as a module, choose M here: the module will be
51 called mhi_wwan_ctrl.
52
53config MHI_WWAN_MBIM
54 tristate "MHI WWAN MBIM network driver for QCOM-based PCIe modems"
55 depends on MHI_BUS
56 help
57 MHI WWAN MBIM is a WWAN network driver for QCOM-based PCIe modems.
58 It implements MBIM over MHI, for IP data aggregation and muxing.
59 A default wwan0 network interface is created for MBIM data session
60 ID 0. Additional links can be created via wwan rtnetlink type.
61
62 To compile this driver as a module, choose M here: the module will be
63 called mhi_wwan_mbim.
64
65config QCOM_BAM_DMUX
66 tristate "Qualcomm BAM-DMUX WWAN network driver"
67 depends on (DMA_ENGINE && PM && QCOM_SMEM_STATE) || COMPILE_TEST
68 help
69 The BAM Data Multiplexer provides access to the network data channels
70 of modems integrated into many older Qualcomm SoCs, e.g. Qualcomm
71 MSM8916 or MSM8974. The connection can be established via QMI/AT from
72 userspace with control ports available through the WWAN subsystem
73 (CONFIG_RPMSG_WWAN_CTRL) or QRTR network sockets (CONFIG_QRTR).
74
75 To compile this driver as a module, choose M here: the module will be
76 called qcom_bam_dmux.
77
78config RPMSG_WWAN_CTRL
79 tristate "RPMSG WWAN control driver"
80 depends on RPMSG
81 help
82 RPMSG WWAN CTRL allows modems available via RPMSG channels to expose
83 different modem protocols/ports to userspace, including AT and QMI.
84 These protocols can be accessed directly from userspace
85 (e.g. AT commands) or via libraries/tools (e.g. libqmi, libqcdm...).
86
87 This is mainly used for modems integrated into many Qualcomm SoCs,
88 e.g. for AT and QMI on Qualcomm MSM8916 or MSM8974. Note that many
89 newer Qualcomm SoCs (e.g. SDM845) still provide an AT port through
90 this driver but the QMI messages can only be sent through
91 QRTR network sockets (CONFIG_QRTR).
92
93 To compile this driver as a module, choose M here: the module will be
94 called rpmsg_wwan_ctrl.
95
96config IOSM
97 tristate "IOSM Driver for Intel M.2 WWAN Device"
98 depends on PCI
99 select NET_DEVLINK
100 select RELAY if WWAN_DEBUGFS
101 help
102 This driver enables Intel M.2 WWAN Device communication.
103
104 If you have one of those Intel M.2 WWAN Modules and wish to use it in
105 Linux say Y/M here.
106
107 If unsure, say N.
108
109config MTK_T7XX
110 tristate "MediaTek PCIe 5G WWAN modem T7xx device"
111 depends on PCI
112 select RELAY if WWAN_DEBUGFS
113 help
114 Enables MediaTek PCIe based 5G WWAN modem (T7xx series) device.
115 Adapts WWAN framework and provides network interface like wwan0
116 and tty interfaces like wwan0at0 (AT protocol), wwan0mbim0
117 (MBIM protocol), etc.
118
119 To compile this driver as a module, choose M here: the module will be
120 called mtk_t7xx.
121
122 If unsure, say N.
123
124endif # WWAN
125
126endmenu