wip: fix wifi

This commit is contained in:
ivanmeler 2023-04-29 16:55:17 +00:00
parent d5c9ee8e25
commit 5a8741f7ae
3 changed files with 6 additions and 5 deletions

View file

@ -203,12 +203,9 @@ BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_$(BOARD_WLAN_DEVICE)
WPA_SUPPLICANT_USE_HIDL := true WPA_SUPPLICANT_USE_HIDL := true
BOARD_HOSTAPD_DRIVER := NL80211 BOARD_HOSTAPD_DRIVER := NL80211
BOARD_HOSTAPD_PRIVATE_LIB := lib_driver_cmd_$(BOARD_WLAN_DEVICE) BOARD_HOSTAPD_PRIVATE_LIB := lib_driver_cmd_$(BOARD_WLAN_DEVICE)
WIFI_DRIVER_FW_PATH_PARAM := "/sys/module/dhd/parameters/firmware_path"
WIFI_DRIVER_NVRAM_PATH_PARAM := "/sys/module/dhd/parameters/nvram_path"
WIFI_DRIVER_NVRAM_PATH := "/vendor/etc/wifi/nvram_net.txt"
WIFI_DRIVER_FW_PATH_STA := "/vendor/etc/wifi/bcmdhd_sta.bin" WIFI_DRIVER_FW_PATH_STA := "/vendor/etc/wifi/bcmdhd_sta.bin"
WIFI_DRIVER_FW_PATH_AP := "/vendor/etc/wifi/bcmdhd_apsta.bin" WIFI_DRIVER_FW_PATH_AP := "/vendor/etc/wifi/bcmdhd_apsta.bin"
WIFI_DRIVER_FW_PATH_PARAM := "/sys/module/dhd/parameters/firmware_path"
WIFI_BAND := 802_11_ABG WIFI_BAND := 802_11_ABG
WIFI_HIDL_FEATURE_AWARE := true WIFI_HIDL_FEATURE_AWARE := true
WIFI_HIDL_FEATURE_DUAL_INTERFACE := true
WIFI_HIDL_UNIFIED_SUPPLICANT_SERVICE_RC_ENTRY := true WIFI_HIDL_UNIFIED_SUPPLICANT_SERVICE_RC_ENTRY := true

View file

@ -342,7 +342,8 @@ PRODUCT_PACKAGES += \
init.samsung.rc \ init.samsung.rc \
init.target.rc \ init.target.rc \
ueventd.qcom.rc \ ueventd.qcom.rc \
wifi_sec.rc wifi_sec.rc \
wifiloader
# Recovery # Recovery
PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \

View file

@ -72,6 +72,9 @@ on post-fs-data
#Create folder for mm-qcamera-daemon #Create folder for mm-qcamera-daemon
mkdir /data/vendor/camera 0770 camera camera mkdir /data/vendor/camera 0770 camera camera
# wifi
chmod 0666 /sys/module/dhd/parameters/firmware_path
on property:init.svc.bootanim=running on property:init.svc.bootanim=running
write /sys/class/leds/wled/brightness 4095 write /sys/class/leds/wled/brightness 4095