Set disable_scan_offload=1 in wpa_supplicant overlay file
Dmitry Shmidt [Fri, 26 Apr 2013 02:08:17 +0000 (19:08 -0700)]
Bug: 8725307

Change-Id: Ie69683989ccd0625a07319a36089931c86a5af0d
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

bcmdhd/config/config-bcm.mk [new file with mode: 0644]
bcmdhd/config/wpa_supplicant_overlay.conf [new file with mode: 0644]
bcmdhd/firmware/bcm4324/device-bcm.mk
bcmdhd/firmware/bcm4330/device-bcm.mk

diff --git a/bcmdhd/config/config-bcm.mk b/bcmdhd/config/config-bcm.mk
new file mode 100644 (file)
index 0000000..ab3e5de
--- /dev/null
@@ -0,0 +1,20 @@
+#
+# Copyright (C) 2008 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+########################
+PRODUCT_COPY_FILES += \
+    hardware/broadcom/wlan/bcmdhd/config/wpa_supplicant_overlay.conf:system/etc/wifi/wpa_supplicant_overlay.conf
+########################
diff --git a/bcmdhd/config/wpa_supplicant_overlay.conf b/bcmdhd/config/wpa_supplicant_overlay.conf
new file mode 100644 (file)
index 0000000..acbace2
--- /dev/null
@@ -0,0 +1 @@
+disable_scan_offload=1
index 2d169d4..5100441 100644 (file)
@@ -15,6 +15,7 @@
 #
 
 ########################
+-include hardware/broadcom/wlan/bcmdhd/config/config-bcm.mk
 
 BCM_FW_SRC_FILE_STA := fw_bcm4324.bin
 BCM_FW_SRC_FILE_AP  := fw_bcm4324.bin
index f383441..d9acd67 100644 (file)
@@ -15,6 +15,7 @@
 #
 
 ########################
+-include hardware/broadcom/wlan/bcmdhd/config/config-bcm.mk
 
 ifeq ($(strip $(WIFI_BAND)),802_11_BG)
 BCM_FW_SRC_FILE_STA := fw_bcm4330_bg.bin