mirror of
https://github.com/Anything-at-25-00/android_device_tecno_LG8n.git
synced 2024-11-22 21:56:26 -08:00
X6833B: Switch to prebuilt libwifi-hal
* Reference: https://github.com/moto-common/android_device_mediatek_common/tree/master/vendor/wlan * Perhaps it will help with the Wi-Fi scanning issues, and intermittent disconnections we're having. Besides, we can't legally use the OSS one anyway. Change-Id: I9bbf289ad88a12bbdc68ab0abdee410678bf1420 Co-authored-by: electimon <electimon@gmail.com> Signed-off-by: bengris32 <bengris32@protonmail.ch> Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
This commit is contained in:
parent
5a3219062d
commit
8551890ccc
|
@ -161,12 +161,9 @@ DEVICE_MANIFEST_FILE := $(CONFIGS_PATH)/vintf/manifest.xml
|
||||||
DEVICE_MATRIX_FILE := $(CONFIGS_PATH)/vintf/compatibility_matrix.xml
|
DEVICE_MATRIX_FILE := $(CONFIGS_PATH)/vintf/compatibility_matrix.xml
|
||||||
|
|
||||||
# Wi-Fi
|
# Wi-Fi
|
||||||
BOARD_WLAN_DEVICE := MediaTek
|
|
||||||
WPA_SUPPLICANT_VERSION := VER_0_8_X
|
WPA_SUPPLICANT_VERSION := VER_0_8_X
|
||||||
BOARD_WPA_SUPPLICANT_DRIVER := NL80211
|
BOARD_WPA_SUPPLICANT_DRIVER := NL80211
|
||||||
BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_mt66xx
|
|
||||||
BOARD_HOSTAPD_DRIVER := NL80211
|
BOARD_HOSTAPD_DRIVER := NL80211
|
||||||
BOARD_HOSTAPD_PRIVATE_LIB := lib_driver_cmd_mt66xx
|
|
||||||
WIFI_DRIVER_FW_PATH_PARAM := /dev/wmtWifi
|
WIFI_DRIVER_FW_PATH_PARAM := /dev/wmtWifi
|
||||||
WIFI_DRIVER_FW_PATH_STA := STA
|
WIFI_DRIVER_FW_PATH_STA := STA
|
||||||
WIFI_DRIVER_FW_PATH_AP := AP
|
WIFI_DRIVER_FW_PATH_AP := AP
|
||||||
|
|
5
configs/wifi/vendor_hals/vendor_hals.xml
Normal file
5
configs/wifi/vendor_hals/vendor_hals.xml
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<WifiVendorHal version="1">
|
||||||
|
<path>/vendor/lib64/libwifi-hal-mtk.so</path>
|
||||||
|
<primary>1</primary>
|
||||||
|
</WifiVendorHal>
|
|
@ -186,7 +186,6 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk)
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
wpa_supplicant \
|
wpa_supplicant \
|
||||||
hostapd \
|
hostapd \
|
||||||
libwifi-hal-mt66xx \
|
|
||||||
android.hardware.wifi@1.0-service-lazy
|
android.hardware.wifi@1.0-service-lazy
|
||||||
|
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
|
|
|
@ -541,3 +541,4 @@ vendor/lib64/vendor.mediatek.hardware.netdagent@1.0.so
|
||||||
vendor/bin/wlan_assistant
|
vendor/bin/wlan_assistant
|
||||||
vendor/etc/init/init.wlan_drv.rc
|
vendor/etc/init/init.wlan_drv.rc
|
||||||
vendor/etc/init/wlan_assistant.rc
|
vendor/etc/init/wlan_assistant.rc
|
||||||
|
vendor/lib64/libwifi-hal.so:vendor/lib64/libwifi-hal-mtk.so
|
||||||
|
|
Loading…
Reference in a new issue