Modified for WiFi Bringup on JB

Added wpa_supplicant and p2p_supplicant service, which will
be used for standalone STA and WiFi Direct modes respectively.

Change-Id: I705c027a86489a39e792a5c09c9850a3ab53ce34
This commit is contained in:
Santosh Sajjan 2012-07-14 21:43:48 +05:30
parent 552c9a4be9
commit 26de04dda9
1 changed files with 22 additions and 4 deletions

View File

@ -349,10 +349,28 @@ service amp_unload /system/bin/amploader -u
disabled disabled
oneshot oneshot
service wpa_supplicant /system/bin/logwrapper /system/bin/wpa_supplicant -Dnl80211 -ddd service p2p_supplicant /system/bin/logwrapper /system/bin/wpa_supplicant \
class late_start -ip2p0 -Dnl80211 -c/data/misc/wifi/p2p_supplicant.conf -N \
user root -iwlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf -dddd \
group wifi inet -e/data/misc/wifi/entropy.bin -puse_p2p_group_interface=1
# we will start as root and wpa_supplicant will switch to user wifi
# after setting up the capabilities required for WEXT
# user wifi
# group wifi inet keystore
class main
socket wpa_wlan0 dgram 660 wifi wifi
disabled
oneshot
service wpa_supplicant /system/bin/logwrapper /system/bin/wpa_supplicant \
-iwlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf -dddd \
-e/data/misc/wifi/entropy.bin
# we will start as root and wpa_supplicant will switch to user wifi
# after setting up the capabilities required for WEXT
# user wifi
# group wifi inet keystore
class main
socket wpa_wlan0 dgram 660 wifi wifi
disabled disabled
oneshot oneshot