diff options
author | Dmitry Shmidt <dimitrysh@google.com> | 2013-04-12 15:14:22 -0700 |
---|---|---|
committer | Dmitry Shmidt <dimitrysh@google.com> | 2013-04-12 15:14:22 -0700 |
commit | 8bff0c0323c62c34621a818dc1e2f863589aab00 (patch) | |
tree | 0db96982d8bf7e5a3933e47977ff605773425670 /qcwcn/config | |
parent | c3c418dc369f399cb104f41be2b7080f8ab623af (diff) | |
download | wlan-8bff0c0323c62c34621a818dc1e2f863589aab00.tar.gz |
qcom: wlan: Create dhcp and wpa_supplicant config in proper wayandroid-4.3_r3.1android-4.3_r3android-4.3_r2.3android-4.3_r2.2android-4.3_r2.1android-4.3_r2android-4.3_r1.1android-4.3_r1android-4.3_r0.9.1android-4.3_r0.9android-4.3.1_r1tools_r22.2jb-mr2.0.0-releasejb-mr2.0-releasejb-mr2-releasejb-mr2-dev
Change-Id: I8878f813ada641b0ffee0d5b70384daf1568e401
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Diffstat (limited to 'qcwcn/config')
-rw-r--r-- | qcwcn/config/Android.mk | 33 | ||||
-rw-r--r-- | qcwcn/config/android_dhcpcd.conf | 9 |
2 files changed, 42 insertions, 0 deletions
diff --git a/qcwcn/config/Android.mk b/qcwcn/config/Android.mk new file mode 100644 index 0000000..0a402c3 --- /dev/null +++ b/qcwcn/config/Android.mk @@ -0,0 +1,33 @@ +# +# 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_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 +endif +####################### diff --git a/qcwcn/config/android_dhcpcd.conf b/qcwcn/config/android_dhcpcd.conf new file mode 100644 index 0000000..e6b4414 --- /dev/null +++ b/qcwcn/config/android_dhcpcd.conf @@ -0,0 +1,9 @@ +# dhcpcd configuration for Android Wi-Fi interface +# See dhcpcd.conf(5) for details. + +# Disable solicitation of IPv6 Router Advertisements +noipv6rs + +interface wlan0 +# dhcpcd-run-hooks uses these options. +option subnet_mask, routers, domain_name_servers |