linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Strange behavior with rtl8192se
@ 2012-01-08 14:07 Thadeu Lima de Souza Cascardo
  2012-01-08 16:52 ` Larry Finger
  0 siblings, 1 reply; 3+ messages in thread
From: Thadeu Lima de Souza Cascardo @ 2012-01-08 14:07 UTC (permalink / raw)
  To: Larry Finger; +Cc: Chaoming Li, linux-wireless, John W. Linville

[-- Attachment #1: Type: text/plain, Size: 3541 bytes --]

Hello, Larry.

I have some problems with rtl819se that I couldn't find out what the
reason is. I would like some ideas as to what look after, what debugging
I can make or what changes I could try in the driver to fix it.

The problem is that, sometimes, the adapter cannot receive probe
responses from my AP. Other devices in my network can reconnect to it,
so it's not a problem in the AP itself. There are other evidence that
point out to a problem with rtl8192se, as I will point out below.

So, usually this happens when, for some reason, I can't receive any
packages from the network. After that, I try to reconnect, with no
success. The problem is that, even after a reboot, I keep trying without
no success to associate. I need to shutdown the machine to get the
adapter back to work. And that's another evidence that the AP is not to
blame. And it also happens with other AP I have around. Below is what I
get in dmesg when trying to associate.

wlan0: direct probe to 36:d9:98:74:ff:42 (try 1/3)
wlan0: direct probe to 36:d9:98:74:ff:42 (try 2/3)
wlan0: direct probe to 36:d9:98:74:ff:42 (try 3/3)
wlan0: direct probe to 36:d9:98:74:ff:42 timed out
wlan0: direct probe to 36:d9:98:74:ff:42 (try 1/3)
wlan0: direct probe to 36:d9:98:74:ff:42 (try 2/3)
wlan0: direct probe to 36:d9:98:74:ff:42 (try 3/3)
wlan0: direct probe to 36:d9:98:74:ff:42 timed out

Since a reboot didn't work and a shutdown did fix it, I have tried
shutting down only the adapter, putting it into D3_cold state and then
back into D0, but that didn't work. That may be a problem with my
notebook and its ACPI implementation. What I have managed to do is to
hibernate: after a resume from that, it works as if I have shutdown. So,
it's really a matter of shutting down the adapter or the system, instead
of rebooting.

And that tells more: I have also tried to reload the driver and mac80211
stack, with no success. And since hibernate works, that is in their
favour to some extent. It indicates that's not a problem in a software
state. Well, there is the suspend and resume functions, but since
suspend didn't work and hibernate uses the same functions, they are not
fixing anything, neither breaking it.

So, what I suspect is either there is some state in the hardware, like a
filter for the BSSID or anything like that, that is not being cleared by
the driver, or there is something wrong with the platform, perhaps ACPI
is doing something stupid. There is not much reason to suspect the
latter, however, since this bug does not require me to switch rfkill off
and on or to unplug the notebook from the wall. It just happens if I
have to reconnect for any reason.

Since the adapter is not receiving probe responses from my AP, I decided
to run it on monitor too. And, well, it does not receive the probe
responses from my AP, but receives from some APs nearby. If I try to
associate with my other AP, however, it fails too. I have put another
device in monitor state too and have seen that the AP is sending the
responses, so the adapter is really sending the requests (which I also
saw in the monitor), but it's just not receivig the responses.

Note that this was all done two meters from the AP, so this should not
be a matter of distance or power. The other AP, whose responses I see
should be further away, since it's not in my apartment.

Any clues? I have run these monitor tests using 3.2-rc6. But I have also
run into this same problem running 3.2-03023-g02550d6, which is latest
rc, containing a merge from the last net-next.

Regards.
Cascardo.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-01-10  1:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-08 14:07 Strange behavior with rtl8192se Thadeu Lima de Souza Cascardo
2012-01-08 16:52 ` Larry Finger
2012-01-10  1:16   ` Thadeu Lima de Souza Cascardo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).