From: Ben Greear <greearb@candelatech.com>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: linux-wireless@vger.kernel.org
Subject: Re: [PATCH v10 2/2] mac80211: Support ht-cap over-rides.
Date: Fri, 18 Nov 2011 12:43:25 -0800 [thread overview]
Message-ID: <4EC6C36D.4070900@candelatech.com> (raw)
In-Reply-To: <1321648257.10266.77.camel@jlt3.sipsolutions.net>
On 11/18/2011 12:30 PM, Johannes Berg wrote:
> On Fri, 2011-11-18 at 11:32 -0800, greearb@candelatech.com wrote:
>> From: Ben Greear<greearb@candelatech.com>
>>
>> This implements ht-cap over-rides for mac80211 drivers.
>> HT may be disabled, making an /a/b/g/n station act like an
>> a/b/g station. HT40 may be disabled forcing the station to
>> be HT20 even if the AP and local hardware support HT40.
>>
>> MAX-AMSDU may be disabled.
>> AMPDU-Density may be increased.
>> AMPDU-Factor may be decreased.
>>
>> This has been successfully tested with ath9k using patched
>> wpa_supplicant and iw.
>>
>> Signed-off-by: Ben Greear<greearb@candelatech.com>
>> ---
>>
>> v10:
>> * Add check in ieee80211_apply_htcap_overrides to make
>> sure we are type NL80211_IFTYPE_STATION.
>>
>> * Memset u.mgd.ht_capa and ht_capa_mask to 0 in
>> ieee80211_set_disassoc to make sure we do not try to
>> use stale data.
>>
>> * Add cpu_to_le16 when dealing with u.mgd.ht_capa*
>> Appears to make no change on x86, but should help
>> with certain other platforms.
>>
>> * Addressed other issues brought up in review of v9.
>
> Thanks. I haven't tested it, but see no obvious bugs. :-)
Well, feels like progress!
If you actually want to enable/view the new features, you'll want
to patch hostap and iw. You could use my trees if you want, though
they have some extra stuff and the ht-caps logic needs the cpu_to_le16
changes and probably a bit of other cleanup at the moment.
https://github.com/greearb/hostap-ct
https://github.com/greearb/iw-ct
I'll post some clean iw and hostap patches later today if all goes well.
Thanks,
Ben
--
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc http://www.candelatech.com
next prev parent reply other threads:[~2011-11-18 20:43 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-18 19:31 [PATCH v10 1/2] wireless: Support ht-capabilities over-rides greearb
2011-11-18 19:32 ` [PATCH v10 2/2] mac80211: Support ht-cap over-rides greearb
2011-11-18 20:30 ` Johannes Berg
2011-11-18 20:43 ` Ben Greear [this message]
2011-11-24 13:49 ` Johannes Berg
2011-11-24 19:16 ` Ben Greear
2011-11-24 20:37 ` Johannes Berg
2011-11-25 8:46 ` Arend van Spriel
[not found] ` <201112031736.03787.chunkeey@googlemail.com>
2011-12-03 17:04 ` 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=4EC6C36D.4070900@candelatech.com \
--to=greearb@candelatech.com \
--cc=johannes@sipsolutions.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 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.