From: Ben Greear <greearb@candelatech.com>
To: Harshal Chhaya <harshal@gmail.com>
Cc: Christian Lamparter <chunkeey@googlemail.com>,
linux-wireless@vger.kernel.org, Sujith <m.sujith@gmail.com>
Subject: Re: carl9170: Beacons at lower Tx power than data frames?
Date: Sun, 24 Jul 2011 11:54:58 -0700 [thread overview]
Message-ID: <4E2C6A82.6040105@candelatech.com> (raw)
In-Reply-To: <CAJ8GFOi=xzKUaBT192TnJZ0kMgQ2ja-p7jNRfYj7pEwKFGt75g@mail.gmail.com>
On 07/24/2011 09:04 AM, Harshal Chhaya wrote:
> On Sat, Jul 23, 2011 at 11:34 PM, Ben Greear<greearb@candelatech.com> wrote:
>> On 07/23/2011 02:18 PM, Harshal Chhaya wrote:
>>>
>>> On Sat, Jul 23, 2011 at 3:35 PM, Christian Lamparter
>>> <chunkeey@googlemail.com> wrote:
>>>>
>>>> On Saturday 23 July 2011 21:22:35 Harshal Chhaya wrote:
>>>>>
>>>>> On Fri, Jul 15, 2011 at 9:22 AM, Christian Lamparter
>>>>> <chunkeey@googlemail.com> wrote:
>>>>>>
>>>>>> On Thursday 14 July 2011 21:37:29 Harshal Chhaya wrote:
>>>>>>>
>>>>>>> I am working on an AP design that uses a TI-OMAP3 host processor with
>>>>>>> an Atheros AR9170 + AR9101 WLAN chipset. We are currently using
>>>>>>> carl9170 version 1.9.2 and carl9170 firmware version 1.9.4.
>>>>>>
>>>>>> One question: have you considered ath9k_htc? I would certainly
>>>>>> recommend
>>>>>> it over any ar9170 device.
>>>>>
>>>>> I was under the impression that AP mode support is better in carl9170
>>>>> than in ath9k_htc. I had considered using AR9271 (which is a more
>>>>> recent chipset than the AR9170) but decided against it based on my
>>>>> understanding (which is based on the info on the wiki pages).
>>>>
>>>> Interesting... Sujith, can you please take a look at the wiki if
>>>> ath9k_htc's AP/P2P
>>>> infos are still up to date?
>>>
>>> Thanks for following up on this. I am really interested to know if I
>>> should switch to using the AR9271 (or some other similar chipset).
>>>
>>>>
>>>>> If AR9271 (and ath9k_htc) are more stable and preferable to the AR9170
>>>>> w/ carl9170, please let me know.
>>>>
>>>> AR9271 recevied a lot more testing, so it's ought to perform better.
>>>>
>>>>> Also, to clarify: my application is a wireless network that needs to
>>>>> support 60-70 802.11g clients connecting to the AP using WPA2-PEAP.
>>>>> All of the clients are battery powered and use the power save
>>>>> mechanisms of 802.11.
>>>>
>>>> 60-70 clients is a lot. This would rule out ath9k_htc since the firmwares
>>>> only supports 7/8 stations at a time and I think that's a reasonable
>>>> limit
>>>> for any wireless network. Also, with so many stations the hardware crypto
>>>> will not have enough space to store all station keys and has to switch to
>>>> software de- and encryption.
>>>>
>>>>> Do you see any issues using AR9170 and carl9170 in this scenario?
>>>>
>>>> Sorry, but I've no data about this scenario. However some time ago
>>>> Ben<greearb@candelatech.com> played around 128 stations on a ath9k
>>>> network. But I don't know if he tested any USB solutions at that time.
>>>
>>> I agree - ~8 clients is a reasonable number for most wireless
>>> networks. However, I have a specific application where I need to
>>> support 60-70 clients on a single AP. I will check with Ben on his
>>> experience. Thanks for his contact info.
>>
>> We haven't used USB, but we can reliably support 128 stations,
>> using WPA on AR9380 and the older mini-pci chipsets. We have hacks
>> to make wpa_supplicant be much more efficient when using lots
>> of virtual stations on one machine, but no significant changes
>> to AP mode.
>
> Ben,
>
> Thanks for this information. Did you have to make any changes to
> ath9k_htc on the AP side to support this large number of stations?
>
> Also, any feedback on whether AR9380 (or AR971) chipset with ath9k_htc
> is a better choice on the AP for a large network than the AR9170 +
> carl9170 (which is what I am currently using)?
We've had good luck with the AR9380, once we force it to have a proper
reg-domain. We don't use ath9k_htc as far as I know.
Our main testing is with client-mode and lots of virtual clients: We
just use AP mode to run the clients against mostly...
>> Also, we are associating 128 virtual stations from a single or
>> small number of radios. You may get different behaviour if you
>> are using 128 real radios.
>
> Good point. I would guess that the memory mgmt and CPU load on the AP
> will be similar in both cases - but the actual over-the-air packet
> exchanges could be different.
>
>
>> You can find our hostap repository here:
>> https://github.com/greearb/hostap-ct
>
> Is this a super-set of the patches at
> http://www.candelatech.com/~greearb/patches/hostap-h/?
I think so, currently. But, we update and rebase against upstream
every now and then. At any rate, the hostap-ct repo is what we use
for our actual testing.
If you do end up using our tree, bug reports and patches are welcome.
>> We are trying to get our changes pushed upstream, but it's a slow
>> process...
>>
>> The 'can-scan-one' logic requires hacks to the kernel as well, in case
>> you want to use it. Our kernel patches are here:
>> http://dmz2.candelatech.com/git/?p=linux-3.0.dev.y/.git;a=summary
>
> We are currently using the 2.6.37 kernel because later kernels don't
> have support for my host processor (TI AM3703).
We saw a lot of flakiness in older kernels (basically, I would
suspect anything before 3.0 unless perhaps if you have all of
the stable patches from .37, .38 and .39 applied. No one is automatically
backporting patches to .37 still, I think..so you'd have to dig them out
yourself...
Might be worth the effort to get 3.0 working on your processor instead
of trying to backport wireless fixes.
>
> Also, based on your description of 'can-scan-one' (from the list
> archives), I don't think it applies to my application since I don't
> use virtual interfaces.
>
> But I will take a look at your kernel patches to see which ones apply
> to our config.
>
>> I don't think any of our current kernel wireless patches have a chance at
>> upstream
>> acceptance, but they are fairly minimal, so the stock 3.0 kernel might
>> be fine for you.
>>
>> Our hardware is dual-core Atom systems or better, 1GB+ RAM, etc. These are
>> fairly powerful,
>> and we disable power saving by default. We use software encryption to allow
>> virtualization.
>
> I am going to try s/w encryption but I can't disable power saving
> since my clients are all battery powered. Also, my current h/w has
> 64MB of RAM - I have already asked the hardware guys to double it to
> 128. Hopefully that willl be enough.
>
> Thanks again for your help. I will let you know if using software
> encryption helps.
I doubt that software encryption will help in your case...and if it does,
it's probably due to a bug somewhere, but it's surely worth a try.
Thanks,
Ben
--
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc http://www.candelatech.com
next prev parent reply other threads:[~2011-07-24 18:55 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-14 19:37 carl9170: Beacons at lower Tx power than data frames? Harshal Chhaya
2011-07-15 14:22 ` Christian Lamparter
2011-07-23 19:22 ` Harshal Chhaya
2011-07-23 20:35 ` Christian Lamparter
2011-07-23 21:18 ` Harshal Chhaya
2011-07-24 4:34 ` Ben Greear
2011-07-24 16:04 ` Harshal Chhaya
2011-07-24 18:54 ` Ben Greear [this message]
2011-07-28 16:18 ` Harshal Chhaya
2011-07-28 16:49 ` Christian Lamparter
2011-07-28 18:57 ` Harshal Chhaya
2011-07-28 19:41 ` Christian Lamparter
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=4E2C6A82.6040105@candelatech.com \
--to=greearb@candelatech.com \
--cc=chunkeey@googlemail.com \
--cc=harshal@gmail.com \
--cc=linux-wireless@vger.kernel.org \
--cc=m.sujith@gmail.com \
/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.