Search Linux Wireless

Re: [PATCH v3 1/3] mac80211: Support forcing station to disable HT (802.11n).

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/03/2011 01:37 AM, Johannes Berg wrote:
On Wed, 2011-11-02 at 22:55 -0700, greearb@xxxxxxxxxxxxxxx wrote:
From: Ben Greear<greearb@xxxxxxxxxxxxxxx>

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@xxxxxxxxxxxxxxx>
Candela Technologies Inc  http://www.candelatech.com

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux