From 5dbe950d88c37959104fc0f1db3a7231328d83ec 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 (cherry picked from commit 0dd4d6b58c98bfb179a16dad7d2b6791959e8bd0) --- 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 335740f760c1..7e4bf5e6add6 100644 --- a/arch/arm64/configs/gki_defconfig +++ b/arch/arm64/configs/gki_defconfig @@ -304,6 +304,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 dfeead50633d..9383410af0e9 100644 --- a/arch/x86/configs/gki_defconfig +++ b/arch/x86/configs/gki_defconfig @@ -281,6 +281,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