From: Ben Greear <greearb@candelatech.com>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: linux-wireless@vger.kernel.org
Subject: Re: [PATCH v3 1/3] mac80211: Support forcing station to disable HT (802.11n).
Date: Thu, 03 Nov 2011 10:18:15 -0700 [thread overview]
Message-ID: <4EB2CCD7.3010907@candelatech.com> (raw)
In-Reply-To: <1320309465.3950.14.camel@jlt3.sipsolutions.net>
On 11/03/2011 01:37 AM, Johannes Berg wrote:
> On Wed, 2011-11-02 at 22:55 -0700, greearb@candelatech.com wrote:
>> From: Ben Greear<greearb@candelatech.com>
>>
>> This allows a user to configure a wifi station interface
>> to disable the HT features, even if the AP and NIC supports it.
>
> I like this version much better. Some nitpicks:
>
>
>> +#define ASSOC_REQ_DISABLE_HT (1<<0) /* Disable HT (802.11n) */
>
> You could use an enum to use kernel-doc notation here.
Sure, will do.
>> @@ -1053,6 +1056,7 @@ struct cfg80211_assoc_request {
>> size_t ie_len;
>> struct cfg80211_crypto_settings crypto;
>> bool use_mfp;
>> + u32 flags;
>
> Seems like it might be good for use_mfp to become a flag? Anyway,
> internal APIs are easy to change.
Yes, but I've been beat over the head enough to know not to mix
this kind of cleanup into my patches :)
Will do a follow-on patch after I get my changes in.
>> --- a/net/mac80211/mlme.c
>> +++ b/net/mac80211/mlme.c
>
> I'd rather split this up into cfg80211/mac80211. In fact, maybe
> splitting it into one cfg80211 and one mac80211 patch, instead of three
> different patches that span both might be worthwhile?
I really don't care either way. Just let me know how you want it
and I'll split it up thus. Just please do not change your mind later,
splitting patches is nothing but work :P
Thanks,
Ben
--
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc http://www.candelatech.com
next prev parent reply other threads:[~2011-11-03 17:18 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-03 5:55 [PATCH v3 1/3] mac80211: Support forcing station to disable HT (802.11n) greearb
2011-11-03 5:55 ` [PATCH v3 2/3] mac80211: Support disabling ht40 greearb
2011-11-03 5:55 ` [PATCH v3 3/3] mac80211: Allow overriding some HT information greearb
2011-11-03 8:47 ` Johannes Berg
2011-11-03 17:13 ` Ben Greear
2011-11-04 14:41 ` Johannes Berg
2011-11-04 16:17 ` Ben Greear
2011-11-04 16:24 ` Johannes Berg
2011-11-04 16:27 ` Ben Greear
2011-11-04 16:30 ` Johannes Berg
2011-11-03 8:37 ` [PATCH v3 1/3] mac80211: Support forcing station to disable HT (802.11n) Johannes Berg
2011-11-03 17:18 ` Ben Greear [this message]
2011-11-04 14:38 ` Johannes Berg
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=4EB2CCD7.3010907@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).