xref: /openbmc/linux/drivers/net/wwan/Kconfig (revision 21a0ffd9b38c61d79b5ade54893b0f59f2e8c2c3)
19a44c1ccSLoic Poulain# SPDX-License-Identifier: GPL-2.0-only
29a44c1ccSLoic Poulain#
39a44c1ccSLoic Poulain# Wireless WAN device configuration
49a44c1ccSLoic Poulain#
59a44c1ccSLoic Poulain
689212e16SLoic Poulainmenu "Wireless WAN"
79a44c1ccSLoic Poulain
889212e16SLoic Poulainconfig WWAN
99a44c1ccSLoic Poulain	tristate "WWAN Driver Core"
109a44c1ccSLoic Poulain	help
119a44c1ccSLoic Poulain	  Say Y here if you want to use the WWAN driver core. This driver
129a44c1ccSLoic Poulain	  provides a common framework for WWAN drivers.
139a44c1ccSLoic Poulain
149a44c1ccSLoic Poulain	  To compile this driver as a module, choose M here: the module will be
159a44c1ccSLoic Poulain	  called wwan.
169a44c1ccSLoic Poulain
1789212e16SLoic Poulainif WWAN
1889212e16SLoic Poulain
19f36a111aSSergey Ryazanovconfig WWAN_HWSIM
20f36a111aSSergey Ryazanov	tristate "Simulated WWAN device"
21f36a111aSSergey Ryazanov	help
22f36a111aSSergey Ryazanov	  This driver is a developer testing tool that can be used to test WWAN
23f36a111aSSergey Ryazanov	  framework.
24f36a111aSSergey Ryazanov
25f36a111aSSergey Ryazanov	  To compile this driver as a module, choose M here: the module will be
26f36a111aSSergey Ryazanov	  called wwan_hwsim.  If unsure, say N.
27f36a111aSSergey Ryazanov
28fa588ebaSLoic Poulainconfig MHI_WWAN_CTRL
29fa588ebaSLoic Poulain	tristate "MHI WWAN control driver for QCOM-based PCIe modems"
30fa588ebaSLoic Poulain	depends on MHI_BUS
31fa588ebaSLoic Poulain	help
32fa588ebaSLoic Poulain	  MHI WWAN CTRL allows QCOM-based PCIe modems to expose different modem
33fa588ebaSLoic Poulain	  control protocols/ports to userspace, including AT, MBIM, QMI, DIAG
34fa588ebaSLoic Poulain	  and FIREHOSE. These protocols can be accessed directly from userspace
35fa588ebaSLoic Poulain	  (e.g. AT commands) or via libraries/tools (e.g. libmbim, libqmi,
36fa588ebaSLoic Poulain	  libqcdm...).
37fa588ebaSLoic Poulain
38fa588ebaSLoic Poulain	  To compile this driver as a module, choose M here: the module will be
39fa588ebaSLoic Poulain	  called mhi_wwan_ctrl.
40fa588ebaSLoic Poulain
41aa730a99SLoic Poulainconfig MHI_WWAN_MBIM
42aa730a99SLoic Poulain        tristate "MHI WWAN MBIM network driver for QCOM-based PCIe modems"
43aa730a99SLoic Poulain        depends on MHI_BUS
44aa730a99SLoic Poulain        help
45aa730a99SLoic Poulain          MHI WWAN MBIM is a WWAN network driver for QCOM-based PCIe modems.
46aa730a99SLoic Poulain          It implements MBIM over MHI, for IP data aggregation and muxing.
47aa730a99SLoic Poulain          A default wwan0 network interface is created for MBIM data session
48aa730a99SLoic Poulain          ID 0. Additional links can be created via wwan rtnetlink type.
49aa730a99SLoic Poulain
50aa730a99SLoic Poulain          To compile this driver as a module, choose M here: the module will be
51aa730a99SLoic Poulain          called mhi_wwan_mbim.
52aa730a99SLoic Poulain
53*21a0ffd9SStephan Gerholdconfig QCOM_BAM_DMUX
54*21a0ffd9SStephan Gerhold	tristate "Qualcomm BAM-DMUX WWAN network driver"
55*21a0ffd9SStephan Gerhold	depends on (DMA_ENGINE && PM && QCOM_SMEM_STATE) || COMPILE_TEST
56*21a0ffd9SStephan Gerhold	help
57*21a0ffd9SStephan Gerhold	  The BAM Data Multiplexer provides access to the network data channels
58*21a0ffd9SStephan Gerhold	  of modems integrated into many older Qualcomm SoCs, e.g. Qualcomm
59*21a0ffd9SStephan Gerhold	  MSM8916 or MSM8974. The connection can be established via QMI/AT from
60*21a0ffd9SStephan Gerhold	  userspace with control ports available through the WWAN subsystem
61*21a0ffd9SStephan Gerhold	  (CONFIG_RPMSG_WWAN_CTRL) or QRTR network sockets (CONFIG_QRTR).
62*21a0ffd9SStephan Gerhold
63*21a0ffd9SStephan Gerhold	  To compile this driver as a module, choose M here: the module will be
64*21a0ffd9SStephan Gerhold	  called qcom_bam_dmux.
65*21a0ffd9SStephan Gerhold
665e90abf4SStephan Gerholdconfig RPMSG_WWAN_CTRL
675e90abf4SStephan Gerhold	tristate "RPMSG WWAN control driver"
685e90abf4SStephan Gerhold	depends on RPMSG
695e90abf4SStephan Gerhold	help
705e90abf4SStephan Gerhold	  RPMSG WWAN CTRL allows modems available via RPMSG channels to expose
715e90abf4SStephan Gerhold	  different modem protocols/ports to userspace, including AT and QMI.
725e90abf4SStephan Gerhold	  These protocols can be accessed directly from userspace
735e90abf4SStephan Gerhold	  (e.g. AT commands) or via libraries/tools (e.g. libqmi, libqcdm...).
745e90abf4SStephan Gerhold
755e90abf4SStephan Gerhold	  This is mainly used for modems integrated into many Qualcomm SoCs,
765e90abf4SStephan Gerhold	  e.g. for AT and QMI on Qualcomm MSM8916 or MSM8974. Note that many
775e90abf4SStephan Gerhold	  newer Qualcomm SoCs (e.g. SDM845) still provide an AT port through
785e90abf4SStephan Gerhold	  this driver but the QMI messages can only be sent through
795e90abf4SStephan Gerhold	  QRTR network sockets (CONFIG_QRTR).
805e90abf4SStephan Gerhold
815e90abf4SStephan Gerhold	  To compile this driver as a module, choose M here: the module will be
825e90abf4SStephan Gerhold	  called rpmsg_wwan_ctrl.
835e90abf4SStephan Gerhold
84f7af616cSM Chetan Kumarconfig IOSM
85f7af616cSM Chetan Kumar	tristate "IOSM Driver for Intel M.2 WWAN Device"
86f7af616cSM Chetan Kumar	depends on INTEL_IOMMU
87607d574aSM Chetan Kumar	select NET_DEVLINK
88f7af616cSM Chetan Kumar	help
89f7af616cSM Chetan Kumar	  This driver enables Intel M.2 WWAN Device communication.
90f7af616cSM Chetan Kumar
91f7af616cSM Chetan Kumar	  If you have one of those Intel M.2 WWAN Modules and wish to use it in
92f7af616cSM Chetan Kumar	  Linux say Y/M here.
93f7af616cSM Chetan Kumar
94f7af616cSM Chetan Kumar	  If unsure, say N.
95f7af616cSM Chetan Kumar
969a44c1ccSLoic Poulainendif # WWAN
9789212e16SLoic Poulain
9889212e16SLoic Poulainendmenu
99