Skip to content

Commit

Permalink
ANDROID: GKI: Add WWAN as GKI protected module
Browse files Browse the repository at this point in the history
CONFIG_WWAN=m : WWAN driver core. This driver provides
a common framework for WWAN drivers.

Required to integrate modem devices with WWAN subsystem.

Selects CONFIG_WWAN_DEBUGFS=y; override to disable it
until it is required in the future.

Bug: 287170531
Change-Id: I18517a7aca17cfb5bdbb7ad0399fcb92c575a48e
Signed-off-by: lambert wang <[email protected]>
  • Loading branch information
lambert-mtk authored and toddkjos committed Jul 13, 2023
1 parent 8726a2d commit 214e6f2
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 2 deletions.
12 changes: 11 additions & 1 deletion android/abi_gki_protected_exports_aarch64
Original file line number Diff line number Diff line change
Expand Up @@ -334,4 +334,14 @@ wpan_phy_for_each
wpan_phy_free
wpan_phy_new
wpan_phy_register
wpan_phy_unregister
wpan_phy_unregister
wwan_create_port
wwan_get_debugfs_dir
wwan_port_get_drvdata
wwan_port_rx
wwan_port_txoff
wwan_port_txon
wwan_put_debugfs_dir
wwan_register_ops
wwan_remove_port
wwan_unregister_ops
12 changes: 11 additions & 1 deletion android/abi_gki_protected_exports_x86_64
Original file line number Diff line number Diff line change
Expand Up @@ -334,4 +334,14 @@ wpan_phy_for_each
wpan_phy_free
wpan_phy_new
wpan_phy_register
wpan_phy_unregister
wpan_phy_unregister
wwan_create_port
wwan_get_debugfs_dir
wwan_port_get_drvdata
wwan_port_rx
wwan_port_txoff
wwan_port_txon
wwan_put_debugfs_dir
wwan_register_ops
wwan_remove_port
wwan_unregister_ops
1 change: 1 addition & 0 deletions android/gki_aarch64_protected_modules
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ drivers/net/usb/r8152.ko
drivers/net/usb/r8153_ecm.ko
drivers/net/usb/rtl8150.ko
drivers/net/usb/usbnet.ko
drivers/net/wwan/wwan.ko
drivers/usb/class/cdc-acm.ko
drivers/usb/serial/ftdi_sio.ko
drivers/usb/serial/usbserial.ko
Expand Down
1 change: 1 addition & 0 deletions android/gki_x86_64_protected_modules
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ drivers/net/usb/r8152.ko
drivers/net/usb/r8153_ecm.ko
drivers/net/usb/rtl8150.ko
drivers/net/usb/usbnet.ko
drivers/net/wwan/wwan.ko
drivers/usb/class/cdc-acm.ko
drivers/usb/serial/ftdi_sio.ko
drivers/usb/serial/usbserial.ko
Expand Down
2 changes: 2 additions & 0 deletions arch/arm64/configs/gki_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,8 @@ CONFIG_USB_NET_AQC111=m
# CONFIG_WLAN_VENDOR_TI is not set
# CONFIG_WLAN_VENDOR_ZYDAS is not set
# CONFIG_WLAN_VENDOR_QUANTENNA is not set
CONFIG_WWAN=m
# CONFIG_WWAN_DEBUGFS is not set
CONFIG_INPUT_EVDEV=y
CONFIG_KEYBOARD_GPIO=y
# CONFIG_MOUSE_PS2 is not set
Expand Down
2 changes: 2 additions & 0 deletions arch/x86/configs/gki_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,8 @@ CONFIG_USB_NET_AQC111=m
# CONFIG_WLAN_VENDOR_TI is not set
# CONFIG_WLAN_VENDOR_ZYDAS is not set
# CONFIG_WLAN_VENDOR_QUANTENNA is not set
CONFIG_WWAN=m
# CONFIG_WWAN_DEBUGFS is not set
CONFIG_INPUT_EVDEV=y
CONFIG_KEYBOARD_GPIO=y
# CONFIG_MOUSE_PS2 is not set
Expand Down
1 change: 1 addition & 0 deletions modules.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ COMMON_GKI_MODULES_LIST = [
"drivers/net/usb/r8153_ecm.ko",
"drivers/net/usb/rtl8150.ko",
"drivers/net/usb/usbnet.ko",
"drivers/net/wwan/wwan.ko",
"drivers/usb/class/cdc-acm.ko",
"drivers/usb/serial/ftdi_sio.ko",
"drivers/usb/serial/usbserial.ko",
Expand Down

0 comments on commit 214e6f2

Please sign in to comment.