D-Link 650P - getting closer

Pavel Roskin proski
Sat Dec 20 22:26:59 PST 2003


Hello!

I just want to post what I have achieved so far with D-Link 650P.  I'm
using the CVS version of hostap with the two patches I've just posted.

What I run:

cardctl eject
modprobe hostap_cs no_primary=1
cardctl insert
prism2_srec -g wifi0 pm010102.hex

The kernel log is attached.  I added the commands to make it clear which
command causes which messages.

The output of "prism2_srec -g wifi0 pm010102.hex":

srec summary for pm010102.hex
Included file name: PM010102.HEX
Component: 0x0015 1.1.2 (primary firmware)
ioctl[PRISM2_IOCTL_HOSTAPD]: Connection timed out
Missing wlan component info
Could not read wlan RIDs

0xFD0B is HFA384X_RID_NICID.  I'm actually not sure that pm010102.hex is
what I should load.

It should be possible to make no_primary a per-device setting and set it
automatically for known cards without flash.

-- 
Regards,
Pavel Roskin
-------------- next part --------------
# modprobe hostap_cs no_primary=1

hostap_crypt: registered algorithm 'NULL'
hostap_cs: CVS (Jouni Malinen <jkmaline at cc.hut.fi>)

# cardctl insert

hostap_cs: setting Vcc=33 (constant)
hostap_cs: CS_EVENT_CARD_INSERTION
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 = 0x0047, io.base=0x0000, len=128
hostap_cs: Registered netdevice wifi0
hostap_cs: index 0x01: Vcc 5.0, irq 5, io 0x0200-0x027f
hostap_cs: assuming no Primary image in flash - card initialization not completed
wifi0: prism2_enable_aux_port - timeout - reg=0x8cd5
wifi0: trying to read PDA from 0x007f0000: failed
wifi0: trying to read PDA from 0x003f0000: failed
wifi0: trying to read PDA from 0x00390000: failed
wifi0: trying to read PDA from 0x007f0002: failed
wifi0: prism2_enable_aux_port - timeout - reg=0xfa49
wifi0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec
wifi0: hfa384x_cmd_issue - timeout - reg=0x8a32
wifi0: hfa384x_cmd: entry still in list? (entry=f1070f78, type=0, res=-1)
wifi0: hfa384x_cmd: interrupted; err=-110
wifi0: hfa384x_get_rid: CMDCODE_ACCESS failed (res=-110, rid=fd0b, len=8)
Could not get RID for component NIC
hostap_cs: Initialization failed
prism2: wifi0: operating mode changed 3 -> 2
wifi0: hfa384x_setup_bap - timeout before
wifi0: hfa384x_set_rid (rid=fc00, len=2) - failed - res=-110
wifi0: hfa384x_setup_bap - timeout before
wifi0: hfa384x_set_rid (rid=fc0e, len=34) - failed - res=-110
wifi0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec
wifi0: hfa384x_cmd_issue - timeout - reg=0x8ce2
wifi0: hfa384x_cmd: entry still in list? (entry=eb1fdf78, type=0, res=-1)
wifi0: hfa384x_cmd: interrupted; err=-110
wifi0: hfa384x_get_rid: CMDCODE_ACCESS failed (res=-110, rid=fc28, len=2)
Could not read current WEP flags.
wifi0: encryption setup failed
wifi0: set_encryption failed
wifi0: hfa384x_setup_bap - timeout before
wifi0: hfa384x_set_rid (rid=fc02, len=34) - failed - res=-110

# prism2_srec -g wifi0 pm010102.hex

wifi0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec
wifi0: hfa384x_cmd_issue - timeout - reg=0x8ce2
wifi0: hfa384x_cmd: entry still in list? (entry=f1070f78, type=0, res=-1)
wifi0: hfa384x_cmd: interrupted; err=-110
wifi0: hfa384x_get_rid: CMDCODE_ACCESS failed (res=-110, rid=fd0b, len=1008)



More information about the Hostap mailing list