summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjt1134 <jt1134@gmail.com>2012-11-11 00:38:11 -0600
committerjt1134 <jt1134@gmail.com>2012-11-11 00:38:11 -0600
commite59ae47daac992baa600757943598a7f5c2a3d07 (patch)
tree8609772d80e8c5fb762a13cc21148e2702a2adf7
parente92519a5105e599d6ce69950797ae8bd6866530e (diff)
downloaddevice_samsung_aries-common-e59ae47daac992baa600757943598a7f5c2a3d07.zip
device_samsung_aries-common-e59ae47daac992baa600757943598a7f5c2a3d07.tar.gz
device_samsung_aries-common-e59ae47daac992baa600757943598a7f5c2a3d07.tar.bz2
aries-common: remove unnecessary wifi-direct/p2p stuff
Change-Id: I274634d4790fec34d8f2034ec336d5207d7eec2d
-rw-r--r--BoardConfigCommon.mk1
-rw-r--r--init.aries.rc34
-rw-r--r--overlay/frameworks/base/core/res/res/values/config.xml4
3 files changed, 0 insertions, 39 deletions
diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk
index 30058de..e141e18 100644
--- a/BoardConfigCommon.mk
+++ b/BoardConfigCommon.mk
@@ -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
diff --git a/init.aries.rc b/init.aries.rc
index 83f0c29..acc6cec 100644
--- a/init.aries.rc
+++ b/init.aries.rc
@@ -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
@@ -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
@@ -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
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
index cdd07c3..e7d9d15 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -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],
@@ -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>