summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Poynor <toddpoynor@google.com>2014-10-07 17:04:20 -0700
committerTodd Poynor <toddpoynor@google.com>2014-10-07 17:23:30 -0700
commit1d22a1f3b3fe96a6236115151a8bc4213a1bda38 (patch)
treef20c767b4508ef97991a63adfee06ddd2ab3eea4
parent0f6b3ec7799284b222a8da261e0fd6f8fdf72f90 (diff)
downloadmediatek-1d22a1f3b3fe96a6236115151a8bc4213a1bda38.tar.gz
mediatek: add android_dhcpcd.conf
Bug: 17684562 Change-Id: I9ec3b5c0149a77a91948c00222c2fba9120d0214
-rw-r--r--android_dhcpcd/Android.mk27
-rw-r--r--android_dhcpcd/android_dhcpcd.conf8
2 files changed, 35 insertions, 0 deletions
diff --git a/android_dhcpcd/Android.mk b/android_dhcpcd/Android.mk
new file mode 100644
index 0000000..29dda1a
--- /dev/null
+++ b/android_dhcpcd/Android.mk
@@ -0,0 +1,27 @@
+# Copyright (C) 2014 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)
+
+#########################
+
diff --git a/android_dhcpcd/android_dhcpcd.conf b/android_dhcpcd/android_dhcpcd.conf
new file mode 100644
index 0000000..426f756
--- /dev/null
+++ b/android_dhcpcd/android_dhcpcd.conf
@@ -0,0 +1,8 @@
+# dhcpcd configuration for Android Wi-Fi interface
+
+# Disable solicitation of IPv6 Router Advertisements
+noipv6rs
+
+interface wlan0
+# dhcpcd-run-hooks uses these options.
+option subnet_mask, routers, domain_name_servers, interface_mtu