android: update for broadcom and realtek wireless

This commit is contained in:
August 2019-08-06 20:13:59 +08:00
parent b43f0ca52a
commit 5c20e85f27
11 changed files with 54 additions and 79 deletions

View file

@ -60,6 +60,7 @@ ifeq ($(BOARD_WIFI_VENDOR), broadcom)
WIFI_DRIVER_FW_PATH_PARAM := "/sys/module/bcmdhd/parameters/firmware_path"
BOARD_USR_WIFI := ap6212
include hardware/aw/wlan/config/config.mk
include hardware/aw/wlan/firmware/firmware.mk
endif

View file

@ -1,11 +0,0 @@
on boot
# MAC Program
mkdir /data/misc/bluedroid 0770 bluetooth net_bt_admin
exec - root system -- /vendor/xbin/macprog.sh
chmod 775 /data/misc/wifi
# Bluetooth
# UART device
chmod 0660 /dev/ttyS1
chown bluetooth net_bt_admin /dev/ttyS1