iwpriv
=================
This is detailed explanation of each parameters for iwpriv.
Before reading this document, make sure you already read README.
-------------------------------------------------------------------------------------------------------
USAGE:
iwpriv ra0 commands val
NOTE:
Wireless Extension Private Handlers
where
[commands] [val]
{range}
----------------- -------------------------------------------------
wsc_conf_mode {0, 1, 2}
::Set WPS conf mode
0: WPS Disabled
1: Enrollee
2: Registrar
wsc_mode {1, 2}
::PIN or PBC
1: PIN
2: PBC
wsc_pin {00000000 ~ 99999999}
::Set Enrollee's PIN Code
wsc_ssid {0~z, 1~32 ascii characters}
::Set WPS AP SSID
wsc_start NULL
::Trigger RT2860 STA driver to do WPS process
wsc_stop NULL
::Stop WPS process
wsc_gen_pincode NULL
::Generate new PIN code
wsc_cred_count {1 ~ 8}
::Set count of WPS credential
wsc_cred_ssid {"idx ssid_str"}
::Set SSID into credtentail[idx]
idx: 0 ~ 7
ssid_str: 0~z, 1~32 ascii characters
wsc_cred_auth {"idx auth_str"}
::Set AuthMode into credtentail[idx]
idx: 0 ~ 7
auth_str: OPEN, WPAPSK, WPA2PSK, SHARED, WPA, WPA2
wsc_cred_encr {"idx encr_str"}
::Set EncrypType into credtentail[idx]
idx: 0 ~ 7
encr_str: NONE, WEP, TKIP, AES
wsc_cred_keyIdx {"idx key_index"}
::Set Key Index into credtentail[idx]
idx: 0 ~ 7
key_index: 1 ~ 4
wsc_cred_key {"idx key"}
::Set Key into credtentail[idx]
idx: 0 ~ 7
key: ASCII string (wep_key_len(=5,13), passphrase_len(=8~63))
OR
Hex string (wep_key_len(=10,26), passphrase_len(=64))
wsc_cred_mac {"idx mac_str"}
::Set AP's MAC into credtentail[idx]
idx: 0 ~ 7
mac_str: xx:xx:xx:xx:xx:xx
wsc_conn_by_idx {0 ~ 7}
::Connect AP by credential index
wsc_auto_conn {0, 1}
::Set driver to re-connecting to AP or not after registration.
0: Disabled, driver won't re-connect to AP with new configurations.
1: Enabled, driver will re-connect to AP with new configurations.
wsc_ap_band {0, 1, 2}
::Set prefer band to do WPS with dual band WPS AP
0 : prefer 2.4G
1 : prefer 5G
2 : auto
Default value is auto (2)
-------------------------------------------------------------------------------------------------------
USAGE:
iwpriv ra0 set [parameters]=[val]
NOTE:
Execute one iwpriv/set command simultaneously.
where
[parameters] [val]
{range}
----------------- -------------------------------------------------
CountryRegion {0~7}
::Set country region
0: 1 ~ 11 ch
1: 1 ~ 13 ch
2: 10, 11 ch
3: 10 ~ 13 ch
4: 14 ch
5: 1 ~ 14 ch
6: 3 ~ 9 ch
7: 5 ~ 13 ch
31: 1 ~ 14 ch (ch1-11:active scan, ch12-14 passive scan)
CountryRegionABand {0~11}
::Set country region for A band
0: 36, 40, 44, 48, 52, 56, 60, 64, 149, 153, 157, 161, 165 ch
1: 36, 40, 44, 48, 52, 56, 60, 64, 100, 104, 108, 112, 116, 120, 124, 128, 132, 136, 140 ch
2: 36, 40, 44, 48, 52, 56, 60, 64 ch
3: 52, 56, 60, 64, 149, 153, 157, 161 ch
4: 149, 153, 157, 161, 165 ch
5: 149, 153, 157, 161 ch
6: 36, 40, 44, 48 ch
7: 36, 40, 44, 48, 52, 56, 60, 64, 100, 104, 108, 112, 116, 120, 124, 128, 132, 136, 140, 149, 153, 157, 161, 165 ch
8: 52, 56, 60, 64 ch
9: 36, 40, 44, 48, 52, 56, 60, 64, 100, 104, 108, 112, 116, 132, 136, 140, 149, 153, 157, 161, 165 ch
10: 36, 40, 44, 48, 149, 153, 157, 161, 165 ch
11: 36, 40, 44, 48, 52, 56, 60, 64, 100, 104, 108, 112, 116, 120, 149, 153, 157, 161 ch
SSID {0~z, 1~32 ascii characters}
::Set AP SSID
WirelessMode {0~10}
::Set Wireless Mode
0: legacy 11b/g mixed
1: legacy 11B only
2: legacy 11A only
3: legacy 11a/b/g mixed
4: legacy 11G only
5: 11ABGN mixed
6: 11N only
7: 11GN mixed
8: 11AN mixed
9: 11BGN mixed
10: 11AGN mixed
Channel depends on CountryRegion or CountryRegionForABand
::Set Channel
BGProtection {0~2}
::Set 11B/11G Protection
0:Auto,
1:Always on,
2:Always off
TxPreamble {0~2}
::Set TxPreamble
0:Preamble Long,
1:Preamble Short,
2:Auto
RTSThreshold {1~2347}
::Set RTS Threshold
FragThreshold {256~2346}
::Set Fragment Threshold
TxBurst {0,1}
::Set TxBurst Enable or Disable
0:Disable,
1:Enable
NetworkType {Infra,Adhoc}
::Set Network type
AuthMode {OPEN,SHARED,WEPAUTO,WPAPSK,WPA2PSK,WPANONE}
::Set Authentication Mode
EncrypType {NONE,WEP,TKIP,AES}
::Set Encryption Type
DefaultKeyID {1~4}
::Set Default Key ID
Key1 {5 ascii characters or 10 hex number or
13 ascii characters or 26 hex numbers}
::Set Key1 String
Key2 {5 ascii characters or 10 hex number or
13 ascii characters or 26 hex numbers}
::Set Key2 String
Key3 {5 ascii characters or 10 hex number or
13 ascii characters or 26 hex numbers}
::Set Key3 String
Key4 {5 ascii characters or 10 hex number or
13 ascii characters or 26 hex numbers}
::Set Key4 String
WPAPSK {8~63 ascii or 64 hex characters}
::WPA Pre-Shared Key
WmmCapable {0,1}
::Set WMM Capable
0:Disable WMM,
1:Enable WMM
PSMode {CAM, MAX_PSP, FAST_PSP}
::Set Power Saving Mode
HtBw {0,1}
::Set BandWidth
0: 20Hz
1: 40Hz
HtMcs {0 ~ 15, 33}
::Set MCS
33: Auto Rate
HtGi {0,1}
::Set Guard Interval(GI)
0: long GI
1: short GI
HtOpMode {0,1}
::Set HT Operation Mode
0: HT mixed format
1: HT greenfield format
HtExtcha {0,1}
::Set Extended Channel Switch Announcement
0: Below
1: Above
HtMpduDensity {0 ~ 7}
::Set The Min