All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ben Greear <greearb@candelatech.com>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] Question on keycache size.
Date: Thu, 12 Jan 2012 08:02:39 -0800	[thread overview]
Message-ID: <4F0F041F.4020300@candelatech.com> (raw)
In-Reply-To: <CAD2nsn22jxbvbhcgQX8q6Y+b543yRi4SNsB9Ynr5dFONQmFQow@mail.gmail.com>

On 01/12/2012 12:27 AM, Mohammed Shafi wrote:
> Hi Ben,
>
> On Thu, Jan 12, 2012 at 3:25 AM, Ben Greear<greearb@candelatech.com>  wrote:
>> I have an ath9k AP, running 3.0.8 kernel (with a few tweaks).
>> nohwcrypt is enabled.
>>
>> I set up some other machines with virtual stations, a total of
>> around 450 and had them associate with the AP.
>>
>> It seems to have worked, at least for a while, but then I started
>> seeing loss of station communication, and in the AP logs I see
>> things like this:
>>
>> Jan 11 13:47:03 localhost kernel: ath: keycache entry 228 out of range
>
> may be we should put 'nohwcrypt' check in ath9k_sta_add and
> ath9k_sta_remove before doing ath_key_config&  ath9k_del_ps_key? i
> will try to analyze the code

Ok, I will be happy to test patches..I can easily associate 128+ stations
with an AP and drive traffic.

 From some private email responses, it would appear that packet aggregation
may be part of the problem.  I could associate 400+ stations, and drive low-level
traffic (one pkt every second or so per station).  The problem started when I
created a 100 pkt per second traffic flow (142 byte pkts if that matters).

If it does turn out that 128+ stations requires nohwcrypt, we should
fail the add of the 129th if using hwcrypt so that folks don't have to
debug tricky problems....

Thanks,
Ben


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

  reply	other threads:[~2012-01-12 16:02 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-11 21:55 [ath9k-devel] Question on keycache size Ben Greear
2012-01-12  8:27 ` Mohammed Shafi
2012-01-12 16:02   ` Ben Greear [this message]
2012-01-12 19:46     ` Adrian Chadd
2012-01-12 20:14       ` Ben Greear
2012-01-12 20:34         ` Ben Greear
2012-01-12 23:11           ` Ben Greear
2012-01-12 23:53             ` Adrian Chadd
2012-01-12 23:59               ` Ben Greear

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=4F0F041F.4020300@candelatech.com \
    --to=greearb@candelatech.com \
    --cc=ath9k-devel@lists.ath9k.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.