Skip to contentSkip to conversation

no reassociateing with rtl8187 driver

DISCUSSION Hauke Mehrtens 2 participants 2 messages Apr 4, 2007 – Apr 5, 2007

lore
Share & tools
lore
#0 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi

I am using the rtl8187 driver based on the mac80211 stack and it is working pretty well except it can't reassociate to the access point with WEP encryption enabled (I haven't tested without) of which he lost the connection.

The association process worked very well:

wlan0: starting scan
wlan0: scan completed
wlan0: Initial auth_alg=0
wlan0: authenticate with AP 00:40:05:cc:38:b4
wlan0: authenticate with AP 00:40:05:cc:38:b4
wlan0: RX authentication from 00:40:05:cc:38:b4 (alg=0 transaction=2 status=0)
wlan0: authenticated
wlan0: associate with AP 00:40:05:cc:38:b4
wlan0: RX AssocResp from 00:40:05:cc:38:b4 (capab=0x51 status=0 aid=2)
wlan0: associated

But if he loses the connection for example because someone is standing between the AP and the wireless card, he doesn't try to reassociate to the wireless LAN and I get this:

wlan0: No ProbeResp from current AP 00:40:05:cc:38:b4 - assume out of range
wlan0: No STA entry for own AP 00:40:05:cc:38:b4
wlan0: No STA entry for own AP 00:40:05:cc:38:b4
wlan0: No STA entry for own AP 00:40:05:cc:38:b4

After stopping the interface and starting it an other time the card is connecting to the AP

wmaster0: Does not support passive scan, disabled
wlan0: Initial auth_alg=0
wlan0: authenticate with AP 00:40:05:cc:38:b4
wlan0: authenticate with AP 00:40:05:cc:38:b4
wlan0: RX authentication from 00:40:05:cc:38:b4 (alg=0 transaction=2 status=0)
wlan0: authenticated
wlan0: associate with AP 00:40:05:cc:38:b4
wlan0: RX AssocResp from 00:40:05:cc:38:b4 (capab=0x51 status=0 aid=2)
wlan0: associated

- --
Hauke Mehrtens
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGFAzQrcX0gpXFjnsRAiYgAJ9OYHLHkUvv5tvfZ7+wohvOdmK4tQCcDZ+E BZabge3jRk4f6eOdV3pTDp8=
=G0GE
-----END PGP SIGNATURE-----

#1 lore raw
Quoted 5 lines · Hauke Mehrtens

I am using the rtl8187 driver based on the mac80211 stack and it is working pretty well except it can't reassociate to the access point with WEP encryption enabled (I haven't tested without) of which he lost the connection.

mac80211 doesn't handle reassociation when a connection is lost. It is recommended to configure mac80211 with either wpa_supplicant or NetworkManager (which in turn uses wpa_supplicant). However, since we're trying to have a reasonable level of compatibility with userspace that use wireless tools directly to connect, some reassociation is probably appropriate to implement.

-Michael Wu