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

Commit 2c7164bf authored by Prasadarao Durvasula's avatar Prasadarao Durvasula Committed by Sivasri Kumar Vanka
Browse files

drivers: usb: gadget: add mbim function



mbim function driver is a snapshot from msm-4.4 at
'commit d2f0df7adc30 (" Merge "drivers: hwmon: Fix compilation errors
in ADC for kernel 4.9")'.

Change-Id: I18a807aefc3f41938b886297e8ec089b6d01e9cb
Signed-off-by: default avatarPrasadarao Durvasula <pdurvasu@codeaurora.org>
Signed-off-by: default avatarSivasri Kumar Vanka <sivasri@codeaurora.org>
parent eae6f3d0
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
@@ -256,6 +256,9 @@ config USB_F_MDM_DATA
config USB_F_RMNET_BAM
        tristate

config USB_F_MBIM_BAM
        tristate

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

config USB_CONFIGFS
@@ -361,6 +364,18 @@ config USB_CONFIGFS_RMNET_BAM
	   RmNet interface is an alternative to standard CDC-ECM and windows
	   RNDIS.

config USB_CONFIGFS_MBIM_BAM
        bool "MBIM_BAM"
        depends on USB_CONFIGFS
        select USB_F_MBIM_BAM
	help
	   Mbim interface is a new logical device in QMI framework for data
	   services. Mbim 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).
	   Mbim interface is an alternative to standard CDC-ECM and windows
	   RNDIS.

config USB_CONFIGFS_EEM
	bool "Ethernet Emulation Model (EEM)"
	depends on USB_CONFIGFS
+2 −0
Original line number Diff line number Diff line
@@ -75,3 +75,5 @@ usb_f_mdm_data-y := 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
usb_f_mbim-y               	:= f_mbim.o
obj-$(CONFIG_USB_F_MBIM_BAM)	+= usb_f_mbim.o
+2405 −0

File added.

Preview size limit exceeded, changes collapsed.