802.11学习笔记1-WIFI参数含义

研究下wifi参数的含义

#The word of "Default" must not be removed

Default

CountryRegion=5

CountryRegionABand=7

CountryCode=

SSID=Dennis2860AP

NetworkType=Infra

WirelessMode=9

Channel=0

BeaconPeriod=100

TxPower=100

BGProtection=0

TxPreamble=0

RTSThreshold=2347

FragThreshold=2346

TxBurst=1

WmmCapable=0

AckPolicy=0;0;0;0

AuthMode=OPEN

EncrypType=NONE

WPAPSK=

DefaultKeyID=1

Key1Type=0

Key1Str=

Key2Type=0

Key2Str=

Key3Type=0

Key3Str=

Key4Type=0

Key4Str=

PSMode=CAM

FastRoaming=0

RoamThreshold=70

HT_RDG=1

HT_EXTCHA=0

HT_OpMode=1

HT_MpduDensity=4

HT_BW=1

HT_AutoBA=1

HT_BADecline=0

HT_AMSDU=0

HT_BAWinSize=64

HT_GI=1

HT_MCS=33

HT_MIMOPSMode=3

EthConvertMode=

EthCloneMac=

IEEE80211H=0

TGnWifiTest=0

WirelessEvent=0

MeshId=MESH

MeshAutoLink=1

MeshAuthMode=OPEN

MeshEncrypType=NONE

MeshWPAKEY=

MeshDefaultkey=1

MeshWEPKEY=

CarrierDetect=0

@> CountryRegion=value                                
    value
        0: use 1 ~ 11 Channel
        1: use 1 ~ 13 Channel
        2: use 10 ~ 11 Channel
        3: use 10 ~ 13 Channel
        4: use 14 Channel
        5: use 1 ~ 14 Channel
        6: use 3 ~ 9 Channel
        7: use 5 ~ 13 Channel
       31: use 1 ~ 14 Channel (ch1-11:active scan, ch12-14 passive scan)

一般是5,也就是active scan。

@> CountryRegionABand=value                                 
    value   

7: use 36, 40, 44, 48, 52, 56, 60, 64, 100, 104, 108, 112, 116, 120, 124, 128, 132, 136, 140, 149, 153, 157, 161, 165 Channel

@> CountryCode=value
    value
        AG, AR, AW, AU, AT, BS, BB, BM, BR, BE, BG, CA, KY, CL, CN, CO, CR, CY, CZ, DK, DO, EC, SV, FI, FR, DE,
        GR, GU, GT, HT, HN, HK, HU, IS, IN, ID, IE, IL, IT, JP, JO, LV, LI, LT, LU, MY, MT, MA, MX, NL, NZ, NO,
        PE, PT, PL, RO, RU, SA, CS, SG, SK, SI, ZA, KR, ES, SE, CH, TW, TR, GB, UA, AE, US, VE
        "" => using default setting: 2.4 G - ch 1~11; 5G - ch 52~64, 100~140, 149~165

STA:"" AP:TW

@> SSID=value                   
    value
        0~z, 1~32 ascii characters.

@> WirelessMode=value
    value   
        0: legacy 11b/g mixed
        1: legacy 11B only
        2: legacy 11A only         //Not support in RfIcType=1(id=RFIC_5225) and RfIcType=2(id=RFIC_5325)
        3: legacy 11a/b/g mixed     //Not support in RfIcType=1(id=RFIC_5225) and RfIcType=2(id=RFIC_5325)
        4: legacy 11G only
        5: 11ABGN mixed
        6: 11N only
        7: 11GN mixed
        8: 11AN mixed
        9: 11BGN mixed
       10: 11AGN mixed   

@> Channel=value
    value
        depends on CountryRegion or CountryRegionABand

STA:0 AP:11

@> BGProtection=value
    value
        0: Auto
        1: Always on
        2: Always off

@> TxPreamble=value
      value
        0:Preamble Long
        1:Preamble Short
        2:Auto

@> RTSThreshold=value
    value
        1~2347     

STA AND AP :2347 也就是没有开启RTS-CTS 2次握手

@> FragThreshold=value
    value          
        256~2346

STA AND AP :2346 分段最大

@> TxBurst=value
    value
        0: Disable
        1: Enable

不是很理解这个参数含义

@> NetworkType=value               
    value
        Infra: infrastructure mode
           Adhoc: adhoc mode

STA:Infra

@> AuthMode=value
    value
        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         Use WPA-Supplicant
        WPA2        Use WPA-Supplicant

AP: WPA2PSK STA: OPEN

@> EncrypType=value
    value
        NONE        For AuthMode=OPEN                   
        WEP            For AuthMode=OPEN or AuthMode=SHARED
        TKIP        For AuthMode=WPAPSK or WPA2PSK                   
        AES            For AuthMode=WPAPSK or WPA2PSK  

AP: TKIP;AES STA: OPEN

@> DefaultKeyID=value
    value
        1~4

为1

@> Key1Type=vaule
    Key2Type=value
    Key3Type=vaule
    Key4Type=vaule
    value
        0   hexadecimal type
        1   assic type
    (usage : reading profile only)

@> Key1Str=value
    Key2Str=value
    Key3Str=vaule
    Key4Str=vaule
    value
        10 or 26 characters (key type=0)
        5 or 13 characters  (key type=1)
    (usage : reading profile only)   

@> WPAPSK=value                 
    value
        8~63 ASCII          or
        64 HEX characters

@> WmmCapable=value
    value
        0: Disable WMM
        1: Enable WMM

STA:1 AP:0

Set it as 1 to turn on WMM Qos support  

@> PSMode=value
    value
        CAM                Constantly Awake Mode
        Max_PSP            Max Power Savings
        Fast_PSP        Power Save Mode

STA:CAM   AP:""

@> FastRoaming=value
    value
        0                Disabled
        1                Enabled

@> RoamThreshold=value
    value
        Positive Interger(dBm)

STA:70 AP:无


@> HT_RDG=value
    value
        0                Disabled
        1                Enabled

STA:1 AP:0

@> HT_EXTCHA=value (Extended Channel Switch Announcement)
    value
        0                Below
        1                 Above

@> HT_OpMode=value
    value
        0                HT mixed format
        1                HT greenfield format

@> HT_MpduDensity=value
    value (based on 802.11n D2.0)
        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

STA:4  AP:5

@> HT_BW=value
    value
        0                20MHz
        1                40MHz

@> HT_AutoBA=value
    value
        0                Disabled
        1                Enabled

@> HT_BADecline
    value
        0                Disabled
        1                Enabled <Reject BA request from AP>

STA:0

@> HT_AMSDU=value
    value
        0                Disabled
        1                Enabled

@> HT_BAWinSize=value
    value
        1 ~ 64

STA AND AP: 64

@> HT_GI=value
    value
        0                long GI
        1                short GI

@> HT_MCS=value
    value
        0 ~ 15
        33: auto

@> HT_MIMOPSMode=value
    value (based on 802.11n D2.0)
        0                Static SM Power Save Mode
        1                Dynamic SM Power Save Mode
        2                Reserved
        3                SM enabled
    (not fully support yet)

STA:3

@> EthConvertMode=value
    value
        dongle
        clone
        hybrid

@> EthCloneMac=value
    value
        xx:xx:xx:xx:xx:xx

@> IEEE80211H=value
    value
        0                Disabled
        1                Enabled

STA:0

@> TGnWifiTest=value
    value
        0                Disabled
        1                Enabled

STA 0

@> WirelessEvent=value
    value
        0                Disabled
        1                Enabled <send custom wireless event>

STA 0

@> MeshId=value
    value
        Length 1~32 ascii characters

STA MESH

@> MeshAutoLink=value
    value
        0                Disabled
        1                Enabled

STA 1

@> MeshAuthMode=value
    value
        OPEN         For open system   
        WPANONE        For WPA pre-shared key  (Adhoc)

STA OPEN

@> MeshEncrypType=value
    value
        NONE        For MeshAuthMode=OPEN                   
        WEP            For MeshAuthMode=OPEN
        TKIP        For MeshAuthMode=WPANONE
        AES            For MeshAuthMode=WPANONE

STA NONE


@> MeshWPAKEY=value
    value
        8~63 ASCII          or
        64 HEX characters

@> MeshDefaultkey=value
    value
        1~4

STA 1

@> MeshWEPKEY=value
    value
        10 or 26 characters
        5 or 13 characters

@> CarrierDetect=value
    value
        0                Disabled
        1                Enabled

STA 0

你可能感兴趣的:(学习笔记)