From d27ff5af874ab0c627a2bf4007a4866a02364016 Mon Sep 17 00:00:00 2001 From: Mykhailo Sopiha Date: Thu, 30 Aug 2018 22:10:46 +0000 Subject: am57xevm: Remove WiFi feature This patch removes all wifi configuration parameters. Fixes monkeytest wifi-related nullpointer dereferences. Signed-off-by: Mykhailo Sopiha --- compatibility_matrix.xml | 8 ------- device.mk | 25 ------------------- init.am57xevmboard.rc | 20 ---------------- .../frameworks/base/core/res/res/values/config.xml | 28 +--------------------- 4 files changed, 1 insertion(+), 80 deletions(-) diff --git a/compatibility_matrix.xml b/compatibility_matrix.xml index 659b8d3..e45aa9f 100644 --- a/compatibility_matrix.xml +++ b/compatibility_matrix.xml @@ -47,12 +47,4 @@ default - - android.system.wifi.keystore - 1.0 - - IKeystore - default - - diff --git a/device.mk b/device.mk index caa2474..772375d 100644 --- a/device.mk +++ b/device.mk @@ -40,31 +40,6 @@ PRODUCT_PACKAGES += vndk_package PRODUCT_PACKAGES += \ libunwind -# Wi-Fi -PRODUCT_PACKAGES += \ - android.hardware.wifi@1.0-service \ - wificond \ - wpa_supplicant \ - wpa_supplicant.conf \ - wpa_supplicant_overlay.conf \ - libwpa_client \ - hostapd \ - hostapd.conf \ - dhcpcd.conf \ - wifical.sh \ - TQS_D_1.7.ini \ - TQS_D_1.7_127x.ini \ - crda \ - regulatory.bin \ - wlconf \ - -PRODUCT_COPY_FILES += \ - frameworks/native/data/etc/android.hardware.wifi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.xml \ - frameworks/native/data/etc/android.hardware.wifi.direct.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.direct.xml \ - -PRODUCT_PROPERTY_OVERRIDES += \ - wifi.interface=wlan0 \ - PRODUCT_ENFORCE_VINTF_MANIFEST_OVERRIDE := true # USB diff --git a/init.am57xevmboard.rc b/init.am57xevmboard.rc index 144e1cd..66c3767 100644 --- a/init.am57xevmboard.rc +++ b/init.am57xevmboard.rc @@ -53,23 +53,3 @@ service pvrsrvinit /vendor/bin/pvrsrvctl --start user root group root oneshot - -service p2p_supplicant /vendor/bin/hw/wpa_supplicant \ - -iwlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf \ - -I/system/etc/wifi/wpa_supplicant_overlay.conf \ - -O/data/misc/wifi/sockets -pp2p_device=1\ - -e/data/misc/wifi/entropy.bin -g@android:wpa_wlan0 - socket wpa_wlan0 dgram 660 wifi wifi - class late_start - disabled - oneshot - -service wpa_supplicant /vendor/bin/hw/wpa_supplicant \ - -iwlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf \ - -I/system/etc/wifi/wpa_supplicant_overlay.conf \ - -O/data/misc/wifi/sockets \ - -e/data/misc/wifi/entropy.bin -g@android:wpa_wlan0 - socket wpa_wlan0 dgram 660 wifi wifi - class late_start - disabled - oneshot diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml index 5515d1c..e469336 100644 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -36,15 +36,13 @@ Wifi interfaces. If the device doesn't want to support tethering over Wifi this should be empty. An example would be "softap.*" --> - "wlan\\d" - 1 9 - + - "wifi,1,1,1,-1,true" "ethernet,9,9,0,-1,true" @@ -66,18 +63,9 @@ - "1,1" "9,1" - - 0 - - - true true - - true - "/system/framework/arm/boot-framework.oat" -- cgit v1.2.3