Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Add Realtek Android SDK.
Browse files Browse the repository at this point in the history
  • Loading branch information
joneschrisg committed Oct 16, 2014
0 parents commit e9dcc33
Show file tree
Hide file tree
Showing 13 changed files with 2,678 additions and 0 deletions.
3 changes: 3 additions & 0 deletions wlan/Android.mk
@@ -0,0 +1,3 @@
ifeq ($(BOARD_WIFI_VENDOR), realtek)
include $(call all-subdir-makefiles)
endif
41 changes: 41 additions & 0 deletions wlan/config/Android.mk
@@ -0,0 +1,41 @@
#
# 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 := optional
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

########################
6 changes: 6 additions & 0 deletions wlan/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

0 comments on commit e9dcc33

Please sign in to comment.