Realtek_Wi-Fi_SDK_for_Android_KK_4.4.pdf
(
394 KB
)
Pobierz
Realtek Wi-Fi SDK for Android KK 4.4
ver. 1.1.0
Contents
Release History
............................................................................................................. 2
Introduction
.................................................................................................................. 3
1. Copy Necessary Files into SDK
.......................................................................... 4
2. Platform Related Files
......................................................................................... 4
2.1.
BoardConfig.mk
....................................................................................... 4
2.2.
init.xxx.rc
.................................................................................................. 6
2.3.
Others
........................................................................................................ 8
3.
4.
5.
6.
7.
System Resource Configurations
........................................................................ 9
libhardware_legacy
............................................................................................ 10
wpa_supplicant_8
............................................................................................... 11
Driver Configurations for Android KK
........................................................... 12
FAQ
..................................................................................................................... 14
7.1.
Wi-Fi (STA mode)
.................................................................................. 14
7.1.1.
Why Wi-Fi can’t enable?
........................................................... 14
7.2.
Portable Wi-Fi hotspot (AP mode)
....................................................... 14
7.2.1.
Why Portable Wi-Fi hotspot can’t enable?
............................. 14
7.3.
Wi-Fi Direct (P2P mode)
....................................................................... 15
7.3.1.
There is no Wi-Fi Direct UI shown?
......................................... 15
7.3.2.
Wi-Fi Direct can’t scan any peer?
............................................ 15
1
Release History
0.0.1
2013/11/22
1.
1.1.
1.2.
1.0.0
2014/01/17
1.
1.1.
1.1.0
2014/02/20
1.
Beta release
realtek_wifi_SDK_for_android_KK_4.4_20131122.tar.gz
wpa_supplicant_8_kk_4.4_rtw_r9640.20131122.tar.gz
First formal release
realtek_wifi_SDK_for_android_KK_4.4_20140117.tar.gz
wpa_supplicant_8_kk_4.4_rtw_r10450.20140220.tar.gz
2
SDK packages
hardware/realtek/*
Folder to store config files, private code from Realtek.
hardware/libhardware_legacy/wifi/Android.mk
Reference codes for applying wifi_realtek.c
For
wpa_supplicant_8_kk_4.4_rtw_r10450.20140220.tar.gz
or
newer
version,
see
※
wpa_supplicant_hostapd folder of our SW release package or consult our contact window.
Introduction
This document provides a simple guide to help engineers to apply Realtek Wi-Fi
solution onto their Android KK 4.4 system. For now, we have supported the following
two scenarios:
STA/AP
– Switch between STA mode and AP mode
(STA+P2P)/AP
– Switch between STA+P2P(Wi-Fi Direct) concurrent
mode and AP mode
To port Realtek Wi-Fi driver onto Android 4.4 platform, you can go through the
following guide with reference codes within our driver package's
realtek_wifi_SDK_for_android_KK_4.4_20140117.tar.gz.
Because Android's SDK may differ from platform to platform, our reference
codes may not be applied on every platform without modifications. You should check
if our reference code is suitable for you to use.
In this document, ANDROID_SDK is the path of top folder of the target Android
SDK; this term is used in the following paragraphs.
3
1.
Copy Necessary Files into SDK
After unzipping realtek_wifi_SDK_for_android_KK_4.4_20140117.tar.gz, copy
the following folder into ANDROID_SDK/hardware/ folder:
hardware/realtek
2. Platform Related Files
2.1. BoardConfig.mk
To apply Realtek Wi-Fi solution onto your Android KK system, you need to
define some compile-time variables in BoardConfig.mk of your platform. In general,
the BoardConfig.mk file is located in:
ANDROID_SDK /device/<soc_vendor_name>/<board_name>/
Take TI panda board for example:
ANDROID_SDK /device/ ti/panda/ BoardConfig.mk
Please define the following compile-time variables below:
4
BOARD_WIFI_VENDOR := realtek
ifeq ($(BOARD_WIFI_VENDOR), realtek)
WPA_SUPPLICANT_VERSION := VER_0_8_X
BOARD_WPA_SUPPLICANT_DRIVER := NL80211
CONFIG_DRIVER_WEXT :=y
BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_rtl
BOARD_HOSTAPD_DRIVER
BOARD_HOSTAPD_PRIVATE_LIB
:= NL80211
:= lib_driver_cmd_rtl
BOARD_WLAN_DEVICE := rtl8192cu
#BOARD_WLAN_DEVICE := rtl8192du
#BOARD_WLAN_DEVICE := rtl8192ce
#BOARD_WLAN_DEVICE := rtl8192de
#BOARD_WLAN_DEVICE := rtl8723as
#BOARD_WLAN_DEVICE := rtl8723au
#BOARD_WLAN_DEVICE := rtl8189es
#BOARD_WLAN_DEVICE := rtl8723bs
#BOARD_WLAN_DEVICE := rtl8723bu
WIFI_DRIVER_MODULE_NAME
WIFI_DRIVER_MODULE_PATH
WIFI_DRIVER_MODULE_ARG
:= "wlan"
:= "/system/lib/modules/wlan.ko"
:= "ifname=wlan0 if2name=p2p0"
WIFI_FIRMWARE_LOADER
WIFI_DRIVER_FW_PATH_STA
WIFI_DRIVER_FW_PATH_AP
WIFI_DRIVER_FW_PATH_P2P
:= ""
:= ""
:= ""
:= ""
WIFI_DRIVER_FW_PATH_PARAM := ""
endif
BOARD_WIFI_VENDOR := realtek
To distinguish the platform Wi-Fi device from products of other vendors, we
define variable BOARD_WIFI_VENDOR as realtek. This is for compile-time choices
to be applied for Realtek Wi-Fi solutions.
WPA_SUPPLICANT_VERSION := VER_0_8_X
For Android KK, please set WPA_SUPPLICANT_VERSION as VER_0_8_X to
5
Plik z chomika:
hacyy
Inne pliki z tego folderu:
Office Professional Plus 2019.zip
(3355391 KB)
Worms Armageddon [WINDOWS 10] SPOLSZCZENIE [PL].7z
(533047 KB)
Wireshark-win32-3.6.5.exe
(59869 KB)
OCCT.exe
(84407 KB)
LibreOffice_7.3.3_Win_x64.msi
(339680 KB)
Inne foldery tego chomika:
AsProgrammer
BOOTICE_2016.06.17_v1.3.4.0
CH341A - USB Programmer v1.30_PL
CH341A Programmer v1.4
Diagnostyka BMW
Zgłoś jeśli
naruszono regulamin