rt61pci inactivity disassociation -- fails to re-associate

Live forum: http://rt2x00.serialmonkey.com/viewtopic.php?t=4391

plgs

29-10-2007 08:51:59

Hi, I'm using rt61pci 2.0.8 from Fedora kernel 2.6.23.1-31.fc8.
Hardware is a D-Link DWL-G510 Rev C.
AP is a D-Link DI-524.

It all works fine initially, but after about 5-10 min of network inactivity the card disassociates, and I have to manually re-associate it (eg by "iwconfig wlan0 essid <myessid>", or by "ifdown wlan0; ifup wlan0").

Relevant parts of dmesg look like this[coderhj12pbn][...after about 5 minutes of non-use of wireless...]

wlan0: RX disassociation from 00:15:e9:01:97:c0 (reason=4)
wlan0: disassociated
wlan0: associate with AP 00:15:e9:01:97:c0
wlan0: RX ReassocResp from 00:15:e9:01:97:c0 (capab=0x421 status=17 aid=1)
wlan0: AP denied association (code=17)
wlan0: associate with AP 00:15:e9:01:97:c0
wlan0: RX AssocResp from 00:15:e9:01:97:c0 (capab=0x421 status=17 aid=1057)
wlan0: AP denied association (code=17)
wlan0: associate with AP 00:15:e9:01:97:c0
wlan0: RX AssocResp from 00:15:e9:01:97:c0 (capab=0x421 status=17 aid=1057)
wlan0: AP denied association (code=17)
wlan0: association with AP 00:15:e9:01:97:c0 timed out

[...do an "iwconfig wlan0 essid <myessid>" ...]

wlan0: Initial auth_alg=0
wlan0: authenticate with AP 00:15:e9:01:97:c0
wlan0: RX authentication from 00:15:e9:01:97:c0 (alg=0 transaction=2 status=0)
wlan0: authenticated
wlan0: associate with AP 00:15:e9:01:97:c0
wlan0: RX AssocResp from 00:15:e9:01:97:c0 (capab=0x421 status=0 aid=1)
wlan0: associated
wlan0: switched to short barker preamble (BSSID=00:15:e9:01:97:c0)[/coderhj12pbn]
Having looked up the reason=4 and status=17 codes in the 802.11 spec, I'm not sure if this is a driver problem or an AP bug?
disassociation reason=4 "Disassociated due to inactivity."
association status=17 "Association denied because AP is unable to handle additional associated stations." (There are only ever 3 or 4 concurrent connections to this AP).

Thanks for any comments. If this is an AP bug, let me know and I'll get on to D-Link.
Patrick.