mirror of
https://github.com/chinawrj/rtl8812au
synced 2024-11-27 15:44:18 +00:00
Upload WPA3 doc and hostapd for Android
This commit is contained in:
parent
decdb78ea0
commit
80c331a688
79
android/wpa_supplicant_hostapd/p2p_hostapd.conf
Normal file
79
android/wpa_supplicant_hostapd/p2p_hostapd.conf
Normal file
@ -0,0 +1,79 @@
|
||||
##### hostapd configuration file ##############################################
|
||||
|
||||
interface=wlan0
|
||||
ctrl_interface=/var/run/hostapd
|
||||
ssid=DIRECT-RT
|
||||
channel=6
|
||||
wpa=2
|
||||
wpa_passphrase=12345678
|
||||
|
||||
|
||||
|
||||
##### Wi-Fi Protected Setup (WPS) #############################################
|
||||
|
||||
eap_server=1
|
||||
|
||||
# WPS state
|
||||
# 0 = WPS disabled (default)
|
||||
# 1 = WPS enabled, not configured
|
||||
# 2 = WPS enabled, configured
|
||||
wps_state=2
|
||||
|
||||
uuid=12345678-9abc-def0-1234-56789abcdef0
|
||||
|
||||
# Device Name
|
||||
# User-friendly description of device; up to 32 octets encoded in UTF-8
|
||||
device_name=RTL8192CU
|
||||
|
||||
# Manufacturer
|
||||
# The manufacturer of the device (up to 64 ASCII characters)
|
||||
manufacturer=Realtek
|
||||
|
||||
# Model Name
|
||||
# Model of the device (up to 32 ASCII characters)
|
||||
model_name=RTW_SOFTAP
|
||||
|
||||
# Model Number
|
||||
# Additional device description (up to 32 ASCII characters)
|
||||
model_number=WLAN_CU
|
||||
|
||||
# Serial Number
|
||||
# Serial number of the device (up to 32 characters)
|
||||
serial_number=12345
|
||||
|
||||
# Primary Device Type
|
||||
# Used format: <categ>-<OUI>-<subcateg>
|
||||
# categ = Category as an integer value
|
||||
# OUI = OUI and type octet as a 4-octet hex-encoded value; 0050F204 for
|
||||
# default WPS OUI
|
||||
# subcateg = OUI-specific Sub Category as an integer value
|
||||
# Examples:
|
||||
# 1-0050F204-1 (Computer / PC)
|
||||
# 1-0050F204-2 (Computer / Server)
|
||||
# 5-0050F204-1 (Storage / NAS)
|
||||
# 6-0050F204-1 (Network Infrastructure / AP)
|
||||
device_type=6-0050F204-1
|
||||
|
||||
# OS Version
|
||||
# 4-octet operating system version number (hex string)
|
||||
os_version=01020300
|
||||
|
||||
# Config Methods
|
||||
# List of the supported configuration methods
|
||||
config_methods=label display push_button keypad
|
||||
|
||||
|
||||
##### default configuration #######################################
|
||||
|
||||
driver=rtl871xdrv
|
||||
beacon_int=100
|
||||
hw_mode=g
|
||||
ieee80211n=1
|
||||
wme_enabled=1
|
||||
ht_capab=[SHORT-GI-20][SHORT-GI-40][HT40+]
|
||||
wpa_key_mgmt=WPA-PSK
|
||||
wpa_pairwise=CCMP
|
||||
max_num_sta=8
|
||||
wpa_group_rekey=86400
|
||||
supported_rates=60 90 120 180 240 360 480 540
|
||||
basic_rates=60 120 240
|
79
android/wpa_supplicant_hostapd/rtl_hostapd_2G.conf
Normal file
79
android/wpa_supplicant_hostapd/rtl_hostapd_2G.conf
Normal file
@ -0,0 +1,79 @@
|
||||
##### hostapd configuration file ##############################################
|
||||
|
||||
interface=wlan0
|
||||
ctrl_interface=/var/run/hostapd
|
||||
ssid=rtwap
|
||||
channel=6
|
||||
wpa=2
|
||||
wpa_passphrase=87654321
|
||||
#bridge=br0
|
||||
|
||||
|
||||
|
||||
##### Wi-Fi Protected Setup (WPS) #############################################
|
||||
|
||||
eap_server=1
|
||||
|
||||
# WPS state
|
||||
# 0 = WPS disabled (default)
|
||||
# 1 = WPS enabled, not configured
|
||||
# 2 = WPS enabled, configured
|
||||
wps_state=2
|
||||
|
||||
uuid=12345678-9abc-def0-1234-56789abcdef0
|
||||
|
||||
# Device Name
|
||||
# User-friendly description of device; up to 32 octets encoded in UTF-8
|
||||
device_name=RTL8192CU
|
||||
|
||||
# Manufacturer
|
||||
# The manufacturer of the device (up to 64 ASCII characters)
|
||||
manufacturer=Realtek
|
||||
|
||||
# Model Name
|
||||
# Model of the device (up to 32 ASCII characters)
|
||||
model_name=RTW_SOFTAP
|
||||
|
||||
# Model Number
|
||||
# Additional device description (up to 32 ASCII characters)
|
||||
model_number=WLAN_CU
|
||||
|
||||
# Serial Number
|
||||
# Serial number of the device (up to 32 characters)
|
||||
serial_number=12345
|
||||
|
||||
# Primary Device Type
|
||||
# Used format: <categ>-<OUI>-<subcateg>
|
||||
# categ = Category as an integer value
|
||||
# OUI = OUI and type octet as a 4-octet hex-encoded value; 0050F204 for
|
||||
# default WPS OUI
|
||||
# subcateg = OUI-specific Sub Category as an integer value
|
||||
# Examples:
|
||||
# 1-0050F204-1 (Computer / PC)
|
||||
# 1-0050F204-2 (Computer / Server)
|
||||
# 5-0050F204-1 (Storage / NAS)
|
||||
# 6-0050F204-1 (Network Infrastructure / AP)
|
||||
device_type=6-0050F204-1
|
||||
|
||||
# OS Version
|
||||
# 4-octet operating system version number (hex string)
|
||||
os_version=01020300
|
||||
|
||||
# Config Methods
|
||||
# List of the supported configuration methods
|
||||
config_methods=label display push_button keypad
|
||||
|
||||
|
||||
##### default configuration #######################################
|
||||
|
||||
driver=rtl871xdrv
|
||||
beacon_int=100
|
||||
hw_mode=g
|
||||
ieee80211n=1
|
||||
wme_enabled=1
|
||||
ht_capab=[SHORT-GI-20][SHORT-GI-40][HT40+]
|
||||
wpa_key_mgmt=WPA-PSK
|
||||
wpa_pairwise=CCMP
|
||||
max_num_sta=8
|
||||
wpa_group_rekey=86400
|
||||
|
78
android/wpa_supplicant_hostapd/rtl_hostapd_5G.conf
Normal file
78
android/wpa_supplicant_hostapd/rtl_hostapd_5G.conf
Normal file
@ -0,0 +1,78 @@
|
||||
##### hostapd configuration file ##############################################
|
||||
|
||||
interface=wlan0
|
||||
ctrl_interface=/var/run/hostapd
|
||||
ssid=rtwap
|
||||
channel=36
|
||||
wpa=2
|
||||
wpa_passphrase=87654321
|
||||
#bridge=br0
|
||||
|
||||
|
||||
##### Wi-Fi Protected Setup (WPS) #############################################
|
||||
|
||||
eap_server=1
|
||||
|
||||
# WPS state
|
||||
# 0 = WPS disabled (default)
|
||||
# 1 = WPS enabled, not configured
|
||||
# 2 = WPS enabled, configured
|
||||
wps_state=2
|
||||
|
||||
uuid=12345678-9abc-def0-1234-56789abcdef0
|
||||
|
||||
# Device Name
|
||||
# User-friendly description of device; up to 32 octets encoded in UTF-8
|
||||
device_name=RTL8192CU
|
||||
|
||||
# Manufacturer
|
||||
# The manufacturer of the device (up to 64 ASCII characters)
|
||||
manufacturer=Realtek
|
||||
|
||||
# Model Name
|
||||
# Model of the device (up to 32 ASCII characters)
|
||||
model_name=RTW_SOFTAP
|
||||
|
||||
# Model Number
|
||||
# Additional device description (up to 32 ASCII characters)
|
||||
model_number=WLAN_CU
|
||||
|
||||
# Serial Number
|
||||
# Serial number of the device (up to 32 characters)
|
||||
serial_number=12345
|
||||
|
||||
# Primary Device Type
|
||||
# Used format: <categ>-<OUI>-<subcateg>
|
||||
# categ = Category as an integer value
|
||||
# OUI = OUI and type octet as a 4-octet hex-encoded value; 0050F204 for
|
||||
# default WPS OUI
|
||||
# subcateg = OUI-specific Sub Category as an integer value
|
||||
# Examples:
|
||||
# 1-0050F204-1 (Computer / PC)
|
||||
# 1-0050F204-2 (Computer / Server)
|
||||
# 5-0050F204-1 (Storage / NAS)
|
||||
# 6-0050F204-1 (Network Infrastructure / AP)
|
||||
device_type=6-0050F204-1
|
||||
|
||||
# OS Version
|
||||
# 4-octet operating system version number (hex string)
|
||||
os_version=01020300
|
||||
|
||||
# Config Methods
|
||||
# List of the supported configuration methods
|
||||
config_methods=label display push_button keypad
|
||||
|
||||
|
||||
##### default configuration #######################################
|
||||
|
||||
driver=rtl871xdrv
|
||||
beacon_int=100
|
||||
hw_mode=a
|
||||
ieee80211n=1
|
||||
wme_enabled=1
|
||||
ht_capab=[SHORT-GI-20][SHORT-GI-40][HT40+]
|
||||
wpa_key_mgmt=WPA-PSK
|
||||
wpa_pairwise=CCMP
|
||||
max_num_sta=8
|
||||
wpa_group_rekey=86400
|
||||
|
51
android/wpa_supplicant_hostapd/wpa_0_8.conf
Normal file
51
android/wpa_supplicant_hostapd/wpa_0_8.conf
Normal file
@ -0,0 +1,51 @@
|
||||
ctrl_interface=/var/run/wpa_supplicant
|
||||
update_config=1
|
||||
|
||||
# Wi-Fi Protected Setup (WPS) parameters
|
||||
|
||||
# Device Name
|
||||
# User-friendly description of device; up to 32 octets encoded in UTF-8
|
||||
device_name=RTL8192CU
|
||||
|
||||
# Manufacturer
|
||||
# The manufacturer of the device (up to 64 ASCII characters)
|
||||
manufacturer=Realtek
|
||||
|
||||
# Model Name
|
||||
# Model of the device (up to 32 ASCII characters)
|
||||
model_name=RTW_STA
|
||||
|
||||
# Model Number
|
||||
# Additional device description (up to 32 ASCII characters)
|
||||
model_number=WLAN_CU
|
||||
|
||||
# Serial Number
|
||||
# Serial number of the device (up to 32 characters)
|
||||
serial_number=12345
|
||||
|
||||
# Primary Device Type
|
||||
# Used format: <categ>-<OUI>-<subcateg>
|
||||
# categ = Category as an integer value
|
||||
# OUI = OUI and type octet as a 4-octet hex-encoded value; 0050F204 for
|
||||
# default WPS OUI
|
||||
# subcateg = OUI-specific Sub Category as an integer value
|
||||
# Examples:
|
||||
# 1-0050F204-1 (Computer / PC)
|
||||
# 1-0050F204-2 (Computer / Server)
|
||||
# 5-0050F204-1 (Storage / NAS)
|
||||
# 6-0050F204-1 (Network Infrastructure / AP)
|
||||
device_type=1-0050F204-1
|
||||
|
||||
# OS Version
|
||||
# 4-octet operating system version number (hex string)
|
||||
os_version=01020300
|
||||
|
||||
# Config Methods
|
||||
# List of the supported configuration methods
|
||||
# Available methods: usba ethernet label display ext_nfc_token int_nfc_token
|
||||
# nfc_interface push_button keypad virtual_display physical_display
|
||||
# virtual_push_button physical_push_button
|
||||
# For WSC 1.0:
|
||||
#config_methods=display push_button keypad
|
||||
# For WSC 2.0:
|
||||
config_methods=virtual_display virtual_push_button keypad
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
documents/Quick_Start_Guide_for_WPA3.pdf
Normal file
BIN
documents/Quick_Start_Guide_for_WPA3.pdf
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user