hostapd possible hang with firmware 1.8.2?

Ulf Jakobsson fluffe at home.se
Thu Oct 7 05:06:31 EDT 2004


Hi,

If I do "killall hostapd" and then restart it within 5 sec the hostapd
will not start and an error is shown.

This is happening with firmware 1.8.2, not with 1.7.4
Is this a right behaviour?

I'm running module based, latest stable 0.2.5.



This error message is printed on stdout:

Configuration file: /hostapd.conf
Using interface wlan0ap with hwaddr 00:02:6f:30:da:82 and ssid 'keffo'
ioctl[SIOCSIWESSID]: Invalid argument
len=5
Could not set SSID for kernel driver
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Invalid argument
Could not disable PrivacyInvoked for interface wlan0
ioctl[PRISM2_IOCTL_HOSTAPD]: Connection timed out
Could not remove generic information element from interface wlan0


And this in cat /proc/kmsg:

<7>wifi0: enabling hostapd mode
<7>wifi0: registered netdevice wlan0ap
<7>wlan0: hfa384x_cmd: entry still in list? (entry=c1774f20, type=0, res=0)
<7>wlan0: hfa384x_cmd: command was not completed (res=0, entry=c1774f20,
type=0, cmd=0x0121, param0=0xfc02, EVSTAT=0000 INTEN=e09f)
<7>wlan0: hfa384x_set_rid: CMDCODE_ACCESS_WRITE failed (res=-110,
rid=fc02, len=34)
<7>wifi0: hfa384x_cmd: entry still in list? (entry=c01f8820, type=0, res=0)
<7>wifi0: hfa384x_cmd: command was not completed (res=0, entry=c01f8820,
type=0, cmd=0x0021, param0=0xfc28, EVSTAT=0000 INTEN=e09f)
<7>wifi0: hfa384x_get_rid: CMDCODE_ACCESS failed (res=-110, rid=fc28, len=2)
<7>Could not read current WEP flags.
<7>wifi0: encryption setup failed
<7>wifi0: hfa384x_cmd: entry still in list? (entry=c1774d60, type=0, res=0)
<7>wifi0: hfa384x_cmd: command was not completed (res=0, entry=c1774d60,
type=0, cmd=0x0121, param0=0xfc48, EVSTAT=0000 INTEN=e09f)
<7>wifi0: hfa384x_set_rid: CMDCODE_ACCESS_WRITE failed (res=-110,
rid=fc48, len=2)
<7>wifi0: disabling hostapd mode
<6>NETDEV WATCHDOG: wifi0: transmit timed out
<4>wifi0 Tx timed out! Resetting card
<7>wifi0: CMD=8a32 EVSTAT=0000 OFFSET0=0000 OFFSET1=0000 SWSUPPORT0=8a32
<7>wifi0: scheduled card reset
<4>hostap_cs: wifi0: resetting card
<7>prism2_pccard_cor_sreset: original COR 41
<7>wifi0: removed pending cmd_queue entry (type=1, cmd=0x0011,
param0=0xf100)
<7>wifi0: removed pending cmd_queue entry (type=1, cmd=0x010b,
param0=0x01b7)
<7>prism2_hw_init: initialized in 200 ms


Here is my hostapd.conf:

eap_message=hello
interface=wlan0
ssid=keffo
daemonize=1
auth_algs=3
eapol_key_index_workaround=1
macaddr_acl=0


/Regards Ulf





More information about the HostAP mailing list