0001 # SPDX-License-Identifier: GPL-2.0-only
0002 #
0003 # Wireless WAN device configuration
0004 #
0005
0006 menu "Wireless WAN"
0007
0008 config WWAN
0009 tristate "WWAN Driver Core"
0010 help
0011 Say Y here if you want to use the WWAN driver core. This driver
0012 provides a common framework for WWAN drivers.
0013
0014 To compile this driver as a module, choose M here: the module will be
0015 called wwan.
0016
0017 if WWAN
0018
0019 config WWAN_DEBUGFS
0020 bool "WWAN devices debugfs interface" if EXPERT
0021 depends on DEBUG_FS
0022 default y
0023 help
0024 Enables debugfs infrastructure for the WWAN core and device drivers.
0025
0026 If this option is selected, then you can find the debug interface
0027 elements for each WWAN device in a directory that is corresponding to
0028 the device name: debugfs/wwan/wwanX.
0029
0030 config WWAN_HWSIM
0031 tristate "Simulated WWAN device"
0032 help
0033 This driver is a developer testing tool that can be used to test WWAN
0034 framework.
0035
0036 To compile this driver as a module, choose M here: the module will be
0037 called wwan_hwsim. If unsure, say N.
0038
0039 config MHI_WWAN_CTRL
0040 tristate "MHI WWAN control driver for QCOM-based PCIe modems"
0041 depends on MHI_BUS
0042 help
0043 MHI WWAN CTRL allows QCOM-based PCIe modems to expose different modem
0044 control protocols/ports to userspace, including AT, MBIM, QMI, DIAG
0045 and FIREHOSE. These protocols can be accessed directly from userspace
0046 (e.g. AT commands) or via libraries/tools (e.g. libmbim, libqmi,
0047 libqcdm...).
0048
0049 To compile this driver as a module, choose M here: the module will be
0050 called mhi_wwan_ctrl.
0051
0052 config MHI_WWAN_MBIM
0053 tristate "MHI WWAN MBIM network driver for QCOM-based PCIe modems"
0054 depends on MHI_BUS
0055 help
0056 MHI WWAN MBIM is a WWAN network driver for QCOM-based PCIe modems.
0057 It implements MBIM over MHI, for IP data aggregation and muxing.
0058 A default wwan0 network interface is created for MBIM data session
0059 ID 0. Additional links can be created via wwan rtnetlink type.
0060
0061 To compile this driver as a module, choose M here: the module will be
0062 called mhi_wwan_mbim.
0063
0064 config QCOM_BAM_DMUX
0065 tristate "Qualcomm BAM-DMUX WWAN network driver"
0066 depends on (DMA_ENGINE && PM && QCOM_SMEM_STATE) || COMPILE_TEST
0067 help
0068 The BAM Data Multiplexer provides access to the network data channels
0069 of modems integrated into many older Qualcomm SoCs, e.g. Qualcomm
0070 MSM8916 or MSM8974. The connection can be established via QMI/AT from
0071 userspace with control ports available through the WWAN subsystem
0072 (CONFIG_RPMSG_WWAN_CTRL) or QRTR network sockets (CONFIG_QRTR).
0073
0074 To compile this driver as a module, choose M here: the module will be
0075 called qcom_bam_dmux.
0076
0077 config RPMSG_WWAN_CTRL
0078 tristate "RPMSG WWAN control driver"
0079 depends on RPMSG
0080 help
0081 RPMSG WWAN CTRL allows modems available via RPMSG channels to expose
0082 different modem protocols/ports to userspace, including AT and QMI.
0083 These protocols can be accessed directly from userspace
0084 (e.g. AT commands) or via libraries/tools (e.g. libqmi, libqcdm...).
0085
0086 This is mainly used for modems integrated into many Qualcomm SoCs,
0087 e.g. for AT and QMI on Qualcomm MSM8916 or MSM8974. Note that many
0088 newer Qualcomm SoCs (e.g. SDM845) still provide an AT port through
0089 this driver but the QMI messages can only be sent through
0090 QRTR network sockets (CONFIG_QRTR).
0091
0092 To compile this driver as a module, choose M here: the module will be
0093 called rpmsg_wwan_ctrl.
0094
0095 config IOSM
0096 tristate "IOSM Driver for Intel M.2 WWAN Device"
0097 depends on INTEL_IOMMU
0098 select NET_DEVLINK
0099 select RELAY if WWAN_DEBUGFS
0100 help
0101 This driver enables Intel M.2 WWAN Device communication.
0102
0103 If you have one of those Intel M.2 WWAN Modules and wish to use it in
0104 Linux say Y/M here.
0105
0106 If unsure, say N.
0107
0108 config MTK_T7XX
0109 tristate "MediaTek PCIe 5G WWAN modem T7xx device"
0110 depends on PCI
0111 help
0112 Enables MediaTek PCIe based 5G WWAN modem (T7xx series) device.
0113 Adapts WWAN framework and provides network interface like wwan0
0114 and tty interfaces like wwan0at0 (AT protocol), wwan0mbim0
0115 (MBIM protocol), etc.
0116
0117 To compile this driver as a module, choose M here: the module will be
0118 called mtk_t7xx.
0119
0120 If unsure, say N.
0121
0122 endif # WWAN
0123
0124 endmenu