xref: /openbmc/linux/drivers/net/wwan/Kconfig (revision 607d574aba6e2b3adb5cd5cff31194bd31a8048e)
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
535e90abf4SStephan Gerholdconfig RPMSG_WWAN_CTRL
545e90abf4SStephan Gerhold	tristate "RPMSG WWAN control driver"
555e90abf4SStephan Gerhold	depends on RPMSG
565e90abf4SStephan Gerhold	help
575e90abf4SStephan Gerhold	  RPMSG WWAN CTRL allows modems available via RPMSG channels to expose
585e90abf4SStephan Gerhold	  different modem protocols/ports to userspace, including AT and QMI.
595e90abf4SStephan Gerhold	  These protocols can be accessed directly from userspace
605e90abf4SStephan Gerhold	  (e.g. AT commands) or via libraries/tools (e.g. libqmi, libqcdm...).
615e90abf4SStephan Gerhold
625e90abf4SStephan Gerhold	  This is mainly used for modems integrated into many Qualcomm SoCs,
635e90abf4SStephan Gerhold	  e.g. for AT and QMI on Qualcomm MSM8916 or MSM8974. Note that many
645e90abf4SStephan Gerhold	  newer Qualcomm SoCs (e.g. SDM845) still provide an AT port through
655e90abf4SStephan Gerhold	  this driver but the QMI messages can only be sent through
665e90abf4SStephan Gerhold	  QRTR network sockets (CONFIG_QRTR).
675e90abf4SStephan Gerhold
685e90abf4SStephan Gerhold	  To compile this driver as a module, choose M here: the module will be
695e90abf4SStephan Gerhold	  called rpmsg_wwan_ctrl.
705e90abf4SStephan Gerhold
71f7af616cSM Chetan Kumarconfig IOSM
72f7af616cSM Chetan Kumar	tristate "IOSM Driver for Intel M.2 WWAN Device"
73f7af616cSM Chetan Kumar	depends on INTEL_IOMMU
74*607d574aSM Chetan Kumar	select NET_DEVLINK
75f7af616cSM Chetan Kumar	help
76f7af616cSM Chetan Kumar	  This driver enables Intel M.2 WWAN Device communication.
77f7af616cSM Chetan Kumar
78f7af616cSM Chetan Kumar	  If you have one of those Intel M.2 WWAN Modules and wish to use it in
79f7af616cSM Chetan Kumar	  Linux say Y/M here.
80f7af616cSM Chetan Kumar
81f7af616cSM Chetan Kumar	  If unsure, say N.
82f7af616cSM Chetan Kumar
839a44c1ccSLoic Poulainendif # WWAN
8489212e16SLoic Poulain
8589212e16SLoic Poulainendmenu
86