I also have this problem. I'm running kernel 2.6.38-7-generic (buildd@allspice) (gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-6ubuntu5) ) #38-Ubuntu SMP Tue Mar 22 13:41:53 UTC 2011
I ran wpa_supplicant in debug mode and got this log when the connection is dropped and network-manager tries to reconnect:
FT: Stored MDIE and FTIE from (Re)Association Response - hexdump(len=0):
WPA: set AP WPA IE - hexdump(len=28): XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX
WPA: set AP RSN IE - hexdump(len=26): XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX
WPA: Set own WPA IE default - hexdump(len=22): XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX
ioctl[SIOCSIWAP]: Device or resource busy
The last line ("Device or resource busy") looks like a hint that something is going wrong. When it eventually manages to reconnect (sometimes after tens of tries), the (slightly redacted) log says
replay_counter - hexdump(len=8): 00 00 00 00 00 00 00 01
key_nonce - hexdump(len=32): XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX
key_iv - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
key_rsc - hexdump(len=8): 00 00 00 00 00 00 00 00
key_id (reserved) - hexdump(len=8): 00 00 00 00 00 00 00 00
key_mic - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
RSN: msg 1/4 key data - hexdump(len=0):
WPA: Renewed SNonce - hexdump(len=32): XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX
WPA: PMK - hexdump(len=32): [REMOVED]
WPA: PTK - hexdump(len=48): [REMOVED]
WPA: WPA IE for msg 2/4 - hexdump(len=22): XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX
replay_counter - hexdump(len=8): 00 00 00 00 00 00 00 02
key_nonce - hexdump(len=32): XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX
key_iv - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
key_rsc - hexdump(len=8): 17 58 02 00 00 00 00 00
key_id (reserved) - hexdump(len=8): 00 00 00 00 00 00 00 00
key_mic - hexdump(len=16): XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX
RSN: encrypted key data - hexdump(len=104): XX XX [...]
WPA: decrypted EAPOL-Key key data - hexdump(len=96): [REMOVED]
I also have this problem. I'm running kernel 2.6.38-7-generic (buildd@allspice) (gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-6ubuntu5) ) #38-Ubuntu SMP Tue Mar 22 13:41:53 UTC 2011
and my wireless card is
Broadcom Corporation BCM4321 802.11a/b/g/n [14e4:4328] (rev 03)
I ran wpa_supplicant in debug mode and got this log when the connection is dropped and network-manager tries to reconnect:
FT: Stored MDIE and FTIE from (Re)Association Response - hexdump(len=0):
WPA: set AP WPA IE - hexdump(len=28): XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX
WPA: set AP RSN IE - hexdump(len=26): XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX
WPA: Set own WPA IE default - hexdump(len=22): XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX
ioctl[SIOCSIWAP]: Device or resource busy
The last line ("Device or resource busy") looks like a hint that something is going wrong. When it eventually manages to reconnect (sometimes after tens of tries), the (slightly redacted) log says
replay_counter - hexdump(len=8): 00 00 00 00 00 00 00 01
key_nonce - hexdump(len=32): XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX
key_iv - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
key_rsc - hexdump(len=8): 00 00 00 00 00 00 00 00
key_id (reserved) - hexdump(len=8): 00 00 00 00 00 00 00 00
key_mic - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
RSN: msg 1/4 key data - hexdump(len=0):
WPA: Renewed SNonce - hexdump(len=32): XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX
WPA: PMK - hexdump(len=32): [REMOVED]
WPA: PTK - hexdump(len=48): [REMOVED]
WPA: WPA IE for msg 2/4 - hexdump(len=22): XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX
replay_counter - hexdump(len=8): 00 00 00 00 00 00 00 02
key_nonce - hexdump(len=32): XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX
key_iv - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
key_rsc - hexdump(len=8): 17 58 02 00 00 00 00 00
key_id (reserved) - hexdump(len=8): 00 00 00 00 00 00 00 00
key_mic - hexdump(len=16): XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX
RSN: encrypted key data - hexdump(len=104): XX XX [...]
WPA: decrypted EAPOL-Key key data - hexdump(len=96): [REMOVED]