Android U - require CONFIG_USB_NET_AQC111=y and CONFIG_USB_NET_CDC_NCM=y

These two drivers support every >1 gigabit usb ethernet dongle
I've managed to get my hands on.

In practice already enabled on GKI 5.10+ since S.
  $ for i in AND510{S,T} AND515T ANDM; do cd /git/$i; echo; echo $i; git grep '^CONFIG_USB_NET_AQC111=y$' | egrep gki_defconfig; done

  AND510S
  arch/arm64/configs/gki_defconfig:342:CONFIG_USB_NET_AQC111=y
  arch/x86/configs/gki_defconfig:314:CONFIG_USB_NET_AQC111=y

  AND510T
  arch/arm64/configs/gki_defconfig:354:CONFIG_USB_NET_AQC111=y
  arch/x86/configs/gki_defconfig:325:CONFIG_USB_NET_AQC111=y

  AND515T
  arch/arm64/configs/gki_defconfig:350:CONFIG_USB_NET_AQC111=y
  arch/x86/configs/gki_defconfig:320:CONFIG_USB_NET_AQC111=y

  ANDM
  arch/arm64/configs/gki_defconfig:342:CONFIG_USB_NET_AQC111=y
  arch/x86/configs/gki_defconfig:315:CONFIG_USB_NET_AQC111=y

(while CONFIG_USB_NET_CDC_NCM defaults to 'y')

Test: TreeHugger
Bug: 183564444
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I6c9f71288d46c310c96bbfadfcf18a35a30e8511
This commit is contained in:
Maciej Żenczykowski 2021-03-24 03:47:02 -07:00
parent 1972a9b6c4
commit 659aee1b68
2 changed files with 4 additions and 0 deletions

View file

@ -260,6 +260,8 @@ CONFIG_USB_CONFIGFS_F_FS=y
CONFIG_USB_CONFIGFS_F_MIDI=y
CONFIG_USB_CONFIGFS_UEVENT=y
CONFIG_USB_GADGET=y
CONFIG_USB_NET_AQC111=y
CONFIG_USB_NET_CDC_NCM=y
CONFIG_USB_SUPPORT=y
CONFIG_UTS_NS=y
CONFIG_VETH=y

View file

@ -260,6 +260,8 @@ CONFIG_USB_CONFIGFS_F_FS=y
CONFIG_USB_CONFIGFS_F_MIDI=y
CONFIG_USB_CONFIGFS_UEVENT=y
CONFIG_USB_GADGET=y
CONFIG_USB_NET_AQC111=y
CONFIG_USB_NET_CDC_NCM=y
CONFIG_USB_SUPPORT=y
CONFIG_UTS_NS=y
CONFIG_VETH=y