版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
2.1.40
2.1.41
2.1.42
2.1.43
2.1.44
2.1.45
2.1.46
2.1.47
2.1.48
2.1.49
2.1.50
2.1.51
2.1.52
2.1.53
2.1.54
2.1.55
2.1.56
2.1.57
2.1.58
2.1.59
2.1.60
2.1.61
2.1.62
2.1.63
HT_MpduDensity 18
HT_BW 19
HT_BADecline 19
HT_AutoBA 19
HT_AMSDU 19
HT_BAWinSize 19
HT_GI 20
HT_MCS 20
HT_MIMOPSMode 20
HT_DisallowTKIP 20
HT_STBC 20
IEEE80211H 21
WirelessEvent 21
CarrierDetect 21
AntDiversity 21
BeaconLostTime 21
PSP_XLINK_MODE 22
WscManufacturer 22
WscModelName 22
WscDeviceName 22
WscModelNumber 22
WscSerialNumber 22
RadioOn 23
Wsc4digitPinCode 23
3
Wi-FiSTAdriveriwprivcommand 24
3.1
3.2
3.3
3.4
3.5
3.6
3.7
3.8
3.9
3.10
3.11
3.12
3.13
3.14
3.15
3.16
3.17
3.18
3.19
3.20
3.21
3.22
3.23
Debug 24
DriverVersion 24
CountryRegion 24
CountryRegionABand 25
SSID 25
WirelessMode 25
TxBurst 26
TxPreamble 26
TxPower 26
Channel 26
BGProtection 26
RTSThreshold 27
FragThreshold 27
HtBw 27
HtMcs 27
HtGi 27
HtOpMode 28
HtStbc 28
HtExtcha 28
HtMpduDensity 28
HtBaWinSize 28
HtRdg 29
HtAmsdu 29
MediaTekConfidential
©2012MediaTekInc.
ThisdocumentcontainsinformationthatisproprietarytoMediaTekInc.
Page4of82
Unauthorizedreproductionordisclosureofthisinformationinwholeorinpartisstrictlyprohibited.
3.24
3.25
3.26
3.27
3.28
3.29
3.30
3.31
3.32
3.33
3.34
3.35
3.36
3.37
3.38
3.39
3.40
3.41
3.42
3.43
3.44
3.45
3.46
3.47
3.48
3.49
HtAutoBa 29
HtBaDecline 29
HtProtect 29
HtMimoPs 30
HtDisallowTKIP 30
HtBssCoex 30
PktAggregate 30
WmmCapable 30
IEEE80211H 31
NetworkType 31
AuthMode 31
EncrypType 31
DefaultKeyID 32
Key1 32
Key2 32
Key3 32
Key4 32
WPAPSK 32
ResetCounter 33
PSMode 33
FixedTXMode 33
BeaconLostTime 33
AutoRoaming 33
SiteSurvey 34
AutoReconnect 34
AdhocN 34
4
iwprivra0usage 35
4.1
4.2
4.3
4.4
4.5
4.6
4.7
4.8
4.9
4.10
4.11
4.12
4.13
connStatus 35
driverVer 35
bainfo 35
rxbulk 35
txbulk 35
radio_off 35
radio_on 36
get_site_survey 36
stat 36
bbp(Debugonly) 36
mac(Debugonly) 36
rf(Debugonly) 37
e2p(Debugonly) 37
5
6
iwprivra0showcommand 38
iwprivexamples 39
6.1
InfrastructureSecurityMode 39
6.1.1
6.1.2
6.1.3
6.1.4
OPEN/NONE 39
SHARED/WEP 39
WPAPSK/TKIP 39
WPAPSK/AES 39
MediaTekConfidential
©2012MediaTekInc.
ThisdocumentcontainsinformationthatisproprietarytoMediaTekInc.
Page5of82
Unauthorizedreproductionordisclosureofthisinformationinwholeorinpartisstrictlyprohibited.
6.1.5
WPA2PSK/TKIP 40
6.2
Ad-hocmode 40
6.2.1
6.2.2
OPEN/NONE 40
WPANONE/TKIP 40
6.3
6.4
6.5
GetSiteSurveyresult 40
GetWLANStatistics 40
ToLinkwithAP 41
7
WPSWi-FiPROTECTEDSETUP 42
7.1
WPSiwprivcommand 42
7.1.1
7.1.2
7.1.3
7.1.4
7.1.5
7.1.6
7.1.7
7.1.8
7.1.9
7.1.10
7.1.11
7.1.12
7.1.13
7.1.14
7.1.15
7.1.16
7.1.17
7.1.18
7.1.19
wsc_conf_mode 42
wsc_mode 43
wsc_pin 43
wsc_ssid 43
wsc_bssid 43
wsc_start 43
wsc_stop 43
wsc_gen_pincode 44
wsc_cred_count 44
wsc_cred_ssid 44
wsc_cred_auth 44
wsc_cred_encr 44
wsc_cred_keyIdx 45
wsc_cred_key 45
wsc_cred_mac 45
wsc_conn_by_idx 45
wsc_auto_conn 46
wsc_ap_band 46
Wsc4digitPinCode 46
7.2
WPSSTAasanEnrolleeorRegistrar 46
7.2.1
7.2.2
EnrolleeMode 46
PBCmode 47
7.3
RegistrarMode 47
7.3.1
7.3.2
PINMode 47
PBCMode 48
7.4
WPSCommand&OIDExample 48
7.4.1
7.4.2
7.4.3
Iwprivcommandwithoutargument 48
IwprivcommandwithoneINTargument 49
Iwprivcommandwithstringargument 49
7.5
WPSOIDSampleProgram 50
8
Wi-FiDIRECT(P2P) 52
8.1
Wi-FiDIRECTiwprivCommand 52
8.1.1
8.1.2
8.1.3
8.1.4
8.1.5
8.1.6
P2pOpMode 52
p2pEnable 53
p2pScan 53
p2pTable 53
p2pGoInt 53
p2pDevName 53
MediaTekConfidential
©2012MediaTekInc.
ThisdocumentcontainsinformationthatisproprietarytoMediaTekInc.
Page6of82
Unauthorizedreproductionordisclosureofthisinformationinwholeorinpartisstrictlyprohibited.
8.1.7
8.1.8
8.1.9
8.1.10
8.1.11
8.1.12
8.1.13
8.1.14
8.1.15
8.1.16
8.1.17
8.1.18
8.1.19
p2pWscMode 53
p2pWscConf 54
p2pLisCh 54
p2pOpCh 54
p2pLink 54
p2pInv 54
p2pProv 55
p2pCfg 55
p2pStat 55
p2pReset 55
p2pDefConfMthd 55
p2pDevDisc 55
p2pLinkDown 56
8.2
P2PExampleiwprivcommand 56
8.2.1
8.2.2
8.2.3
8.2.4
8.2.5
8.2.6
ConfigureWLANdriverasAutonomousGO 56
ConfigureWLANdriverasAutonomousGOstartWPSPBC 56
ConfigureWLANdriverasautonomousGOstartWPSPIN-Display 57
ConfigureWLANdriverasautonomousGOstartWPSPIN-KeyPad 57
ConfigureWLANdriverasP2PdevicestartWPSPIN-Display 58
ConfigureWLANdriverasP2PdevicestartWPSPBC 58
9
OIDprogramming 60
9.1
9.2
9.3
9.4
OIDSetData 60
OIDGetData 60
OIDsetRawDatawithflags 60
OIDGetRawDatawithFlags 65
10
IOCTLSampleCode 70
10.1
10.2
10.3
10.4
Checkconnectionstatus 70
PollingWPSstatus 72
Sitesurvey 73
DisplayRateandBW 81
MediaTekConfidential
©2012MediaTekInc.
ThisdocumentcontainsinformationthatisproprietarytoMediaTekInc.
Page7of82
Unauthorizedreproductionordisclosureofthisinformationinwholeorinpartisstrictlyprohibited.
1
Introduction
ThisdocumentistheSoftwareprogrammingguideforMediatekWi-FiSTAdriver.TheSoftwareProgrammingguidecoversprofilesetting,commandlist,andOIDexamplestodemonstratehowto
programmingtheWLANdriver.
MediaTekConfidential
©2012MediaTekInc.
ThisdocumentcontainsinformationthatisproprietarytoMediaTekInc.
Page8of82
Unauthorizedreproductionordisclosureofthisinformationinwholeorinpartisstrictlyprohibited.
2
Wi-FiSTAdriverProfileDefaultSetting
#Thewordof"Default"mustnotberemoved
DefaultCountryRegion=5CountryRegionABand=7CountryCode=ChannelGeography=1SSID=11n-AP
NetworkType=InfraWirelessMode=5Channel=0BeaconPeriod=100TxPower=100BGProtection=0TxPreamble=0RTSThreshold=2347FragThreshold=2346TxBurst=1PktAggregate=0WmmCapable=1AckPolicy=0;0;0;0AuthMode=OPENEncrypType=NONEWPAPSK=
DefaultKeyID=1Key1Type=0Key1Str=Key2Type=0Key2Str=Key3Type=0Key3Str=Key4Type=0Key4Str=PSMode=CAMAutoRoaming=0RoamThreshold=70APSDCapable=0APSDAC=0;0;0;0HT_RDG=1HT_EXTCHA=0
HT_OpMode=0HT_MpduDensity=4HT_BW=1
HT_AutoBA=1HT_BADecline=0HT_AMSDU=0
HT_BAWinSize=64HT_GI=1HT_MCS=33HT_MIMOPSMode=3
HT_DisallowTKIP=1
HT_STBC=0
MediaTekConfidential
©2012MediaTekInc.
ThisdocumentcontainsinformationthatisproprietarytoMediaTekInc.
Page9of82
Unauthorizedreproductionordisclosureofthisinformationinwholeorinpartisstrictlyprohibited.
IEEE80211H=0
WirelessEvent=0CarrierDetect=0AntDiversity=0BeaconLostTime=4PSP_XLINK_MODE=0
WscManufacturer=WscModelName=WscDeviceName=WscModelNumber=WscSerialNumber=RadioOn=1
Wsc4digitPinCode=0
2.1
WLANProfileDescription
Syntaxis'Param'='Value'anddescribesbelow.
SectionNumber
ParamValue
...
...
...
TheWLANdriverneedstoberestart,afterWLANprofilehasbeenmodified.Otherwisesettingswillnottakeanyeffect.
Ainterfacedown/upcoulddothat.EX:
ifconfigra0downifconfigra0up
2.1.1
CountryRegion
Description:CountryregionforWLANradio2.4GHZregulation.Value:
CountryRegion=5
MediaTekConfidential
©2012MediaTekInc.
ThisdocumentcontainsinformationthatisproprietarytoMediaTekInc.
Page10of82
Unauthorizedreproductionordisclosureofthisinformationinwholeorinpartisstrictlyprohibited.
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-11activescan,12and13passivescan
33
1-14allactivescan,14bmodeonly
2.1.2
CountryRegionForABand
Description:CountryregionforWLANradio5GHZregulation.Value:
CountryRegionABand=7
2.1.3
CountryCode
Description:CountyCodeforWLANradioregulation.Value:(Defaultisempty)
CountryCode=
2characters,likeTWforTaiwan.
PleaserefertoISO3166codelistforothercountriesandcanbefoundat
/iso/prods-services/iso3166ma/02iso-3166-code-
lists/country_names_and_code_elements
Note:
1.
2.
ThisparametercanbesetfromEEPRMorEFUSE.EEPROM/EFUSEhashigherprioritythantheWLANProfile.
2.1.4
ChannelGeography
Description:ForChannellistbuilderValue:
ChannelGeography=10:Outdoor
1:Indoor
2:Both
2.1.5
SSID
Description:ThetargetBSSIDstringname
MediaTekConfidential
©2012MediaTekInc.
ThisdocumentcontainsinformationthatisproprietarytoMediaTekInc.
Page11of82
Unauthorizedreproductionordisclosureofthisinformationinwholeorinpartisstrictlyprohibited.
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
Value:
SSID=11n-AP
0~z,1~32ASCIIcharacters.
2.1.6
NetworkType
Description:NetworktypeValue:
NetworkType=Infra
Infra:infrastructuremodeAdhoc:adhocmode
2.1.7
WirelessMode
Description:WirelessModeValue:
WirelessMode=5
0:legacy11b/gmixed1:legacy11Bonly
2:legacy11Aonly
3:legacy11a/b/gmixed4:legacy11Gonly
5:11ABGNmixed
6:11Nonly
7:11GNmixed
8:11ANmixed
9:11BGNmixed
10:11AGNmixed
11:11Nonlyin5Gbandonly
14:11A/AN/ACmixed5Gbandonly(Only11ACchipsetsupport)
2.1.8
Channel
Description:WLANRadiochannel(2.4GBandor5Gband)Value:
Channel=0
DependsonCountryRegionorCountryRegionForABand.
Defaultvalue=0,thedriverscanBSSID’schannelautomatically.
2.1.9
BeaconPeriod
Description:Beaconperiodsetting(ItisSoftAPonly)Value:
BeaconPeriod=100
MediaTekConfidential
©2012MediaTekInc.
ThisdocumentcontainsinformationthatisproprietarytoMediaTekInc.
Page12of82
Unauthorizedreproductionordisclosureofthisinformationinwholeorinpartisstrictlyprohibited.
2.1.10
TxPower
Description:WLANRadioTransmitPowersettinginpercentageValue:
TxPower=100
0~100
2.1.11
BGProtection
Description:Enable/disableWLAN11Bor11GprotectionValue:
BGProtection=0
0:disable
1:enable
2.1.12
TxPreamble
Description:EnableordisableTxpreambleValue:
TxPreamble=0
0:disable
1:enable
2.1.13
RTSThreshold
Description:SetRTSThresholdValue:
RTSThreshold=2347
1~2347
2.1.14
FragThreshold
Description:SetFragmentthresholdValue:
FragThreshold=2346
256~2346
2.1.15
TxBurst
Description:EnableordisableTxburst
Value:
MediaTekConfidential
©2012MediaTekInc.
ThisdocumentcontainsinformationthatisproprietarytoMediaTekInc.
Page13of82
Unauthorizedreproductionordisclosureofthisinformationinwholeorinpartisstrictlyprohibited.
TxBurst=1
0:disable
1:enable
2.1.16
PktAggregate
Description:EnableordisableTxAggregateValue:
PktAggregate=0
0:disable
1:enable
2.1.17
WmmCapable
Description:EnableordisableWMMQOSfunctionValue:
WmmCapable=1
0:disable
1:enable
2.1.18
AckPolicy
Description:AckpolicysupportsnormalAckornoAck(AC_BK,AC_BE,AC_VI,AC_VO)Value:
AckPolicy=0;0;0;0
0:Noack
1:normalAck
2.1.19
AuthMode
Description:WLANsecurityAuthenticationmodeValue:
AuthMode=OPEN
OPENSHAREDWEPAUTOWPAPSKWPA2PSKWPANONEWPAWPA2
Foropensystem
Forsharedkeysystem
AutoswitchbetweenOPENandSHAREDForWPApre-sharedkey(Infra)
ForWPA2pre-sharedkey(Infra)ForWPApre-sharedkey(Adhoc)
Forenterprisemode(Needwpa_supplicant)Forenterprisemode(Needwpa_supplicant)
MediaTekConfidential
©2012MediaTekInc.
ThisdocumentcontainsinformationthatisproprietarytoMediaTekInc.
Page14of82
Unauthorizedreproductionordisclosureofthisinformationinwholeorinpartisstrictlyprohibited.
2.1.20
EncrypType
Description:WLANsecurityEncryptiontypeValue:
EncrypType=NONE
NONEWEPTKIPAES
ForAuthMode=OPEN
ForAuthMode=OPENorAuthMode=SHAREDForAuthMode=WPAPSKorWPA2PSK
ForAuthMode=WPAPSKorWPA2PSK
2.1.21
WPAPSK
Description:WLANSecuritystringfor(TKIP/AES)Value:
WPAPSK=
8~63ASCII
Or
64HEXcharacters
2.1.22
DefaultKeyID
Description:DefaultkeyIDValue:
DefaultKeyID=1
1~4
2.1.23
Key1Type
Description:Key1typeValue:
Key1Type=0
0:
1:
HexadecimaltypeASCIItype
2.1.24
Key1Str
Description:Key1stringValue:
Key1Str=
10or26characters(keytype=0)
5or13characters(keytype=1)
2.1.25
Key2Type
Description:Key2type
MediaTekConfidential
©2012MediaTekInc.
ThisdocumentcontainsinformationthatisproprietarytoMediaTekInc.
Page15of82
Unauthorizedreproductionordisclosureofthisinformationinwholeorinpartisstrictlyprohibited.
Value:
Key2Type=0
0:
1:
HexadecimaltypeASCIItype
2.1.26
Key2Str
Description:Key2stringValue:
Key2Str=
10or26characters(keytype=0)
5or13characters(keytype=1)
2.1.27
Key3Type
Description:Key3typeValue:
Key3Type=0
0:
1:
HexadecimaltypeASCIItype
2.1.28
Key3Str
Description:Key3stringValue:
Key3Str=
10or26characters(keytype=0)
5or13characters(keytype=1)
2.1.29
Key4Type
Description:Key4typeValue:
Key4Type=0
0:
1:
HexadecimaltypeASCIItype
2.1.30
Key4Str
Description:Key4stringValue:
Key4Str=
10or26characters(keytype=0)
5or13characters(keytype=1)
MediaTekConfidential
©2012MediaTekInc.
ThisdocumentcontainsinformationthatisproprietarytoMediaTekInc.
Page16of82
Unauthorizedreproductionordisclosureofthisinformationinwholeorinpartisstrictlyprohibited.
2.1.31
PSMode
Description:WLANPowerSavingmodeValue:
PSMode=CAM
CAM
Max_PSPFast_PSPLegacy_PSP
ConstantlyAwakeModeMaxPowerSaving
FastPowerSavingLegacyPowerSaving
2.1.32
AutoRoaming
Description:EnableordisableWLANdriverautoroamingbetweenAPs.Value:
AutoRoaming=0
0:disable
1:enable
2.1.33
RoamThreshold
Description:WLANRoamingRSSIthresholdValue:
RoamThreshold=70
2.1.34
APSDCapable
Description:EnableordisableAPSDCapablesupportValue:
APSDCapable=0
0:disable
1:enable
2.1.35
APSDAC
Description:EnableordisableAPSDaccesscontrolValue:
APSDAC=0;0;0;0
0:disable
1:enable
2.1.36
FixedTxMode
Description:FixTransmitmode
Value:
MediaTekConfidential
©2012MediaTekInc.
ThisdocumentcontainsinformationthatisproprietarytoMediaTekInc.
Page17of82
Unauthorizedreproductionordisclosureofthisinformationinwholeorinpartisstrictlyprohibited.
FixedTxMode=ofdm
CCKOFDM
HT
2.1.37
HT_RDG
Description:EnableordisableHTReverseDirectionGrantValue:
HT_RDG=1
0:disable
1:enable
2.1.38
HT_EXTCHA
Description:Tolocatethe40MHzchannelincombinationwiththecontrolValue:
HT_EXTCHA=0
0:Below
1:Above
2.1.39
HT_OpMode
Description:HToperationmodeValue:
HT_OpMode=0
0:HTmixedmode
1:HTGreenfieldmode
2.1.40
HT_MpduDensity
Description:MinimumseparationofMPDUsinanA-MPDUValue:
HT_MpduDensity=4
0~7
0:norestriction
1:1/4μs
2:1/2μs
3:1μs
4:2μs
5:4μs
6:8μs
7:16μs
MediaTekConfidential
©2012MediaTekInc.
ThisdocumentcontainsinformationthatisproprietarytoMediaTekInc.
Page18of82
Unauthorizedreproductionordisclosureofthisinformationinwholeorinpartisstrictlyprohibited.
2.1.41
HT_BW
Description:HTchannelBandwidthValue:
HT_BW=1
0:20MHz
1:40MHz
2.1.42
HT_BADecline
Description:EnableordisabledeclineBlockAcktopeerValue:
HT_BADecline=0
0:disable
1:enable
2.1.43
HT_AutoBA
Description:EnableordisableautobuildBlockAcksectionwithpeerValue:
HT_AutoBA=1
0:disable
1:enable
2.1.44
HT_AMSDU
Description:EnableordisableAMSDUsectionValue:
HT_AMSDU=0
0:disable
1:enable
2.1.45
HT_BAWinSize
Description:BlockAckwindowsizeValue:
HT_BAWinSize=64
1~64
MediaTekConfidential
©2012MediaTekInc.
ThisdocumentcontainsinformationthatisproprietarytoMediaTekInc.
Page19of82
Unauthorizedreproductionordisclosureofthisinformationinwholeorinpartisstrictlyprohibited.
2.1.46
HT_GI
Description:HTGuardintervalsupportValue:
HT_GI=1
0:Longguardinterval
1:shortguardinterval
2.1.47
HT_MCS
Description:WLANModulationandCodingScheme(MCS)Value:
HT_MCS=33
0~15,32:FixMCSrateforHTrate.33:AutoRateAdaption,recommended
2.1.48
HT_MIMOPSMode
Description:802.11nSMpowersavemodeValue:
HT_MIMOPSMode=3
0:StaticSMPowerSaveMode2:Reserved
1:DynamicSMPowerSaveMode3:SMenabled
(notfullysupportyet)
2.1.49
HT_DisallowTKIP
Description:Enableordisable11Nratewith11NAPwhencipherisTKIPorWEPValue:
HT_DisallowTKIP=1
0:disable
1:enable
2.1.50
HT_STBC
Description:EnableordisableHTSTBCsupportValue:
HT_STBC=0
0:disable
1:enable
MediaTekConfidential
©2012MediaTekInc.
ThisdocumentcontainsinformationthatisproprietarytoMediaTekInc.
Page20of82
Unauthorizedreproductionordisclosureofthisinformationinwholeorinpartisstrictlyprohibited.
2.1.51
IEEE80211H
Description:EnableordisableIEEE802.11hfunction.Spectrummanagement.ThisfieldcanonlybeenabledinAband.
Value:
IEEE80211H=0
0:disable
1:enable
2.1.52
WirelessEvent
Description:EnableordisabledrivertosendLinuxWirelesseventsupport.Value:
WirelessEvent=0
0:disable
1:enable
2.1.53
CarrierDetect
Description:EnableordisablecarrierdetectionValue:
CarrierDetect=0
0:disable
1:enable
2.1.54
AntDiversity
Description:Enableordisableantennadiversity(only1x1support,pleaseconfirmHWfirst)Value:
AntDiversity=0
0:disable
1:enable
2.1.55
BeaconLostTime
Description:Beconlosttime=4secondsthendisconnectwithAP.Value:
BeaconLostTime=4
1~60
MediaTekConfidential
©2012MediaTekInc.
ThisdocumentcontainsinformationthatisproprietarytoMediaTekInc.
Page21of82
Unauthorizedreproductionordisclosureofthisinformationinwholeorinpartisstrictlyprohibited.
2.1.56
PSP_XLINK_MODE
Description:EnableordisableXLINKmodeValue:
PSP_XLINK_MODE=0
0:disable
1:enable
2.1.57
WscManufacturer
Description:WPSmanufacturerstringValue:
WscManufacturer=
Lessthan64characters
2.1.58
WscModelName
Description:WPSModenamestringValue:
WscModelName=
Lessthan32characters
2.1.59
WscDeviceName
Description:WPSDevicenamestringValue:
WscDeviceName=
Lessthan32characters
2.1.60
WscModelNumber
Description:WPSDevicemodelnumberstringValue:
WscModelNumber=
Lessthan32characters
2.1.61
WscSerialNumber
Description:WPSserialnumberstringValue:
WscSerialNumber=
MediaTekConfidential
©2012MediaTekInc.
ThisdocumentcontainsinformationthatisproprietarytoMediaTekInc.
Page22of82
Unauthorizedreproductionordisclosureofthisinformationinwholeorinpartisstrictlyprohibited.
Lessthan32characters
2.1.62
RadioOn
Description:EnableordisableRFValue:
RadioOn=1
0:disable
1:enable
2.1.63
Wsc4digitPinCode
Description:WPS4digitpincodestringValue:
Wsc4digitPinCode=0
4digit
MediaTekConfidential
©2012MediaTekInc.
ThisdocumentcontainsinformationthatisproprietarytoMediaTekInc.
Page23of82
Unauthorizedreproductionordisclosureofthisinformationinwholeorinpartisstrictlyprohibited.
3
Wi-FiSTAdriveriwprivcommand
Syntaxisiwprivra0set[parameters]=[Value]
Note:Executeoneiwpriv/setcommandatatime.
3.1
Debug
Description:configWLANdriverDebuglevel.Value:
iwprivra0setDebug=3
0~5
0:DebugOff
1:DebugError
2:DebugWarning
3:DebugTrace
4:DebugInfo
5:DebugLoud
3.2
DriverVersion
Description:Checkdriverversionbyiwprivcommand.(Needtoenabledebugmode)Value:
iwprivra0setDriverVersion=0
Anyvalue
3.3
CountryRegion
Description:SetCountryRegionValue:
iwprivra0setCountryRegion=1
MediaTekConfidential
©2012MediaTekInc.
ThisdocumentcontainsinformationthatisproprietarytoMediaTekInc.
Page24of82
Unauthorizedreproductionordisclosureofthisinformationinwholeorinpartisstrictlyprohibited.
Region
Channels
0
1-11
1
1-13
2
10-11
3
4
10-13
14
5
1-14
6
3-9
7
5-13
3.4
CountryRegionABand
Description:SetCountryRegionfor5GHzWLANregulationValue:
iwprivra0setCountryRegionABand=7
3.5
SSID
Description:SetAPSSIDValue:
iwprivra0setSSID=11n-AP
0~z,1~32ASCIIcharacters
3.6
WirelessMode
Description:SetWLANmodeValue:
iwprivra0setWirelessMode=5
0:legacy11b/gmixed1:legacy11Bonly
2:legacy11Aonly
3:legacy11a/b/gmixed4:legacy11Gonly
5:11ABGNmixed
6:11Nonly
MediaTekConfidential
©2012MediaTekInc.
Page25of82
ThisdocumentcontainsinformationthatisproprietarytoMediaTekInc.
Unauthorizedreproductionordisclosureofthisinformationinwholeorinpartisstrictlyprohibited.
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
31
1-14
32
1-11activescan,12and13passivescan
33
1-14allactivescan,14bmodeonly
7:11GNmixed
8:11ANmixed
9:11BGNmixed
10:11AGNmixed
11:11Nonlyin5Gbandonly
14:11A/AN/ACmixed5Gbandonly(Only11ACchipsetsupport)
3.7
TxBurst
Description:EnableordisableTxBurstValue:
iwprivra0setTxBurst=1
0:disable
1:enable
3.8
TxPreamble
Description:EnableordisableTxPreamleValue:
iwprivra0setTxPreamble=0
0:disable
1:enable
3.9
TxPower
Description:SetTransmitPowerbypercentageValue:
iwprivra0setTxPower=100
0~100
3.10
Channel
Description:SetWLANChannelValue:
iwprivra0setChannel=6
Pleasefollow2.4Gor5GbandregulationonWLANradiochannel.
3.11
BGProtection
Description:Enableordisable11B,11GprotectionValue:
iwprivra0setBGProtection=0
MediaTekConfidential
©2012MediaTekInc.
ThisdocumentcontainsinformationthatisproprietarytoMediaTekInc.
Page26of82
Unauthorizedreproductionordisclosureofthisinformationinwholeorinpartisstrictlyprohibited.
0:disable
1:enable
3.12
RTSThreshold
Description:SetRTSThresholdValue:
iwprivra0setRTSThreshold=2347
1~2347
3.13
FragThreshold
Description:SetFragmentthresholdValue:
iwprivra0setFragThreshold=2346
256~2346
3.14
HtBw
Description:SetHTWLANBandwidthValue:
iwprivra0setHtBw=1
0:20MHz
1:40MHz
3.15
HtMcs
Description:SetWLANModulationandCodingScheme(MCS)Value:
iwprivra0setHtMcs=33
0~15,32:FixMCSrateforHTrate.33:AutoRateAdaption,recommended
3.16
HtGi
Description:SetWLANGuardintervalsupportValue:
iwprivra0setHtGi=1
0:longguardinterval
1:shortguardinterval
MediaTekConfidential
©2012MediaTekInc.
ThisdocumentcontainsinformationthatisproprietarytoMediaTekInc.
Page27of82
Unauthorizedreproductionordisclosureofthisinformationinwholeorinpartisstrictlyprohibited.
3.17
HtOpMode
Description:HToperationModeValue:
iwprivra0setHtOpMode=0
0:HTmixedmode
1:HTGreenfieldmode
3.18
HtStbc
Description:EnableordisableHTSTBCValue:
iwprivra0setHtStbc=1
0:disable
1:enable
3.19
HtExtcha
Description:Tolocatethe40MHzchannelincombinationwiththecontrolValue:
iwprivra0setHtExtcha=0
0:below
1:Above
3.20
HtMpduDensity
Description:MinimumseparationofMPDUsinanA-MPDUValue:
iwprivra0setHtMpduDensity=4
0~7
0:norestriction
1:1/4μs
2:1/2μs
3:1μs
4:2μs
5:4μs
6:8μs
7:16μs
3.21
HtBaWinSize
Description:BlockAckwindowsizeValue:
iwprivra0setHtBaWinSize=64
MediaTekConfidential
©2012MediaTekInc.
ThisdocumentcontainsinformationthatisproprietarytoMediaTekInc.
Page28of82
Unauthorizedreproductionordisclosureofthisinformationinwholeorinpartisstrictlyprohibited.
1~64
3.22
HtRdg
Description:EnableordisableHTReverseDirectionGrantValue:
iwprivra0setHtRdg=1
0:disable
1:enable
3.23
HtAmsdu
Description:EnableordisableAMSDUsectionValue:
Iwprivra0setHtAmsdu=0
0:disable
1:enable
3.24
HtAutoBa
Description:EnableordisableautobuildBlockAcksectionwithpeerValue:
iwprivra0setHtAutoBa=1
0:disable
1:enable
3.25
HtBaDecline
Description:EnableordisabledeclineBlockAcktopeerValue:
iwprivra0setHtBaDecline=0
0:disable
1:enable
3.26
HtProtect
Description:EnableordisableHTprotectValue:
iwprivra0setHtProtect=0
MediaTekConfidential
©2012MediaTekInc.
ThisdocumentcontainsinformationthatisproprietarytoMediaTekInc.
Page29of82
Unauthorizedreproductionordisclosureofthisinformationinwholeorinpartisstrictlyprohibited.
0:disable
1:enable
3.27
HtMimoPs
Description:EnableordisableHTMIMOPowersavingmodeValue:
iwprivra0setHtMimoPs=0
0:disable
1:enable
3.28
HtDisallowTKIP
Description:Enableordisable11Nratewith11NAPwhencipherisTKIPorWEPValue:
iwprivra0setHtDisallowTKIP=0
0:disable
1:enable
3.29
HtBssCoex
Description:EnableordisableHTBSScoexistenceValue:
iwprivra0setHtBssCoex=0
0:disable
1:enable
3.30
PktAggregate
Description:Enableordisable11B/GpacketaggregationValue:
iwprivra0setPktAggregate=1
0:disable
1:enable
3.31
WmmCapable
Description:EnableordisableWMMsupportValue:
iwprivra0setWmmCapable=1
MediaTekConfidential
©2012MediaTekInc.
ThisdocumentcontainsinformationthatisproprietarytoMediaTekInc.
Page30of82
Unauthorizedreproductionordisclosureofthisinformationinwholeorinpartisstrictlyprohibited.
0:disable
1:enable
3.32
IEEE80211H
Description:EnableordisableIEEE802.11hfunction.Spectrummanagement.ThisfieldcanonlybeenabledinAband.
Value:
iwprivra0setIEEE80211H=0
0:disable
1:enable
3.33
NetworkType
Description:NetworktypeValue:
iwprivra0setNetworkType=Infra
Infra:infrastructuremodeAdhoc:adhocmode
3.34
AuthMode
Description:WLANsecurityAuthenticationmodeValue:
iwprivra0setAuthMode=OPEN
Foropensystem
Forsharedkeysystem
AutoswitchbetweenOPENandSHAREDForWPApre-sharedkey(Infra)
ForWPA2pre-sharedkey(Infra)ForWPApre-sharedkey(Adhoc)
Forenterprisemode(Needwpa_supplicant)Forenterprisemode(Needwpa_supplicant)
OPENSHAREDWEPAUTOWPAPSKWPA2PSKWPANONEWPAWPA2
3.35
EncrypType
Description:WLANsecurityEncryptiontypeValue:
iwprivra0setEncrypType=NONE
NONEWEPTKIPAES
ForAuthMode=OPEN
ForAuthMode=OPENorAuthMode=SHAREDForAuthMode=WPAPSKorWPA2PSK
ForAuthMode=WPAPSKorWPA2PSK
MediaTekConfidential
©2012MediaTekInc.
ThisdocumentcontainsinformationthatisproprietarytoMediaTekInc.
Page31of82
Unauthorizedreproductionordisclosureofthisinformationinwholeorinpartisstrictlyprohibited.
3.36
DefaultKeyID
D
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 【2025年】医院医德医风考试试题及答案
- 《大学生健康教育》章节测试题与答案
- 2013年4月全国北京自考思想道德修养与法律基础简答试题及答案
- 《幼儿教育学》模拟试题及答案
- 2024初级护师《专业知识》真题及答案
- (完整版)医疗法律法规考试试题及答案
- 2024年二级建造师之二建建设工程法规及相关知识通关题库(附带答案)
- (2025年)安全员考试题库及参考答案
- 2023年矿山救护队人员理论考试题库及答案
- 原创生猪屠宰课程试题(含答案)
- 2025急救知识竞赛试题及答案
- 2026年宁夏银川市贺兰县社区工作者招聘考试试卷-含答案解析
- 肺炎健康宣教资料
- 2025年出版专业技术人员职业资格考试真题及答案解析
- 2026年高级考评员职业技能等级认定考试题库含答案
- 中国慢性乙型肝炎防治指南(2026年版)
- T/FJEPEA 1-2025水电机组检修标准项目预算编制规定与计算标准
- 2026年山东省中考英语试题卷(含答案及解析)
- 2026统编版九年级历史上册知识点梳理+课后练习答案
- 台区分布式储能系统设计方案
- 散水施工组织设计
评论
0/150
提交评论