Again! DWL-520 Rev. e

spes333 at gmx.de spes333 at gmx.de
Thu Jan 8 22:08:45 EST 2004


I enable the download of the firmware in the hostap_config.h.
After this I compiled the driver.

modprobe hostap_pci no_primary=1
./prism2_srec -gs wlan0 pm010102.hex
./prism2_srec -gip wlan0 pm010102.hex
./prism2_srec -rp wlan0 rf010704.hex

the result of these command: (from dmesg)

hostap_crypt: registered algorithm 'NULL'
hostap_pci: CVS (Jouni Malinen <jkmaline at cc.hut.fi>)
hostap_pci: Registered netdevice wifi0
wifi0: Original COR value: 0x0
hostap_pci: assuming no Primary image in flash - card initialization not
completed
wifi0: test Genesis mode with HCR 0x1f
wifi0: Original COR value: 0xb0
Readback test failed, HCR 0x1f write 00 e1 a1 ff read 00 ce a1 ce
wifi0: test Genesis mode with HCR 0x0f
wifi0: Original COR value: 0xa1
Readback test succeeded, HCR 0x0f
wifi0: Intersil Prism2.5 PCI: mem=0xe6803000, irq=10
wifi0: registered netdevice wlan0
prism2_download: dl_cmd=4 start_addr=0x003f0000 num_areas=3
  area 0: addr=0x007e0000 len=2352 ptr=0x08052a38
  area 1: addr=0x007e0a00 len=2520 ptr=0x08053370
  area 2: addr=0x007e17fe len=2 ptr=0x08053d50
wifi0: no PRI f/w - assuming Aux port is already enabled
wifi0: test Genesis mode with HCR 0x0f
wifi0: Original COR value: 0x0
Readback test succeeded, HCR 0x0f
wifi0: Writing 2352 bytes at 0x007e0000
wifi0: Writing 2520 bytes at 0x007e0a00
wifi0: Writing 2 bytes at 0x007e17fe
Disable genesis mode
Trying to initialize card
prism2_hw_init: initialized in 0 ms
Card initialized - running PRI only
prism2_hw_init: initialized in 0 ms
wifi0: trying to read PDA from 0x007f0000: OK
wifi0: NIC: id=0x8000 v0.0.1
wifi0: PRI: id=0x15 v1.1.2
Could not get RID for component STA
wifi0: Failed to read STA f/w version - only Primary f/w present
prism2_download: dl_cmd=6 start_addr=0x003f0000 num_areas=3
  area 0: addr=0x007e0000 len=2352 ptr=0x08052a38
  area 1: addr=0x007e0a00 len=2520 ptr=0x08053370
  area 2: addr=0x007e17fe len=2 ptr=0x08053d50
wifi0: test Genesis mode with HCR 0x0f
wifi0: Original COR value: 0x0
Readback test succeeded, HCR 0x0f
wifi0: Writing 2352 bytes at 0x007e0000
wifi0: Writing 2520 bytes at 0x007e0a00
wifi0: Writing 2 bytes at 0x007e17fe
Disable genesis mode
Trying to initialize card
prism2_hw_init: initialized in 0 ms
Card initialized - running PRI only
prism2_hw_init: initialized in 0 ms
wifi0: trying to read PDA from 0x007f0000: OK
wifi0: NIC: id=0x8024 v1.0.0
wifi0: PRI: id=0x15 v1.1.2
Could not get RID for component STA
wifi0: Failed to read STA f/w version - only Primary f/w present
prism2_download: dl_cmd=5 start_addr=0x003f0c01 num_areas=3
  area 0: addr=0x007e17fe len=51856 ptr=0x08052bc8
  area 1: addr=0x007f0800 len=3974 ptr=0x0805f660
  area 2: addr=0x007fe000 len=3270 ptr=0x080605f0
wifi0: Writing 51856 bytes at 0x007e17fe
wifi0: Writing 3974 bytes at 0x007f0800
wifi0: Writing 3270 bytes at 0x007fe000
prism2_hw_init: initialized in 30 ms
wifi0: trying to read PDA from 0x007f0000: OK
wifi0: NIC: id=0x8024 v1.0.0
wifi0: PRI: id=0x15 v1.1.2
wifi0: STA: id=0x1f v1.7.4

It seems that I have some problems with the second firmware or RID.

After this loading I tried iwconfig... it found TWO wlan devices wlan0 and
wifi0.

wifi0     IEEE 802.11b  ESSID:"test"
          Mode:Master  Access Point: 00:00:00:00:00:00  Bit Rate:11Mb/s
          Sensitivity=1/242700000
          Retry min limit:8   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

wlan0     IEEE 802.11b  ESSID:"test"
          Mode:Master  Access Point: 00:00:00:00:00:00  Bit Rate:11Mb/s
          Sensitivity=1/242700000
          Retry min limit:8   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off


Try to configure the devices with iwconfig... with no success.

I try with another computer and kismet to find the card... with no success.

Anybody any idea? 


-- 
+++ GMX - die erste Adresse für Mail, Message, More +++
Neu: Preissenkung für MMS und FreeMMS! http://www.gmx.net





More information about the HostAP mailing list