galaxys2-common: Update Wi-Fi configuration
Change-Id: I83c0c08e06db8c9275047c9f4c7f6d8c87ec5a68
This commit is contained in:
parent
e7f0d2892a
commit
2719b51abc
@ -39,12 +39,13 @@ PRODUCT_COPY_FILES += \
|
|||||||
|
|
||||||
# Wifi
|
# Wifi
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
$(COMMON_PATH)/configs/wpa_supplicant.conf:system/etc/wifi/wpa_supplicant.conf \
|
$(COMMON_PATH)/configs/wpa_supplicant_overlay.conf:system/etc/wifi/wpa_supplicant_overlay.conf \
|
||||||
|
$(COMMON_PATH)/configs/p2p_supplicant_overlay.conf:system/etc/wifi/p2p_supplicant_overlay.conf \
|
||||||
$(COMMON_PATH)/configs/bcmdhd.cal:system/etc/wifi/bcmdhd.cal
|
$(COMMON_PATH)/configs/bcmdhd.cal:system/etc/wifi/bcmdhd.cal
|
||||||
|
|
||||||
PRODUCT_PROPERTY_OVERRIDES += \
|
PRODUCT_PROPERTY_OVERRIDES += \
|
||||||
wifi.interface=wlan0 \
|
wifi.interface=wlan0 \
|
||||||
wifi.supplicant_scan_interval=15 \
|
wifi.supplicant_scan_interval=30 \
|
||||||
net.tethering.noprovisioning=true
|
net.tethering.noprovisioning=true
|
||||||
|
|
||||||
$(call inherit-product-if-exists, hardware/broadcom/wlan/bcmdhd/firmware/bcm4330/device-bcm.mk)
|
$(call inherit-product-if-exists, hardware/broadcom/wlan/bcmdhd/firmware/bcm4330/device-bcm.mk)
|
||||||
|
@ -1,13 +1,11 @@
|
|||||||
update_config=1
|
disable_scan_offload=1
|
||||||
ctrl_interface=wlan0
|
|
||||||
eapol_version=1
|
|
||||||
ap_scan=1
|
|
||||||
fast_reauth=1
|
|
||||||
p2p_listen_reg_class=81
|
p2p_listen_reg_class=81
|
||||||
p2p_listen_channel=1
|
p2p_listen_channel=1
|
||||||
p2p_oper_reg_class=115
|
p2p_oper_reg_class=124
|
||||||
p2p_oper_channel=48
|
p2p_oper_channel=149
|
||||||
manufacturer=SAMSUNG_ELECTRONICS
|
manufacturer=SAMSUNG_ELECTRONICS
|
||||||
model_name=SAMSUNG_MOBILE
|
model_name=SAMSUNG_MOBILE
|
||||||
model_number=2014
|
model_number=2014
|
||||||
serial_number=19691101
|
serial_number=19691101
|
||||||
|
update_config=1
|
||||||
|
no_ctrl_interface=
|
4
configs/wpa_supplicant_overlay.conf
Normal file
4
configs/wpa_supplicant_overlay.conf
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
p2p_disabled=1
|
||||||
|
autoscan=samsung_exponential:8:128
|
||||||
|
update_config=1
|
||||||
|
no_ctrl_interface=
|
@ -68,6 +68,7 @@ on post-fs-data
|
|||||||
mkdir /data/misc/wifi/sockets 0770 wifi wifi
|
mkdir /data/misc/wifi/sockets 0770 wifi wifi
|
||||||
mkdir /data/misc/dhcp 0770 dhcp dhcp
|
mkdir /data/misc/dhcp 0770 dhcp dhcp
|
||||||
chown dhcp dhcp /data/misc/dhcp
|
chown dhcp dhcp /data/misc/dhcp
|
||||||
|
chown wifi root /dev/rfkill
|
||||||
|
|
||||||
#DRM directory creation
|
#DRM directory creation
|
||||||
mkdir /system/etc/security/.drm 0775
|
mkdir /system/etc/security/.drm 0775
|
||||||
@ -344,11 +345,11 @@ service charger /sbin/healthd -c
|
|||||||
|
|
||||||
service p2p_supplicant /system/bin/wpa_supplicant \
|
service p2p_supplicant /system/bin/wpa_supplicant \
|
||||||
-iwlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf \
|
-iwlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf \
|
||||||
-I/system/etc/wifi/wpa_supplicant.conf \
|
-I/system/etc/wifi/wpa_supplicant_overlay.conf -N \
|
||||||
-O/data/misc/wifi/sockets -N \
|
-ip2p0 -Dnl80211 -c/data/misc/wifi/p2p_supplicant.conf \
|
||||||
-ip2p0 -Dnl80211 -c/data/misc/wifi/p2p_supplicant.conf -e/data/misc/wifi/entropy.bin \
|
-I/system/etc/wifi/p2p_supplicant_overlay.conf \
|
||||||
-puse_p2p_group_interface=1 \
|
-puse_p2p_group_interface=1 \
|
||||||
-g@android:wpa_wlan0
|
-e/data/misc/wifi/entropy.bin -g@android:wpa_wlan0
|
||||||
# we will start as root and wpa_supplicant will switch to user wifi
|
# we will start as root and wpa_supplicant will switch to user wifi
|
||||||
# after setting up the capabilities required for WEXT
|
# after setting up the capabilities required for WEXT
|
||||||
# user wifi
|
# user wifi
|
||||||
@ -359,11 +360,9 @@ service p2p_supplicant /system/bin/wpa_supplicant \
|
|||||||
oneshot
|
oneshot
|
||||||
|
|
||||||
service wpa_supplicant /system/bin/wpa_supplicant \
|
service wpa_supplicant /system/bin/wpa_supplicant \
|
||||||
-Dnl80211 -iwlan0 -e/data/misc/wifi/entropy.bin \
|
-iwlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf \
|
||||||
-c/data/misc/wifi/wpa_supplicant.conf \
|
-I/system/etc/wifi/wpa_supplicant_overlay.conf \
|
||||||
-I/system/etc/wifi/wpa_supplicant.conf \
|
-e/data/misc/wifi/entropy.bin -g@android:wpa_wlan0
|
||||||
-O/data/misc/wifi/sockets \
|
|
||||||
-g@android:wpa_wlan0
|
|
||||||
# we will start as root and wpa_supplicant will switch to user wifi
|
# we will start as root and wpa_supplicant will switch to user wifi
|
||||||
# after setting up the capabilities required for WEXT
|
# after setting up the capabilities required for WEXT
|
||||||
# user wifi
|
# user wifi
|
||||||
|
Loading…
Reference in New Issue
Block a user