DWL660 not working

Fabio Pietrosanti naif naif
Fri Oct 18 03:04:30 PDT 2002


Hi,

i got a ISA-to-PCMCIA adapter ( perfectly working with other pcmcia card ) and
i buyed 1 DWL660 pcmcia card from d-link .

I don't find any information neither on the web neither on news archive
regarding the dwl660 and linux :|

I'm trying to setup HostAP but i got the following error:

Linux ouch 2.4.18 #8 Thu Oct 17 09:51:17 CEST 2002 i586 unknown
hostap-2002-10-12
root at ouch:/data/software/hostap-2002-10-12/utils# gcc -v
Reading specs from /usr/lib/gcc-lib/i386-slackware-linux/3.1/specs
Configured with: ../gcc-3.1/configure --prefix=/usr --enable-shared
--with-gnu-ld --enable-threads --verbose --target=i386-slackware-linux
--host=i386-slackware-linux
Thread model: posix
gcc version 3.1


cs: IO port probe 0x0c00-0x0cff: clean.
cs: IO port probe 0x0800-0x08ff: clean.
cs: IO port probe 0x0100-0x04ff: excluding 0x360-0x36f 0x3b8-0x3e7 0x4d0-0x4d7
cs: IO port probe 0x0a00-0x0aff: clean.
hostap_crypt: registered algorithm 'NULL'
hostap_cs: hostap_cs.c 0.0.0 2002-10-12 (SSH Communications Security Corp, Jouni Malinen)
hostap_cs: (c) Jouni Malinen <jkmaline at cc.hut.fi>
hostap_cs: setting Vcc=33 (constant)
hostap_cs: CS_EVENT_CARD_INSERTION
prism2_config()
hostap_cs: setting Vcc=50 (from config)
Checking CFTABLE_ENTRY 0x01 (default 0x01)
IO window settings: cfg->io.nwin=1 dflt.io.nwin=1
io->flags = 0x0046, io.base=0x0000, len=64
hostap_cs: index 0x01: Vcc 5.0, irq 3, io 0x0100-0x013f
hostap_cs: Registered netdevice wlan0
prism2_hw_init()
prism2_hw_config: initialized in 3749 iterations
wlan0: NIC: id=0x01 v5.0.4
wlan0: PRI: id=0x15 v4.4.1
wlan0: STA: id=0x1f v8.10.1
wlan0: CMD=0x0121 => res=0x7f, resp0=0x0004
wlan0: hfa384x_set_rid: CMDCODE_ACCESS_WRITE failed (res=127, rid=fc33, len=2)
wlan0: Beacon interval setting to 100 failed
wlan0: CMD=0x0121 => res=0x7f, resp0=0x0004
wlan0: hfa384x_set_rid: CMDCODE_ACCESS_WRITE failed (res=127, rid=fcb3, len=2)
wlan0: Basic rates setting failed
wlan0: CMD=0x0121 => res=0x7f, resp0=0x0004
wlan0: hfa384x_set_rid: CMDCODE_ACCESS_WRITE failed (res=127, rid=fcb4, len=2)
wlan0: Supported rates setting failed
wlan0: CMD=0x0121 => res=0x7f, resp0=0x0004
wlan0: hfa384x_set_rid: CMDCODE_ACCESS_WRITE failed (res=127, rid=fc10, len=2)
wlan0: DTIM period setting to 1 failed
wlan0: LinkStatus=2 (Disconnected)
wlan0: LinkStatus=1 (Connected)


root at ouch:/data/software/hostap-2002-10-12/utils# iwpriv wlan0
wlan0     Available private ioctl :
          monitor          (8BE4) : set   1 int   & get   0
          readmif          (8BE3) : set   1 byte  & get   1 byte
          writemif         (8BE2) : set   2 byte  & get   0
          reset            (8BE6) : set   1 int   & get   0
          inquire          (8BE8) : set   1 int   & get   0
          set_rid_word     (8BEE) : set   2 int   & get   0
          maccmd           (8BF0) : set   1 int   & get   0
          wds_add          (8BEA) : set  18 char  & get   0
          wds_del          (8BEC) : set  18 char  & get   0
          addmac           (8BF2) : set  18 char  & get   0
          delmac           (8BF4) : set  18 char  & get   0
          kickmac          (8BF6) : set  18 char  & get   0
          prism2_param     (8BE0) : set   2 int   & get   0
          getprism2_param  (8BE1) : set   1 int   & get   1 int

root at ouch:/data/software/hostap-2002-10-12/utils# ./hostap_diag -a wlan0

Host AP driver diagnostics information for 'wlan0'

NICID: id=0x0001 v5.0.4 (unknown)
PRIID: id=0x0015 v4.4.1
STAID: id=0x001f v8.10.1 (station firmware)

Known RIDs (Resource IDentifiers)

FC00=CNFPORTTYPE=6
FC01=CNFOWNMACADDR=00:05:5d:25:33:cd
FC02=CNFDESIREDSSID=test
FC03=CNFOWNCHANNEL=3
FC04=CNFOWNSSID=test
FC05=CNFOWNATIMWINDOW=0
FC06=CNFSYSTEMSCALE=1
FC07=CNFMAXDATALEN=2304
FC08=CNFWDSADDRESS=00:00:00:00:00:00
FC09=CNFPMENABLED=0
FC0B=CNFMULTICASTRECEIVE=1
FC0C=CNFMAXSLEEPDURATION=100
FC0D=CNFPMHOLDOVERDURATION=100
FC0E=CNFOWNNAME=
FC20=UNKNOWN1=0
FC21=UNKNOWN2=1
FC23=CNFWEPDEFAULTKEYID=2
FC25=CNFDEFAULTKEY1=<00><00>
FC26=CNFDEFAULTKEY2=<01><00>
FC27=CNFDEFAULTKEY3=<01><00>
FC28=CNFWEPFLAGS=<00><00>
FC80=GROUPADDRESSES=
FC81=CREATEIBSS=1
FC83=RTSTHRESHOLD=2347
FC84=TXRATECONTROL=15
FC85=PROMISCUOUSMODE=0
FCB1=CNFEXCLUDELONGPREAMBLE=0
FCB2=CNFAUTHENTICATIONRSPTO=<INVALID RID_WORD LEN 34>
FCE0=TICKTIME=0
FD00=MAXLOADTIME=5000
FD01=DOWNLOADBUFFER=<60><00><00><00><00><20>
FD02=PRIID=0x15 v4.4.1
FD03=PRISUPRANGE=0 0x03 2 1-1
FD04=CFIACTRANGES=1 0x02 1 1-6
FD0A=NICSERNUM=UT22411187  
FD0B=NICID=0x01 v5.0.4
FD0C=MFISUPRANGE=0 0x01 4 6-6
FD0D=CFISUPRANGE=0 0x02 1 5-6
FD10=CHANNELLIST=<ff><07>
FD11=REGULATORYDOMAINS=<10> 012A
FD12=TEMPTYPE=1
FD13=CIS=<01><03><00><00><ff><17><04><67><5a><08><ff><1d><05><01><67><5a><08><ff><15><50><05><00><44><2d><4c><69><6e><6b><00><44><2d><4c><69><6e><6b><20><41><69><72><20><44><57><4c><2d><36><36><30><20><57><69><72><65><6c><65><73><73><20><50><43><20><43><61><72><64><00><56><65><72><73><69><6f><6e><20><30><31><2e><30><31><00><00><00><00><00><00><00><00><00><00><00><00><00><00><00><00><00><00><00><00><00><ff><20><04><56><01><02><00><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><05><5d><25><33><cd><22><02><05><01><1a><07><03><01><e0><03><00><00><01><1b><0f><c1><01><19><76><c5><4b><d5><19><36><36><05><46><7f><ff><ff><ff><00> + 292*<ff>
FD20=STAID=0x1f v8.10.1
FD21=STASUPRANGE=0 0x04 1 6-12
FD22=MFIACTRANGES=<INVALID RID_SUPRANGE LEN 40>
FD23=CFIACTRANGES2=1 0x02 1 1-6
FD40=PORTSTATUS=3
FD41=CURRENTSSID=test
FD42=CURRENTBSSID=02:0d:b5:2d:db:c5
FD43=COMMSQUALITY=<00><00><1b><00><1b><00>
FD44=CURRENTTXRATE=2
FD45=CURRENTBEACONINTERVAL=100
FD46=CURRENTSCALETHRESHOLDS=<40><00><32><00><32><00><0a><00><02><00><06><00>
FD47=PROTOCOLRSPTIME=100
FD48=SHORTRETRYLIMIT=4
FD49=LONGRETRYLIMIT=4
FD4A=MAXTRANSMITLIFETIME=512
FD4B=MAXRECEIVELIFETIME=512
FD4C=CFPOLLABLE=0
FD4D=AUTHENTICATIONALGORITHMS=<01><00><01><00>
FD4F=PRIVACYOPTIONIMPLEMENTED=1
FD51=DBMCOMMSQUALITY=<00><00>
FD88=SCANRESULTSTABLE=<14><00>
FDC0=PHYTYPE=2
FDC1=CURRENTCHANNEL=3
FDC2=CURRENTPOWERSTATE=1
FDC3=CCAMODE=2
FDC6=SUPPORTEDDATARATES=<82><84><0b><16>
FFFF=FWID=040400.HEX<00><00>S1081000.HEX<00><00><00><00>

Unknown RIDs (Resource IDentifiers)

FC86=<00><00>
FD09=<00><00><06><00><01><00><02><00><02><00>
FD14=<03><2e><03><00><2b><00>
FD50=<2b><00>
FD52=<01><00>

Baseband proccessor (BBP) Configuration Registers

CR0 (Part/Version Code): 0 - Part=0 (unknown) 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): 12 (nominally 72)
CR3 (Q Cover Code): 0 (nominally 72)
CR4 (TX Preamble Length): 128 (IEEE 802.11: 128)
CR5 (TX Signal Field): 0
    Preamble mode: Normal
    TX data rate: 00 = DBPSK - 11 chip sequence (1Mbps)
CR6 (TX Service Field): 0
CR7 (TX Length Field, High): 0
CR8 (TX Length Field, Low): 0
    TX Length Field: 0 usec
CR9 (TX Configure): 0
    CCA sample mode time: 19.9 usec
    CCA mode: CCA is based only on ED
    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 value in choice above
CR10 (RX Configure): 0
    Initial CS2 estimate: Use dot product result
    CIR estimate/Dot product clock control: on during acquisition
    SFD Time-out values: 56 usec
    MD_RDY control: After CRC16
    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): 0
    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: 0
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): 0
CR16 (AGC Sat Cpints): 0
    AGC mid Sat counts: 0
    AGC low Sat counts: 0
CR17 (AGC Update Control): 0
    AGC update during CIR injest: disable
    AGC timer count: 0 (must be >31)
CR18 (AGC HiSat): 0
CR19 (AGC LockinLevel/CW detect threshold): 0
CR20 (AGC LockWindow, pos side): 0
CR21 (AGC Threshold): 0
CR22 (AGC Lookup Table Addr and Control): 0
CR23 (AGC Lookup Table Data): 0
CR24 (AGC LoopGain): 0
CR25 (AGC RX_IF): 0
CR26 (AGC Test Modes): 0
CR27 (AGC RX_RF Threshold): 0
CR28 (AGC Low SatAtten): 0
CR29 (AGC LockWindow, negative side): 0
CR30 (Carrier Sense 2): 0
CR31 (Manual TX Power Control): 0
CR32 (Test Modes 1): 0
CR33 (Test Modes 2): 0
CR34 (Test Bus Address): 244
CR35 (CMF Coefficient Control): 0
CR36 (Scrambler Seed, Long Preamble Option): 118
CR37 (Scrambler Seed, Short Preamble Option): 0
CR38 (ED Threshold): 0
CR39 (CMF Gain Threshold): 0
CR40 (Threshold for antenna decision): 0
CR41 (Preamble tracking loop lead coefficient): 0
CR42 (Preamble tracking loop lag coefficient): 0
CR43 (Header tracking loop lead coefficient): 0
CR44 (Header tracking loop lag coefficient): 0
CR45 (Data tracking loop lead coefficient): 0
CR46 (Data tracking loop lag coefficient): 0
CR47 (RF attenuator value): 0
CR48 (ED and SQ1 control and SQ1 scale factor): 0
CR49 (Read only register mux control for registers 50 to 63): 0
    CW RSSI threshold: 0
    CR50..CR63: 'b' value
CR50 (Test Bus Read): 0
CR51 (Signal Quality Measure Based on Carrier Tracking): 0
CR52 (Received Signal Field): 0
CR53 (Received Service Field): 0
CR54 (Received Length Field, Low): 0
CR55 (Received Length Field, High): 0
CR56 (Calculated CRC on Received Header, Low): 0
CR57 (Calculated CRC on Received Header, High): 0
CR58 (TX Power Measurement): 0
CR59 (RX Mean Power): 0
CR60 (RX_IF AGC): 0
CR61 (RX Status Reg): 0
CR62 (RSSI): 0
CR63 (RX Status Reg): 0

and in the log i'm continuosly getting this message:

wlan0: LinkStatus=1 (Connected)

Does this card is supported or there's some hack to make it working?

Regards

Fabio Pietrosanti (naif)
e-mail: naif at inet.it





More information about the Hostap mailing list