MAC crash during switch to master mode with null ESSID
Mark Glines
mark-hostap
Tue Mar 25 15:32:48 PST 2003
Hello,
I've noticed that when you switch the mode to managed, change the essid
to any and switch back to master mode before the MAC has associated with
anything, the MAC seems to subsequently crash. This is reproduceable
by typing the following commands in quick succession:
iwconfig wlan0 mode managed
iwconfig wlan0 essid any
iwconfig wlan0 mode master
iwconfig wlan0 # <-- this pauses for a second, amidst lots of dmesg errors
I've worked around it by resetting the essid to something more useful
before going back to master mode, but I was curious... is this already
a known problem with this chipset?
I've tried this with two cards, and two versions of the hostap driver, with
the same results.
One card/driver:
hostap_cs: hostap_cs.c 0.0.0 2002-10-12 (SSH Communications Security Corp, Jouni Malinen)
...
wlan0: NIC: id=0x8002 v1.0.0
wlan0: PRI: id=0x15 v0.3.0
wlan0: STA: id=0x1f v0.8.3
The other (CVS from today):
hostap_cs: 0.0.0 CVS (Jouni Malinen <jkmaline at cc.hut.fi>)
...
wlan0: NIC: id=0x8003 v1.0.0
wlan0: PRI: id=0x15 v0.3.0
wlan0: STA: id=0x1f v1.5.6
If you're interested, the errors look like:
wlan0: hfa384x_setup_bap - offset error (0,64644,0)
wlan0: hfa384x_get_rid (rid=fc84, len=2) - failed - res=-22
wlan0: hfa384x_setup_bap - offset error (0,64643,0)
wlan0: hfa384x_get_rid (rid=fc83, len=2) - failed - res=-22
wlan0: hfa384x_setup_bap - offset error (0,64642,0)
wlan0: hfa384x_get_rid (rid=fc82, len=2) - failed - res=-22
wlan0: hfa384x_setup_bap - offset error (0,64521,0)
wlan0: hfa384x_get_rid (rid=fc09, len=2) - failed - res=-22
wlan0: hfa384x_cmd: entry still in list? (entry=c1074510, type=0, res=0)
wlan0: hfa384x_cmd: command was not completed (res=0, entry=c1074510, type=0, cmd=0x0030, param0=0x003e, EVSTAT=8000)
wlan0: hfa384x_cmd: entry still in list? (entry=c1074510, type=0, res=0)
wlan0: hfa384x_cmd: command was not completed (res=0, entry=c1074510, type=0, cmd=0x0021, param0=0xfd48, EVSTAT=8000)
wlan0: hfa384x_get_rid: CMDCODE_ACCESS failed (res=-110, rid=fd48, len=2)
The MAC needs a hard reset afterwards to be of any use. Is this a known
problem? Is it fixed in later firmware?
Mark
More information about the Hostap
mailing list