mac80211: Support ht-cap over-rides.
authorBen Greear <greearb@candelatech.com>
Fri, 18 Nov 2011 19:32:00 +0000 (11:32 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 21 Nov 2011 21:22:06 +0000 (16:22 -0500)
commitef96a84202ccfb48a4569256ffba45e32308f7ee
tree708275d21455ecbf3b5408241b73f95fa4c484e0
parent7e7c8926b2f4e3453b8aeb39cd814d2af3fec24f
mac80211: Support ht-cap over-rides.

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>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/cfg.c
net/mac80211/ht.c
net/mac80211/ieee80211_i.h
net/mac80211/main.c
net/mac80211/mesh.c
net/mac80211/mesh_plink.c
net/mac80211/mlme.c
net/mac80211/util.c
net/mac80211/work.c