summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Shmidt <dimitrysh@google.com>2013-04-25 19:08:17 -0700
committerThe Android Automerger <android-build@android.com>2013-04-26 13:42:27 -0700
commitba565f37d32d37b1706694a680ac2de1c0ee2790 (patch)
treecac6f8a933b2c6fcc93a547f4544bf12dd3d1af9
parent2c896fa467c6186c0be6a84f56091fb0833751d5 (diff)
downloadwlan-ba565f37d32d37b1706694a680ac2de1c0ee2790.tar.gz
Set disable_scan_offload=1 in wpa_supplicant overlay file
Bug: 8725307 Change-Id: Ie69683989ccd0625a07319a36089931c86a5af0d Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
-rw-r--r--bcmdhd/config/config-bcm.mk20
-rw-r--r--bcmdhd/config/wpa_supplicant_overlay.conf1
-rw-r--r--bcmdhd/firmware/bcm4324/device-bcm.mk1
-rw-r--r--bcmdhd/firmware/bcm4330/device-bcm.mk1
4 files changed, 23 insertions, 0 deletions
diff --git a/bcmdhd/config/config-bcm.mk b/bcmdhd/config/config-bcm.mk
new file mode 100644
index 0000000..ab3e5de
--- /dev/null
+++ b/bcmdhd/config/config-bcm.mk
@@ -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
index 0000000..acbace2
--- /dev/null
+++ b/bcmdhd/config/wpa_supplicant_overlay.conf
@@ -0,0 +1 @@
+disable_scan_offload=1
diff --git a/bcmdhd/firmware/bcm4324/device-bcm.mk b/bcmdhd/firmware/bcm4324/device-bcm.mk
index 2d169d4..5100441 100644
--- a/bcmdhd/firmware/bcm4324/device-bcm.mk
+++ b/bcmdhd/firmware/bcm4324/device-bcm.mk
@@ -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
diff --git a/bcmdhd/firmware/bcm4330/device-bcm.mk b/bcmdhd/firmware/bcm4330/device-bcm.mk
index f383441..d9acd67 100644
--- a/bcmdhd/firmware/bcm4330/device-bcm.mk
+++ b/bcmdhd/firmware/bcm4330/device-bcm.mk
@@ -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