Skip to content

Commit

Permalink
Merge "aries-common: remove unnecessary wifi-direct/p2p stuff" into j…
Browse files Browse the repository at this point in the history
…ellybean
  • Loading branch information
pawitp authored and Gerrit Code Review committed Nov 16, 2012
2 parents 977d74b + e59ae47 commit 3e961fd
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 39 deletions.
1 change: 0 additions & 1 deletion BoardConfigCommon.mk
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ BOARD_WLAN_DEVICE_REV := bcm4329
WIFI_DRIVER_MODULE_NAME := "bcmdhd"
WIFI_DRIVER_FW_PATH_PARAM := "/sys/module/bcmdhd/parameters/firmware_path"
WIFI_DRIVER_FW_PATH_STA := "/vendor/firmware/fw_bcmdhd.bin"
WIFI_DRIVER_FW_PATH_P2P := "/vendor/firmware/fw_bcmdhd_p2p.bin"
WIFI_DRIVER_FW_PATH_AP := "/vendor/firmware/fw_bcmdhd_apsta.bin"

# Vold
Expand Down
34 changes: 0 additions & 34 deletions init.aries.rc
Original file line number Diff line number Diff line change
Expand Up @@ -124,30 +124,6 @@ service pvrsrvinit /system/vendor/bin/pvrsrvinit
group root
oneshot

# FIXME
# service p2p_supplicant /system/bin/wpa_supplicant \
# -iwlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf -N \
# -ip2p0 -Dnl80211 -c/data/misc/wifi/p2p_supplicant.conf -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 p2p_supplicant /system/bin/wpa_supplicant \
-iwlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf -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/wpa_supplicant \
-iwlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf -e/data/misc/wifi/entropy.bin
# we will start as root and wpa_supplicant will switch to user wifi
Expand All @@ -164,11 +140,6 @@ service dhcpcd_wlan0 /system/bin/dhcpcd -aABKL
disabled
oneshot

service dhcpcd_p2p /system/bin/dhcpcd -aABKL
class main
disabled
oneshot

service dhcpcd_bnep0 /system/bin/dhcpcd -ABKL
class main
disabled
Expand All @@ -179,11 +150,6 @@ service iprenew_wlan0 /system/bin/dhcpcd -n
disabled
oneshot

service iprenew_p2p /system/bin/dhcpcd -n
class main
disabled
oneshot

service iprenew_bnep0 /system/bin/dhcpcd -n
class main
disabled
Expand Down
4 changes: 0 additions & 4 deletions overlay/frameworks/base/core/res/res/values/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@
<item>"mobile_dun,4,0,4,60000,true"</item>
<item>"mobile_hipri,5,0,3,60000,true"</item>
<item>"mobile_bluetooth,7,7,1,-1,true"</item>
<item>"wifi_p2p,13,1,0,-1,true"</item>
</string-array>

<!-- An Array of "[ConnectivityManager connectionType],
Expand Down Expand Up @@ -172,9 +171,6 @@
<!-- Minimum screen brightness allowed by the power manager. -->
<integer name="config_screenBrightnessDim">10</integer>

<!-- Boolean indicating whether the wifi chipset has p2p support -->
<bool translatable="false" name="config_wifi_p2p_support">true</bool>

<!-- Vibrator pattern for a very short but reliable vibration for soft keyboard tap -->
<integer-array name="config_keyboardTapVibePattern">
<item>30</item>
Expand Down

0 comments on commit 3e961fd

Please sign in to comment.