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

Commit 09c84a8d authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "usb: gadget: Add snapshot of USB RMNET Function driver"

parents a8b10d61 942a6caa
Loading
Loading
Loading
Loading
+1795 −119

File changed.

Preview size limit exceeded, changes collapsed.

+27 −0
Original line number Diff line number Diff line
@@ -190,6 +190,9 @@ config USB_RNDIS
config USB_F_RNDIS
	tristate

config USB_F_QCRNDIS
	tristate

config USB_F_MASS_STORAGE
	tristate

@@ -247,6 +250,9 @@ config USB_F_MTP
config USB_F_PTP
	tristate

config USB_F_RMNET_BAM
        tristate

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

config USB_CONFIGFS
@@ -331,6 +337,15 @@ config USB_CONFIGFS_ECM_SUBSET
	  On hardware that can't implement the full protocol,
	  a simple CDC subset is used, placing fewer demands on USB.

config USB_CONFIGFS_QCRNDIS
	bool "QCRNDIS"
	depends on USB_CONFIGFS
	depends on NET
	depends on RNDIS_IPA
	select USB_U_ETHER
	select USB_RNDIS
	select USB_F_QCRNDIS

config USB_CONFIGFS_RNDIS
	bool "RNDIS"
	depends on USB_CONFIGFS
@@ -348,6 +363,18 @@ config USB_CONFIGFS_RNDIS
	   XP, you'll need to download drivers from Microsoft's website; a URL
	   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
	bool "Ethernet Emulation Model (EEM)"
	depends on USB_CONFIGFS
+4 −0
Original line number Diff line number Diff line
@@ -69,3 +69,7 @@ usb_f_mtp-y := f_mtp.o
obj-$(CONFIG_USB_F_MTP)		+= usb_f_mtp.o
usb_f_ptp-y			:= f_ptp.o
obj-$(CONFIG_USB_F_PTP)		+= usb_f_ptp.o
usb_f_qcrndis-y			:= f_qc_rndis.o u_data_ipa.o
obj-$(CONFIG_USB_F_QCRNDIS)	+= usb_f_qcrndis.o
usb_f_rmnet_bam-y               := f_rmnet.o u_ctrl_qti.o
obj-$(CONFIG_USB_F_RMNET_BAM)   += usb_f_rmnet_bam.o
+1556 −0

File added.

Preview size limit exceeded, changes collapsed.

+1335 −0

File added.

Preview size limit exceeded, changes collapsed.

Loading