Version: 4.6
Release date: 2015-08-25
© 2008 - 2015 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.
Mediatek Wi-Fi AP Software Programming Guide
MediaTek Confidential
© 2015 MediaTek Inc.
Page 2 of 163
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
Author
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
4.2
2014/07/01
Hughes Kang
Add HT_PROTECT, BASetup, BAOriTearDown,
BARecTearDown, HT_TxStream, HT_RxStream, HtTxStream,
HtRxStream, EntryLifeCheck, WAPI related parameters,
MediaTek Confidential
© 2015 MediaTek Inc.
Page 3 of 163
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.
WscStop
4.3
2014/09/16
Hughes Kang
Add PMF
4.4
2014/10/24
Money Wang
Update
WDS
WMM
PMF
Security
AP-Client
MAC Repeater
IGMP Snooping
MBSSID
How to Fix Data Rate
FAQ
4.5
2015/03/25
Money Wang
Update
WPS
PMF
IEEE802.11h
Authenticator
Add
ACL
4.6
2015/08/25
Money Wang
Update ACS-related parameters
ACS stands for Automatic Channel Selection
Add maximum support rate parameters
Update CountryRegionABand to support Ch144
Update MBSSID chapter
Remove iNIC
MediaTek Confidential
© 2015 MediaTek Inc.
Page 4 of 163
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................................................................................................................................. 15
2 WLAN SoftAP Driver Profile ...................................................................................................... 16
2.1 Sample Profile .................................................................................................................... 16
2.2 Common WLAN Profile Parameters ................................................................................... 18
2.2.1 CountryRegion ................................................................................................... 18
2.2.2 CountryRegionABand......................................................................................... 18
2.2.3 CountryCode ...................................................................................................... 19
2.2.4 ChannelGeography ............................................................................................ 19
2.2.5 SSID ................................................................................................................... 19
2.2.6 WirelessMode ..................................................................................................... 19
2.2.7 Channel .............................................................................................................. 20
2.2.8 AutoChannelSelect............................................................................................. 20
2.2.9 AutoChannelSkipList .......................................................................................... 20
2.2.10 ACSCheckTime .................................................................................................. 21
2.2.11 BasicRate ........................................................................................................... 21
2.2.12 SupportRate ....................................................................................................... 21
2.2.13 SupportHTRate .................................................................................................. 22
2.2.14 BeaconPeriod ..................................................................................................... 22
2.2.15 DtimPeriod .......................................................................................................... 22
2.2.16 TxPower ............................................................................................................. 22
2.2.17 DisableOLBC ...................................................................................................... 23
2.2.18 BGProtection ...................................................................................................... 23
2.2.19 MaxStaNum ........................................................................................................ 23
2.2.20 TxAntenna .......................................................................................................... 23
2.2.21 RxAntenna .......................................................................................................... 23
2.2.22 TxPreamble ........................................................................................................ 24
2.2.23 RTSThreshold .................................................................................................... 24
2.2.24 FragThreshold .................................................................................................... 24
2.2.25 TxBurst ............................................................................................................... 24
2.2.26 PktAggregate ...................................................................................................... 24
2.2.27 NoForwarding ..................................................................................................... 25
2.2.28 NoForwardingBTNBSSID ................................................................................... 25
2.2.29 NoForwardingMBCast ........................................................................................ 25
2.2.30 HideSSID ............................................................................................................ 25
2.2.31 StationKeepAlive ................................................................................................ 25
2.2.32 ShortSlot ............................................................................................................. 26
2.2.33 WirelessEvent .................................................................................................... 26
2.2.34 IdsEnable ........................................................................................................... 26
2.2.35 AuthFloodThreshold ........................................................................................... 26
2.2.36 ReassocReqFloodThreshold .............................................................................. 26
2.2.37 ProbeReqFloodThreshold .................................................................................. 27
2.2.38 DisassocFloodThreshold .................................................................................... 27
MediaTek Confidential
© 2015 MediaTek Inc.
Page 5 of 163
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.2.39 DeauthFloodThreshold ....................................................................................... 27
2.2.40 EapReqFooldThreshold ..................................................................................... 27
2.2.41 HT_HTC ............................................................................................................. 27
2.2.42 HT_RDG ............................................................................................................. 28
2.2.43 HT_EXTCHA ...................................................................................................... 28
2.2.44 HT_LinkAdapt ..................................................................................................... 28
2.2.45 HT_OpMode ....................................................................................................... 28
2.2.46 HT_MpduDensity ................................................................................................ 28
2.2.47 HT_BW ............................................................................................................... 29
2.2.48 HT_PROTECT ................................................................................................... 29
2.2.49 HT_BSSCoexistence.......................................................................................... 29
2.2.50 HT_TxStream ..................................................................................................... 29
2.2.51 HT_RxStream ..................................................................................................... 29
2.2.52 HT_BADecline .................................................................................................... 30
2.2.53 HT_AutoBA ........................................................................................................ 30
2.2.54 HT_AMSDU ........................................................................................................ 30
2.2.55 HT_BAWinSize ................................................................................................... 30
2.2.56 HT_GI ................................................................................................................. 30
2.2.57 HT_MCS ............................................................................................................. 31
2.2.58 HT_MIMOPSMode ............................................................................................. 31
2.2.59 HT_DisallowTKIP ............................................................................................... 31
2.2.60 HT_STBC ........................................................................................................... 31
2.2.61 HT_LDPC ........................................................................................................... 31
2.2.62 VHT_BW ............................................................................................................ 32
2.2.63 VHT_SGI ............................................................................................................ 32
2.2.64 VHT_STBC ......................................................................................................... 32
2.2.65 VHT_BW_SIGNAL ............................................................................................. 32
2.2.66 VHT_LDPC ......................................................................................................... 33
2.2.67 VHT_DisallowNonVHT ....................................................................................... 33
2.2.68 VLANID .............................................................................................................. 33
2.2.69 VLANPriority ....................................................................................................... 33
2.2.70 E2pAccessMode ................................................................................................ 33
2.2.71 EntryLifeCheck ................................................................................................... 34
2.2.72 EtherTrafficBand ................................................................................................ 34
2.3 WAPI Specific ..................................................................................................................... 34
2.3.1 Wapiifname ........................................................................................................ 34
2.3.2 WapiAsCertPath ................................................................................................. 34
2.3.3 WapiAsIpAddr .................................................................................................... 34
2.3.4 WapiAsPort ........................................................................................................ 35
2.3.5 WapiMskRekeyMethod ...................................................................................... 35
2.3.6 WapiMskRekeyThreshold .................................................................................. 35
2.3.7 WapiPsk1 ........................................................................................................... 35
2.3.8 WapiPskType ..................................................................................................... 35
2.3.9 WapiUserCertPath ............................................................................................. 35
2.3.10 WapiUskRekeyMethod ....................................................................................... 36
2.3.11 WapiUskRekeyThreshold ................................................................................... 36
3 WLAN SoftAP Driver iwpriv set command .............................................................................. 37
3.1.1 Debug ................................................................................................................. 37