没有合适的资源?快使用搜索试试~ 我知道了~
首页MTK_Wi-Fi_STA_Software_Programming_Guide_v1.2.pdf
资源详情
资源评论
资源推荐

Version: 1.2
Release date: 2013-01-23
© 2008 - 2013 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 STA Software Programming Guide

MediaTek Confidential
© 2012 - 2013 MediaTek Inc.
Page 2 of 85
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/10/29
Pan Liu
Initial Version
1.1
2012/10/31
Pan Liu
Add sample code
1.2
2013/01/23
Pan Liu
Update WirelessMode, Add profile item VHT_BW, iwpriv items
VhtBW and VhtStbc, and SingleSKU example file

MediaTek Confidential
© 2012 - 2013 MediaTek Inc.
Page 3 of 85
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 ................................................................................................................................... 3
1 Introduction................................................................................................................................... 8
2 Wi-Fi STA driver Profile Default Setting ..................................................................................... 9
2.1 WLAN Profile Description ................................................................................................... 10
2.1.1 CountryRegion ................................................................................................... 10
2.1.2 CountryRegionForABand ................................................................................... 11
2.1.3 CountryCode ...................................................................................................... 11
2.1.4 ChannelGeography ............................................................................................ 11
2.1.5 SSID ................................................................................................................... 11
2.1.6 NetworkType ...................................................................................................... 12
2.1.7 WirelessMode ..................................................................................................... 12
2.1.8 Channel .............................................................................................................. 12
2.1.9 BeaconPeriod ..................................................................................................... 12
2.1.10 TxPower ............................................................................................................. 13
2.1.11 BGProtection ...................................................................................................... 13
2.1.12 TxPreamble ........................................................................................................ 13
2.1.13 RTSThreshold .................................................................................................... 13
2.1.14 FragThreshold .................................................................................................... 13
2.1.15 TxBurst ............................................................................................................... 13
2.1.16 PktAggregate ...................................................................................................... 14
2.1.17 WmmCapable ..................................................................................................... 14
2.1.18 AckPolicy ............................................................................................................ 14
2.1.19 AuthMode ........................................................................................................... 14
2.1.20 EncrypType ........................................................................................................ 15
2.1.21 WPAPSK ............................................................................................................ 15
2.1.22 DefaultKeyID ...................................................................................................... 15
2.1.23 Key1Type ........................................................................................................... 15
2.1.24 Key1Str ............................................................................................................... 15
2.1.25 Key2Type ........................................................................................................... 15
2.1.26 Key2Str ............................................................................................................... 16
2.1.27 Key3Type ........................................................................................................... 16
2.1.28 Key3Str ............................................................................................................... 16
2.1.29 Key4Type ........................................................................................................... 16
2.1.30 Key4Str ............................................................................................................... 16
2.1.31 PSMode .............................................................................................................. 17
2.1.32 AutoRoaming ...................................................................................................... 17
2.1.33 RoamThreshold .................................................................................................. 17
2.1.34 APSDCapable .................................................................................................... 17
2.1.35 APSDAC ............................................................................................................. 17
2.1.36 FixedTxMode ...................................................................................................... 17
2.1.37 HT_RDG ............................................................................................................. 18
2.1.38 HT_EXTCHA ...................................................................................................... 18
2.1.39 HT_OpMode ....................................................................................................... 18

MediaTek Confidential
© 2012 - 2013 MediaTek Inc.
Page 4 of 85
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.40 HT_MpduDensity ................................................................................................ 18
2.1.41 HT_BW ............................................................................................................... 19
2.1.42 HT_BADecline .................................................................................................... 19
2.1.43 HT_AutoBA ........................................................................................................ 19
2.1.44 HT_AMSDU ........................................................................................................ 19
2.1.45 HT_BAWinSize ................................................................................................... 19
2.1.46 HT_GI ................................................................................................................. 20
2.1.47 HT_MCS ............................................................................................................. 20
2.1.48 HT_MIMOPSMode ............................................................................................. 20
2.1.49 HT_DisallowTKIP ............................................................................................... 20
2.1.50 HT_STBC ........................................................................................................... 20
2.1.51 VHT_BW ............................................................................................................ 21
2.1.52 IEEE80211H ....................................................................................................... 21
2.1.53 WirelessEvent .................................................................................................... 21
2.1.54 CarrierDetect ...................................................................................................... 21
2.1.55 AntDiversity ........................................................................................................ 21
2.1.56 BeaconLostTime ................................................................................................ 22
2.1.57 PSP_XLINK_MODE ........................................................................................... 22
2.1.58 WscManufacturer ............................................................................................... 22
2.1.59 WscModelName ................................................................................................. 22
2.1.60 WscDeviceName ................................................................................................ 22
2.1.61 WscModelNumber .............................................................................................. 22
2.1.62 WscSerialNumber .............................................................................................. 23
2.1.63 RadioOn ............................................................................................................. 23
2.1.64 Wsc4digitPinCode .............................................................................................. 23
3 Wi-Fi STA driver iwpriv command ............................................................................................ 24
3.1 Debug ................................................................................................................................. 24
3.2 DriverVersion ...................................................................................................................... 24
3.3 CountryRegion .................................................................................................................... 24
3.4 CountryRegionABand ......................................................................................................... 25
3.5 SSID ................................................................................................................................... 25
3.6 WirelessMode ..................................................................................................................... 25
3.7 TxBurst ............................................................................................................................... 26
3.8 TxPreamble ........................................................................................................................ 26
3.9 TxPower .............................................................................................................................. 26
3.10 Channel .............................................................................................................................. 26
3.11 BGProtection ...................................................................................................................... 26
3.12 RTSThreshold..................................................................................................................... 27
3.13 FragThreshold .................................................................................................................... 27
3.14 HtBw ................................................................................................................................... 27
3.15 HtMcs .................................................................................................................................. 27
3.16 HtGi ..................................................................................................................................... 27
3.17 HtOpMode .......................................................................................................................... 28
3.18 HtStbc ................................................................................................................................. 28
3.19 HtExtcha ............................................................................................................................. 28
3.20 HtMpduDensity ................................................................................................................... 28
3.21 HtBaWinSize....................................................................................................................... 28
3.22 HtRdg .................................................................................................................................. 29

MediaTek Confidential
© 2012 - 2013 MediaTek Inc.
Page 5 of 85
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.23 HtAmsdu ............................................................................................................................. 29
3.24 HtAutoBa ............................................................................................................................ 29
3.25 HtBaDecline ........................................................................................................................ 29
3.26 HtProtect ............................................................................................................................. 29
3.27 HtMimoPs ........................................................................................................................... 30
3.28 HtDisallowTKIP ................................................................................................................... 30
3.29 HtBssCoex .......................................................................................................................... 30
3.30 VhtBw ................................................................................................................................. 30
3.31 VhtStbc ............................................................................................................................... 30
3.32 PktAggregate ...................................................................................................................... 31
3.33 WmmCapable ..................................................................................................................... 31
3.34 IEEE80211H ....................................................................................................................... 31
3.35 NetworkType....................................................................................................................... 31
3.36 AuthMode ........................................................................................................................... 31
3.37 EncrypType......................................................................................................................... 32
3.38 DefaultKeyID....................................................................................................................... 32
3.39 Key1 .................................................................................................................................... 32
3.40 Key2 .................................................................................................................................... 32
3.41 Key3 .................................................................................................................................... 33
3.42 Key4 .................................................................................................................................... 33
3.43 WPAPSK ............................................................................................................................ 33
3.44 ResetCounter...................................................................................................................... 33
3.45 PSMode .............................................................................................................................. 33
3.46 FixedTXMode ..................................................................................................................... 34
3.47 BeaconLostTime ................................................................................................................. 34
3.48 AutoRoaming ...................................................................................................................... 34
3.49 SiteSurvey .......................................................................................................................... 34
3.50 AutoReconnect ................................................................................................................... 34
3.51 AdhocN ............................................................................................................................... 35
4 iwpriv ra0 usage ......................................................................................................................... 36
4.1 connStatus .......................................................................................................................... 36
4.2 driverVer ............................................................................................................................. 36
4.3 bainfo .................................................................................................................................. 36
4.4 rxbulk .................................................................................................................................. 36
4.5 txbulk .................................................................................................................................. 36
4.6 radio_off .............................................................................................................................. 36
4.7 radio_on .............................................................................................................................. 37
4.8 get_site_survey .................................................................................................................. 37
4.9 stat ...................................................................................................................................... 37
4.10 bbp (Debug only) ................................................................................................................ 37
4.11 mac (Debug only) ............................................................................................................... 37
4.12 rf (Debug only) .................................................................................................................... 38
4.13 e2p (Debug only) ................................................................................................................ 38
5 iwpriv ra0 show command ........................................................................................................ 39
6 iwpriv examples .......................................................................................................................... 40
6.1 Infrastructure Security Mode .............................................................................................. 40
6.1.1 OPEN/NONE ...................................................................................................... 40
剩余84页未读,继续阅读















安全验证
文档复制为VIP权益,开通VIP直接复制

评论0