mediatek: add android_dhcpcd.conf

Bug: 17684562
Change-Id: I9ec3b5c0149a77a91948c00222c2fba9120d0214
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