update ap6212 configuration, but can't work now
This commit is contained in:
parent
0ecc9cfb31
commit
4ff47aa650
7 changed files with 106 additions and 28 deletions
|
@ -1,24 +1,24 @@
|
|||
on boot
|
||||
insmod /system/vendor/modules/bcmdhd.ko
|
||||
#insmod /system/vendor/modules/bcmdhd.ko
|
||||
insmod /system/vendor/modules/bcm_btlpm.ko
|
||||
|
||||
# bluetooth power up/down interface
|
||||
chmod 0660 /sys/class/rfkill/rfkill0/state
|
||||
chmod 0660 /sys/class/rfkill/rfkill0/type
|
||||
chown bluetooth net_bt_stack /sys/class/rfkill/rfkill0/state
|
||||
chown bluetooth net_bt_stack /sys/class/rfkill/rfkill0/type
|
||||
chown bluetooth net_bt_admin /sys/class/rfkill/rfkill0/state
|
||||
chown bluetooth net_bt_admin /sys/class/rfkill/rfkill0/type
|
||||
write /sys/class/rfkill/rfkill0/state 0
|
||||
|
||||
# bluetooth LPM
|
||||
chmod 0220 /proc/bluetooth/sleep/lpm
|
||||
chmod 0220 /proc/bluetooth/sleep/btwrite
|
||||
chown bluetooth net_bt_stack /proc/bluetooth/sleep/lpm
|
||||
chown bluetooth net_bt_stack /proc/bluetooth/sleep/btwrite
|
||||
chown bluetooth net_bt_admin /proc/bluetooth/sleep/lpm
|
||||
chown bluetooth net_bt_admin /proc/bluetooth/sleep/btwrite
|
||||
|
||||
# bluetooth MAC address programming
|
||||
chown bluetooth net_bt_stack ro.bt.bdaddr_path
|
||||
chown bluetooth net_bt_stack /system/etc/bluetooth
|
||||
chown bluetooth net_bt_stack /data/misc/bluetooth
|
||||
chown bluetooth net_bt_admin ro.bt.bdaddr_path
|
||||
chown bluetooth net_bt_admin /system/etc/bluetooth
|
||||
chown bluetooth net_bt_admin /data/misc/bluetooth
|
||||
setprop ro.bt.bdaddr_path "/data/misc/bluetooth/bdaddr"
|
||||
|
||||
# to observe dnsmasq.leases file for dhcp information of soft ap.
|
||||
|
@ -26,20 +26,24 @@ on boot
|
|||
|
||||
# broadcom wifi service
|
||||
# 1 broadcom wifi sta service
|
||||
service wpa_supplicant /system/bin/wpa_supplicant \
|
||||
-iwlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf \
|
||||
-I/system/etc/wifi/wpa_supplicant_overlay.conf \
|
||||
-e/data/misc/wifi/entropy.bin -g@android:wpa_wlan0
|
||||
service wpa_supplicant_broadcom /system/vendor/bin/hw/wpa_supplicant \
|
||||
-iwlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf \
|
||||
-m/data/misc/wifi/p2p_supplicant.conf \
|
||||
-puse_p2p_group_interface=1p2p_device=1use_multi_chan_concurrent=1 \
|
||||
-O/data/misc/wifi/sockets \
|
||||
-e/data/misc/wifi/entropy.bin \
|
||||
-g@android:wpa_wlan0
|
||||
class main
|
||||
socket wpa_wlan0 dgram 660 wifi wifi
|
||||
disabled
|
||||
oneshot
|
||||
|
||||
# 2 broadcom wifi sta p2p concurrent service
|
||||
service p2p_supplicant /system/bin/wpa_supplicant \
|
||||
service p2p_supplicant /system/vendor/bin/wpa_supplicant \
|
||||
-iwlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf \
|
||||
-I/system/etc/wifi/p2p_supplicant_overlay.conf \
|
||||
-puse_p2p_group_interface=1p2p_device=1use_multi_chan_concurrent=1 \
|
||||
-O/data/misc/wifi/sockets \
|
||||
-m/data/misc/wifi/p2p_supplicant.conf \
|
||||
-e/data/misc/wifi/entropy.bin -g@android:wpa_wlan0
|
||||
class main
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue