MTK_Wi Fi_SoftAP_Software_Programming_Guide_v4.2 MTK Wi Fi Soft AP Software Programming Guide V4.2

User Manual: Pdf

Open the PDF directly: View PDF PDF.
Page Count: 187 [warning: Documents this large are best viewed by clicking the View PDF Link!]

loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
Version: 4.2
Release date: 2014-07-01
© 2008 - 2014 MediaTek Inc.
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
Specifications are subject to change without notice.
MTK Wi-Fi SoftAP Software Programming Guide
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 2 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
Document Revision History
Revision
Date
Description
1.0 2012/11/08 Pan Liu Initial Version
1.1 2012/11/13 Pan Liu Update iwpriv command
1.2 2012/12/11 Pan Liu Add
NoForwardingMBCast
1.3 2013/01/04 Pan Liu Add VHT_BW and VhtBW
1.4 2013/1/14 Pan Liu Update Apclient WPS command sample
1.5 2013/1/22 Pan Liu Add FAQ- FixTxMode iwpriv command sample
1.6 2013/1/23 Pan Liu Add new DAT item VHT_DisallowNonVHT and SingleSKU.dat
sample.
1.7 2013/3/6 Pan Liu Add MAC Repeater section
1.8 2013/3/8 Pan Liu Add
command and profile, DFS debug example
1.9 2013/3/13 Pan Liu Add Singlesku.dat 5G and 2.4G sample profile and DFS
example update
2.0 2013/3/15 Pan Liu Add IgmpAdd1, WPS command and NEW BSSID Mode MAC
address limitation.
Update BGProtection
2.1 2013/3/27 Pan Liu Add EfuseUploadToHost
2.2 2013/3/28 Pan Liu Add FAQ for TX/RX unbalance issue.
2.3 2013/4/23 Pan Liu Add iNIC system address configuration for WLAN profile
support
2.4 2013/4/23 Pan Liu Add iwpriv command AP2040Rescan, WLAN profile updates
2.5 2013/5/27 Pan Liu Add WLAN profile and iwpriv parameters for VHT support.
2.6 2013/6/20 Pan Liu Update WirelessMode=15, correct
NoForwardingMBCast,
Add AutoChannelSkipList
2.7 2013/7/4 Pan Liu Add WLAN profile “
EtherTrafficBand”
2.8 2013/7/26 Pan Liu Add iNIC only profile and iwpriv command
2.9 2013/8/23 Pan Liu Add iNIC only profile IsolateCard, EnhanceMultiClient, and
BGMultiClient.
3.0 2013/8/29 Pan Liu Add iwpriv command fpga_on, dataphy, databw, databasize,
datagi, dataldpc for vht mode data rate setting.
3.1 2013/9/03 Pan Liu Correct TYPO on DisConnectAllSta
3.2 2013/10/03 Pan Liu Add VHT MCS table in Q&A
3.3 2013/11/20 Pan Liu Update Multiple Radiu server usage
3.4 2014/01/08 Pan Liu Add iNIC only new profile parameters
3.5 2014/01/20 Pan Liu Update iwpriv commands and APClient command example
3.6 2014/02/11 Pan Liu Add note for WpaMixPairCipher
3.7 2014/02/27 Pan Liu Add iwpriv command
ApCliAutoConnect
and update
SiteSurvey
3.8 2014/03/07 Pan Liu Remove RadioOn from profile SoftAP is not support this option
3.9 2014/03/07 Pan Liu Add iNIC profile TX&RTS retry counter and EDCCA profile
4.0 2014/04/01 Pan Liu Update BADeline, datamcs and FixTxMode iwpriv command
samples
4.1 2014/05/29 Hughes Kang Add EDCCA testing
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 3 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
4.2 2014/07/01 Hughes Kang Add HT_PROTECT, BASetup, BAOriTearDown,
BARecTearDown, HT_TxStream, HT_RxStream, HtTxStream,
HtRxStream, EntryLifeCheck, WAPI related parameters,
WscStop
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 4 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
Table of Contents
Document Revision History .................................................................................................................. 2
Table of Contents .................................................................................................................................. 4
1
Introduction ................................................................................................................................ 16
2
Wi-Fi SoftAP driver Profile Default Setting ............................................................................. 17
2.1
WLAN Profile Description .................................................................................................. 19
2.1.1
CountryRegion ................................................................................................... 19
2.1.2
CountryRegionForABand ................................................................................... 20
2.1.3
CountryCode ...................................................................................................... 20
2.1.4
ChannelGeography ............................................................................................ 20
2.1.5
BssidNum........................................................................................................... 21
2.1.6
SSID ................................................................................................................... 21
2.1.7
SSID1 ................................................................................................................. 21
2.1.8
SSID2 ................................................................................................................. 21
2.1.9
SSID3 ................................................................................................................. 22
2.1.10
SSID4 ................................................................................................................. 22
2.1.11
WirelessMode .................................................................................................... 22
2.1.12
Channel .............................................................................................................. 22
2.1.13
BasicRate........................................................................................................... 23
2.1.14
BeaconPeriod .................................................................................................... 23
2.1.15
DtimPeriod ......................................................................................................... 23
2.1.16
TxPower ............................................................................................................. 24
2.1.17
DisableOLBC ..................................................................................................... 24
2.1.18
BGProtection ..................................................................................................... 24
2.1.19
MaxStaNum ....................................................................................................... 24
2.1.20
TxAntenna.......................................................................................................... 24
2.1.21
RxAntenna ......................................................................................................... 25
2.1.22
TxPreamble........................................................................................................ 25
2.1.23
RTSThreshold .................................................................................................... 25
2.1.24
FragThreshold ................................................................................................... 25
2.1.25
TxBurst ............................................................................................................... 25
2.1.26
PktAggregate ..................................................................................................... 26
2.1.27
WmmCapable .................................................................................................... 26
2.1.28
APSDCapable .................................................................................................... 26
2.1.29
DLSCapable ...................................................................................................... 26
2.1.30
APAifsn .............................................................................................................. 26
2.1.31
APCwmin ........................................................................................................... 27
2.1.32
APCwmax .......................................................................................................... 27
2.1.33
APTxop .............................................................................................................. 27
2.1.34
APACM .............................................................................................................. 27
2.1.35
BSSAifsn ............................................................................................................ 28
2.1.36
BSSCwmin ......................................................................................................... 28
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 5 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
2.1.37
BSSCwmax ........................................................................................................ 28
2.1.38
BSSTxop ............................................................................................................ 28
2.1.39
BSSACM ............................................................................................................ 29
2.1.40
AckPolicy ........................................................................................................... 29
2.1.41
NoForwarding .................................................................................................... 29
2.1.42
NoForwardingBTNBSSID .................................................................................. 29
2.1.43
NoForwardingMBCast ....................................................................................... 29
2.1.44
HideSSID ........................................................................................................... 30
2.1.45
StationKeepAlive ............................................................................................... 30
2.1.46
ShortSlot ............................................................................................................ 30
2.1.47
AutoChannelSelect ............................................................................................ 30
2.1.48
IEEE8021X ........................................................................................................ 31
2.1.49
IEEE80211H ...................................................................................................... 31
2.1.50
CSPeriod............................................................................................................ 31
2.1.51
WirelessEvent .................................................................................................... 31
2.1.52
IdsEnable ........................................................................................................... 31
2.1.53
AuthFloodThreshold .......................................................................................... 32
2.1.54
ReassocReqFloodThreshold ............................................................................. 32
2.1.55
ProbeReqFloodThreshold=32 ........................................................................... 32
2.1.56
DisassocFloodThreshold ................................................................................... 32
2.1.57
DeauthFloodThreshold ...................................................................................... 32
2.1.58
EapReqFooldThreshold ..................................................................................... 33
2.1.59
PreAuth .............................................................................................................. 33
2.1.60
AuthMode........................................................................................................... 33
2.1.61
EncrypType ........................................................................................................ 33
2.1.62
RekeyInterval ..................................................................................................... 34
2.1.63
RekeyMethod ..................................................................................................... 34
2.1.64
PMKCachePeriod .............................................................................................. 34
2.1.65
WPAPSK............................................................................................................ 34
2.1.66
DefaultKeyID ...................................................................................................... 34
2.1.67
Key1Type ........................................................................................................... 35
2.1.68
Key1Str .............................................................................................................. 35
2.1.69
Key2Type ........................................................................................................... 35
2.1.70
Key2Str .............................................................................................................. 35
2.1.71
Key3Type ........................................................................................................... 35
2.1.72
Key3Str .............................................................................................................. 36
2.1.73
Key4Type ........................................................................................................... 36
2.1.74
Key4Str .............................................................................................................. 36
2.1.75
AccessPolicy0 .................................................................................................... 36
2.1.76
AccessControlList0 ............................................................................................ 36
2.1.77
AccessPolicy1 .................................................................................................... 37
2.1.78
AccessControlList1 ............................................................................................ 37
2.1.79
AccessPolicy2 .................................................................................................... 37
2.1.80
AccessControlList2 ............................................................................................ 37
2.1.81
AccessPolicy3 .................................................................................................... 38
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 6 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
2.1.82
AccessControlList3 ............................................................................................ 38
2.1.83
WdsEnable......................................................................................................... 38
2.1.84
WdsEncrypType ................................................................................................ 38
2.1.85
WdsList .............................................................................................................. 39
2.1.86
WdsKey .............................................................................................................. 39
2.1.87
RADIUS_Server ................................................................................................. 39
2.1.88
RADIUS_Port ..................................................................................................... 40
2.1.89
RADIUS_Key ..................................................................................................... 40
2.1.90
own_ip_addr ...................................................................................................... 40
2.1.91
EAPifname ......................................................................................................... 40
2.1.92
PreAuthifname ................................................................................................... 40
2.1.93
HT_HTC ............................................................................................................. 41
2.1.94
HT_RDG ............................................................................................................ 41
2.1.95
HT_EXTCHA...................................................................................................... 41
2.1.96
HT_LinkAdapt .................................................................................................... 41
2.1.97
HT_OpMode ...................................................................................................... 41
2.1.98
HT_MpduDensity ............................................................................................... 42
2.1.99
HT_BW .............................................................................................................. 42
2.1.100
HT_PROTECT ................................................................................................... 42
2.1.101
HT_TxStream .................................................................................................... 42
2.1.102
HT_RxStream .................................................................................................... 43
2.1.103
VHT_BW ............................................................................................................ 43
2.1.104
VHT_STBC ........................................................................................................ 43
2.1.105
VHT_BW_SIGNAL ............................................................................................. 43
2.1.106
VHT_LDPC ........................................................................................................ 44
2.1.107
VHT_DisallowNonVHT ...................................................................................... 44
2.1.108
HT_BADecline ................................................................................................... 44
2.1.109
HT_AutoBA ........................................................................................................ 44
2.1.110
HT_AMSDU ....................................................................................................... 44
2.1.111
HT_BAWinSize .................................................................................................. 45
2.1.112
HT_GI ................................................................................................................ 45
2.1.113
HT_MCS ............................................................................................................ 45
2.1.114
HT_MIMOPSMode ............................................................................................ 45
2.1.115
HT_DisallowTKIP ............................................................................................... 45
2.1.116
HT_STBC........................................................................................................... 46
2.1.117
WscManufacturer ............................................................................................... 46
2.1.118
WscModelName ................................................................................................ 46
2.1.119
WscDeviceName ............................................................................................... 46
2.1.120
WscModelNumber ............................................................................................. 46
2.1.121
WscSerialNumber .............................................................................................. 47
2.1.122
Wsc4digitPinCode ............................................................................................. 47
2.1.123
MACRepeaterEn ................................................................................................ 47
2.1.124
PMFMFPC ......................................................................................................... 47
2.1.125
PMFMFPR ......................................................................................................... 47
2.1.126
PMFSHA256 ...................................................................................................... 48
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 7 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
2.1.127
VLANID .............................................................................................................. 48
2.1.128
VLANPriority ...................................................................................................... 48
2.1.129
Ext_LNA ............................................................................................................. 48
2.1.130
Ext_PA ............................................................................................................... 48
2.1.131
ExtEEPROM ...................................................................................................... 49
2.1.132
Mem ................................................................................................................... 49
2.1.133
IgmpAdd1........................................................................................................... 49
2.1.134
E2pAccessMode ................................................................................................ 49
2.1.135
AutoChannelSkipList ......................................................................................... 50
2.1.136
EntryLifeCheck .................................................................................................. 50
2.1.137
EtherTrafficBand ................................................................................................ 50
2.1.138
DetectPhy .......................................................................................................... 50
2.1.139
Thermal .............................................................................................................. 51
2.1.140
%s_DfsSwAddCheck%d .................................................................................... 51
2.1.141
IsolateCard......................................................................................................... 52
2.1.142
EnhanceMultiClient ............................................................................................ 52
2.1.143
BGMultiClient ..................................................................................................... 52
2.1.144
RssiDisauth ........................................................................................................ 52
2.1.145
RssiThreshold .................................................................................................... 53
2.1.146
PollingRssiInterval ............................................................................................. 53
2.1.147
TimeExceedRssiThreshold ................................................................................ 53
2.1.148
SiteSurveyRssi .................................................................................................. 54
2.1.149
AssociationInfoEvent ......................................................................................... 54
2.1.150
EDCCA .............................................................................................................. 54
2.1.151
TX_RETRY_NUM .............................................................................................. 54
2.1.152
RTS_RETRY_NUM ........................................................................................... 55
2.1.153
EDCCA_AP_STA_TH ........................................................................................ 55
2.1.154
EDCCA_AP_AP_TH .......................................................................................... 55
2.1.155
EDCCA_AP_RSSI_TH ...................................................................................... 55
2.1.156
Wapiifname ........................................................................................................ 55
2.1.157
WapiAsCertPath ................................................................................................ 56
2.1.158
WapiAsIpAddr .................................................................................................... 56
2.1.159
WapiAsPort ........................................................................................................ 56
2.1.160
WapiMskRekeyMethod ...................................................................................... 56
2.1.161
WapiMskRekeyThreshold .................................................................................. 56
2.1.162
WapiPsk1 ........................................................................................................... 57
2.1.163
WapiPskType ..................................................................................................... 57
2.1.164
WapiUserCertPath ............................................................................................. 57
2.1.165
WapiUskRekeyMethod ...................................................................................... 57
2.1.166
WapiUskRekeyThreshold .................................................................................. 57
3
Wi-Fi SoftAP driver iwpriv command....................................................................................... 58
3.1.1
Debug ................................................................................................................ 58
3.1.2
DriverVersion ..................................................................................................... 58
3.1.3
CountryRegion ................................................................................................... 58
3.1.4
CountryRegionABand ........................................................................................ 59
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 8 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
3.1.5
CountryCode ...................................................................................................... 59
3.1.6
AccessPolicy ...................................................................................................... 59
3.1.7
ResetCounter ..................................................................................................... 60
3.1.8
SiteSurvey.......................................................................................................... 60
3.1.9
CountryString ..................................................................................................... 60
3.1.10
SSID ................................................................................................................... 62
3.1.11
WirelessMode .................................................................................................... 62
3.1.12
FixedTxMode ..................................................................................................... 63
3.1.13
OFDMBasicRate ................................................................................................ 63
3.1.14
Channel .............................................................................................................. 63
3.1.15
BeaconPeriod .................................................................................................... 64
3.1.16
DtimPeriod ......................................................................................................... 64
3.1.17
TxPower ............................................................................................................. 64
3.1.18
BGProtection ..................................................................................................... 64
3.1.19
DisableOLBC ..................................................................................................... 64
3.1.20
TxPreamble........................................................................................................ 65
3.1.21
RTSThreshold .................................................................................................... 65
3.1.22
FragThreshold ................................................................................................... 65
3.1.23
TxBurst ............................................................................................................... 65
3.1.24
PktAggregate ..................................................................................................... 65
3.1.25
NoForwarding .................................................................................................... 66
3.1.26
NoForwardingBTNBSSID .................................................................................. 66
3.1.27
NoForwardingMBCast ....................................................................................... 66
3.1.28
HideSSID ........................................................................................................... 66
3.1.29
ShortSlot ............................................................................................................ 66
3.1.30
DisConnectSta ................................................................................................... 67
3.1.31
DisConnectAllSta ............................................................................................... 67
3.1.32
McastPhyMode .................................................................................................. 67
3.1.33
McastMcs ........................................................................................................... 67
3.1.34
WscVendorPinCode .......................................................................................... 67
3.1.35
ACLAddEntry ..................................................................................................... 68
3.1.36
ACLClearAll ....................................................................................................... 68
3.1.37
FixedTxMode ..................................................................................................... 68
3.1.38
WpaMixPairCipher ............................................................................................. 68
3.1.39
MaxStaNum ....................................................................................................... 69
3.1.40
AutoFallBack ...................................................................................................... 69
3.1.41
ApCliTxMode ..................................................................................................... 69
3.1.42
ApCliTxMcs ........................................................................................................ 69
3.1.43
ApCliAutoConnect ............................................................................................. 70
3.1.44
GreenAP ............................................................................................................ 70
3.1.45
AutoChannelSel ................................................................................................. 70
3.1.46
ACSCheckTime ................................................................................................. 70
3.1.47
MBSSWirelessMode .......................................................................................... 70
3.1.48
HwAntDiv ........................................................................................................... 71
3.1.49
HtBw .................................................................................................................. 71
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 9 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
3.1.50
VhtBw ................................................................................................................. 71
3.1.51
VhtStbc .............................................................................................................. 72
3.1.52
VhtBwSignal ...................................................................................................... 72
3.1.53
VhtDisallowNonVHT .......................................................................................... 72
3.1.54
HtMcs ................................................................................................................. 72
3.1.55
HtGi .................................................................................................................... 73
3.1.56
HtOpMode.......................................................................................................... 73
3.1.57
HtStbc ................................................................................................................ 73
3.1.58
HtExtcha ............................................................................................................ 74
3.1.59
HtMpduDensity .................................................................................................. 74
3.1.60
HtBaWinSize ...................................................................................................... 74
3.1.61
HtTxBASize........................................................................................................ 74
3.1.62
HtRdg ................................................................................................................. 75
3.1.63
HtAmsdu ............................................................................................................ 75
3.1.64
HtAutoBa............................................................................................................ 75
3.1.65
BADecline .......................................................................................................... 75
3.1.66
HtProtect ............................................................................................................ 75
3.1.67
HtMimoPs .......................................................................................................... 76
3.1.68
HtDisallowTKIP .................................................................................................. 76
3.1.69
AP2040Rescan .................................................................................................. 76
3.1.70
HtBssCoex ......................................................................................................... 76
3.1.71
HtTxStream ........................................................................................................ 76
3.1.72
HtRxStream ....................................................................................................... 77
3.1.73
BASetup ............................................................................................................. 77
3.1.74
BAOriTearDown ................................................................................................. 77
3.1.75
BARecTearDown ............................................................................................... 77
3.1.76
PktAggregate ..................................................................................................... 77
3.1.77
WmmCapable .................................................................................................... 78
3.1.78
IEEE80211H ...................................................................................................... 78
3.1.79
AuthMode........................................................................................................... 78
3.1.80
EncrypType ........................................................................................................ 78
3.1.81
DefaultKeyID ...................................................................................................... 79
3.1.82
Key1 ................................................................................................................... 79
3.1.83
Key2 ................................................................................................................... 79
3.1.84
Key3 ................................................................................................................... 79
3.1.85
Key4 ................................................................................................................... 79
3.1.86
WPAPSK............................................................................................................ 80
3.1.87
ResetCounter ..................................................................................................... 80
3.1.88
MACRepeaterEn ................................................................................................ 80
3.1.89
PMFMFPC ......................................................................................................... 80
3.1.90
PMFMFPR ......................................................................................................... 80
3.1.91
SHA256 .............................................................................................................. 81
3.1.92
WDSVLANID...................................................................................................... 81
3.1.93
WDSVLANPriority .............................................................................................. 81
3.1.94
ApCliVLANID ..................................................................................................... 81
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 10 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
3.1.95
ApCliVLANPriority .............................................................................................. 81
3.1.96
QAEnable........................................................................................................... 82
3.1.97
Console .............................................................................................................. 82
3.1.98
EfuseUploadToHost ........................................................................................... 82
3.1.99
tpc ...................................................................................................................... 82
3.1.100
DfsSwAddCheck ................................................................................................ 82
3.1.101
DfsSwDelCheck ................................................................................................. 83
3.1.102
fpga_on .............................................................................................................. 83
3.1.103
dataphy .............................................................................................................. 83
3.1.104
databw ............................................................................................................... 84
3.1.105
datamcs ............................................................................................................. 84
3.1.106
databasize.......................................................................................................... 85
3.1.107
databgi ............................................................................................................... 85
3.1.108
dataldpc ............................................................................................................. 85
3.1.109
KickStaRssiLow ................................................................................................. 86
3.1.110
AssocReqRssiThres .......................................................................................... 86
4
iwpriv ra0 usage ......................................................................................................................... 87
4.1
get_site_survey .................................................................................................................. 87
4.2
get_mac_table .................................................................................................................... 87
4.3
get_wsc_profile .................................................................................................................. 87
4.4
get_ba_table ...................................................................................................................... 87
4.5
stat...................................................................................................................................... 87
4.6
bbp (Debug only) ................................................................................................................ 88
4.7
mac (Debug only) ............................................................................................................... 88
4.8
rf (Debug only) ................................................................................................................... 88
4.9
e2p (Debug only) ................................................................................................................ 88
5
iwpriv ra0 show command ........................................................................................................ 90
6
WPS Wi-Fi PROTECTED SETUP ............................................................................................... 91
6.1
WPS Profile settings .......................................................................................................... 91
6.1.1
WscConfMode ................................................................................................... 91
6.1.2
WscConfStatus .................................................................................................. 92
6.1.3
WscConfMethods .............................................................................................. 92
6.1.4
WscKeyASCII .................................................................................................... 92
6.1.5
WscSecurityMode .............................................................................................. 92
6.1.6
WscDefaultSSID0 .............................................................................................. 93
6.1.7
WscV2Support ................................................................................................... 93
6.2
WPS iwpriv command ........................................................................................................ 93
6.2.1
WscConfMode ................................................................................................... 93
6.2.2
WscConfStatus .................................................................................................. 93
6.2.3
WscMode ........................................................................................................... 94
6.2.4
WscStatus .......................................................................................................... 94
6.2.5
WscPinCode ...................................................................................................... 95
6.2.6
WscOOB ............................................................................................................ 95
6.2.7
WscGetConf....................................................................................................... 95
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 11 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
6.2.8
WscGenPinCode ............................................................................................... 95
6.2.9
WscVendorPinCode .......................................................................................... 96
6.2.10
WscSecurityMode .............................................................................................. 96
6.2.11
WscMultiByteCheck ........................................................................................... 96
6.2.12
WscVersion ........................................................................................................ 96
6.2.13
WscVersion2 ...................................................................................................... 96
6.2.14
WscV2Support ................................................................................................... 97
6.2.15
WscFragment .................................................................................................... 97
6.2.16
WscFragmentSize ............................................................................................. 97
6.2.17
WscSetupLock ................................................................................................... 97
6.2.18
WscSetupLockTime ........................................................................................... 97
6.2.19
WscMaxPinAttack .............................................................................................. 98
6.2.20
WscExtraTlvTag ................................................................................................ 98
6.2.21
WscExtraTlvType ............................................................................................... 98
6.2.22
WscExtraTlvData ............................................................................................... 98
6.2.23
WscStop ............................................................................................................. 98
6.2.24
WPS iwpriv command example ......................................................................... 99
6.3
WPS AP Setup Procedure ............................................................................................... 100
6.3.1
Running the WPS command-line application .................................................. 100
6.3.2
Initial AP setup with Registrar Configuring AP (EAP/UPnP) ........................... 101
6.3.3
Adding an Enrollee to AP+Registrar (EAP) ..................................................... 102
6.3.4
Adding an Enrollee with Eternal Registrar (UPnP/EAP) .................................. 102
6.3.5
WPS Config status ........................................................................................... 103
6.4
Basic operation of Ralink WPS AP .................................................................................. 104
6.4.1
Configure APUT using PIN method through a WLAN external Registrar ....... 104
6.4.2
Configure APUT using PIN method through a wired external registrar ........... 104
6.4.3
Add devices using external Registrars ............................................................ 109
6.4.4
How to know WPS AP services as Internal Registrar, Enrollee or Proxy ....... 109
6.4.5
How to know WPS AP PinCode ...................................................................... 109
6.4.6
Notes for WPS ................................................................................................. 109
6.4.7
Compile flag for WPS AP ................................................................................. 109
6.4.8
WPS related Document ................................................................................... 109
6.5
UPNP Daemon HOWTO .................................................................................................. 110
6.5.1
Build WPS UPnP Daemon ............................................................................... 110
6.6
WPS Command & OID Example ..................................................................................... 111
6.6.1
Iwpriv command without argument .................................................................. 111
7
WMM PARAMETERS ............................................................................................................... 112
7.1
Setting Parameters .......................................................................................................... 112
7.2
How to Run WMM test ..................................................................................................... 112
7.3
WMM “The Ack” ............................................................................................................... 113
7.4
Access Precedence and Outgoing Frame Classification ................................................. 114
8
IEEE802.11h+d ......................................................................................................................... 116
8.1
IEEE802.11d .................................................................................................................... 116
8.2
IEEE802.11h .................................................................................................................... 116
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 12 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
9
SECURITY POLICY .................................................................................................................. 118
9.1
All possible combinations of security policy ..................................................................... 118
9.2
WP2 Setting ..................................................................................................................... 118
9.3
Examples ......................................................................................................................... 118
9.3.1
OPEN/NONE ................................................................................................... 118
9.3.2
SHARED/WEP ................................................................................................. 119
9.3.3
WPAPSK/TKIP ................................................................................................ 119
9.3.4
WPAPSK/AES ................................................................................................. 119
10
Authenticator ............................................................................................................................ 120
10.1
I EEE 802.1X features in rt2860apd ................................................................................ 120
10.2
How to start rt2860apd ..................................................................................................... 120
10.3
rt2860apd configuration for IEEE 802.1X ........................................................................ 120
10.4
Support Multiple RADIUS Servers ................................................................................... 121
10.5
Enhance dynamic wep keying ......................................................................................... 122
10.6
Examples for Radius server configuration ....................................................................... 122
10.6.1
Example I ......................................................................................................... 122
10.6.2
Example II ........................................................................................................ 123
10.6.3
Example III ....................................................................................................... 123
10.6.4
Example V........................................................................................................ 123
11
AP CLIENT ................................................................................................................................ 124
11.1
Setup AP Client ................................................................................................................ 125
11.2
Support Parameters in RT2860AP.dat ............................................................................ 125
11.2.1
ApCliEnable ..................................................................................................... 125
11.2.2
ApCliSsid ......................................................................................................... 125
11.2.3
ApCliBssid........................................................................................................ 125
11.2.4
ApCliWPAPSK ................................................................................................. 126
11.2.5
ApCliAuthMode ................................................................................................ 126
11.2.6
ApCliEncrypType ............................................................................................. 126
11.2.7
ApCliDefaultKeyID ........................................................................................... 126
11.2.8
ApCliKey1Type ................................................................................................ 127
11.2.9
ApCliKey1Str ................................................................................................... 127
11.2.10
ApCliKey1Type ................................................................................................ 127
11.2.11
ApCliKey2Str ................................................................................................... 127
11.2.12
ApCliKey2Type ................................................................................................ 127
11.2.13
ApCliKey3Str ................................................................................................... 128
11.2.14
ApCliKey4Type ................................................................................................ 128
11.2.15
ApCliKey4Str ................................................................................................... 128
11.2.16
ApCliTxMode ................................................................................................... 128
11.2.17
ApCliTxMcs ...................................................................................................... 128
11.2.18
ApCliWscSsid .................................................................................................. 129
11.3
AP Client iwpriv command ............................................................................................... 129
11.3.1
ApCliEnable ..................................................................................................... 129
11.3.2
ApCliSsid ......................................................................................................... 129
11.3.3
ApCliBssid........................................................................................................ 129
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 13 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
11.3.4
ApCliWPAPSK ................................................................................................. 129
11.3.5
ApCliAuthMode ................................................................................................ 130
11.3.6
ApCliEncrypType ............................................................................................. 130
11.3.7
ApCliWscSsid .................................................................................................. 130
11.3.8
ApCliDefaultKeyID ........................................................................................... 130
11.3.9
ApCliKey1Type ................................................................................................ 131
11.3.10
ApCliKey1Str ................................................................................................... 131
11.3.11
ApCliKey1Type ................................................................................................ 131
11.3.12
ApCliKey2Str ................................................................................................... 131
11.3.13
ApCliKey2Type ................................................................................................ 131
11.3.14
ApCliKey3Str ................................................................................................... 132
11.3.15
ApCliKey4Type ................................................................................................ 132
11.3.16
ApCliKey4Str ................................................................................................... 132
11.4
AP Client Examples ......................................................................................................... 132
11.4.1
Enable AP Client with OPEN/NONE data security .......................................... 132
11.4.2
Enable AP Client with OPEN/WEP security .................................................... 132
11.4.3
Enable AP Client with SHARED/WEP security ............................................... 133
11.4.4
Enable AP Client with WPAPSK/TKIP security ............................................... 133
11.4.5
Enable AP Client with WPAPSK/AES security ................................................ 133
11.4.6
AP Client WPS sample command ................................................................... 133
12
WDS ........................................................................................................................................... 134
12.1
HOW to Steup WDS......................................................................................................... 134
12.2
WDS Individual Encryption .............................................................................................. 134
12.3
Supported Paramters in RT2860AP.dat .......................................................................... 135
12.3.1
WdsEnable....................................................................................................... 135
12.3.2
WdsList ............................................................................................................ 135
12.3.3
WdsEncrypType .............................................................................................. 135
12.3.4
WdsKey ............................................................................................................ 136
12.3.5
Wds0Key.......................................................................................................... 136
12.3.6
Wds1Key.......................................................................................................... 136
12.3.7
Wds2Key.......................................................................................................... 137
12.3.8
Wds3Key.......................................................................................................... 137
12.3.9
WdsDefaultKeyID ............................................................................................ 137
12.3.10
WdsPhyMode .................................................................................................. 137
12.3.11
WdsTxMcs ....................................................................................................... 138
12.3.12
WdsTxMode ..................................................................................................... 138
13
IGMP SNOOPING ..................................................................................................................... 139
13.1
IMGP Table Learning ....................................................................................................... 139
13.2
Multicast Packet Process ................................................................................................. 139
13.3
IGMP SNOOPING in RT2860.dat support ....................................................................... 140
13.3.1
IgmpSnEnable ................................................................................................. 140
13.4
Iwpriv command for IGMP SNOOPING ........................................................................... 140
13.4.1
IgmpSnEnable ................................................................................................. 140
13.4.2
IgmpAdd........................................................................................................... 140
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 14 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
13.4.3
IgmpDel ............................................................................................................ 141
14
MAC Repeater .......................................................................................................................... 142
14.1
MAC Repeater Management Flow ................................................................................... 143
14.2
MAC Repeater Data Flow ................................................................................................ 144
14.2.1
Unicast Data Flow ............................................................................................ 144
14.2.2
Multicast / Broadcast Data Flow ...................................................................... 144
14.3
MAC Repeater Limitation ................................................................................................. 145
14.4
MAC Repeater Example command ................................................................................. 145
14.4.1
MAC Repeater by Wi-Fi Profile:....................................................................... 145
14.4.2
MAC Repeater by Wi-Fi command: ................................................................. 145
15
Multiple BSSID Setup .............................................................................................................. 146
16
Concurrent A+G Settings ........................................................................................................ 148
17
SNMP MIBs Support List ......................................................................................................... 149
17.1
RT2860AP Supported v.s. IEEE802dot11-MIB ............................................................... 149
17.2
RALINK OID for SNMP MIB ............................................................................................. 155
18
IOCTL I/O Control Interface .................................................................................................... 157
18.1
Parameters for iwconfig’s IOCTL ..................................................................................... 157
18.2
Parameters for iwpriv’s IOCTL ......................................................................................... 158
18.2.1
Iwpriv Set DATA .............................................................................................. 158
18.2.2
Iwpriv Get DATA .............................................................................................. 158
18.2.3
Iwpriv Set Data: BBP, MAC and EEPROM ..................................................... 160
18.2.4
Iwpriv Get Data: BBP, MAC and EEPROM ..................................................... 160
18.2.5
Iwpriv Set Raw Data ........................................................................................ 161
18.2.6
Set Raw Data with Flags ................................................................................. 162
18.2.7
Get Raw Data with Flags ................................................................................. 162
18.3
Sample user space Applications ...................................................................................... 164
19
SingleSKU Example file (New feature for MT76XX) .............................................................. 176
19.1
2.4GHz example SingleSKU.dat ...................................................................................... 176
19.2
5GHz example SingleSKU.dat ......................................................................................... 176
20
EDCCA testing ......................................................................................................................... 178
20.1
Before EDCCA testing check and BBP R61 fine tune during EDCCA testing ................ 178
21
Q&A ........................................................................................................................................... 179
21.1
Why WPAPSK can not work? .......................................................................................... 179
21.2
How to switch driver to operate in A band? ..................................................................... 179
21.3
When I set channel as 1, but it will appear in channel 3. Why? ...................................... 179
21.4
How can I know the version of the WLAN Driver? ........................................................... 179
21.5
Can SoftAP support Antenna diversity? .......................................................................... 179
21.6
Can you tell me what is 11n Bit Rate Derivation? ............................................................ 179
21.7
FixTxMode iwpriv command samples .............................................................................. 181
21.8
DFS Test example ........................................................................................................... 183
21.9
New BSSID Mode MAC Address Limitation (for RT55XX/RT53XX series) ..................... 184
21.10
TX & RX performance is always unbalance .................................................................... 184
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 15 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
21.11
VHT MCS Table ............................................................................................................... 185
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 16 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
1 Introduction
This document is the Software programming guide for Mediatek Wi-Fi SoftAP driver. The
Software Programming guide covers profile setting, command list, and OID examples to
demonstrate how to programming the WLAN driver.
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 17 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
2 Wi-Fi SoftAP driver Profile Default Setting
#The word of "Default" must not be removed
Default
CountryRegion=5
CountryRegionABand=7
CountryCode=TW
BssidNum=1
SSID=RT2860AP
WirelessMode=9
TxRate=0
Channel=11
BasicRate=15
BeaconPeriod=100
DtimPeriod=1
TxPower=100
DisableOLBC=0
BGProtection=0
TxAntenna=
RxAntenna=
TxPreamble=0
RTSThreshold=2347
FragThreshold=2346
TxBurst=1
PktAggregate=0
TurboRate=0
WmmCapable=0
APSDCapable=0
DLSCapable=0
APAifsn=3;7;1;1
APCwmin=4;4;3;2
APCwmax=6;10;4;3
APTxop=0;0;94;47
APACM=0;0;0;0
BSSAifsn=3;7;2;2
BSSCwmin=4;4;3;2
BSSCwmax=10;10;4;3
BSSTxop=0;0;94;47
BSSACM=0;0;0;0
AckPolicy=0;0;0;0
NoForwarding=0
NoForwardingBTNBSSID=0
HideSSID=0
StationKeepAlive=0
ShortSlot=1
AutoChannelSelect=0
IEEE8021X=0
IEEE80211H=0
CSPeriod=10
WirelessEvent=0
IdsEnable=0
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 18 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
AuthFloodThreshold=32
AssocReqFloodThreshold=32
ReassocReqFloodThreshold=32
ProbeReqFloodThreshold=32
DisassocFloodThreshold=32
DeauthFloodThreshold=32
EapReqFooldThreshold=32
PreAuth=0
AuthMode=OPEN
EncrypType=NONE
RekeyInterval=0
RekeyMethod=DISABLE
PMKCachePeriod=10
WPAPSK=
DefaultKeyID=1
Key1Type=0
Key1Str=
Key2Type=0
Key2Str=
Key3Type=0
Key3Str=
Key4Type=0
Key4Str=
AccessPolicy0=0
AccessControlList0=
AccessPolicy1=0
AccessControlList1=
AccessPolicy2=0
AccessControlList2=
AccessPolicy3=0
AccessControlList3=
WdsEnable=0
WdsEncrypType=NONE
WdsList=
WdsKey=
RADIUS_Server=192.168.2.3
RADIUS_Port=1812
RADIUS_Key=ralink
own_ip_addr=192.168.5.234
EAPifname=br0
PreAuthifname=br0
HT_HTC=0
HT_RDG=0
HT_EXTCHA=0
HT_LinkAdapt=0
HT_OpMode=0
HT_MpduDensity=5
HT_BW=1
VHT_BW=1
VHT_SGI=1
VHT_STBC=0
VHT_BW_SIGNAL=0
VHT_DisallowNonVHT=0
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 19 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
VHT_LDPC=
HT_AutoBA=1
HT_AMSDU=0
HT_BAWinSize=64
HT_GI=1
HT_MCS=33
WscManufacturer=
WscModelName=
WscDeviceName=
WscModelNumber=
WscSerialNumber=
2.1 WLAN Profile Description
Syntax is 'Param'='Value' and describes below.
SectionNumber Param
Value
. . .
. . .
. . .
The WLAN driver needs to be restart, after WLAN profile has been modified.
Otherwise settings will not take any effect.
A interface down/ up could do that.
EX:
ifconfig ra0 down
ifconfig ra0 up
2.1.1 CountryRegion
Description: Country region for WLAN radio 2.4G HZ regulation.
Value:
CountryRegion=5
Region
Channels
0
1-11
1
1-13
2
10-11
3
10-13
4
14
5
1-14
6
3-9
7
5-13
31
1-14
32
1-11 active scan, 12 and 13 passive scan
33
1-14 all active scan, 14 b mode only
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 20 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
2.1.2 CountryRegionForABand
Description: Country region for WLAN radio 5G HZ regulation.
Value:
CountryRegionABand=7
Region
Channels
0
36, 40, 44, 48, 52, 56, 60, 64, 149, 153, 157, 161, 165
1
36, 40, 44, 48, 52, 56, 60, 64, 100, 104, 108, 112, 116, 120, 124, 128, 132, 136, 140
2
36, 40, 44, 48, 52, 56, 60, 64
3
52, 56, 60, 64, 149, 153, 157, 161
4
149, 153, 157, 161, 165
5
149, 153, 157, 161
6
36, 40, 44, 48
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
8
52, 56, 60, 64
9
36, 40, 44, 48, 52, 56, 60, 64, 100, 104, 108, 112, 116, 132, 136, 140, 149, 153, 157, 161, 165
10
36, 40, 44, 48, 149, 153, 157, 161, 165
11
36, 40, 44, 48, 52, 56, 60, 64, 100, 104, 108, 112, 116, 120, 149, 153, 157, 161
2.1.3 CountryCode
Description: County Code for WLAN radio regulation.
Value: ( Default is empty)
CountryCode=
2 characters, like TW for Taiwan.
Please refer to ISO3166 code list for other countries and can be found at
http://www.iso.org/iso/prods-services/iso3166ma/02iso-3166-code-
lists/country_names_and_code_elements
Note: 1. This parameter can be set from EEPRM or EFUSE.
2. EEPROM/EFUSE has higher priority than the WLAN Profile.
2.1.4 ChannelGeography
Description: For Channel list builder
Value:
ChannelGeography=1
0: Outdoor
1: Indoor
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 21 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
2: Both
2.1.5 BssidNum
Description: multiple BSSID number
Value:
BssidNum=1
1/2/4/8/16
Note:
1. MAC Address alignment on MBSSID.
1.1. Main BSSID have to insure MAC address is multiple of 2s on 2-BSSIDs’
application.
1.2. Main BSSID have to insure MAC address is multiple of 4s on 4-BSSIDs’
application.
1.3. Main BSSID have to insure MAC address is multiple of 8s on 8-BSSIDs’
application.
2. Example 4 BSSIDs:
Align
1
st
2nd 3
rd
4th
0x00
AA-BB-CC-DD-EE-F0
AA-BB-CC-DD-EE-F1
AA-BB-CC-DD-EE-F2
AA-BB-CC-DD-EE-F3
0x04
AA-BB-CC-DD-EE-F4
AA-BB-CC-DD-EE-F5
AA-BB-CC-DD-EE-F6
AA-BB-CC-DD-EE-F7
0x08
AA-BB-CC-DD-EE-F8
AA-BB-CC-DD-EE-F9
AA-BB-CC-DD-EE-FA
AA-BB-CC-DD-EE-FB
0x0C
AA-BB-CC-DD-EE-FC
AA-BB-CC-DD-EE-FD
AA-BB-CC-DD-EE-FE
AA-BB-CC-DD-EE-FF
3. 16 BSSID support only on RT55XX serie chipset and after.
2.1.6 SSID
Description: The target BSSID string name
Value:
SSID=11n-AP
0~z, 1~32 ASCII characters.
2.1.7 SSID1
Description: The target BSSID string name
Value:
SSID1=11n-AP1
0~z, 1~32 ASCII characters.
2.1.8 SSID2
Description: The target BSSID string name
Value:
SSID2=11n-AP2
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 22 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
0~z, 1~32 ASCII characters.
2.1.9 SSID3
Description: The target BSSID string name
Value:
SSID3=11n-AP3
0~z, 1~32 ASCII characters.
2.1.10 SSID4
Description: The target BSSID string name
Value:
SSID4=11n-AP4
0~z, 1~32 ASCII characters.
2.1.11 WirelessMode
Description: Wireless Mode
Value:
WirelessMode=9
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
11: 11N only in 5G band only
14: 11A/AN/AC mixed 5G band only (Only 11AC chipset support)
15: 11 AN/AC mixed 5G band only (Only 11AC chipset support)
2.1.12 Channel
Description: WLAN Radio channel (2.4G Band or 5G band)
Value:
Channel=0
Depends on CountryRegion or CountryRegionForABand.
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 23 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
Default value = 0, the driver scan BSSID’s channel automatically.
2.1.13 BasicRate
Description: Basic rate support
Value:
BasicRate=15
0~4095
Note:
A bitmap represent basic support rate (A mode not support)
1: Basic rate-1Mbps
2: Basic rate-2Mbps
3: Basic rate-1Mbps, 2Mbps
4: Basic rate-5.5Mbps
15: Basic rate-1Mbps, 2Mbps, 5.5Mbps, 11Mbps
Examples:
Basic Rate Bit Map (max. 12-bit, represent max. 12 basic rates)
Bit 11 10 9 8 7 6 5 4 3 2 1 0
Rate 54 48 36
24
18
12
9 6 11
5.5
2 1
Set 0 1 0 1 0 1 0 1 1 1 1 1
Hex 5 5 F
Decimal 1375
Note:
Set correct basic rates set before changing wireless mode.
11B/G Mixed, 11B/G/N Mixed, and 11N Only:
iwpriv ra0 set BasicRate=15 (0x0F: 1, 2, 5.5, 11 Mbps)
11B:
iwpriv ra0 set BasicRate=3 (0x03: 1, 2 Mbps)
11G-Only and 11G/N Mixed:
iwpriv ra0 set BasicRate=351 (0x15F: 1, 2, 5.5, 11, 6, 12, 24 Mbps)
2.1.14 BeaconPeriod
Description: Beacon period setting (It is SoftAP only)
Value:
BeaconPeriod=100
2.1.15 DtimPeriod
Description: DTIM period
Value:
DtimPeriod=1
1~255
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 24 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
2.1.16 TxPower
Description: WLAN Radio Transmit Power setting in percentage
Value:
TxPower=100
0~100
2.1.17 DisableOLBC
Description: Enable or disable OLBC (Overlapping Legacy BSS Condition)
Value:
DisableOLBC=0
0: disable
1: enable
2.1.18 BGProtection
Description: Enable/disable WLAN 11B or 11G protection
Value:
BGProtection=0
0: AUTO
1: On
2: Off
2.1.19 MaxStaNum
Description: Configure Maximun numbder of station that could connect with this SoftAP
Value:
MaxStaNum=0
0: disable
1~32
2.1.20 TxAntenna
Description: Configure Tx antenna number
Value:
TxAntenna=1
1: 1Tx1R
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 25 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
2: 2Tx2R
3: 3Tx3R
2.1.21 RxAntenna
Description: Configure Rx antenna number
Value:
RxAntenna=1
1: 1Tx1R
2: 2Tx2R
3: 3Tx3R
2.1.22 TxPreamble
Description: Enable or disable Tx preamble
Value:
TxPreamble=0
0: disable
1: enable
2.1.23 RTSThreshold
Description: Set RTS Threshold
Value:
RTSThreshold=2347
1~2347
2.1.24 FragThreshold
Description: Set Fragment threshold
Value:
FragThreshold=2346
256~2346
2.1.25 TxBurst
Description: Enable or disable Tx burst
Value:
TxBurst=1
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 26 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
0: disable
1: enable
2.1.26 PktAggregate
Description: Enable or disable Tx Aggregate
Value:
PktAggregate=0
0: disable
1: enable
2.1.27 WmmCapable
Description: Enable or disable WMM QOS function
Value:
WmmCapable=1
0: disable
1: enable
2.1.28 APSDCapable
Description: Enable or disable WMM APSD function
Value:
APSDCapable=0
0: disable
1: enable
2.1.29 DLSCapable
Description: Enable or disable DLS function (Ralink proprietary function, Ralink 11n STA
support only)
Value:
DLSCapable=0
0: disable
1: enable
2.1.30 APAifsn
Description: WMM parameter for AP
Value:
APAifsn=3;7;1;1
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 27 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
AC_BE;AC_BK;AC_VI;AC_VO
Note: All WMM parameters do not support iwpriv command but ‘WmmCapable’’,
please store all parameter to RT2800AP.dat, and restart driver.
2.1.31 APCwmin
Description: WMM parameter for AP
Value:
APCwmin=4;4;3;2
AC_BE;AC_BK;AC_VI;AC_VO
Note: All WMM parameters do not support iwpriv command but ‘WmmCapable’’,
please store all parameter to RT2800AP.dat, and restart driver.
2.1.32 APCwmax
Description: WMM parameter for AP
Value:
APCwmax=6;10;4;3
AC_BE;AC_BK;AC_VI;AC_VO
Note: All WMM parameters do not support iwpriv command but ‘WmmCapable’’,
please store all parameter to RT2800AP.dat, and restart driver.
2.1.33 APTxop
Description: WMM parameter for AP
Value:
APTxop=0;0;94;47
AC_BE;AC_BK;AC_VI;AC_VO
Note: All WMM parameters do not support iwpriv command but ‘WmmCapable’’,
please store all parameter to RT2800AP.dat, and restart driver.
2.1.34 APACM
Description: WMM parameter for AP
Value:
APACM=0;0;0;0
AC_BE;AC_BK;AC_VI;AC_VO
Note: All WMM parameters do not support iwpriv command but ‘WmmCapable’’,
please store all parameter to RT2800AP.dat, and restart driver.
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 28 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
2.1.35 BSSAifsn
Description: WMM parameter for station
Value:
BSSAifsn=3;7;2;2
AC_BE;AC_BK;AC_VI;AC_VO
Note: All WMM parameters do not support iwpriv command but ‘WmmCapable’’,
please store all parameter to RT2800AP.dat, and restart driver.
2.1.36 BSSCwmin
Description: WMM parameter for station
Value:
BSSCwmin=4;4;3;2
AC_BE;AC_BK;AC_VI;AC_VO
Note: All WMM parameters do not support iwpriv command but ‘WmmCapable’’,
please store all parameter to RT2800AP.dat, and restart driver.
2.1.37 BSSCwmax
Description: WMM parameter for station
Value:
BSSCwmax=10;10;4;3
AC_BE;AC_BK;AC_VI;AC_VO
Note: All WMM parameters do not support iwpriv command but ‘WmmCapable’’,
please store all parameter to RT2800AP.dat, and restart driver.
2.1.38 BSSTxop
Description: WMM parameter for station
Value:
BSSTxop=0;0;94;47
AC_BE;AC_BK;AC_VI;AC_VO
Note: All WMM parameters do not support iwpriv command but ‘WmmCapable’’,
please store all parameter to RT2800AP.dat, and restart driver.
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 29 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
2.1.39 BSSACM
Description: WMM parameter for station
Value:
BSSACM=0;0;0;0
AC_BE;AC_BK;AC_VI;AC_VO
Note: All WMM parameters do not support iwpriv command but ‘WmmCapable’’,
please store all parameter to RT2800AP.dat, and restart driver.
2.1.40 AckPolicy
Description: Ack policy supports normal Ack or no Ack (AC_BK, AC_BE, AC_VI, AC_VO)
Value:
AckPolicy=0;0;0;0
0: No ack
1: normal Ack
Note: All WMM parameters do not support iwpriv command but ‘WmmCapable’’,
please store all parameter to RT2800AP.dat, and restart driver.
2.1.41 NoForwarding
Description: enable or disable No forwarding STA packet within the same BSSID
Value:
NoForwarding=0
0: disable
1: enable
2.1.42 NoForwardingBTNBSSID
Description: enable or disable No Forwarding between each BSSID interface.
Value:
NoForwardingBTNBSSID=0
0: disable
1: enable
2.1.43 NoForwardingMBCast
Description: enable or disable No Forwarding multicast/broadcast packets between the same
BSSID interface.
Value:
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 30 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
NoForwardingMBCast=0
0: disable
1: enable
2.1.44 HideSSID
Description: enable or disable Hidden SSID support
Value:
HideSSID=0
0: disable
1: enable
2.1.45 StationKeepAlive
Description: enable or disable Auto-detect the alive status of the station periodically
Value:
StationKeepAlive=0
0: disable
1~65535 seconds
2.1.46 ShortSlot
Description: enable or disable short slot time
Value:
ShortSlot=1
0: disable
1: enable
2.1.47 AutoChannelSelect
Description: enable or disable Auto Channel Select support
Value:
AutoChannelSelect=0
0: disable
1: Old Channel Selection Algorithm
2: New Channel Selection Algorithm
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 31 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
2.1.48 IEEE8021X
Description: enable or disable 8021X-WEP mode on, this field is enabled only when
-WEP or Radius-NONE mode on, otherwise must disable.
Value:
IEEE8021X=0
0: disable
1: enable
2.1.49 IEEE80211H
Description: enable or disable IEEE 802.11H support (DFS)
Value:
IEEE80211H=0
0: disable
1: enable
2.1.50 CSPeriod
Description: Set how many beacons with Channel Switch Announcement Element will be sent
before changing a new channel.
Value:
CSPeriod=10
0 ~ 255. The default is 10.
Note: Channel switch period (Beacon count), unit is based on Beacon interval.
2.1.51 WirelessEvent
Description: enable or disable sending wireless event to the system log (Linux only)
Value:
WirelessEvent=0
0: disable
1: enable
2.1.52 IdsEnable
Description: enable or disable intrusion detection system
Value:
IdsEnable=0
0: disable
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 32 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
1: enable
2.1.53 AuthFloodThreshold
Description: enable or disable Authentication frame flood threshold
Value:
AuthFloodThreshold=32
0: disable
1~65535. (default=32)
2.1.54 ReassocReqFloodThreshold
Description: enable or disable Reassocation request frame flood threshold
Value:
ReassocReqFloodThreshold=32
0: disable
1~65535. (default=32)
2.1.55 ProbeReqFloodThreshold=32
Description: enable or disable Probe request frame flood threshold
Value:
ProbeReqFloodThreshold=32
0: disable
1~65535. (default=32)
2.1.56 DisassocFloodThreshold
Description: enable or disable disassocation frame flood threshold
Value:
DisassocFloodThreshold=32
0: disable
1~65535. (default=32)
2.1.57 DeauthFloodThreshold
Description: enable or disable deauthentication frame flood threshold
Value:
DeauthFloodThreshold=32
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 33 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
0: disable
1~65535. (default=32)
2.1.58 EapReqFooldThreshold
Description: enable or disable EAP request frame flood threshold
Value:
EapReqFooldThreshold=32
0: disable
1~65535. (default=32)
2.1.59 PreAuth
Description: enable or disable WPA2 pre-authentication mode
Value:
PreAuth=0
0: disable
1: enable
2.1.60 AuthMode
Description: WLAN security Authentication mode
Value:
AuthMode=OPEN
OPEN For open system
SHARED For shared key system
WEPAUTO Auto switch between OPEN and SHARED
WPAPSK For WPA pre-shared key (Infra)
WPA2PSK For WPA2 pre-shared key (Infra)
WPANONE For WPA pre-shared key (Adhoc)
WPA For enterprise mode (Need wpa_supplicant)
WPA2 For enterprise mode (Need wpa_supplicant)
2.1.61 EncrypType
Description: WLAN security Encryption type
Value:
EncrypType=NONE
NONE For AuthMode=OPEN
WEP For AuthMode=OPEN or AuthMode=SHARED
TKIP For AuthMode=WPAPSK or WPA2PSK
AES For AuthMode=WPAPSK or WPA2PSK
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 34 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
2.1.62 RekeyInterval
Description: Set group rekey interval. 0 to disable rekey. Unit:1seconds/1000packets
dependent on Rekeytype.
Value:
RekeyInterval=0
0~0x3FFFFFFF
2.1.63 RekeyMethod
Description: Set group rekey interval-unit's type for WPA2.
Value:
RekeyMethod=DISABLE
TIME: Time rekey
PKT: Packet rekey
DISABLE: Disable rekey
2.1.64 PMKCachePeriod
Description: Set the alive time of PMKID in PMK-Cache table for WPA2.
Value:
PMKCachePeriod=10
0~65535 (unit minutes)
2.1.65 WPAPSK
Description: WLAN Security string for (TKIP/AES)
Value:
WPAPSK=
8~63 ASCII
Or
64 HEX characters
2.1.66 DefaultKeyID
Description: Default key ID
Value:
DefaultKeyID=1
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 35 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
1~4
2.1.67 Key1Type
Description: Key 1 type
Value:
Key1Type=0
0: Hexadecimal type
1: ASCII type
2.1.68 Key1Str
Description: Key 1 string
Value:
Key1Str=
10 or 26 characters (key type=0)
5 or 13 characters (key type=1)
2.1.69 Key2Type
Description: Key 2 type
Value:
Key2Type=0
0: Hexadecimal type
1: ASCII type
2.1.70 Key2Str
Description: Key 2 string
Value:
Key2Str=
10 or 26 characters (key type=0)
5 or 13 characters (key type=1)
2.1.71 Key3Type
Description: Key 3 type
Value:
Key3Type=0
0: Hexadecimal type
1: ASCII type
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 36 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
2.1.72 Key3Str
Description: Key 3 string
Value:
Key3Str=
10 or 26 characters (key type=0)
5 or 13 characters (key type=1)
2.1.73 Key4Type
Description: Key 4 type
Value:
Key4Type=0
0: Hexadecimal type
1: ASCII type
2.1.74 Key4Str
Description: Key 4 string
Value:
Key4Str=
10 or 26 characters (key type=0)
5 or 13 characters (key type=1)
2.1.75 AccessPolicy0
Description: Set the access policy of ACL table 0.
Value:
AccessPolicy0=0
0: Disable this function
1: Allow all entries of ACL table to associate AP
2: Reject all entries of ACL table to associate AP
2.1.76 AccessControlList0
Description: Set the entry’s MAC address into ACL table 0.
Value:
AccessControlList0=
[Mac Address];[Mac Address];...
Example:
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 37 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
00:10:20:30:40:50;0A:0b:0c:0D:0e:0f;1a:2b:3c:4d:5e:6f
Note: ACL for Bssid0, max=64
2.1.77 AccessPolicy1
Description: Set the access policy of ACL table 1.
Value:
AccessPolicy1=0
0: Disable this function
1: Allow all entries of ACL table to associate AP
2: Reject all entries of ACL table to associate AP
2.1.78 AccessControlList1
Description: Set the entry’s MAC address into ACL table 1.
Value:
AccessControlList1=
[Mac Address];[Mac Address];...
Example:
00:10:20:30:40:50;0A:0b:0c:0D:0e:0f;1a:2b:3c:4d:5e:6f
Note: ACL for Bssid0, max=64
2.1.79 AccessPolicy2
Description: Set the access policy of ACL table 2.
Value:
AccessPolicy2=0
0: Disable this function
1: Allow all entries of ACL table to associate AP
2: Reject all entries of ACL table to associate AP
2.1.80 AccessControlList2
Description: Set the entry’s MAC address into ACL table2.
Value:
AccessControlList2=
[Mac Address];[Mac Address];...
Example:
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 38 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
00:10:20:30:40:50;0A:0b:0c:0D:0e:0f;1a:2b:3c:4d:5e:6f
Note: ACL for Bssid0, max=64
2.1.81 AccessPolicy3
Description: Set the access policy of ACL table 3.
Value:
AccessPolicy3=0
0: Disable this function
1: Allow all entries of ACL table to associate AP
2: Reject all entries of ACL table to associate AP
2.1.82 AccessControlList3
Description: Set the entry’s MAC address into ACL table 3.
Value:
AccessControlList3=
[Mac Address];[Mac Address];...
Example:
00:10:20:30:40:50;0A:0b:0c:0D:0e:0f;1a:2b:3c:4d:5e:6f
Note: ACL for Bssid0, max=64
2.1.83 WdsEnable
Description: config WDS mode
Value:
WdsEnable=0
0: Disable - Disable all WDS function.
1: Restrict mode - Same as Repeater mode.
2: Bridge mode - Turn on WDS function, the peer WDS APs are according to the mac address
listed in "WdsList" field below. In this mode, AP will not send beacon out and will not deal with probe
request packets, therefore STA will not possible to connect with it.
3: Repeater mode - Turn on WDS function, the peer WDS APs are according to the mac
address listed in "WdsList" field below.
4: Lazy mode - Turn on WDS function, and auto learning from WDS packet which with addr4
field.
2.1.84 WdsEncrypType
Description:
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 39 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
Value:
WdsEncrypType=NONE
NONE
WEP
TKIP
AES
For example:
WdsEncrypType=OPEN;TKIP;WEP;AES
The encrptytion of wds0 is OPEN
The encrptytion of wds1 is TKIP
The encrptytion of wds2 is WEP
The encrptytion of wds3 is AES
2.1.85 WdsList
Description: WDS list
Value:
WdsList=
[Mac Address];[Mac Address];...
Note: maximum WDS-link is 4.
2.1.86 WdsKey
Description: The key for WDS link
Value:
WdsKey=
10 or 26 hexadecimal characters (ex: 1234567890) for WEP
5 or 13 ASCII characters (ex: 12345) for WEP
8 ~ 63 ASCII characters for TKIP or AES
64 hexadecimal characters for TKIP or AES
2.1.87 RADIUS_Server
Description: Configure radius server IP address
Value:
RADIUS_Server=
IP address.
Example: RADIUS_Server=192.168.2.3
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 40 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
2.1.88 RADIUS_Port
Description: Configure radius server port number
Value:
RADIUS_Port=1812
Deafult: 1812
2.1.89 RADIUS_Key
Description: Configure radius key string
Value:
RADIUS_Key=
Example:
RADIUS_Key=ralink
2.1.90 own_ip_addr
Descripion: Configure SoftAP itself IP Address
Value:
own_ip_addr=
Example:
own_ip_addr=192.168.1.1
2.1.91 EAPifname
Description: EAPifname is assigned as the binding interface for EAP negotiation
Value:
EAPifname=
Example:
EAPifname=br0
2.1.92 PreAuthifname
Description: PreAuthifname is assigned as the binding interface for WPA2 Pre-
authentication
Value:
PreAuthifname=
Example:
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 41 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
PreAuthifname=br0
2.1.93 HT_HTC
Description: enable or disable Support the HT control field
Value:
HT_HTC=0
0: disable
1: enable
Note:
HTC Control field(4-octet) is following QOS field. An MPDU that contains the HT control field is
referred to as a +HTC frame.
2.1.94 HT_RDG
Description: Enable or disable HT Reverse Direction Grant
Value:
HT_RDG=1
0: disable
1: enable
2.1.95 HT_EXTCHA
Description: To locate the 40MHz channel in combination with the control
Value:
HT_EXTCHA=0
0: Below
1: Above
2.1.96 HT_LinkAdapt
Decription: enable ir disable HT Link Adaptation Control
Value:
HT_LinkAdapt=0
0: disable
1: enable
2.1.97 HT_OpMode
Description: HT operation mode
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 42 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
Value:
HT_OpMode=0
0: HT mixed mode
1: HT Greenfield mode
2.1.98 HT_MpduDensity
Description: Minimum separation of MPDUs in an A-MPDU
Value:
HT_MpduDensity=4
0~7
0: no restriction
1: 1/4 µs
2: 1/2 µs
3: 1 µs
4: 2 µs
5: 4 µs
6: 8 µs
7: 16 µs
2.1.99 HT_BW
Description: HT channel Bandwidth
Value:
HT_BW=1
0: 20 MHz
1: 40 MHz
2.1.100 HT_PROTECT
Description: Enable/Disable 802.11n protection mechanism.
Value:
HT_PROTECT=1
0: Disable
1: Enable
Deafult set as 1
2.1.101 HT_TxStream
Description: Set the number of spatial streams for transmission.
Value:
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 43 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
HT_TxStream=1/2/3
1~3: valid spatial streams
2.1.102 HT_RxStream
Description: Set the number of spatial streams for reception.
Value:
HT_RxStream=1/2/3
1~3: valid spatial streams
2.1.103 VHT_BW
Description: Enable/disable 11AC 80MHz Bandwidth Support
Value:
VHT_BW=1
0: disable
1: enable
Note: 11AC chipset only.
2.1.104 VHT_STBC
Description: Enable/disable 11AC STBC Support
Value:
VHT_STBC=1
0: disable
1: enable
Note: 11AC chipset only
2.1.105 VHT_BW_SIGNAL
Description: Enable/disable 11 AC BandWidth signaling
Value:
VHT_BW_SIGNAL=1
0: disable
1: enable
Note: 11AC chipset only.
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 44 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
2.1.106 VHT_LDPC
Description: Enable/disable to indicate support receiving 11AC LDPC coded packets
Value:
VHT_LDPC=1
0: disable
1: enable
Note: 11AC chipset only.
2.1.107 VHT_DisallowNonVHT
Description: Enable/disable to reject non-VHT STA to connect
Value:
VHT_DisallowNonVHT=1
0: disable
1: enable to reject non-VHT STA
Note: 11AC chipset only.
2.1.108 HT_BADecline
Description: Enable or disable decline Block Ack to peer
Value:
HT_BADecline=0
0: disable
1: enable
2.1.109 HT_AutoBA
Description: Enable or disable auto build Block Ack section with peer
Value:
HT_AutoBA=1
0: disable
1: enable
2.1.110 HT_AMSDU
Description: Enable or disable AMSDU section
Value:
HT_AMSDU=0
0: disable
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 45 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
1: enable
2.1.111 HT_BAWinSize
Description: Block Ack window size
Value:
HT_BAWinSize=64
1~64
2.1.112 HT_GI
Description: HT Guard interval support
Value:
HT_GI=1
0: Long guard interval
1: short guard interval
2.1.113 HT_MCS
Description: WLAN Modulation and Coding Scheme (MCS)
Value:
HT_MCS=33
0 ~15, 32: Fix MCS rate for HT rate.
33: Auto Rate Adaption, recommended
2.1.114 HT_MIMOPSMode
Description: 802.11n SM power save mode
Value:
HT_MIMOPSMode=3
0: Static SM Power Save Mode
2: Reserved
1: Dynamic SM Power Save Mode
3: SM enabled
(not fully support yet)
2.1.115 HT_DisallowTKIP
Description: Enable or disable 11N rate with 11N AP when cipher is TKIP or WEP
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 46 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
Value:
HT_DisallowTKIP=1
0: disable
1: enable
2.1.116 HT_STBC
Description: Enable or disable HT STBC support
Value:
HT_STBC=0
0: disable
1: enable
2.1.117 WscManufacturer
Description: WPS manufacturer string
Value:
WscManufacturer=
Less than 64 characters
2.1.118 WscModelName
Description: WPS Mode name string
Value:
WscModelName=
Less than 32 characters
2.1.119 WscDeviceName
Description: WPS Device name string
Value:
WscDeviceName=
Less than 32 characters
2.1.120 WscModelNumber
Description: WPS Device model number string
Value:
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 47 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
WscModelNumber=
Less than 32 characters
2.1.121 WscSerialNumber
Description: WPS serial number string
Value:
WscSerialNumber=
Less than 32 characters
2.1.122 Wsc4digitPinCode
Description: WPS 4 digit pin code string
Value:
Wsc4digitPinCode=0
4 digit
2.1.123 MACRepeaterEn
Description: Enable or disable new MAC Repeater function.
Value:
MACRepeaterEn=0
0: Disable
1: Enable
2.1.124 PMFMFPC
Description: Disable or enable Protection Management Frame Capable
Value:
PMFMFPC=0
0: Disable
1: Enable
2.1.125 PMFMFPR
Description: Disable or enable Protection Management Frame Required
Value:
PMFMFPR=0
0: Disable
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 48 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
1: Enable
2.1.126 PMFSHA256
Description: Disable or enable use SHA256 for Encryption
Value:
PMFSHA256=0
0: Disable
1: Enable
2.1.127 VLANID
Description: set VLAN ID
Value:
VLANID=0
0: Disable
2.1.128 VLANPriority
Description: set VLAN Priority
Value:
VLANPriority=0
0: Disable
2.1.129 Ext_LNA
Description: support External or internal LNA
Value:
Ext_LNA
0: Internal LNA
1: External LNA
Note: MT7620 iNIC driver only profile
2.1.130 Ext_PA
Description: support External or internal PA
Value:
Ext_PA
0: Internal PA
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 49 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
1: External PA
Note: MT7620 iNIC driver only profile
2.1.131 ExtEEPROM
Description: Support driver to read EEPROM from an external file
Value:
ExtEEPROM=1
0: read EERPM data from EEPROM chip
1: read EEPROM data from an external file
Note: The external EEPROM file must be exactly the same format as EEPROM format.
iNIC driver only profile.
2.1.132 Mem
Description: Support WLAN profile can configure iNIC system address value
Value:
Mem=addr1,value1;addr2,value2;
Example:
Mem=b0110014,ff7f5555;b011008c,2404040;
iNIC firmware will Set
1. memory address (0xb0110014) value (0xff7f5555);
2. memory address (0xb011008c) value (0x2404040);
Note: This parameter is only for iNIC driver.
2.1.133 IgmpAdd1
Description: Add wihte list to passthrough IGMPsnooping
Value:
IgmpAdd1=MAC address-MAC address-MAC address
Example:
IgmpAdd1=01:00:5e:7f:ff:fa-01:00:5e:00:00:fb
Note: update to 32 set of MAC address.
2.1.134 E2pAccessMode
Description: Select the EEPROM access mode from interface start-up
Value:
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 50 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
E2pAccessMode=2
0: NONE
1: EFUSE mode
2: FLASH mode
3: EEPROM mode
4: BIN FILE mode
2.1.135 AutoChannelSkipList
Description: Skip channel list for Auto Channel selection Algorithm
Value:
AutoChannelSkipList=Channel_list
Example:
Channel_list=2;3;4;5;7;8;10;
2.1.136 EntryLifeCheck
Description: Set how many continued TX failure packets per STA can be ignored. Over the
value, AP will tear down this STA, because it shall be gone.
Value:
EntryLifeCheck=20
Example:
EntryLifeCheck=1 ~ 65535. Default is 20.
2.1.137 EtherTrafficBand
Description: To bind enthernet packets with specific RF band
Value:
EtherTrafficBand=2G
2G: Bind enthernet packets with 2.4GHz RF Band
5G: Bind enthernet packets with 5GHz RF Band
Note: only available after SoftAP driver v3.0.1.2. or after version
2.1.138 DetectPhy
Description: Disable/Enable iNIC Phy link detection. if Phy link down will reset iNIC to load
firmware.
Value:
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 51 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
DetectPhy=0
0: disable
1: enable
Note: only available on iNIC MT76XX FW v2.7.0.8 and after.
2.1.139 Thermal
Description: Disable/Enable iNIC thermal function
Value:
Thermal=0
0: disable
1: enable
Note:
Thermal function will be according to criteria with current temperature to configure Ant.
Criteria Value: 1~1000
default:80
Example:
iwpriv ra0 set tpc =80
Only available on iNIC MT76XX FW v2.7.0.8 and after.
2.1.140 %s_DfsSwAddCheck%d
Description: WLAN profile parameter to check DFS false alarm.
The first string is RDRegion. RDRegion string can be "CE", "FCC", "JAP", "JAP_W53",
"JAP_W56". The second integer is channel index. Channel index can be from 0 to 4.
Value:
There are four parameter (Period low, Period High, Width low, Width high) in one rule.
Multiple rules can be used. At least one rule must be used. Each parameter is separated by
semicolon. T_Low;T_High;W_Low;W_High
For example:
CE_DfsSwAddCheck0=100;200;50;500
FCC_DfsSwAddCheck0=100;200;50;500;70;700;30;300
Note: only available on iNIC MT76XX FW v2.7.0.8 and after.
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 52 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
2.1.141 IsolateCard
Description: Disable/Enable for iNIC isolate concurrent card traffic.
Value:
IsolateCard=0
0: disable
1: enable (iNIC concurrent card traffic can't forward to each other)
Note: only available on iNIC MT76XX FW v2.7.0.9 and after.
2.1.142 EnhanceMultiClient
Description: Disable/Enable multiple N client related configuration.
Value:
EnhanceMultiClient=0
0: disable
1: enable
Note: only available on iNIC MT76XX FW v2.7.0.9 and after.
2.1.143 BGMultiClient
Description: Disable/Enable multiple legacy client related configuration.
Value:
BGMultiClient=0
0: disable
1: enable
Note: only available on iNIC MT76XX FW v2.7.0.9 and after.
2.1.144 RssiDisauth
Description: Disable or Enable RSSI disassociate feature..
Value:
RssiDisauth=0
0: disable
1: enable
Default : 0 (disable);
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 53 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
If Enable RSSI disassociate feature.
Two scenarios for this feature:
(1.) STA was exceeded the RssiThreshold value. AP will disassociate STA.
(2.) Periodically Checking:
After client was associated. AP will check RSSI periodically base on PollingRssiInterval. If
STA was
exceeding the RssiThreshold. A counter will be increase. STA will be disassociated when
STA‘s own counter was exceeded TimeExceedRssiThreshold. The counter will be reset if AP
found STA didn’t exceed the RSSI threshold.
Note: only available on iNIC MT76XX FW v2.7.1.0 and after.
2.1.145 RssiThreshold
Description: Minimum RSSI disassociate threshold.
Value:
RssiThreshold=0
Default : 0 (disable);
value : -100 ~ -1
Note: only available on iNIC MT76XX FW v2.7.1.0 and after.
2.1.146 PollingRssiInterval
Description: Polling time interval for check STA RSSI( in second ).
Value:
PollingRssiInterval=0
Default : 0 (disable);
value : 1 ~ 3600
Note: only available on iNIC MT76XX FW v2.7.1.0 and after.
2.1.147 TimeExceedRssiThreshold
Description: Time of user exceed the RSSI threshold before disassociate
Value:
TimeExceedRssiThreshold=0
Default : 0 (disable);
value : 1 ~ 10000
Note: only available on iNIC MT76XX FW v2.7.1.0 and after.
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 54 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
2.1.148 SiteSurveyRssi
Description: Disable or Enable get RSSI for each Site Survey APT
Value:
SiteSurveyRssi=0
Default : 0
value : 0/1
Note: only available on iNIC MT76XX FW v2.7.1.0 and after.
2.1.149 AssociationInfoEvent
Description: Disable or Enable association send event include wireless mode/PHY rate/RSSI
Value:
AssociationInfoEvent=0
Default : 0
value : 0/1
Note: only available on iNIC MT76XX FW v2.7.1.0 and after.
2.1.150 EDCCA
Description: Disable or Enable EDCCA function
Value:
EDCCA=0
Default : 0
value : 0/1
Note: only available on iNIC MT76XX FW v2.7.1.0 and after.
2.1.151 TX_RETRY_NUM
Description: Tx retry number
Value:
TX_RETRY_NUM=3
Default:0
Note: only available on iNIC MT76XX FW v3.0.0.2 and after.
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 55 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
2.1.152 RTS_RETRY_NUM
Description: RTC retry number
Value:
RTS_RETRY_NUM=3
Default=0
Note: only available on iNIC MT76XX FW v3.0.0.2 and after.
2.1.153 EDCCA_AP_STA_TH
Description: STA count on SoftAP
Value:
EDCCA_AP_STA_TH=1
Default:1
Note: only available on iNIC MT76XX FW v3.0.0.2 and after.
2.1.154 EDCCA_AP_AP_TH
Description: SoftAP count on the same working channel
Value:
EDCCA_AP_AP_TH=1
Default:1
Note: only available on iNIC MT76XX FW v3.0.0.2 and after.
2.1.155 EDCCA_AP_RSSI_TH
Description: SoftAP count threshold on the same working channel, only when SofAP RSSI is
greater than the configured level.
Value:
EDCCA_AP_RSSI_TH=-80
Note: only available on iNIC MT76XX FW v3.0.0.2 and after.
2.1.156 Wapiifname
Description: Assign an interface name to process the WAI frame. The WAPID daemon shall
be bound on this interface. If it doesn't specify, the default interface is "br0".
Value:
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 56 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
br0: default binding interface
2.1.157 WapiAsCertPath
Description: Assign the path of the AS certificate for the WAPI certificate authentication.
Value:
WapiAsCertPath=/etc/as.cer
2.1.158 WapiAsIpAddr
Description: Assign the IP address of the AS for the WAPI certificate authentication.
Value:
WapiAsIpAddr=192.168.222.174
2.1.159 WapiAsPort
Description: Assign the port number of the AS for the WAPI certificate authentication.
Value:
WapiAsPort=3810
2.1.160 WapiMskRekeyMethod
Description: Set the method for WAPI group key renew mechanism
Value:
DISABLE : Disable the rekey mechanism
TIME : time-based
PKT : packet-based
2.1.161 WapiMskRekeyThreshold
Description: Set the period of WAPI group key updating
Value:
0 : Disable this mechanism
10 ~ 0x3ffffff, Default is 3600.
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 57 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
2.1.162 WapiPsk1
Description: Set the WAPI pre-shared key
Value:
8~64 characters
2.1.163 WapiPskType
Description: Set the WAPI key type
Value:
0: HEX mode
1: ASCII mode
2.1.164 WapiUserCertPath
Description: Assign the path of the user certificate for the WAPI certificate authentication
Value:
WapiUserCertPath=/etc/user.cer
2.1.165 WapiUskRekeyMethod
Description: Set the method for WAPI unicast key renew mechanism
Value:
DISABLE : Disable the rekey mechanism
TIME : time-based
PKT : packet-based
2.1.166 WapiUskRekeyThreshold
Description: Set the period of WAPI unicast key updating
Value:
0 : Disable this mechanism
10 ~ 0x3ffffff, Default is 3600
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 58 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
3 Wi-Fi SoftAP driver iwpriv command
Syntax is iwpriv ra0 set [parameters]=[Value]
Note: Execute one iwpriv/set command at a time.
3.1.1 Debug
Description: config WLAN driver Debug level.
Value:
iwpriv ra0 set Debug=3
0~5
0: Debug Off
1: Debug Error
2: Debug Warning
3: Debug Trace
4: Debug Info
5: Debug Loud
3.1.2 DriverVersion
Description: Check driver version by iwpriv command. (Need to enable debug mode)
Value:
iwpriv ra0 set DriverVersion=0
Any value
3.1.3 CountryRegion
Description: Set Country Region
Value:
iwpriv ra0 set CountryRegion=1
Region
Channels
0
1-11
1
1-13
2
10-11
3
10-13
4
14
5
1-14
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 59 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
6
3-9
7
5-13
31
1-14
32
1-11 active scan, 12 and 13 passive scan
33
1-14 all active scan, 14 b mode only
3.1.4 CountryRegionABand
Description: Set Country Region for 5G Hz WLAN regulation
Value:
iwpriv ra0 set CountryRegionABand=7
Region
Channels
0
36, 40, 44, 48, 52, 56, 60, 64, 149, 153, 157, 161, 165
1
36, 40, 44, 48, 52, 56, 60, 64, 100, 104, 108, 112, 116, 120, 124, 128, 132, 136, 140
2
36, 40, 44, 48, 52, 56, 60, 64
3
52, 56, 60, 64, 149, 153, 157, 161
4
149, 153, 157, 161, 165
5
149, 153, 157, 161
6
36, 40, 44, 48
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
8
52, 56, 60, 64
9
36, 40, 44, 48, 52, 56, 60, 64, 100, 104, 108, 112, 116, 132, 136, 140, 149, 153, 157, 161, 165
10
36, 40, 44, 48, 149, 153, 157, 161, 165
11
36, 40, 44, 48, 52, 56, 60, 64, 100, 104, 108, 112, 116, 120, 149, 153, 157, 161
3.1.5 CountryCode
Description: configure country code
Value:
iwpriv ra0 set CountryCode=TW
2 characters, like TW for Taiwan.
Note: Please refer to ISO3166 code list for other countries and can be found at
http://www.iso.org/iso/en/prods-services/iso3166ma/02iso-3166-code-lists/list-en1.html#sz
3.1.6 AccessPolicy
Description: Configure access policy of ACL table
Value:
iwpriv ra0 set AccessPolicy=0
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 60 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
0: Disable this function
1: Allow all entries of ACL table to associate AP
2: Reject all entries of ACL table to associate AP
3.1.7 ResetCounter
Description:Reset all statistic counter
Value:
iwpriv ra0 set ResetCounter=1
3.1.8 SiteSurvey
Description: In SoftAP mode to issue a site survey to the driver.
Value:
iwpriv ra0 set SiteSurvey=1
1
Passive scan: Null string. Such command “iwpriv ra0 set SiteSurvey=”
Active scan: 0~z, 1~32 ASCII characters. Such command “iwpriv ra0 set SiteSurvey=11ac-AP”
3.1.9 CountryString
Description: configure country string
Value:
iwpriv ra0 set CountryString=TAIWAN
32 characters, ex:Taiwan, case insensitive
Note: Please refer to ISO3166 code list for other countries and can be found at
http://www.iso.org/iso/en/prods-services/iso3166ma/02iso-3166-code-lists/list-en1.html#sz
Item
Country
Number
ISO
Name
Country Name
(CountryString)
Support
802.11A
802.11A
Country Region
Support
802.11G
802.11G
Country Region
0 DB Debug Yes A_BAND_REGION_7
Yes G_BAND_REGION_5
8 AL ALBANIA No A_BAND_REGION_0
Yes G_BAND_REGION_1
12 DZ ALGERIA No A_BAND_REGION_0
Yes G_BAND_REGION_1
32 AR ARGENTINA Yes A_BAND_REGION_3
Yes G_BAND_REGION_1
51 AM ARMENIA Yes A_BAND_REGION_2
Yes G_BAND_REGION_1
36 AU AUSTRALIA Yes A_BAND_REGION_0
Yes G_BAND_REGION_1
40 AT AUSTRIA Yes A_BAND_REGION_1
Yes G_BAND_REGION_1
31 AZ AZERBAIJAN Yes A_BAND_REGION_2
Yes G_BAND_REGION_1
48 BH BAHRAIN Yes A_BAND_REGION_0
Yes G_BAND_REGION_1
112 BY BELARUS No A_BAND_REGION_0
Yes G_BAND_REGION_1
56 BE BELGIUM Yes A_BAND_REGION_1
Yes G_BAND_REGION_1
84 BZ BELIZE Yes A_BAND_REGION_4
Yes G_BAND_REGION_1
68 BO BOLIVIA Yes A_BAND_REGION_4
Yes G_BAND_REGION_1
76 BR BRAZIL Yes A_BAND_REGION_1
Yes G_BAND_REGION_1
96 BN BRUNEI DARUSSALAM Yes A_BAND_REGION_4
Yes G_BAND_REGION_1
100 BG BULGARIA Yes A_BAND_REGION_1
Yes G_BAND_REGION_1
124 CA CANADA Yes A_BAND_REGION_0
Yes G_BAND_REGION_0
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 61 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
152 CL CHILE Yes A_BAND_REGION_0
Yes G_BAND_REGION_1
156 CN CHINA Yes A_BAND_REGION_4
Yes G_BAND_REGION_1
170 CO COLOMBIA Yes A_BAND_REGION_0
Yes G_BAND_REGION_0
188 CR COSTA RICA No A_BAND_REGION_0
Yes G_BAND_REGION_1
191 HR CROATIA Yes A_BAND_REGION_2
Yes G_BAND_REGION_1
196 CY CYPRUS Yes A_BAND_REGION_1
Yes G_BAND_REGION_1
203 CZ CZECH REPUBLIC Yes A_BAND_REGION_2
Yes G_BAND_REGION_1
208 DK DENMARK Yes A_BAND_REGION_1
Yes G_BAND_REGION_1
214 DO DOMINICAN REPUBLIC Yes A_BAND_REGION_0
Yes G_BAND_REGION_0
218 EC ECUADOR No A_BAND_REGION_0
Yes G_BAND_REGION_1
818 EG EGYPT Yes A_BAND_REGION_2
Yes G_BAND_REGION_1
222 SV EL SALVADOR No A_BAND_REGION_0
Yes G_BAND_REGION_1
233 EE ESTONIA Yes A_BAND_REGION_1
Yes G_BAND_REGION_1
246 FI FINLAND Yes A_BAND_REGION_1
Yes G_BAND_REGION_1
250 FR FRANCE Yes A_BAND_REGION_2
Yes G_BAND_REGION_1
268 GE GEORGIA Yes A_BAND_REGION_2
Yes G_BAND_REGION_1
276 DE GERMANY Yes A_BAND_REGION_1
Yes G_BAND_REGION_1
300 GR GREECE Yes A_BAND_REGION_1
Yes G_BAND_REGION_1
320 GT GUATEMALA Yes A_BAND_REGION_0
Yes G_BAND_REGION_0
340 HN HONDURAS No A_BAND_REGION_0
Yes G_BAND_REGION_1
344 HK HONG KONG Yes A_BAND_REGION_0
Yes G_BAND_REGION_1
348 HU HUNGARY Yes A_BAND_REGION_1
Yes G_BAND_REGION_1
352 IS ICELAND Yes A_BAND_REGION_1
Yes G_BAND_REGION_1
356 IN INDIA Yes A_BAND_REGION_0
Yes G_BAND_REGION_1
360 ID INDONESIA Yes A_BAND_REGION_4
Yes G_BAND_REGION_1
364 IR IRAN Yes A_BAND_REGION_4
Yes G_BAND_REGION_1
372 IE IRELAND Yes A_BAND_REGION_1
Yes G_BAND_REGION_1
376 IL ISRAEL No A_BAND_REGION_0
Yes G_BAND_REGION_1
380 IT ITALY Yes A_BAND_REGION_1
Yes G_BAND_REGION_1
392 JP JAPAN Yes A_BAND_REGION_9
Yes G_BAND_REGION_1
400 JO JORDAN Yes A_BAND_REGION_0
Yes G_BAND_REGION_1
398 KZ KAZAKHSTAN No A_BAND_REGION_0
Yes G_BAND_REGION_1
408 KP KOREA DEMOCRATIC Yes A_BAND_REGION_5
Yes G_BAND_REGION_1
410 KR KOREA REPUBLIC OF Yes A_BAND_REGION_5
Yes G_BAND_REGION_1
414 KW KUWAIT No A_BAND_REGION_0
Yes G_BAND_REGION_1
428 LV LATVIA Yes A_BAND_REGION_1
Yes G_BAND_REGION_1
422 LB LEBANON No A_BAND_REGION_0
Yes G_BAND_REGION_1
438 LI LIECHTENSTEIN Yes A_BAND_REGION_1
Yes G_BAND_REGION_1
440 LT LITHUANIA Yes A_BAND_REGION_1
Yes G_BAND_REGION_1
442 LU LUXEMBOURG Yes A_BAND_REGION_1
Yes G_BAND_REGION_1
446 MO MACAU Yes A_BAND_REGION_0
Yes G_BAND_REGION_1
807 MK MACEDONIA No A_BAND_REGION_0
Yes G_BAND_REGION_1
458 MY MALAYSIA Yes A_BAND_REGION_0
Yes G_BAND_REGION_1
484 MX MEXICO Yes A_BAND_REGION_0
Yes G_BAND_REGION_0
492 MC MONACO Yes A_BAND_REGION_2
Yes G_BAND_REGION_1
504 MA MOROCCO No A_BAND_REGION_0
Yes G_BAND_REGION_1
528 NL NETHERLANDS Yes A_BAND_REGION_1
Yes G_BAND_REGION_1
554 NZ NEW ZEALAND Yes A_BAND_REGION_0
Yes G_BAND_REGION_1
578 NO NORWAY Yes A_BAND_REGION_0
Yes G_BAND_REGION_0
512 OM OMAN Yes A_BAND_REGION_0
Yes G_BAND_REGION_1
586 PK PAKISTAN No A_BAND_REGION_0
Yes G_BAND_REGION_1
591 PA PANAMA Yes A_BAND_REGION_0
Yes G_BAND_REGION_0
604 PE PERU Yes A_BAND_REGION_4
Yes G_BAND_REGION_1
608 PH PHILIPPINES Yes A_BAND_REGION_4
Yes G_BAND_REGION_1
616 PL POLAND Yes A_BAND_REGION_1
Yes G_BAND_REGION_1
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 62 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
620 PT PORTUGAL Yes A_BAND_REGION_1
Yes G_BAND_REGION_1
630 PR PUERTO RICO Yes A_BAND_REGION_0
Yes G_BAND_REGION_0
634 QA QATAR No A_BAND_REGION_0
Yes G_BAND_REGION_1
642 RO ROMANIA No A_BAND_REGION_0
Yes G_BAND_REGION_1
643 RU RUSSIA FEDERATION No A_BAND_REGION_0
Yes G_BAND_REGION_1
682 SA SAUDI ARABIA No A_BAND_REGION_0
Yes G_BAND_REGION_1
702 SG SINGAPORE Yes A_BAND_REGION_0
Yes G_BAND_REGION_1
703 SK SLOVAKIA Yes A_BAND_REGION_1
Yes G_BAND_REGION_1
705 SI SLOVENIA Yes A_BAND_REGION_1
Yes G_BAND_REGION_1
710 ZA SOUTH AFRICA Yes A_BAND_REGION_1
Yes G_BAND_REGION_1
724 ES SPAIN Yes A_BAND_REGION_1
Yes G_BAND_REGION_1
752 SE SWEDEN Yes A_BAND_REGION_1
Yes G_BAND_REGION_1
756 CH SWITZERLAND Yes A_BAND_REGION_1
Yes G_BAND_REGION_1
760 SY SYRIAN ARAB REPUBLIC No A_BAND_REGION_0
Yes G_BAND_REGION_1
158 TW TAIWAN Yes A_BAND_REGION_3
Yes G_BAND_REGION_0
764 TH THAILAND No A_BAND_REGION_0
Yes G_BAND_REGION_1
780 TT TRINIDAD AND TOBAGO Yes A_BAND_REGION_2
Yes G_BAND_REGION_1
788 TN TUNISIA Yes A_BAND_REGION_2
Yes G_BAND_REGION_1
792 TR TURKEY Yes A_BAND_REGION_2
Yes G_BAND_REGION_1
804 UA UKRAINE No A_BAND_REGION_0
Yes G_BAND_REGION_1
784 AE UNITED ARAB EMIRATES
No A_BAND_REGION_0
Yes G_BAND_REGION_1
826 GB UNITED KINGDOM Yes A_BAND_REGION_1
Yes G_BAND_REGION_1
840 US UNITED STATES Yes A_BAND_REGION_0
Yes G_BAND_REGION_0
858 UY URUGUAY Yes A_BAND_REGION_5
Yes G_BAND_REGION_1
860 UZ UZBEKISTAN Yes A_BAND_REGION_1
Yes G_BAND_REGION_0
862 VE VENEZUELA Yes A_BAND_REGION_5
Yes G_BAND_REGION_1
704 VN VIET NAM No A_BAND_REGION_0
Yes G_BAND_REGION_1
887 YE YEMEN No A_BAND_REGION_0
Yes G_BAND_REGION_1
716 ZW ZIMBABWE No A_BAND_REGION_0
Yes G_BAND_REGION_1
3.1.10 SSID
Description: Set AP SSID
Value:
iwpriv ra0 set SSID=11n-AP
0~z, 1~32 ASCII characters
3.1.11 WirelessMode
Description: Set WLAN mode
Value:
iwpriv ra0 set WirelessMode=5
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
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 63 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
7: 11GN mixed
8: 11AN mixed
9: 11BGN mixed
10: 11AGN mixed
11: 11N only in 5G band only
14: 11A/AN/AC mixed 5G band only (Only 11AC chipset support)
15: 11 AN/AC mixed 5G band only (Only 11AC chipset support)
3.1.12 FixedTxMode
Description: Fix Tx mode to CCK or OFDM for MCS rate selection
Value:
iwpriv ra0 set FixedTxMode=CCK
CCK
OFDM
3.1.13 OFDMBasicRate
Description: configure OFDM basic rate
Value:
iwpriv ra0 set OFDMBasicRate=
0~4095
Basic Rate Bit Map
(max. 12-bit, represent max. 12 basic rates)
Bit 11 10 9 8 7 6 5 4 3 2 1 0
Rate 54 48 36
24
18
12
9 6 11
5.5
2 1
Set 0 1 0 1 0 1 0 1 1 1 1 1
Hex 5 5 F
Decimal 1375
Note: Be careful to set this value, if you don’t know what this is, please don’t set this
field.
3.1.14 Channel
Description: Configure Wi-Fi Channel
Value:
iwpriv ra0 set Channel=6
802.11b/g: 1 ~ 14 (it must agree with the CountryRegion setting)
802.11a: 36~165 (it must agree with the CountryRegionABand setting)
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 64 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
3.1.15 BeaconPeriod
Description: configure Beacon period
Value:
iwpriv ra0 set BeaconPeriod=100
20 ~ 1024 (unit is in milli-seconds)
3.1.16 DtimPeriod
Description: Configure DTIM period
Value:
iwpriv ra0 set DtimPeriod=1
1~5
3.1.17 TxPower
Description: Set Transmit Power by percentage
Value:
iwpriv ra0 set TxPower=100
0~100
Note:
91 ~ 100% & AUTO, treat as 100% in terms of mW
61 ~ 90%, treat as 75% in terms of mW -1dBm
31 ~ 60%, treat as 50% in terms of mW -3dBm
16 ~ 30%, treat as 25% in terms of mW -6dBm
10 ~ 15%, treat as 12.5% in terms of mW -9dBm
0 ~ 9 %, treat as MIN(~3%) in terms of mW -12dBm
3.1.18 BGProtection
Description: Enable or disable 11B, 11G protection
Value:
iwpriv ra0 set BGProtection=0
0: disable
1: Always on
2:Always off
3.1.19 DisableOLBC
Description: enable or disable OLBC
Value:
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 65 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
iwpriv ra0 set DisableOLBC=0
0: disable
1: enable
3.1.20 TxPreamble
Description: enable or disable Tx preamble
Value:
iwpriv ra0 set TxPreamble=1
0: disable
1: enable
3.1.21 RTSThreshold
Description: Set RTS Threshold
Value:
iwpriv ra0 set RTSThreshold=2347
1~2347
3.1.22 FragThreshold
Description: Set Fragment threshold
Value:
iwpriv ra0 set FragThreshold=2346
256~2346
3.1.23 TxBurst
Description: enable or disable Tx burst mode
Value:
iwpriv ra0 set TxBurst=0
0: disable
1: enable
3.1.24 PktAggregate
Description: enable or disable packet aggregation (Ralink to Ralink only)
Value:
iwpriv ra0 set PktAggregate=1
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 66 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
0: disable
1: enable
3.1.25 NoForwarding
Description: enable or disable no forwarding packet between STAs in the same BSSID
Value:
iwpriv ra0 set NoForwarding=0
0: disable
1: enable
3.1.26 NoForwardingBTNBSSID
Description: enable or disable No Forwarding between each BSSID interface.
Value:
iwpriv ra0 set NoForwardingBTNBSSID=1
0: disable
1: enable
3.1.27 NoForwardingMBCast
Description: enable or disable No Forwarding multicast/broadcast packets between each
BSSID interface.
Value:
iwpriv ra0 set NoForwardingMBCast=1
0: disable
1: enable
3.1.28 HideSSID
Description: enable or disable hidden SSID
Value:
iwpriv ra0 set HideSSID=1
0: disable
1: enable
3.1.29 ShortSlot
Description: enable or disabllle short slot time
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 67 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
Value:
iwpriv ra0 set ShortSlot=0
0: disable
1: enable
3.1.30 DisConnectSta
Description: Disconnect one specific STA which connected with this SoftAP manually
Value:
iwpriv ra0 set DisConnectSta=00:11:22:33:44:55
[MAC address]
3.1.31 DisConnectAllSta
Description: Disconnect all STAs which connected with this SoftAP manually.
Value:
iwpriv ra0 set DisConnectAllSta=1
1: disconnect all STAs
3.1.32 McastPhyMode
Description: Configure multicast physical mode
Value:
iwpriv ra0 set McastPhyMode=0
0: Disable
1: CCK
2: OFDM
3 HTMIX
3.1.33 McastMcs
Description: Specify the MCS of multicast packets.
Value:
iwpriv ra0 set McastMcs=0
0~15
3.1.34 WscVendorPinCode
Description: Set vendor pin code as pin code of WPS AP’s enrollee
Value:
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 68 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
iwpriv ra0 WscVendorPinCode=xxxxxxx
xxxxxxxx //Valid PIN code
3.1.35 ACLAddEntry
Description: To insert one or several MAC addresses into Access control MAC table list, up to
64 MAC address at one time.
Value:
iwpriv ra0 set ACLAddEntry=”xx:xx:xx:xx:xx:xx”
[MAC address];[MAC address];...;[MAC address]”
Example:
iwpriv ra0 set
ACLAddEntry="00:0c:43:28:aa:12;00:0c:43:28:aa:11;00:0c:43:28:aa:10"
3.1.36 ACLClearAll
Description: To clear all the MAC address entries in an Access control MAC table list.
Value:
iwpriv ra0 set ACLClearAll=1
1: indicate to clear the table
Other value is invalid.
3.1.37 FixedTxMode
Description: To limit the transmission mode only for CCK and OFDM
Value:
iwpriv ra0 set FixedTxMode=CCK
CCK
OFDM
3.1.38 WpaMixPairCipher
Description: It provides a more flexible cipher combination.
Value:
iwpriv ra0 set WpaMixPairCipher=WPA_AES_WPA2_TKIPAES
WPA_AES_WPA2_TKIPAES
WPA_AES_WPA2_TKIP
WPA_TKIP_WPA2_AES
WPA_TKIP_WPA2_TKIPAES
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 69 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
WPA_TKIPAES_WPA2_AES
WPA_TKIPAES_WPA2_TKIPAES
WPA_TKIPAES_WPA2_TKIP
Note: The SSID must be set again to make this setting valid.
3.1.39 MaxStaNum
Description: To limit the maximum number of associated clients per BSS.
Value:
iwpriv ra0 set MaxStaNum=0
0: disable this function
1~32 (default:32)
3.1.40 AutoFallBack
Description: enable or disable auto fall back rate control function
Value:
iwpriv ra0 set AutoFallBack=1
0: disable
1: enable
3.1.41 ApCliTxMode
Description: Configure APclient Tx traffic mode
Value:
iwpriv apcli0 set ApCliTxMode=HT
CCK
OFDM
HT
3.1.42 ApCliTxMcs
Description: Set transmission MCS for AP-Client traffic.
Value:
iwpriv apcli0 set ApCliTxMcs=33
0~15, 32: Fixed MCS
33: Auto MCS
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 70 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
3.1.43 ApCliAutoConnect
Description: Trigger Apcli Auto connect to find the missed AP
Value:
iwpriv ra0 set
ApCliAutoConnect=1
Any value
3.1.44 GreenAP
Description: enable or disable Green AP fucntion
Value:
iwpriv ra0 set GreenAP=0
0: disable
1: enable
3.1.45 AutoChannelSel
Description: auto channel select when driver is loaded
Value:
iwpriv ra0 set AutoChannelSel=2
0: Disable
1: Old Channel Selection Algorithm
2: New Channel Selection Algorithm
3.1.46 ACSCheckTime
Description: Set a periodic check time for auto channel selection (unit: hour)
Value:
iwpriv ra0 set ACSCheckTime=3
0: Disable
3.1.47 MBSSWirelessMode
Description: Set MBSS Wireless phy Mode. Only support in v2.5.0.0 and after version.
Value:
0: 802.11 B/G mixed
1: 802.11 B only
2: 802.11 A only
4: 802.11 G only
6: 802.11 N only
7: 802.11 G/N mixed
8: 802.11 A/N mixed
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 71 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
9: 802.11 B/G/N mixed
10: 802.11 A/G/N mixed
11: 802.11 N in 5G band only
Example:
ra0: B/G/N fixed
ra1: B only
ra2: B/G mixed
ra3: G only
Must set main BSS (ra0) first then set other MBSS WirelessMode. Can’t have A & B mode
fixed in MBSS.
iwpriv ra0 set WirelessMode=9
iwpriv ra1 set MBSSWirelessMode=1
iwpriv ra2 set MBSSWirelessMode=0
iwpriv ra3 set MBSSWirelessMode=4
3.1.48 HwAntDiv
Description: enable or disable Hardware antenna diversity
Value:
iwpriv ra0 set HwAntDiv=0
0: disable
1: enable
Note: Only support in RT5350.
3.1.49 HtBw
Description: Set HT WLAN Bandwidth
Value:
iwpriv ra0 set HtBw=1
0: 20 MHz
1: 40MHz
3.1.50 VhtBw
Description: Enable or disable 11AC 80MHz Bandwidth support
Value:
iwpriv ra0 set VhtBw=1
0: disable
1: enable
Note: 11AC chipset only
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 72 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
3.1.51 VhtStbc
Description: Enable/disable 11AC STBC Support
Value:
iwpriv ra0 set VhtStbc=1
0: disable
1: enable
Note: 11AC chipset only
3.1.52 VhtBwSignal
Description: Enable/disable 11 AC BandWidth signaling
Value:
iwpriv ra0 set VhtBwSignal=1
0: disable
1: enable
Note: 11AC chipset only.
3.1.53 VhtDisallowNonVHT
Description: Enable/disable to reject non-VHT STA to connect
Value:
iwpriv ra0 set VhtDisallowNonVHT=1
0: disable
1: enable to reject non-VHT STA
Note: 11AC chipset only.
3.1.54 HtMcs
Description: Set WLAN Modulation and Coding Scheme (MCS)
Value:
iwpriv ra0 set HtMcs=33
0 ~15, 32: Fix MCS rate for HT rate.
33: Auto Rate Adaption, recommended
HT Mixed Mode, Refer to IEEE P802.11n Figure n67
HT Greenfield, Refer to IEEE P802.11n Figure n68
MCS = 0 (1S) (BW=0, SGI=0) 6.5Mbps
MCS = 1 (BW=0, SGI=0) 13Mbps
MCS = 2 (BW=0, SGI=0) 19.5Mbps
MCS = 3 (BW=0, SGI=0) 26Mbps
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 73 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
MCS = 4 (BW=0, SGI=0) 39Mbps
MCS = 5 (BW=0, SGI=0) 52Mbps
MCS = 6 (BW=0, SGI=0) 58.5Mbps
MCS = 7 (BW=0, SGI=0) 65Mbps
MCS = 8 (2S) (BW=0, SGI=0) 13Mbps
MCS = 9 (BW=0, SGI=0) 26Mbps
MCS = 10 (BW=0, SGI=0) 39Mbps
MCS = 11 (BW=0, SGI=0) 52Mbps
MCS = 12 (BW=0, SGI=0) 78Mbps
MCS = 13 (BW=0, SGI=0) 104Mbps
MCS = 14 (BW=0, SGI=0) 117Mbps
MCS = 15 (BW=0, SGI=0) 130Mbps
MCS = 32 (BW=1, SGI=0) HT duplicate 6Mbps
Notes:
When BW=1, PHY_RATE = PHY_RATE * 2
When SGI=1, PHY_RATE = PHY_RATE * 10/9
The effects of BW and SGI are accumulative.
When MCS=0~7(1S, One Tx Stream), SGI option is supported. BW option is supported.
When MCS=8~15(2S, Two Tx Stream), SGI option is supported. BW option is supported.
When MCS=32, only SGI option is supported. BW option is not supported. (BW =1)
Other MCS code in HT mode are reserved.
3.1.55 HtGi
Description: Set WLAN Guard interval support
Value:
iwpriv ra0 set HtGi=1
0: long guard interval
1: short guard interval
3.1.56 HtOpMode
Description: HT operation Mode
Value:
iwpriv ra0 set HtOpMode=0
0: HT mixed mode
1: HT Greenfield mode
3.1.57 HtStbc
Description: Enable or disable HT STBC
Value:
iwpriv ra0 set HtStbc=1
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 74 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
0: disable
1: enable
3.1.58 HtExtcha
Description: To locate the 40MHz channel in combination with the control
Value:
iwpriv ra0 set HtExtcha=0
0: below
1: Above
3.1.59 HtMpduDensity
Description: Minimum separation of MPDUs in an A-MPDU
Value:
iwpriv ra0 set HtMpduDensity=4
0~7
0: no restriction
1: 1/4 µs
2: 1/2 µs
3: 1 µs
4: 2 µs
5: 4 µs
6: 8 µs
7: 16 µs
3.1.60 HtBaWinSize
Description: Block Ack window size
Value:
iwpriv ra0 set HtBaWinSize=64
1~64
3.1.61 HtTxBASize
Description: Set the number of AMPDU aggregation size of one transmission burst.
Value:
iwpriv ra0 set HtTxBASize=64
1~64: valid value
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 75 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
3.1.62 HtRdg
Description: Enable or disable HT Reverse Direction Grant
Value:
iwpriv ra0 set HtRdg=1
0: disable
1: enable
3.1.63 HtAmsdu
Description: Enable or disable AMSDU section
Value:
Iwpriv ra0 set HtAmsdu=0
0: disable
1: enable
3.1.64 HtAutoBa
Description: Enable or disable auto build Block Ack section with peer
Value:
iwpriv ra0 set HtAutoBa=1
0: disable
1: enable
3.1.65 BADecline
Description: Enable or disable decline Block Ack to peer
Value:
iwpriv ra0 set BADecline=0
0: disable
1: enable
3.1.66 HtProtect
Description: Enable or disable HT protect
Value:
iwpriv ra0 set HtProtect=0
0: disable
1: enable
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 76 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
3.1.67 HtMimoPs
Description: Enable or disable HT MIMO Power saving mode
Value:
iwpriv ra0 set HtMimoPs=0
0: disable
1: enable
3.1.68 HtDisallowTKIP
Description: Enable or disable 11N rate with 11N AP when cipher is TKIP or WEP
Value:
iwpriv ra0 set HtDisallowTKIP=0
0: disable
1: enable
3.1.69 AP2040Rescan
Description: Trigger HT20/40 coexistence to rescan
Value:
iwpriv ra0 set AP2040Rescan=1
1: trigger to rescan
3.1.70 HtBssCoex
Description: Enable or disable HT BSS coexistence
Value:
iwpriv ra0 set HtBssCoex=0
0: disable
1: enable
3.1.71 HtTxStream
Description: Set the number of spatial streams for transmission
Value:
iwpriv ra0 set HtTxStream=1 or 2 or 3
1~3: valid spatial streams
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 77 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
3.1.72 HtRxStream
Description: Set the number of spatial streams for reception
Value:
iwpriv ra0 set HtRxStream=1 or 2 or 3
1~3: valid spatial streams
3.1.73 BASetup
Description: Add an Originator BA entry into the BA table manually.
Value:
iwpriv ra0 set BASetup=00:0c:43:01:02:03-1
The six 2 digit hex-decimal number(xx) previous are the Mac address,
The seventh decimal number(d) is the tid value.
3.1.74 BAOriTearDown
Description: Remove an Originator BA entry from the BA table manually.
Value:
iwpriv ra0 set BAOriTearDown=00:0c:43:01:02:03-1
The six 2 digit hex-decimal number(xx) previous are the Mac address,
The seventh decimal number(d) is the tid value.
3.1.75 BARecTearDown
Description: Remove an Recipient BA entry from the BA table manually.
Value:
iwpriv ra0 set BARecTearDown=00:0c:43:01:02:03-1
The six 2 digit hex-decimal number(xx) previous are the Mac address,
The seventh decimal number(d) is the tid value.
3.1.76 PktAggregate
Description: Enable or disable 11B/G packet aggregation
Value:
iwpriv ra0 set PktAggregate=1
0: disable
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 78 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
1: enable
3.1.77 WmmCapable
Description: Enable or disable WMM support
Value:
iwpriv ra0 set WmmCapable=1
0: disable
1: enable
3.1.78 IEEE80211H
Description: Enable or disable IEEE 802.11h function. Spectrum management.
This field can only be enabled in A band.
Value:
iwpriv ra0 set IEEE80211H=0
0: disable
1: enable
3.1.79 AuthMode
Description: WLAN security Authentication mode
Value:
iwpriv ra0 set AuthMode=OPEN
OPEN For open system
SHARED For shared key system
WEPAUTO Auto switch between OPEN and SHARED
WPAPSK For WPA pre-shared key (Infra)
WPA2PSK For WPA2 pre-shared key (Infra)
WPANONE For WPA pre-shared key (Adhoc)
WPA For enterprise mode (Need wpa_supplicant)
WPA2 For enterprise mode (Need wpa_supplicant)
3.1.80 EncrypType
Description: WLAN security Encryption type
Value:
iwpriv ra0 set EncrypType=NONE
NONE For AuthMode=OPEN
WEP For AuthMode=OPEN or AuthMode=SHARED
TKIP For AuthMode=WPAPSK or WPA2PSK
AES For AuthMode=WPAPSK or WPA2PSK
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 79 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
3.1.81 DefaultKeyID
Description: Default key ID
Value:
iwpriv ra0 set DefaultKeyID=1
1~4
3.1.82 Key1
Description: Key 1 string
Value:
iwpriv ra0 set Key1=aaaaa
10 or 26 characters
5 or 13 characters
3.1.83 Key2
Description: Key 2 string
Value:
iwpriv ra0 set Key2=aaaaa
10 or 26 characters
5 or 13 characters
3.1.84 Key3
Description: Key 3 string
Value:
iwpriv ra0 set Key3=aaaaa
10 or 26 characters
5 or 13 characters
3.1.85 Key4
Description: Key 4 string
Value:
iwpriv ra0 set Key4=aaaaa
10 or 26 characters
5 or 13 characters
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 80 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
3.1.86 WPAPSK
Description: WLAN Security string for (TKIP/AES)
Value:
iwpriv ra0 set WPAPSK=12345678
8~63 ASCII
Or
64 HEX characters
3.1.87 ResetCounter
Description: reset WLAN statistic counter
Value:
iwpriv ra0 set ResetCounter=1
1
3.1.88 MACRepeaterEn
Description: Enable or disable MAC Repeater function
Value:
iwpriv ra0 set MACRepeaterEn=1
0: disable
1: enable
3.1.89 PMFMFPC
Description: Enable or disable Protection Management Frame Capable
Value:
iwpriv ra0 set PMFMFPC=1
0: disable
1: enable
3.1.90 PMFMFPR
Description: Enable or disable Protection Management Frame Required
Value:
iwpriv ra0 set PMFMFPR=1
0: disable
1: enable
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 81 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
3.1.91 SHA256
Description: Enable or disable use SHA256 for Encryption
Value:
iwpriv ra0 set SHA256=1
0: disable
1: enable
3.1.92 WDSVLANID
Description: set WDS VLAN ID
Value:
iwpriv ra0 set WDSVLANID=1
1~16
Note: iNIC driver only
3.1.93 WDSVLANPriority
Description: set WDS VLAN priority
Value:
iwpriv ra0 set WDSVLANPriority=1
1~16
Note: iNIC driver only
3.1.94 ApCliVLANID
Description: set APclient VLAN ID
Value:
iwpriv ra0 set ApCliVLANID=1
1~16
Note: iNIC driver only
3.1.95 ApCliVLANPriority
Description: set APclient VLAN priority
Value:
iwpriv ra0 set ApCliVLANPriority=1
1~16
Note: iNIC driver only
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 82 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
3.1.96 QAEnable
Description: enable or disable QA test tool function.
iwpriv ra0 set QAEnable=1
0: disable
1: enable
Note: iNIC driver only.
3.1.97 Console
Description: redirect console information to host.
iwpriv ra0 set Console=1
0: disable
1: enable
Note: iNIC driver only.
3.1.98 EfuseUploadToHost
Description: This command is specific to iNIC solution.
The content of efuse will be uploaded to the iNIC host in iNIC_e2p.bin or iNIC_e2p1.bin .
iwpriv ra0 set EfuseUploadToHost=1
0: disable
1: enable
Note: iNIC driver only
3.1.99 tpc
Description: Thermal function will be according to criteria with current temperature to
configure Ant.
Criteria Value:1~1000
default: 80
Iwpriv ra0 set tpc=80
Note: iNIC driver only
3.1.100 DfsSwAddCheck
Description: This command is used to add an entry to prevent false detection in specific range.
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 83 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
“ch” is the bbp dfs detection engine ID
“T_Low” is the Radar Period low boundary to filter out.
“T_High” is the Radar Period high boundary to filter out.
“W_Low” is the Radar Width low boundary to filter out.
“W_High” is the Radar Width high boundary to filter out.
iwpriv ra0 set DfsSwAddCheck=ch:T_Low:T_High:W_Low:W_high
Example:
iwpriv ra0 set DfsSwAddCheck=0:100:200:50:500
Note: iNIC driver only
3.1.101 DfsSwDelCheck
Description: This command is used to delete an entry which was added to filter out radar in
specific range.
iwpriv ra0 set DfsSwDelCheck=ch:T_Low:T_High:W_Low:W_high
Example:
iwpriv ra0 set DfsSwDelCheck=0:100:200:50:500
Note: iNIC driver only
3.1.102 fpga_on
Description: Turn on or off vht fixed mode.
iwpriv ra0 set fpga_on=6
Note: for vht mode fix data rate setting
3.1.103 dataphy
Description: For Phy mode setting.
iwpriv ra0 set dataphy=value
Value:
0 = CCK,
1 = OFDM,
2 = MODE_HTMIX,
3 = HT-GF,
4 = VHT
Note: for vht mode fix data rate setting
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 84 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
3.1.104 databw
Description: For Bandwidth setting.
iwpriv rai0 set databw=value
Value:
0 = 20M,
1 = 40M,
2 = 80M,
Note: for vht mode fix data rate setting
3.1.105 datamcs
Description: MCS setting.
iwpriv ra0 set datamcs=value
bit[3:0] stands for Modulation Coding Scheme (MCS)
bit[6:4] stands for Number of Spatial Stream (NSS).
Example: iwpriv ra0 set datamcs=24 2SS MCS8
Note: for vht mode fix data rate setting
1SS & 2SS MCS Rate mapping table
1SS
MCS Index
Modulation
Value
(Dec)
0 BPSK 0
1 QPSK 1
2 QPSK 2
3 16-QAM 3
4 16-QAM 4
5 64-QAM 5
6 64-QAM 6
7 64-QAM 7
8 256-QAM
8
9 256-QAM
9
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 85 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
2SS
MCS Index
Modulation
Value
(Dec)
0 BPSK 16
1 QPSK 17
2 QPSK 18
3 16-QAM 19
4 16-QAM 20
5 64-QAM 21
6 64-QAM 22
7 64-QAM 23
8 256-QAM
24
9 256-QAM
25
3.1.106 databasize
Description: For BASize setting.
iwpriv ra0 set databasize=value
Value:
1~64
Note: for vht mode fix data rate setting
3.1.107 databgi
Description: For GI setting.
iwpriv ra0 set datagi=value
Value:
0 = short GI,
1 = long GI
Note: for vht mode fix data rate setting
3.1.108 dataldpc
Description: For LDPC setting.
iwpriv ra0 set dataldpc=value
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 86 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
Value:
0 = disable,
1 = enable
Note: for vht mode fix data rate setting
3.1.109 KickStaRssiLow
Description: Set the lowest limitation for AP kicking out STA.
Value:
iwpriv ra0 set KickStaRssiLow=0
0: Disable
0 ~ -100
3.1.110 AssocReqRssiThres
Description: Set AssocReq RSSI Threshold to reject STA with weak signal
Value:
Iwpriv ra0 set AssocReqRssiThres=0
0: Disable
0~ -100
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 87 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
4 iwpriv ra0 usage
This section describes parameters set using iwpriv. Please refer to the Readme section for
more general data.
A detailed explanation of each parameter for iwpriv is shown subsequently. Refer to the
Readme before using this section.
iwpriv ra0 [parameters]
4.1 get_site_survey
Description: Show site survey result
Value:
iwpriv ra0 get_site_survey
Note: Works only after iwpriv ra0 set SiteSurvey=1
4.2 get_mac_table
Description: Show STA’s MAC address which associated with AP
Value:
iwpriv ra0 get_mac_table
Note: Need to enable debug mode to display the message.
4.3 get_wsc_profile
Description: Display WPS profile information in detailed
Value:
iwpriv ra0 get_wsc_profile
4.4 get_ba_table
Description: Show Block ACK Table raw data information
Value:
iwpriv ra0 get_ba_table
4.5 stat
Description: Display WLAN static counter
Value:
iwpriv ra0 stat
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 88 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
4.6 bbp (Debug only)
Description: Display/Write bbp content
Value:
//Display
iwpriv ra0 bbp offset
//Write bbp
iwpriv ra0 bbp offset=value
offset = hex address
value= hex value
4.7 mac (Debug only)
Description: Display/Write mac content
Value:
//Display
iwpriv ra0 mac offset
//Write mac
iwpriv ra0 mac offset=value
offset = hex address
value= hex value
4.8 rf (Debug only)
Description: Display/Write rf content
Value:
//Display
iwpriv ra0 rf offset
//Write
iwpriv ra0 rf offset=value
offset = hex address
value= hex value
4.9 e2p (Debug only)
Description: Read/Write EEPROM content
Value:
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 89 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
//Read
iwpriv ra0 e2p offset
//Write EEPROM
iwpriv ra0 e2p offset=value
offset = hex address
value= hex value
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 90 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
5 iwpriv ra0 show command
This section describes parameters set using iwpriv. Please refer to the Readme section for
more general data.
Display parameter which has been currently configured in the WLAN driver.
iwpriv ra0 show [parameters]
[Parameters list]
1. stainfo - Show associated STA's MAC address
2. descinfo - Show Descriptor information.
3. driverinfo - Show driver version.
4. wdsinfo - Show WDS list information.
5. bainfo - Show Block ACK Table. (String message)
6. stat - Show statistics counter.
7. stat_reset - Show, then reset statistics counter.
8. igmpinfo - Show all entrys in IGMP table.
9. mcastrate - Show multicast phy mode and MCS rate.
10. stacountinfo – show associated STA’s Tx, Rx byte counts.
11. stasecinfo – show associated STA’s BSS and security information.
12. mbss – show MBSS phy mode information.
Example: show stainfo
iwpriv ra0 show stainfo
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 91 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
6 WPS Wi-Fi PROTECTED SETUP
Simple Config Architectural Overview
This section presents a high-level description of the Simple Config architecture. Much of the
material is taken directly from the Simple Config specification.
Figure 1 depicts the major components and their interfaces as defined by Wi-Fi Simple Config
Spec. There are three logical components involved: the Registrar, the access point (AP), and
the Enrollee.
The Enrollee is a device seeking to join a WLAN domain. Once an Enrollee obtains a
valid credential, it becomes a member.
A Registrar is an entity with the authority to issue and revoke domain credentials. A
registrar can be integrated into an AP.
The AP can be either a WLAN AP or a wireless router.
Registration initiation is ordinarily accomplished by a user action such as powering up the
Enrollee and, optionally, running a setup wizard on the Registrar (PC).
Note: The WLAN driver needs to set HAS_WSC=y in order to enable WPS functions.
6.1 WPS Profile settings
Configure WPS setting in RT2860AP.dat or RT2860AP.dat.
Syntax:
[Parameter]=[Value]
6.1.1 WscConfMode
Description: Set WPS function, bitwise.
Value:
WscConfMode=0x2
0x0: Disable
0x1: Enrollee
0x2: Proxy
0x4: Registrar
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 92 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
6.1.2 WscConfStatus
Description: Set WPS AP SC (Simple Config) State
Value:
WscConfStatus=1
1: AP is un-configured
2: AP is configured
6.1.3 WscConfMethods
Description: The Config Methods Data component lists the configuration methods the Enrollee or
Registrar supports. The list is a bitwise OR of values from the table below. If you don’t know what this
is, please don’t set this field.
Value:
WscConfMethods=16
1 - USBA (Flash Drive)
2 - Ethernet
4 - Label
8 - Display
16 - External NFC Token
32 - Integrated NFC Token
64 - NFC Interface
128 - PushButton
256 - Keypad
6.1.4 WscKeyASCII
Description: Define WPS WPAPSK format and key length for un-configured internal WPS Registrar AP.
Value:
WscKeyASCII=0
0: Hex (64-bytes). Default is 0.
1: ASCII(random length)
8 ~ 63: ASCII length
6.1.5 WscSecurityMode
Description: Define WPS regitrar’s unconfiguraed -> configuraed security mode.
Value:
WscSecurityMode=0
0 : WPA2PSK AES
1 : WPA2PSK TKIP
2 : WPAPSK AES
3 : WPAPSK TKIP
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 93 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
6.1.6 WscDefaultSSID0
Description: Default WPS SSID for AP. After WPS process completes with Enrollee when AP
acts as un-configured Registrar, AP will use this SSID as new SSID.
Value:
WscDefaultSSID0=SSID
1~32 characters
6.1.7 WscV2Support
Description: enable or disable WPS v2.0 support
Value:
WscV2Support=1
0: disable
1: enable
6.2 WPS iwpriv command
This section describes parameters set using iwpriv. Please refer to the Readme section for
more general data.
iwpriv ra0 set [parameter]=[Value]
Note: Wireless extension private handlers.
6.2.1 WscConfMode
Description: set WPS conf mode
Value:
iwpriv ra0 set WscConfMode=1
0x0: Disable
0x1: Enrollee
0x2: Proxy
0x4: Registrar
6.2.2 WscConfStatus
Description: Set WPS SC (simple config) state
Value:
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 94 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
iwpriv ra0 set WscConfStatus=1
1: AP is un-configured
2: AP is configured
6.2.3 WscMode
Description: WPS mode, PBC or PIN
Value:
iwpriv ra0 set WscMode=1
1: PIN (Personal Identification Number) Mode
2: PBC (Push Button Communication) Mode
6.2.4 WscStatus
Description: Get WPS Configured Methods.
Value:
iwpriv ra0 set WscStatus=0
0: Not Used
1: Idle
2: WSC Process Fail
3: Start WSC Process
4: Received EAPOL-Start
5: Sending EAP-Req(ID)
6: Receive EAP-Rsp(ID)
7: Receive EAP-Req with wrong WSC SMI Vendor Id
8: Receive EAPReq with wrong WSC Vendor Type
9: Sending EAP-Req(WSC_START)
10: Send M1
11: Received M1
12: Send M2
13: Received M2
14: Received M2D
15: Send M3
16: Received M3
17: Send M4
18: Received M4
19: Send M5
20: Received M5
21: Send M6
22: Received M6
23: Send M7
24: Received M7
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 95 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
25: Send M8
26: Received M8
27: Processing EAP Response (ACK)
28: Processing EAP Request (Done)
29: Processing EAP Response (Done)
30: Sending EAP-Fail
31: WSC_ERROR_HASH_FAIL
32: WSC_ERROR_HMAC_FAIL
33: WSC_ERROR_DEV_PWD_AUTH_FAIL
34: Configured
6.2.5 WscPinCode
Description: Input Enrollee’s Pin Code to AP-Registrar.
Value:
iwpriv ra0 WscPinCode xxxxxxxx
xxxxxxx = {00000000 ~ 99999999}
6.2.6 WscOOB
Description: Reset WPS AP to the OOB (out-of-box) configuration.
Value:
iwpriv ra0 set WscOOB=1
0: disable
1: enable
6.2.7 WscGetConf
Description: Trigger WPS AP to do simple config with WPS Client.
Value:
iwpriv ra0 set WscGetConf=1
0: disable
1: enable
6.2.8 WscGenPinCode
Description: Randomly generate enrollee PIN code
Value:
iwpriv ra0 set WscGenPinCode=1
1
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 96 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
6.2.9 WscVendorPinCode
Description: Input vendor’s Pin Code to AP-Registrar.
Value:
iwpriv ra0 set WscVendorPinCode=xxxxxxxx
xxxxxxxx: 8 digit pin code
6.2.10 WscSecurityMode
Description: Set WPS regitrar’s unconfiguraed -> configuraed security mode.
Value:
iwpriv ra0 set WscSecurityMode=0
0 : WPA2PSK AES
1 : WPA2PSK TKIP
2 : WPAPSK AES
3 : WPAPSK TKIP
6.2.11 WscMultiByteCheck
Description: Set multi byte check is enabled or disabled.
Value:
iwpriv ra0 set WscMultiByteCheck=1
0: disable
1: enable
6.2.12 WscVersion
Description: Set WPS support version
Value:
iwpriv ra0 set WscVersion=10
xx: Hex value
6.2.13 WscVersion2
Description: Set WPS version of V2 support
Value:
iwpriv ra0 set WscVersion2=10
xx: Hex Value
MEDIATEK CONFIDENTIAL
FOR victorlin@ synnex.com.tw USE ONLY
loginid=victorlin@synnex.com.tw,time=2014-07-11 10:02:30,ip=39.12.252.252,doctitle=MTK_Wi-Fi_SoftAP_Software_Programming_Guide_v4.2.pdf,company=Synnex Electronics HK Limited 聯強電子_RLT
MTXXXX
Chip Name
Internal Use
MediaTek Confidential
© 2014 MediaTek Inc. Page 97 of 187
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
6.2.14 WscV2Support
Description: enable or disable WPS V2.0 support
Value:
iwpriv ra0 WscV2Support=1
0: disable
1: enable
6.2.15 WscFragment
Description: enable or disable WPS fragment
Value:
iwpriv ra0 WscFragment=0
0: disable
1: enable
6.2.16 WscFragmentSize
Description: Set the size of WPS fragmentation.
Value:
iwpriv ra0 set WscFragmentSize=128
128~300
6.2.17 WscSetupLock
Description: enable or disable WPS setup lock
Value:
iwpriv ra0 set WscSetupLock=1
0: disable
1: enable
6.2.18 WscSetupLockTime
Description: Configure WPS setup lock time
Value:
iwpriv ra0 set WscSetupLockTime=0