On Fri, 2011-11-18 at 11:32 -0800, greearb@xxxxxxxxxxxxxxx wrote: > From: Ben Greear <greearb@xxxxxxxxxxxxxxx> > > 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@xxxxxxxxxxxxxxx> > --- > > 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. :-) johannes -- 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