From 0dd4d6b58c98bfb179a16dad7d2b6791959e8bd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20=C5=BBenczykowski?= Date: Thu, 13 May 2021 17:52:07 -0700 Subject: [PATCH] ANDROID: gki - enable CONFIG_USB_NET_CDC_EEM=y MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CDC protocols in chronological order from oldest to newest: ECM - Ethernet Control Model EEM - Ethernet Emulation Model NCM - Network Control Model We have CDC ECM (CDCETHER) and CDC NCM support already, so also support the intermediate CDC EEM usb network protocol. Some USB Ethernet dongles use this mode when there is no native driver available. Test: built and booted on a gki using phone Bug: 183564444 Signed-off-by: Maciej Żenczykowski Change-Id: Ie34fc86b7243cf76edf39211e9f9359714414408 --- arch/arm64/configs/gki_defconfig | 1 + arch/x86/configs/gki_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/arm64/configs/gki_defconfig b/arch/arm64/configs/gki_defconfig index ada3d49c58dd..4412eccb68b3 100644 --- a/arch/arm64/configs/gki_defconfig +++ b/arch/arm64/configs/gki_defconfig @@ -323,6 +323,7 @@ CONFIG_USB_RTL8152=y CONFIG_USB_USBNET=y # CONFIG_USB_NET_AX8817X is not set # CONFIG_USB_NET_AX88179_178A is not set +CONFIG_USB_NET_CDC_EEM=y # CONFIG_USB_NET_NET1080 is not set # CONFIG_USB_NET_CDC_SUBSET is not set # CONFIG_USB_NET_ZAURUS is not set diff --git a/arch/x86/configs/gki_defconfig b/arch/x86/configs/gki_defconfig index 3322fb66afb8..2226f18f6f10 100644 --- a/arch/x86/configs/gki_defconfig +++ b/arch/x86/configs/gki_defconfig @@ -296,6 +296,7 @@ CONFIG_USB_RTL8152=y CONFIG_USB_USBNET=y # CONFIG_USB_NET_AX8817X is not set # CONFIG_USB_NET_AX88179_178A is not set +CONFIG_USB_NET_CDC_EEM=y # CONFIG_USB_NET_NET1080 is not set # CONFIG_USB_NET_CDC_SUBSET is not set # CONFIG_USB_NET_ZAURUS is not set