From: Koen Vandeputte Date: Tue, 5 Apr 2022 13:05:02 +0000 (+0200) Subject: kernel: package mhi wwan ctrl driver X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=2519190fec9b6e16e307f88e0825f4080c399886;p=openwrt%2Fstaging%2Fwigyori.git kernel: package mhi wwan ctrl driver MHI WWAN CTRL allows QCOM-based PCIe modems to expose different modem control protocols/ports to userspace, including AT, MBIM, QMI, DIAG and FIREHOSE. These protocols can be accessed directly from userspace (e.g. AT commands) or via libraries/tools (e.g. libmbim, libqmi, libqcdm) Signed-off-by: Koen Vandeputte --- diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk index 539afff475..d864e4eb38 100644 --- a/package/kernel/linux/modules/netdevices.mk +++ b/package/kernel/linux/modules/netdevices.mk @@ -1330,3 +1330,19 @@ define KernelPackage/mhi-net/description endef $(eval $(call KernelPackage,mhi-net)) + +define KernelPackage/mhi-wwan-ctrl + SUBMENU:=$(NETWORK_DEVICES_MENU) + TITLE:=MHI WWAN Control + DEPENDS:=@LINUX_5_15 @PCI_SUPPORT +kmod-mhi-bus + KCONFIG:=CONFIG_MHI_WWAN_CTRL + FILES:=$(LINUX_DIR)/drivers/net/mhi_wwan_ctrl.ko + AUTOLOAD:=$(call AutoProbe,mhi_wwan_ctrl) +endef + +define KernelPackage/mhi-wwan-ctrl/description + Driver for MHI WWAN Control + This exposes all modem control ports like AT, MBIM, QMI, DIAG, .. +endef + +$(eval $(call KernelPackage,mhi-wwan-ctrl))