From: Steve Brown <sbrown@cortland.com>
To: "linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Cc: Steve Brown <sbrown@cortland.com>,
Larry Finger <larry.finger@lwfinger.net>
Subject: Re: RTLWIFI - RTL8192CU troubles
Date: Tue, 24 Jun 2014 12:25:04 -0600 [thread overview]
Message-ID: <1403634304.1189.10.camel@nm-ws> (raw)
In-Reply-To: <1403482954.22303.28.camel@nm-ws>
On Sun, 2014-06-22 at 18:22 -0600, Steve Brown wrote:
> I have an RTL8188CUS dongle. My test setup is a Beaglebone black w/
> wireless-testing of a few days ago on a debian rootfs. It is set up as
> an unencrypted station. The AP uses a Ubiquiti SR71-A (AR9160), has been
> in service for some time, is running compat-wireless-2014-05-22 and
> isn't suspect.
>
> After scp'ing several 10MB files in either direction, traffic stops.
> Well, not all the traffic. If I ping the AP, Wireshark on a separate
> computer and monitor interface shows that the ping from the station gets
> on the air and so does the AP's ack, but no ping reply is sent by the
> AP. ARP broadcasts from the station are ack'ed and responded to, just
> not the pings. If I run tcpdump on the station's interface, it shows the
> ARP packets and their response and any other broadcast traffic, just not
> the ping or reply. Lastly, this only occurs in HT mode.
>
> I've compared the Wireshark dumps of the pings from before the interface
> hangs up and after and can't see any difference.
>
After looking at some more wireshark output, the problem seems to be
that the aggregation sessions deadlock when a second one starts before
the first one completes. That would explain why it only occurs in HT
mode.
The sequence on the air before the deadlock is:
STA->AP block ack req
STA->AP ping req
AP->STA block ack resp
AP->STA ping resp
AP->STA block ack req
STA->AP block ack resp
The sequence on the air after the deadlock is:
AP->STA block ack req
STA->AP block ack req
AP->STA block ack resp
STA->AP block ack resp
STA->AP ping req
...
STA->AP ping req (repeats)
I noticed a fix for a similar problem with ath9k in the description of patch:
ath9k: prevent aggregation session deadlocks
08c96abd611beadf2af414a306fe0fb02ba706ff
Steve
prev parent reply other threads:[~2014-06-24 18:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-23 0:22 RTLWIFI - RTL8192CU troubles Steve Brown
2014-06-24 18:25 ` Steve Brown [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1403634304.1189.10.camel@nm-ws \
--to=sbrown@cortland.com \
--cc=larry.finger@lwfinger.net \
--cc=linux-wireless@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox