[openwrt/openwrt] kernel: netdevices: add RmNet MAP support

LEDE Commits lede-commits at lists.infradead.org
Wed Oct 9 12:22:25 PDT 2024


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/c3251f5d52aef636f0cec432a27bf90f7537e1e7

commit c3251f5d52aef636f0cec432a27bf90f7537e1e7
Author: Robert Marko <robert.marko at sartura.hr>
AuthorDate: Mon Oct 7 15:07:39 2024 +0200

    kernel: netdevices: add RmNet MAP support
    
    RmNet driver provides a transport agnostic MAP (multiplexing and
    aggregation protocol) support in embedded module. Module provides
    virtual network devices which can be attached to any IP-mode
    physical device.
    
    This is commonly used on Qualcomm based modems for data aggregation.
    
    Signed-off-by: Robert Marko <robert.marko at sartura.hr>
---
 package/kernel/linux/modules/netdevices.mk | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk
index d77dabfa79..1470c5c176 100644
--- a/package/kernel/linux/modules/netdevices.mk
+++ b/package/kernel/linux/modules/netdevices.mk
@@ -801,6 +801,23 @@ endef
 $(eval $(call KernelPackage,r6040))
 
 
+define KernelPackage/rmnet
+  SUBMENU:=$(NETWORK_DEVICES_MENU)
+  TITLE:=RmNet MAP support
+  KCONFIG:=CONFIG_RMNET
+  FILES:=$(LINUX_DIR)/drivers/net/ethernet/qualcomm/rmnet/rmnet.ko
+  AUTOLOAD:=$(call AutoLoad,30,rmnet)
+endef
+
+define KernelPackage/rmnet/description
+  Kernel support for RMNET module which is used for handling data in the
+  multiplexing and aggregation protocol (MAP) format in the embedded data
+  path. RMNET devices can be attached to any IP mode physical device.
+endef
+
+$(eval $(call KernelPackage,rmnet))
+
+
 define KernelPackage/niu
   SUBMENU:=$(NETWORK_DEVICES_MENU)
   TITLE:=Sun Neptune 10Gbit Ethernet support




More information about the lede-commits mailing list