Endless loop of association & de-auth

Ben Greear greearb at candelatech.com
Sun Jan 30 01:45:36 EST 2011


I have 129 stations trying to connect to hostap.  This is the hostapd
that isn't sending wmm_params, so hostapd is configured for HT40-,
but clients are running 'NO HT'.  Rates for associated stations are
low (13.5 mostly).

All but one or two of them will connect, but the ones that
do not connect are constantly authenticating and de-auth.

Reason-code is 4, which evidently is inactivity, but it is not
even 500ms between authentication complete and the deauth
call.

Driver is ath9k, kernel 2.6.37 wireless-testing.  Client side is 2.6.38-rc2-wireless testing.

Any ideas are appreciated!

Here is a snippet of hostapd logs.

1296369317.995490: 1296369317.995528: vap0: wpa_driver_nl80211_set_key: ifindex=13 alg=0 addr=0x9a6e110 key_idx=0 set_t0
1296369317.995573: vap0:    addr=00:0c:42:61:00:0e
1296369317.995642: 1296369317.995646: WPA: 00:0c:42:61:00:0e WPA_PTK entering state INITIALIZE
1296369317.995707: vap0: wpa_driver_nl80211_set_key: ifindex=13 alg=0 addr=0x9a6e110 key_idx=0 set_tx=1 seq_len=0 key_l0
1296369317.995734: vap0:    addr=00:0c:42:61:00:0e
1296369317.995869: 1296369317.995872: WPA: 00:0c:42:61:00:0e WPA_PTK_GROUP entering state IDLE
1296369317.995931: WPA: 00:0c:42:61:00:0e WPA_PTK entering state AUTHENTICATION
1296369317.995954: WPA: 00:0c:42:61:00:0e WPA_PTK entering state AUTHENTICATION2
1296369317.995976: WPA: 00:0c:42:61:00:0e WPA_PTK entering state INITPSK
1296369317.995997: WPA: 00:0c:42:61:00:0e WPA_PTK entering state PTKSTART
1296369317.996023: 1296369317.996027: WPA: Send EAPOL(version=2 secure=0 mic=0 ack=1 install=0 pairwise=8 kde_len=0 key)
1296369317.996184: NULL: nl80211: Event message available
1296369317.996311: vap0: nl80211: New station 00:0c:42:61:00:0e
1296369317.996367: IEEE 802.1X: 00:0c:42:61:00:0e TX status - version=2 type=3 length=95 - ack=1
1296369318.096226: 1296369318.096231: WPA: 00:0c:42:61:00:0e WPA_PTK entering state PTKSTART
1296369318.096278: 1296369318.096282: WPA: Send EAPOL(version=2 secure=0 mic=0 ack=1 install=0 pairwise=8 kde_len=0 key)
1296369318.096558: IEEE 802.1X: 00:0c:42:61:00:0e TX status - version=2 type=3 length=95 - ack=1
1296369318.329355: mgmt::auth
1296369318.329409: authentication: STA=00:0c:42:61:00:05 auth_alg=0 auth_transaction=1 status_code=0 wep=0
1296369318.329437:   New STA
1296369318.329519: 1296369318.329529: 1296369318.329536: 1296369318.329539: authentication reply: STA=00:0c:42:61:00:05)
1296369318.330603: mgmt::auth cb
1296369318.330644: 1296369318.344601: vap0: mgmt::deauth
1296369318.344678: vap0: deauthentication: STA=00:0c:42:61:00:0e reason_code=4

Thanks,
Ben

-- 
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc  http://www.candelatech.com


More information about the HostAP mailing list