ATH10K Archive on 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: Sun, 11 May 2014 22:05:53 -0700	[thread overview]
Message-ID: <537056B1.6060902@candelatech.com> (raw)
In-Reply-To: <CAHqTa-2sG0wDVaGQVkVcPezArA=OGT+35s_GU+5AmV0TQOau7w@mail.gmail.com>



On 05/11/2014 09:56 PM, Avery Pennarun wrote:
> On Mon, May 12, 2014 at 12:05 AM, Ben Greear <greearb@candelatech.com> wrote:
>> On 05/11/2014 08:54 PM, Avery Pennarun wrote:
>>> On Sun, May 11, 2014 at 11:09 PM, Ben Greear <greearb@candelatech.com>
>>> wrote:
>>>> Also, have you tried sniffing with a third device to see if
>>>> the AP actually puts the ICMP responses on the air?
>>>
>>> I did try that.  As far as I can tell, the ICMP responses are simply
>>> not being sent at all.
>
> I was incorrect about this because I was looking at the wrong data.  I
> tested again with a more obvious method, running "ping -i0.01
> 192.168.1.107" where 107 is the address of my macbook.  With 100
> packets per second, they overwhelm the rest of the traffic so it's
> easy to see whether they're coming through.
>
> The AP definitely *is* transmitting the packets on the air.  Even my
> macbook can see them in the radiotap tcpdump mode, but it doesn't see
> them at the IP layer.  So they are either being encrypted wrong or my
> macbook is decrypting them wrong, I guess.
>
> I think I'll try using wireshark and see what it thinks...
>
>> I haven't dug into many of the stats yet, but it's possible the
>> ath10k debugfs file would show some types of transmit errors in this case?
>
> Possibly.  Can you give me a hint of where to look?  I don't really
> know what these files do.
>
>> Might be interesting to see how long it takes the AP to generate
>> the tx status response for the transmitted ICMP packets.  My firmware
>> has some extended tx status, but I'm not sure it has anything overly
>> useful for your case...I was mostly concerned with the tx rate reporting
>> when writing it.
>
> I can try it with your firmware if you think there is useful data to
> gather, although since it turned out my earlier statement wasn't true
> maybe this is less important :)

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.

If pkts do not get on the air, then possibly the tx status and/or tx
error counters could tell you why, but it seems that is not relevant
in this case.

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  5:06 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 [this message]
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
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=537056B1.6060902@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox