summaryrefslogtreecommitdiffstats
path: root/bcmdhd/config
diff options
context:
space:
mode:
authorDmitry Shmidt <dimitrysh@google.com>2011-06-02 17:04:20 -0700
committerDmitry Shmidt <dimitrysh@google.com>2011-06-02 23:58:47 -0700
commitb6825ab724b9d671db9f26faae035f2d5ade04b6 (patch)
treeb408ea074fbe3aa74f44eb4e1210be9e8ea20ac2 /bcmdhd/config
parentc208ac5eb62bad8f6346aaa98c69462dff0337fe (diff)
downloadhardware_broadcom_wlan-b6825ab724b9d671db9f26faae035f2d5ade04b6.zip
hardware_broadcom_wlan-b6825ab724b9d671db9f26faae035f2d5ade04b6.tar.gz
hardware_broadcom_wlan-b6825ab724b9d671db9f26faae035f2d5ade04b6.tar.bz2
bcmdhd: Initial revision based on Version 5.90.125.14
Change-Id: I704df8a1840aaad02543ffa283d92e0f4d8000de Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Diffstat (limited to 'bcmdhd/config')
-rw-r--r--bcmdhd/config/Android.mk40
-rw-r--r--bcmdhd/config/android_dhcpcd.conf6
2 files changed, 46 insertions, 0 deletions
diff --git a/bcmdhd/config/Android.mk b/bcmdhd/config/Android.mk
new file mode 100644
index 0000000..7e898dd
--- /dev/null
+++ b/bcmdhd/config/Android.mk
@@ -0,0 +1,40 @@
+#
+# 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.
+#
+LOCAL_PATH := $(call my-dir)
+
+########################
+
+include $(CLEAR_VARS)
+LOCAL_MODULE := dhcpcd.conf
+LOCAL_MODULE_TAGS := user
+LOCAL_MODULE_CLASS := ETC
+LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/dhcpcd
+LOCAL_SRC_FILES := android_dhcpcd.conf
+include $(BUILD_PREBUILT)
+
+#########################
+
+WIFI_DRIVER_SOCKET_IFACE := wlan0
+ifeq ($(strip $(WPA_SUPPLICANT_VERSION)),VER_0_8_X)
+ include external/wpa_supplicant_8/wpa_supplicant/wpa_supplicant_conf.mk
+else
+ifeq ($(strip $(WPA_SUPPLICANT_VERSION)),VER_0_6_X)
+ include external/wpa_supplicant_6/wpa_supplicant/wpa_supplicant_conf.mk
+else
+ include external/wpa_supplicant/wpa_supplicant_conf.mk
+endif
+endif
+#######################
diff --git a/bcmdhd/config/android_dhcpcd.conf b/bcmdhd/config/android_dhcpcd.conf
new file mode 100644
index 0000000..54006c7
--- /dev/null
+++ b/bcmdhd/config/android_dhcpcd.conf
@@ -0,0 +1,6 @@
+# dhcpcd configuration for Android Wi-Fi interface
+# See dhcpcd.conf(5) for details.
+
+interface wlan0
+# dhcpcd-run-hooks uses these options.
+option subnet_mask, routers, domain_name_servers