Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f8bb2fd8 authored by Sudharsan Reddy Yettapu's avatar Sudharsan Reddy Yettapu Committed by Suresh Kumar Allam
Browse files

usb: gadget: Add snapshot of USB RMNET Function driver



This change adds USB RMNET function driver which allows communication
between USB BAM and IPA BAM for RMNET and DPL functionalities over USB.

This snapshot is taken as of msm-4.9 'commit 973e6f5c37fc ("ARM: dts:
 msm: Add mem_dump node for msm8917")'.

This change adding changes to use cdev device instead of misc device
and also fixes different coding style related warnings.

Change-Id: I98d5bd60a047d6c5f1058faf67d0475e17d9fddc
Signed-off-by: default avatarSudharsan Reddy Yettapu <syepattu@codeaurora.org>
Signed-off-by: default avatarSuresh Kumar Allam <allamsuresh@codeaurora.org>
parent 1e8f2043
Loading
Loading
Loading
Loading
+15 −0
Original line number Original line Diff line number Diff line
@@ -253,6 +253,9 @@ config USB_F_IPC
config USB_F_MDM_DATA
config USB_F_MDM_DATA
	tristate
	tristate


config USB_F_RMNET_BAM
        tristate

# this first set of drivers all depend on bulk-capable hardware.
# this first set of drivers all depend on bulk-capable hardware.


config USB_CONFIGFS
config USB_CONFIGFS
@@ -346,6 +349,18 @@ config USB_CONFIGFS_RNDIS
	   XP, you'll need to download drivers from Microsoft's website; a URL
	   XP, you'll need to download drivers from Microsoft's website; a URL
	   is given in comments found in that info file.
	   is given in comments found in that info file.


config USB_CONFIGFS_RMNET_BAM
        bool "RMNET_BAM"
        depends on USB_CONFIGFS
        select USB_F_RMNET_BAM
	help
	   RmNet interface is a new logical device in QMI framework for data
	   services. RmNet in accordance with QMI architecture uses Data I/O
	   channel for IP data transfer and control I/O channel for QMI
	   messaging (functionality similar to AT commands).
	   RmNet interface is an alternative to standard CDC-ECM and windows
	   RNDIS.

config USB_CONFIGFS_EEM
config USB_CONFIGFS_EEM
	bool "Ethernet Emulation Model (EEM)"
	bool "Ethernet Emulation Model (EEM)"
	depends on USB_CONFIGFS
	depends on USB_CONFIGFS
+2 −0
Original line number Original line Diff line number Diff line
@@ -73,3 +73,5 @@ usb_f_ipc-y := f_ipc.o
obj-$(CONFIG_USB_F_IPC)		+= usb_f_ipc.o
obj-$(CONFIG_USB_F_IPC)		+= usb_f_ipc.o
usb_f_mdm_data-y		:= f_mdm_data.o
usb_f_mdm_data-y		:= f_mdm_data.o
obj-$(CONFIG_USB_F_MDM_DATA)	+= usb_f_mdm_data.o
obj-$(CONFIG_USB_F_MDM_DATA)	+= usb_f_mdm_data.o
usb_f_rmnet_bam-y               := f_rmnet.o u_ctrl_qti.o u_bam_dmux.o
obj-$(CONFIG_USB_F_RMNET_BAM)   += usb_f_rmnet_bam.o
+1334 −0

File added.

Preview size limit exceeded, changes collapsed.

+1454 −0

File added.

Preview size limit exceeded, changes collapsed.

+877 −0

File added.

Preview size limit exceeded, changes collapsed.

Loading