Management frames in 0.0.4 and later

Petr Novak pen at dobnet.cz
Sat Nov 22 12:13:34 EST 2003


Hi,

over a month ago, I have reported problems with hostap-0.0.4 and later 
versions in a production network that the hostAP was not able to send 
management frames properly to stations trying to associate. Jouni has 
suggested to dump some diag output (hostap_diag -a) and to try to reset the 
card. I am really sorry it took so long, but we were busy with other things 
here and once I gather all the info, I had to leave for a business trip 
before I had a chance to write this little summary.

OK, attached are the 3 hostap_debug outputs - the good one from 0.0.3, the 
bad one from 0.0.4 and the good one from 0.0.4 after iwpriv wlan2 reset 0 
(reset 2 did not help, but reset 0 DID help).

Executing reset 0 solves the problem, but I am sure there is a way to fix it 
in the driver initialization code.

Just looking at diffs of the hostap_diag data, I would suspect CR8, but most 
of the CRs do not have any meaning to me, as I am not that deep into the 
PRISM internals.


Jouni, if you need more info, please let me know, I should be able to get it 
immediately now.


hostap_diag_0.0.3:

Host AP driver diagnostics information for 'wlan2'

NICID: id=0x8013 v1.0.0 (PRISM II (2.5) Mini-PCI (SST parallel flash))
PRIID: id=0x0015 v1.1.1
STAID: id=0x001f v1.7.4 (station firmware)

Known RIDs (Resource IDentifiers)

FC00=CNFPORTTYPE=6
FC01=CNFOWNMACADDR=00:60:b3:6b:6c:07
FC02=CNFDESIREDSSID=DOB-03
FC03=CNFOWNCHANNEL=1
FC04=CNFOWNSSID=DOB-03
FC05=CNFOWNATIMWINDOW=0
FC06=CNFSYSTEMSCALE=1
FC07=CNFMAXDATALEN=2304
FC08=CNFWDSADDRESS=00:00:00:00:00:00
FC09=CNFPMENABLED=0
FC0A=CNFPMEPS=1
FC0B=CNFMULTICASTRECEIVE=1
FC0C=CNFMAXSLEEPDURATION=1000
FC0D=CNFPMHOLDOVERDURATION=100
FC0E=CNFOWNNAME=DOB-REV
FC10=CNFOWNDTIMPERIOD=1
FC20=UNKNOWN1=289
FC21=UNKNOWN2=289
FC23=CNFWEPDEFAULTKEYID=0
FC24=CNFDEFAULTKEY0=<21><01><16><0e><2f><0e>
FC25=CNFDEFAULTKEY1=<21><01><16><0e><2f><0e>
FC26=CNFDEFAULTKEY2=<21><01><16><0e><2f><0e>
FC27=CNFDEFAULTKEY3=<21><01><16><0e><2f><0e>
FC28=CNFWEPFLAGS=<00><00>
FC2A=CNFAUTHENTICATION=1
FC2C=CNFTXCONTROL=512
FC2D=CNFROAMINGMODE=1
FC30=CNFRCVCRCERROR=0
FC31=CNFMMLIFE=65000
FC32=CNFALTRETRYCOUNT=7
FC33=CNFBEACONINT=100
FC35=CNFSTAPCFINFO=<01><00>
FC40=CNFTIMCTRL=0
FC41=UNKNOWN3=<00><00><00><00><00><00>
FC42=CNFTHIRTY2TALLY=0
FC43=CNFENHSECURITY=0
FC46=CNFDBMADJUST=100
FC80=GROUPADDRESSES=
FC81=CREATEIBSS=1
FC82=FRAGMENTATIONTHRESHOLD=2346
FC83=RTSTHRESHOLD=2347
FC84=TXRATECONTROL=15
FC85=PROMISCUOUSMODE=0
FCB0=CNFSHORTPREAMBLE=0
FCB3=CNFBASICRATES=<03><00>
FCB4=CNFSUPPORTEDRATES=<0f><00>
FCB5=CNFFALLBACKCTRL=1148
FCB6=WEPKEYDISABLE=0
FCBA=CNFPASSIVESCANCTRL=0
FCBB=SSNHANDLINGMODE=0
FCBC=MDCCONTROL=0
FCBD=MDCCOUNTRY=<20><20><20><00>
FCBE=TXPOWERMAX=18
FCBF=CNFLFOENABLED=0
FCC0=CAPINFO=1
FCC1=LISTENINTERVAL=10
FCC2=SW_ANT_DIV=<ff><ff><02><00><02><00>
FCE0=TICKTIME=2000
FCE1=SCANREQUEST=<ff><3f><20><00>
FCE2=JOINREQUEST=<21><01><16><0e><2f><0e><0b><0f>
FCE5=HOSTSCAN=<00><00><00><00><00><00><00><00><00><00><00><00><00><00><00><00>
<00><00><00><00><00><00><00><00><00><00><00><00><00><00><00><00><00><00><00><0
0><00><00>
FD00=MAXLOADTIME=60000
FD01=DOWNLOADBUFFER=<60><00><00><00><00><10>
FD02=PRIID=0x15 v1.1.1
FD03=PRISUPRANGE=0 0x03 1 4-4
FD04=CFIACTRANGES=1 0x02 2 1-1
FD0A=NICSERNUM=SA01000000<00><00>
FD0B=NICID=0x8013 v1.0.0
FD0C=MFISUPRANGE=0 0x01 1 1-1
FD0D=CFISUPRANGE=0 0x02 2 1-1
FD10=CHANNELLIST=<ff><1f>
FD11=REGULATORYDOMAINS=0
FD12=TEMPTYPE=1
FD13=CIS=<01><03><00><00><ff><17><04><67><5a><08><ff><1d><05><03><67><5a><08><
ff><15><39><01><00><49><6e><74><65><72><73><69><6c><00><50><52><49><53><4d><20
><32><5f><35><20><50><43><4d><43><49><41><20><41><44><41><50><54><45><52><00><
49><53><4c><33><37><33><30><30><50><00><45><76><61><6c><2d><52><65><76><41><00
><ff><20><04><0b><00><00><73><21><02><06><00><22><02><01><07><22><05><02><40><
42><0f><00><22><05><02><80><84><1e><00><22><05><02><60><ec><53><00><22><05><02
><c0><d8><a7><00><22><02><03><07><22><08><04><06><00><60><b3><06><25><04><22><
02><05><01><1a><07><03><01><e0><03><00><00><01><1b><10><c1><01><19><77><b5><1e
><35><b5><3c><36><36><05><46><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><
ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff
><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><
ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff
><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><
ff><ff><34><00><36><00><00> + 222*<ff>
FD20=STAID=0x1f v1.7.4
FD21=STASUPRANGE=0 0x04 1 1-12
FD22=MFIACTRANGES=1 0x01 1 1-1
FD23=CFIACTRANGES2=1 0x02 2 1-1
FD24=PRODUCTNAME=ISL37400M
FD40=PORTSTATUS=8
FD41=CURRENTSSID=DOB-03
FD42=CURRENTBSSID=00:60:b3:6b:6c:07
FD43=COMMSQUALITY=<00><00><51><00><1b><00>
FD44=CURRENTTXRATE=2
FD45=CURRENTBEACONINTERVAL=100
FD46=CURRENTSCALETHRESHOLDS=<36><00><36><00><36><00><04><00><01><00><03><00>
FD47=PROTOCOLRSPTIME=100
FD48=SHORTRETRYLIMIT=8
FD49=LONGRETRYLIMIT=5
FD4A=MAXTRANSMITLIFETIME=512
FD4B=MAXRECEIVELIFETIME=512
FD4C=CFPOLLABLE=0
FD4D=AUTHENTICATIONALGORITHMS=<01><00><01><00>
FD4F=PRIVACYOPTIONIMPLEMENTED=1
FD51=DBMCOMMSQUALITY=<00><00><b7><ff><b7><ff>
FD88=SCANRESULTSTABLE=<00><00><03><00>
FD89=HOSTSCANRESULTS=<40><00><03><00>
FD8A=AUTHENTICATIONUSED=<ff><ff>
FD8B=CNFFAASWITCHCTRL=1
FDC0=PHYTYPE=2
FDC1=CURRENTCHANNEL=1
FDC2=CURRENTPOWERSTATE=2
FDC3=CCAMODE=2
FDC6=SUPPORTEDDATARATES=<02><04><0b><16>
FDC7=LFO_VOLT_REG_TEST_RES=<00><00><00><00><00><00>
FFFE=BUILDSEQ=<00><00><00><00>
FFFF=FWID=010101.HEX<00><00>SF010704.HEX<00><00><00><00>

Unknown RIDs (Resource IDentifiers)


Baseband proccessor (BBP) Configuration Registers

CR0 (Part/Version Code): 48 - Part=3 (HFA3863 series) Version=0 (3863 Version)
CR1 (I/O Polarity): 0 (normal setting 0)
    Phase of RX carrier rotation sense: normal rotation (CCW)
    Phase of TX carrier rotation sense: normal rotation (CCW)
    Phase of TX output clock (TXCLK) pin: NON-Inverted TXCLK
    Active level of the Transmit Ready output: TX_RDY Active 1
    Active level of the transmit enable input: TX_PE Active 1
    Active level of the Clear Channel Assessment output: CCA Active 0
    Active level of the MD_RDY output: MD_RDY Active 1
    Phase of the RX_CLK output: Non-Inverted Clk
CR2 (I Cover Code): 0 (nominally 72)
CR3 (Q Cover Code): 56 (nominally 72)
CR4 (TX Preamble Length): 128 (IEEE 802.11: 128)
CR5 (TX Signal Field): 1
    Preamble mode: Normal
    TX data rate: 01 = DQPSK - 11 chip sequence (2Mbps)
CR6 (TX Service Field): 0
CR7 (TX Length Field, High): 0
CR8 (TX Length Field, Low): 56
    TX Length Field: 56 usec
CR9 (TX Configure): 162
    CCA sample mode time: 15.8 usec
    CCA mode: CCA is based on (CS1 OR SQ1/CS2)
    TX test modes: Alternating bits for carrier suppression test
    Enable TX test modes: normal operation
    Antenna choice for TX: Set AntSel low
    TX Antenna Mode: set AntSel pin to antenna for which last valid header 
CRC occurred
CR10 (RX Configure): 200
    Initial CS2 estimate: Use SQ1 from Barker correlator peaks
    CIR estimate/Dot product clock control: only on after detect
    SFD Time-out values: 56 usec
    MD_RDY control: After SFD
    Force Frequency Offset Estimating in all antenna diversity timelines: 
disabled
    Antenna choice for RX when single antenna acquisition is selected: AntSel 
pin low
    Antenna acquire: dual antenna for diversity acquisition
CR11 (RX/TX Configure): 3
    Continuous internal RX 22 and 44 MHZ clocks: 0
    A/D input coupling: DC
    TX filter / CMF weight select: US
    Ping Pong Differential Encode: disabled
    CCA mode: normal CCA; CCA will immediately respond to changes in ED, CS1, 
and SQ1
    Precursor value in CIR estimate: 3
CR12 (A/D Test Modes 1): 0
    All DAC and A/D clock source control: normal internal clocks
    TX DAC clock: enable
    RX DAC clock: enable
    I DAC clock: enable
    Q DAC clock: enable
    RF A/D clock: enable
    I A/D clock: enable
    Q A/D clock: enable
CR13 (A/D Test Modes 2): 0
    Standby: disable
    SLEEP TX: disable
    SLEEP RX: disable
    SLEEP IQ: disable
    Analog TX Shut_down: disable
    Analog RX Shut_down: disable
    Analog Standby: disable
    Manual control of mixed signal power down signals (other CR13 bits): 
disable
CR14 (A/D Test Modes 3): 0
    DFS - select straight binary output of I/Q and RF A/D converters: 0
    I/Q DAC input control: normal (TX filter)
    Enable test bus into RX and TX DAC: disable
    Enable RF A/D into RX DAC: disable
    VRbit1: 0
    VRbit0: 0
CR15 (AGC GainClip): 92
CR16 (AGC Sat Cpints): 130
    AGC mid Sat counts: 8
    AGC low Sat counts: 2
CR17 (AGC Update Control): 30
    AGC update during CIR injest: disable
    AGC timer count: 30 (must be >31)
CR18 (AGC HiSat): 199
CR19 (AGC LockinLevel/CW detect threshold): 23
CR20 (AGC LockWindow, pos side): 106
CR21 (AGC Threshold): 18
CR22 (AGC Lookup Table Addr and Control): 31
CR23 (AGC Lookup Table Data): 127
CR24 (AGC LoopGain): 45
CR25 (AGC RX_IF): 32
CR26 (AGC Test Modes): 130
CR27 (AGC RX_RF Threshold): 24
CR28 (AGC Low SatAtten): 121
CR29 (AGC LockWindow, negative side): 202
CR30 (Carrier Sense 2): 36
CR31 (Manual TX Power Control): 208
CR32 (Test Modes 1): 0
CR33 (Test Modes 2): 0
CR34 (Test Bus Address): 0
CR35 (CMF Coefficient Control): 127
CR36 (Scrambler Seed, Long Preamble Option): 139
CR37 (Scrambler Seed, Short Preamble Option): 15
CR38 (ED Threshold): 6
CR39 (CMF Gain Threshold): 10
CR40 (Threshold for antenna decision): 15
CR41 (Preamble tracking loop lead coefficient): 32
CR42 (Preamble tracking loop lag coefficient): 32
CR43 (Header tracking loop lead coefficient): 16
CR44 (Header tracking loop lag coefficient): 16
CR45 (Data tracking loop lead coefficient): 32
CR46 (Data tracking loop lag coefficient): 238
CR47 (RF attenuator value): 30
CR48 (ED and SQ1 control and SQ1 scale factor): 38
CR49 (Read only register mux control for registers 50 to 63): 219
    CW RSSI threshold: 91
    CR50..CR63: 'a' value
CR50 (Test Bus Read): 0
CR51 (Noise floorAntA): 0
CR52 (Noise floorAntB): 0
CR53 (AGC error / I DC Offset): 248
CR54 (Unassigned / Q DC Offset): 252
CR55 (Unassigned  Multipath Metric): 0
CR56 (Unassigned / Multipath Count): 4
CR57 (Unassigned / Packet Signal Quality): 174
CR58 (TX Power Measurement): -33
CR59 (RX Mean Power / Header Signal Quality): 13
CR60 (RX_IF AGC): 12
CR61 (RX Status Reg): 15
    TX PWR det Register semaphore (CR58 updated since last read)
    AGC_lock (AGC is within limits of lock window CR20)
    hwStopBHit (rails hit, AGC updates stopped)
    RX_RF_AGC - status of AGC output to RF chip
CR62 (RSSI): 21
CR63 (RX Status Reg): 2
    Signal field value: 1 M
    Antenna selected by received when last valid header CRC occurred


hostap_diag_0.0.4_bad:


Host AP driver diagnostics information for 'wlan2'

NICID: id=0x8013 v1.0.0 (PRISM II (2.5) Mini-PCI (SST parallel flash))
PRIID: id=0x0015 v1.1.1
STAID: id=0x001f v1.7.4 (station firmware)

Known RIDs (Resource IDentifiers)

FC00=CNFPORTTYPE=6
FC01=CNFOWNMACADDR=00:60:b3:6b:6c:07
FC02=CNFDESIREDSSID=DOB-03
FC03=CNFOWNCHANNEL=1
FC04=CNFOWNSSID=DOB-03
FC05=CNFOWNATIMWINDOW=0
FC06=CNFSYSTEMSCALE=1
FC07=CNFMAXDATALEN=2304
FC08=CNFWDSADDRESS=00:00:00:00:00:00
FC09=CNFPMENABLED=0
FC0A=CNFPMEPS=1
FC0B=CNFMULTICASTRECEIVE=1
FC0C=CNFMAXSLEEPDURATION=1000
FC0D=CNFPMHOLDOVERDURATION=100
FC0E=CNFOWNNAME=DOB-REV
FC10=CNFOWNDTIMPERIOD=1
FC20=UNKNOWN1=289
FC21=UNKNOWN2=289
FC23=CNFWEPDEFAULTKEYID=0
FC24=CNFDEFAULTKEY0=<21><01><16><0e><2f><0e>
FC25=CNFDEFAULTKEY1=<21><01><16><0e><2f><0e>
FC26=CNFDEFAULTKEY2=<21><01><16><0e><2f><0e>
FC27=CNFDEFAULTKEY3=<21><01><16><0e><2f><0e>
FC28=CNFWEPFLAGS=<00><00>
FC2A=CNFAUTHENTICATION=3
FC2C=CNFTXCONTROL=512
FC2D=CNFROAMINGMODE=1
FC30=CNFRCVCRCERROR=0
FC31=CNFMMLIFE=65000
FC32=CNFALTRETRYCOUNT=7
FC33=CNFBEACONINT=100
FC35=CNFSTAPCFINFO=<01><00>
FC40=CNFTIMCTRL=0
FC41=UNKNOWN3=<00><00><00><00><00><00>
FC42=CNFTHIRTY2TALLY=0
FC43=CNFENHSECURITY=0
FC46=CNFDBMADJUST=100
FC80=GROUPADDRESSES=
FC81=CREATEIBSS=1
FC82=FRAGMENTATIONTHRESHOLD=2346
FC83=RTSTHRESHOLD=2347
FC84=TXRATECONTROL=15
FC85=PROMISCUOUSMODE=0
FCB0=CNFSHORTPREAMBLE=0
FCB3=CNFBASICRATES=<03><00>
FCB4=CNFSUPPORTEDRATES=<0f><00>
FCB5=CNFFALLBACKCTRL=1148
FCB6=WEPKEYDISABLE=0
FCBA=CNFPASSIVESCANCTRL=0
FCBB=SSNHANDLINGMODE=0
FCBC=MDCCONTROL=0
FCBD=MDCCOUNTRY=<20><20><20><00>
FCBE=TXPOWERMAX=18
FCBF=CNFLFOENABLED=0
FCC0=CAPINFO=1
FCC1=LISTENINTERVAL=10
FCC2=SW_ANT_DIV=<ff><ff><02><00><02><00>
FCE0=TICKTIME=2000
FCE1=SCANREQUEST=<ff><3f><20><00>
FCE2=JOINREQUEST=<21><01><16><0e><2f><0e><0b><0f>
FCE5=HOSTSCAN=<00><00><00><00><00><00><00><00><00><00><00><00><00><00><00><00>
<00><00><00><00><00><00><00><00><00><00><00><00><00><00><00><00><00><00><00><0
0><00><00>
FD00=MAXLOADTIME=60000
FD01=DOWNLOADBUFFER=<60><00><00><00><00><10>
FD02=PRIID=0x15 v1.1.1
FD03=PRISUPRANGE=0 0x03 1 4-4
FD04=CFIACTRANGES=1 0x02 2 1-1
FD0A=NICSERNUM=SA01000000<00><00>
FD0B=NICID=0x8013 v1.0.0
FD0C=MFISUPRANGE=0 0x01 1 1-1
FD0D=CFISUPRANGE=0 0x02 2 1-1
FD10=CHANNELLIST=<ff><1f>
FD11=REGULATORYDOMAINS=0
FD12=TEMPTYPE=1
FD13=CIS=<01><03><00><00><ff><17><04><67><5a><08><ff><1d><05><03><67><5a><08><
ff><15><39><01><00><49><6e><74><65><72><73><69><6c><00><50><52><49><53><4d><20
><32><5f><35><20><50><43><4d><43><49><41><20><41><44><41><50><54><45><52><00><
49><53><4c><33><37><33><30><30><50><00><45><76><61><6c><2d><52><65><76><41><00
><ff><20><04><0b><00><00><73><21><02><06><00><22><02><01><07><22><05><02><40><
42><0f><00><22><05><02><80><84><1e><00><22><05><02><60><ec><53><00><22><05><02
><c0><d8><a7><00><22><02><03><07><22><08><04><06><00><60><b3><06><25><04><22><
02><05><01><1a><07><03><01><e0><03><00><00><01><1b><10><c1><01><19><77><b5><1e
><35><b5><3c><36><36><05><46><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><
ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff
><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><
ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff
><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><
ff><ff><34><00><36><00><00> + 222*<ff>
FD20=STAID=0x1f v1.7.4
FD21=STASUPRANGE=0 0x04 1 1-12
FD22=MFIACTRANGES=1 0x01 1 1-1
FD23=CFIACTRANGES2=1 0x02 2 1-1
FD24=PRODUCTNAME=ISL37400M
FD40=PORTSTATUS=8
FD41=CURRENTSSID=DOB-03
FD42=CURRENTBSSID=00:60:b3:6b:6c:07
FD43=COMMSQUALITY=<00><00><51><00><1b><00>
FD44=CURRENTTXRATE=2
FD45=CURRENTBEACONINTERVAL=100
FD46=CURRENTSCALETHRESHOLDS=<36><00><36><00><36><00><04><00><01><00><03><00>
FD47=PROTOCOLRSPTIME=100
FD48=SHORTRETRYLIMIT=8
FD49=LONGRETRYLIMIT=5
FD4A=MAXTRANSMITLIFETIME=512
FD4B=MAXRECEIVELIFETIME=512
FD4C=CFPOLLABLE=0
FD4D=AUTHENTICATIONALGORITHMS=<01><00><01><00>
FD4F=PRIVACYOPTIONIMPLEMENTED=1
FD51=DBMCOMMSQUALITY=<00><00><b7><ff><b7><ff>
FD88=SCANRESULTSTABLE=<00><00><03><00>
FD89=HOSTSCANRESULTS=<40><00><03><00>
FD8A=AUTHENTICATIONUSED=<ff><ff>
FD8B=CNFFAASWITCHCTRL=1
FDC0=PHYTYPE=2
FDC1=CURRENTCHANNEL=1
FDC2=CURRENTPOWERSTATE=2
FDC3=CCAMODE=2
FDC6=SUPPORTEDDATARATES=<02><04><0b><16>
FDC7=LFO_VOLT_REG_TEST_RES=<00><00><00><00><00><00>
FFFE=BUILDSEQ=<00><00><00><00>
FFFF=FWID=010101.HEX<00><00>SF010704.HEX<00><00><00><00>

Unknown RIDs (Resource IDentifiers)


Baseband proccessor (BBP) Configuration Registers

CR0 (Part/Version Code): 48 - Part=3 (HFA3863 series) Version=0 (3863 Version)
CR1 (I/O Polarity): 0 (normal setting 0)
    Phase of RX carrier rotation sense: normal rotation (CCW)
    Phase of TX carrier rotation sense: normal rotation (CCW)
    Phase of TX output clock (TXCLK) pin: NON-Inverted TXCLK
    Active level of the Transmit Ready output: TX_RDY Active 1
    Active level of the transmit enable input: TX_PE Active 1
    Active level of the Clear Channel Assessment output: CCA Active 0
    Active level of the MD_RDY output: MD_RDY Active 1
    Phase of the RX_CLK output: Non-Inverted Clk
CR2 (I Cover Code): 0 (nominally 72)
CR3 (Q Cover Code): 56 (nominally 72)
CR4 (TX Preamble Length): 128 (IEEE 802.11: 128)
CR5 (TX Signal Field): 1
    Preamble mode: Normal
    TX data rate: 01 = DQPSK - 11 chip sequence (2Mbps)
CR6 (TX Service Field): 0
CR7 (TX Length Field, High): 0
CR8 (TX Length Field, Low): 120
    TX Length Field: 80 usec
CR9 (TX Configure): 162
    CCA sample mode time: 15.8 usec
    CCA mode: CCA is based on (CS1 OR SQ1/CS2)
    TX test modes: Alternating bits for carrier suppression test
    Enable TX test modes: normal operation
    Antenna choice for TX: Set AntSel low
    TX Antenna Mode: set AntSel pin to antenna for which last valid header 
CRC occurred
CR10 (RX Configure): 200
    Initial CS2 estimate: Use SQ1 from Barker correlator peaks
    CIR estimate/Dot product clock control: only on after detect
    SFD Time-out values: 56 usec
    MD_RDY control: After SFD
    Force Frequency Offset Estimating in all antenna diversity timelines: 
disabled
    Antenna choice for RX when single antenna acquisition is selected: AntSel 
pin low
    Antenna acquire: dual antenna for diversity acquisition
CR11 (RX/TX Configure): 3
    Continuous internal RX 22 and 44 MHZ clocks: 0
    A/D input coupling: DC
    TX filter / CMF weight select: US
    Ping Pong Differential Encode: disabled
    CCA mode: normal CCA; CCA will immediately respond to changes in ED, CS1, 
and SQ1
    Precursor value in CIR estimate: 3
CR12 (A/D Test Modes 1): 0
    All DAC and A/D clock source control: normal internal clocks
    TX DAC clock: enable
    RX DAC clock: enable
    I DAC clock: enable
    Q DAC clock: enable
    RF A/D clock: enable
    I A/D clock: enable
    Q A/D clock: enable
CR13 (A/D Test Modes 2): 0
    Standby: disable
    SLEEP TX: disable
    SLEEP RX: disable
    SLEEP IQ: disable
    Analog TX Shut_down: disable
    Analog RX Shut_down: disable
    Analog Standby: disable
    Manual control of mixed signal power down signals (other CR13 bits): 
disable
CR14 (A/D Test Modes 3): 0
    DFS - select straight binary output of I/Q and RF A/D converters: 0
    I/Q DAC input control: normal (TX filter)
    Enable test bus into RX and TX DAC: disable
    Enable RF A/D into RX DAC: disable
    VRbit1: 0
    VRbit0: 0
CR15 (AGC GainClip): 92
CR16 (AGC Sat Cpints): 130
    AGC mid Sat counts: 8
    AGC low Sat counts: 2
CR17 (AGC Update Control): 30
    AGC update during CIR injest: disable
    AGC timer count: 30 (must be >31)
CR18 (AGC HiSat): 199
CR19 (AGC LockinLevel/CW detect threshold): 23
CR20 (AGC LockWindow, pos side): 106
CR21 (AGC Threshold): 18
CR22 (AGC Lookup Table Addr and Control): 31
CR23 (AGC Lookup Table Data): 127
CR24 (AGC LoopGain): 45
CR25 (AGC RX_IF): 32
CR26 (AGC Test Modes): 130
CR27 (AGC RX_RF Threshold): 24
CR28 (AGC Low SatAtten): 121
CR29 (AGC LockWindow, negative side): 202
CR30 (Carrier Sense 2): 36
CR31 (Manual TX Power Control): 128
CR32 (Test Modes 1): 0
CR33 (Test Modes 2): 0
CR34 (Test Bus Address): 0
CR35 (CMF Coefficient Control): 127
CR36 (Scrambler Seed, Long Preamble Option): 139
CR37 (Scrambler Seed, Short Preamble Option): 15
CR38 (ED Threshold): 6
CR39 (CMF Gain Threshold): 10
CR40 (Threshold for antenna decision): 15
CR41 (Preamble tracking loop lead coefficient): 32
CR42 (Preamble tracking loop lag coefficient): 32
CR43 (Header tracking loop lead coefficient): 16
CR44 (Header tracking loop lag coefficient): 16
CR45 (Data tracking loop lead coefficient): 32
CR46 (Data tracking loop lag coefficient): 238
CR47 (RF attenuator value): 30
CR48 (ED and SQ1 control and SQ1 scale factor): 38
CR49 (Read only register mux control for registers 50 to 63): 219
    CW RSSI threshold: 91
    CR50..CR63: 'a' value
CR50 (Test Bus Read): 0
CR51 (Noise floorAntA): 0
CR52 (Noise floorAntB): 0
CR53 (AGC error / I DC Offset): 247
CR54 (Unassigned / Q DC Offset): 252
CR55 (Unassigned  Multipath Metric): 0
CR56 (Unassigned / Multipath Count): 1
CR57 (Unassigned / Packet Signal Quality): 16
CR58 (TX Power Measurement): 44
CR59 (RX Mean Power / Header Signal Quality): 11
CR60 (RX_IF AGC): 12
CR61 (RX Status Reg): 15
    TX PWR det Register semaphore (CR58 updated since last read)
    AGC_lock (AGC is within limits of lock window CR20)
    hwStopBHit (rails hit, AGC updates stopped)
    RX_RF_AGC - status of AGC output to RF chip
CR62 (RSSI): 14
CR63 (RX Status Reg): 0
    Signal field value: 1 M


hostap_0.0.4_after_reset:

Host AP driver diagnostics information for 'wlan2'

NICID: id=0x8013 v1.0.0 (PRISM II (2.5) Mini-PCI (SST parallel flash))
PRIID: id=0x0015 v1.1.1
STAID: id=0x001f v1.7.4 (station firmware)

Known RIDs (Resource IDentifiers)

FC00=CNFPORTTYPE=6
FC01=CNFOWNMACADDR=00:60:b3:6b:6c:07
FC02=CNFDESIREDSSID=DOB-03
FC03=CNFOWNCHANNEL=1
FC04=CNFOWNSSID=DOB-03
FC05=CNFOWNATIMWINDOW=0
FC06=CNFSYSTEMSCALE=1
FC07=CNFMAXDATALEN=2304
FC08=CNFWDSADDRESS=00:00:00:00:00:00
FC09=CNFPMENABLED=0
FC0A=CNFPMEPS=1
FC0B=CNFMULTICASTRECEIVE=1
FC0C=CNFMAXSLEEPDURATION=1000
FC0D=CNFPMHOLDOVERDURATION=100
FC0E=CNFOWNNAME=DOB-REV
FC10=CNFOWNDTIMPERIOD=1
FC20=UNKNOWN1=289
FC21=UNKNOWN2=289
FC23=CNFWEPDEFAULTKEYID=0
FC24=CNFDEFAULTKEY0=<21><01><16><0e><2f><0e>
FC25=CNFDEFAULTKEY1=<21><01><16><0e><2f><0e>
FC26=CNFDEFAULTKEY2=<21><01><16><0e><2f><0e>
FC27=CNFDEFAULTKEY3=<21><01><16><0e><2f><0e>
FC28=CNFWEPFLAGS=<00><00>
FC2A=CNFAUTHENTICATION=3
FC2C=CNFTXCONTROL=512
FC2D=CNFROAMINGMODE=1
FC30=CNFRCVCRCERROR=0
FC31=CNFMMLIFE=65000
FC32=CNFALTRETRYCOUNT=7
FC33=CNFBEACONINT=100
FC35=CNFSTAPCFINFO=<01><00>
FC40=CNFTIMCTRL=0
FC41=UNKNOWN3=<00><00><00><00><00><00>
FC42=CNFTHIRTY2TALLY=0
FC43=CNFENHSECURITY=0
FC46=CNFDBMADJUST=100
FC80=GROUPADDRESSES=
FC81=CREATEIBSS=1
FC82=FRAGMENTATIONTHRESHOLD=2346
FC83=RTSTHRESHOLD=2347
FC84=TXRATECONTROL=15
FC85=PROMISCUOUSMODE=0
FCB0=CNFSHORTPREAMBLE=0
FCB3=CNFBASICRATES=<03><00>
FCB4=CNFSUPPORTEDRATES=<0f><00>
FCB5=CNFFALLBACKCTRL=1148
FCB6=WEPKEYDISABLE=0
FCBA=CNFPASSIVESCANCTRL=0
FCBB=SSNHANDLINGMODE=0
FCBC=MDCCONTROL=0
FCBD=MDCCOUNTRY=<20><20><20><00>
FCBE=TXPOWERMAX=18
FCBF=CNFLFOENABLED=0
FCC0=CAPINFO=1
FCC1=LISTENINTERVAL=10
FCC2=SW_ANT_DIV=<ff><ff><02><00><02><00>
FCE0=TICKTIME=2000
FCE1=SCANREQUEST=<ff><3f><20><00>
FCE2=JOINREQUEST=<21><01><16><0e><2f><0e><0b><0f>
FCE5=HOSTSCAN=<00><00><00><00><00><00><00><00><00><00><00><00><00><00><00><00>
<00><00><00><00><00><00><00><00><00><00><00><00><00><00><00><00><00><00><00><0
0><00><00>
FD00=MAXLOADTIME=60000
FD01=DOWNLOADBUFFER=<60><00><00><00><00><10>
FD02=PRIID=0x15 v1.1.1
FD03=PRISUPRANGE=0 0x03 1 4-4
FD04=CFIACTRANGES=1 0x02 2 1-1
FD0A=NICSERNUM=SA01000000<00><00>
FD0B=NICID=0x8013 v1.0.0
FD0C=MFISUPRANGE=0 0x01 1 1-1
FD0D=CFISUPRANGE=0 0x02 2 1-1
FD10=CHANNELLIST=<ff><1f>
FD11=REGULATORYDOMAINS=0
FD12=TEMPTYPE=1
FD13=CIS=<01><03><00><00><ff><17><04><67><5a><08><ff><1d><05><03><67><5a><08><
ff><15><39><01><00><49><6e><74><65><72><73><69><6c><00><50><52><49><53><4d><20
><32><5f><35><20><50><43><4d><43><49><41><20><41><44><41><50><54><45><52><00><
49><53><4c><33><37><33><30><30><50><00><45><76><61><6c><2d><52><65><76><41><00
><ff><20><04><0b><00><00><73><21><02><06><00><22><02><01><07><22><05><02><40><
42><0f><00><22><05><02><80><84><1e><00><22><05><02><60><ec><53><00><22><05><02
><c0><d8><a7><00><22><02><03><07><22><08><04><06><00><60><b3><06><25><04><22><
02><05><01><1a><07><03><01><e0><03><00><00><01><1b><10><c1><01><19><77><b5><1e
><35><b5><3c><36><36><05><46><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><
ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff
><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><
ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff
><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><ff><
ff><ff><34><00><36><00><00> + 222*<ff>
FD20=STAID=0x1f v1.7.4
FD21=STASUPRANGE=0 0x04 1 1-12
FD22=MFIACTRANGES=1 0x01 1 1-1
FD23=CFIACTRANGES2=1 0x02 2 1-1
FD24=PRODUCTNAME=ISL37400M
FD40=PORTSTATUS=8
FD41=CURRENTSSID=DOB-03
FD42=CURRENTBSSID=00:60:b3:6b:6c:07
FD43=COMMSQUALITY=<00><00><51><00><1b><00>
FD44=CURRENTTXRATE=2
FD45=CURRENTBEACONINTERVAL=100
FD46=CURRENTSCALETHRESHOLDS=<36><00><36><00><36><00><04><00><01><00><03><00>
FD47=PROTOCOLRSPTIME=100
FD48=SHORTRETRYLIMIT=8
FD49=LONGRETRYLIMIT=5
FD4A=MAXTRANSMITLIFETIME=512
FD4B=MAXRECEIVELIFETIME=512
FD4C=CFPOLLABLE=0
FD4D=AUTHENTICATIONALGORITHMS=<01><00><01><00>
FD4F=PRIVACYOPTIONIMPLEMENTED=1
FD51=DBMCOMMSQUALITY=<00><00><b7><ff><b7><ff>
FD88=SCANRESULTSTABLE=<00><00><03><00>
FD89=HOSTSCANRESULTS=<40><00><03><00>
FD8A=AUTHENTICATIONUSED=<ff><ff>
FD8B=CNFFAASWITCHCTRL=1
FDC0=PHYTYPE=2
FDC1=CURRENTCHANNEL=1
FDC2=CURRENTPOWERSTATE=2
FDC3=CCAMODE=2
FDC6=SUPPORTEDDATARATES=<02><04><0b><16>
FDC7=LFO_VOLT_REG_TEST_RES=<00><00><00><00><00><00>
FFFE=BUILDSEQ=<00><00><00><00>
FFFF=FWID=010101.HEX<00><00>SF010704.HEX<00><00><00><00>

Unknown RIDs (Resource IDentifiers)


Baseband proccessor (BBP) Configuration Registers

CR0 (Part/Version Code): 48 - Part=3 (HFA3863 series) Version=0 (3863 Version)
CR1 (I/O Polarity): 0 (normal setting 0)
    Phase of RX carrier rotation sense: normal rotation (CCW)
    Phase of TX carrier rotation sense: normal rotation (CCW)
    Phase of TX output clock (TXCLK) pin: NON-Inverted TXCLK
    Active level of the Transmit Ready output: TX_RDY Active 1
    Active level of the transmit enable input: TX_PE Active 1
    Active level of the Clear Channel Assessment output: CCA Active 0
    Active level of the MD_RDY output: MD_RDY Active 1
    Phase of the RX_CLK output: Non-Inverted Clk
CR2 (I Cover Code): 0 (nominally 72)
CR3 (Q Cover Code): 56 (nominally 72)
CR4 (TX Preamble Length): 128 (IEEE 802.11: 128)
CR5 (TX Signal Field): 3
    Preamble mode: Normal
    TX data rate: 11 = CCK - 8 chip sequence (11Mbps)
CR6 (TX Service Field): 132
CR7 (TX Length Field, High): 0
CR8 (TX Length Field, Low): 56
    TX Length Field: 56 usec
CR9 (TX Configure): 162
    CCA sample mode time: 15.8 usec
    CCA mode: CCA is based on (CS1 OR SQ1/CS2)
    TX test modes: Alternating bits for carrier suppression test
    Enable TX test modes: normal operation
    Antenna choice for TX: Set AntSel low
    TX Antenna Mode: set AntSel pin to antenna for which last valid header 
CRC occurred
CR10 (RX Configure): 200
    Initial CS2 estimate: Use SQ1 from Barker correlator peaks
    CIR estimate/Dot product clock control: only on after detect
    SFD Time-out values: 56 usec
    MD_RDY control: After SFD
    Force Frequency Offset Estimating in all antenna diversity timelines: 
disabled
    Antenna choice for RX when single antenna acquisition is selected: AntSel 
pin low
    Antenna acquire: dual antenna for diversity acquisition
CR11 (RX/TX Configure): 3
    Continuous internal RX 22 and 44 MHZ clocks: 0
    A/D input coupling: DC
    TX filter / CMF weight select: US
    Ping Pong Differential Encode: disabled
    CCA mode: normal CCA; CCA will immediately respond to changes in ED, CS1, 
and SQ1
    Precursor value in CIR estimate: 3
CR12 (A/D Test Modes 1): 0
    All DAC and A/D clock source control: normal internal clocks
    TX DAC clock: enable
    RX DAC clock: enable
    I DAC clock: enable
    Q DAC clock: enable
    RF A/D clock: enable
    I A/D clock: enable
    Q A/D clock: enable
CR13 (A/D Test Modes 2): 0
    Standby: disable
    SLEEP TX: disable
    SLEEP RX: disable
    SLEEP IQ: disable
    Analog TX Shut_down: disable
    Analog RX Shut_down: disable
    Analog Standby: disable
    Manual control of mixed signal power down signals (other CR13 bits): 
disable
CR14 (A/D Test Modes 3): 0
    DFS - select straight binary output of I/Q and RF A/D converters: 0
    I/Q DAC input control: normal (TX filter)
    Enable test bus into RX and TX DAC: disable
    Enable RF A/D into RX DAC: disable
    VRbit1: 0
    VRbit0: 0
CR15 (AGC GainClip): 92
CR16 (AGC Sat Cpints): 130
    AGC mid Sat counts: 8
    AGC low Sat counts: 2
CR17 (AGC Update Control): 30
    AGC update during CIR injest: disable
    AGC timer count: 30 (must be >31)
CR18 (AGC HiSat): 199
CR19 (AGC LockinLevel/CW detect threshold): 23
CR20 (AGC LockWindow, pos side): 106
CR21 (AGC Threshold): 18
CR22 (AGC Lookup Table Addr and Control): 31
CR23 (AGC Lookup Table Data): 127
CR24 (AGC LoopGain): 45
CR25 (AGC RX_IF): 32
CR26 (AGC Test Modes): 130
CR27 (AGC RX_RF Threshold): 24
CR28 (AGC Low SatAtten): 121
CR29 (AGC LockWindow, negative side): 202
CR30 (Carrier Sense 2): 36
CR31 (Manual TX Power Control): 202
CR32 (Test Modes 1): 0
CR33 (Test Modes 2): 0
CR34 (Test Bus Address): 0
CR35 (CMF Coefficient Control): 127
CR36 (Scrambler Seed, Long Preamble Option): 139
CR37 (Scrambler Seed, Short Preamble Option): 15
CR38 (ED Threshold): 6
CR39 (CMF Gain Threshold): 10
CR40 (Threshold for antenna decision): 15
CR41 (Preamble tracking loop lead coefficient): 32
CR42 (Preamble tracking loop lag coefficient): 32
CR43 (Header tracking loop lead coefficient): 16
CR44 (Header tracking loop lag coefficient): 16
CR45 (Data tracking loop lead coefficient): 32
CR46 (Data tracking loop lag coefficient): 238
CR47 (RF attenuator value): 30
CR48 (ED and SQ1 control and SQ1 scale factor): 38
CR49 (Read only register mux control for registers 50 to 63): 219
    CW RSSI threshold: 91
    CR50..CR63: 'a' value
CR50 (Test Bus Read): 0
CR51 (Noise floorAntA): 0
CR52 (Noise floorAntB): 0
CR53 (AGC error / I DC Offset): 249
CR54 (Unassigned / Q DC Offset): 252
CR55 (Unassigned  Multipath Metric): 0
CR56 (Unassigned / Multipath Count): 0
CR57 (Unassigned / Packet Signal Quality): 155
CR58 (TX Power Measurement): -25
CR59 (RX Mean Power / Header Signal Quality): 12
CR60 (RX_IF AGC): 12
CR61 (RX Status Reg): 15
    TX PWR det Register semaphore (CR58 updated since last read)
    AGC_lock (AGC is within limits of lock window CR20)
    hwStopBHit (rails hit, AGC updates stopped)
    RX_RF_AGC - status of AGC output to RF chip
CR62 (RSSI): 24
CR63 (RX Status Reg): 0
    Signal field value: 1 M


--
Petr Novak
pen at dobnet.cz
+420 603 870 101




More information about the HostAP mailing list