All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ben Greear <greearb@candelatech.com>
To: Avery Pennarun <apenwarr@gmail.com>
Cc: ath10k <ath10k@lists.infradead.org>
Subject: Re: Unicast packets stop being transmitted to a particular station, under load, when WPA2 is enabled
Date: Mon, 12 May 2014 07:10:29 -0700	[thread overview]
Message-ID: <5370D655.4090206@candelatech.com> (raw)
In-Reply-To: <CAHqTa-2y9n3AxdN--QGqGW-HRZnrBwEOhujWZ4FNZKmpU+kHMQ@mail.gmail.com>

On 05/12/2014 01:21 AM, Avery Pennarun wrote:
> On Mon, May 12, 2014 at 3:07 AM, Avery Pennarun <apenwarr@gmail.com> wrote:
>> On Mon, May 12, 2014 at 1:05 AM, Ben Greear <greearb@candelatech.com> wrote:
>>> If it's getting on the air, then I think the only way to figure out
>>> what is wrong is to decode the packets and see if they are encrypted
>>> properly or not.  I think there is a way to get wireshark to decode
>>> pkts by feeding it the proper keys, but I have not ever actually tried
>>> doing that.
>>
>> Okay, here is a fairly reduced capture of my wireshark trace:
>> http://apenwarr.ca/tmp/ath10k-utorrent-dropout-v2-reduced.pcapng.gz
>> [...]
> 
> From what I can see, the most suspicious part of this trace is an
> 802.11 Action - Add Block Ack Request at time 181.1456.  In a longer
> version of this trace, I can see these occurring sporadically.  Each
> one has a different TI field:
> 
> Time 8.367: TID=0
> Time 9.609: TID=6
> Time 156.188: TID=1
> Time 178.076: TID=2
> Time 181.145: TID=3  <-- almost exactly the time of the failure
> Time 190.127: TID=5
> 
> I don't know how 802.11 QoS works, but I don't think it makes sense to
> keep negotiating block ack policies with different TIDs.  Also, the
> Block Ack Starting Sequence Number field is always zero; I don't know
> what that does, but it seems weird to me.

I'm afraid I don't know much about blockack either.  I did fix an assert
and use-after-free bug in blockack code in my firmware (though, possibly
the use-after-free was introduced by my earlier assert fix), and possibly
neither of these fixes are needed in .467 firmware, as I was first developing
on earlier firmware.

I think my blockack fixes only applied to bringing stations up
and down, so probably not related to your issue.

Hopefully someone that knows more about BA can comment on your
trace.

Thanks,
Ben


-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com


_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

  reply	other threads:[~2014-05-12 14:10 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-12  1:57 Unicast packets stop being transmitted to a particular station, under load, when WPA2 is enabled Avery Pennarun
2014-05-12  2:07 ` Dave Taht
2014-05-12  2:29   ` Avery Pennarun
2014-05-12  2:42     ` Dave Taht
2014-05-12  2:46       ` Dave Taht
2014-05-12 14:49         ` Adrian Chadd
2014-05-12  3:09 ` Ben Greear
2014-05-12  3:54   ` Avery Pennarun
2014-05-12  4:05     ` Ben Greear
2014-05-12  4:56       ` Avery Pennarun
2014-05-12  5:05         ` Ben Greear
2014-05-12  5:19           ` Avery Pennarun
2014-05-12  7:07           ` Avery Pennarun
2014-05-12  8:21             ` Avery Pennarun
2014-05-12 14:10               ` Ben Greear [this message]
2014-05-14 19:07               ` Avery Pennarun
2014-05-14 19:26                 ` Dave Taht
2014-05-14 19:38                   ` Adrian Chadd
2014-05-15  6:12                   ` Avery Pennarun
2014-05-16 20:01                     ` Dave Taht
2014-05-16 20:10                       ` Adrian Chadd
2014-05-19 21:04                     ` Adrian Chadd
2014-05-19 21:07                       ` Dave Taht
2014-05-19 21:09                         ` Adrian Chadd
2014-05-14 20:20               ` Adrian Chadd
2014-05-14 20:46                 ` Adrian Chadd
2014-05-14 21:45                   ` Avery Pennarun
2014-05-27  9:53     ` Kalle Valo
2016-06-17  0:01       ` Ben Greear
2014-05-12 14:53 ` Adrian Chadd

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=5370D655.4090206@candelatech.com \
    --to=greearb@candelatech.com \
    --cc=apenwarr@gmail.com \
    --cc=ath10k@lists.infradead.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.