linux/drivers/net/wireless/ti/wl18xx
Johannes Berg e1a0c6b3a4 mac80211: stop toggling IEEE80211_HT_CAP_SUP_WIDTH_20_40
For VHT, many more bandwidth changes are possible. As a first
step, stop toggling the IEEE80211_HT_CAP_SUP_WIDTH_20_40 flag
in the HT capabilities and instead introduce a bandwidth field
indicating the currently usable bandwidth to transmit to the
station. Of course, make all drivers use it.

To achieve this, make ieee80211_ht_cap_ie_to_sta_ht_cap() get
the station as an argument, rather than the new capabilities,
so it can set up the new bandwidth field.

If the station is a VHT station and VHT bandwidth is in use,
also set the bandwidth accordingly.

Doing this allows us to get rid of the supports_40mhz flag as
the HT capabilities now reflect the true capability instead of
the current setting.

While at it, also fix ieee80211_ht_cap_ie_to_sta_ht_cap() to not
ignore HT cap overrides when MCS TX isn't supported (not that it
really happens...)

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2013-02-15 09:41:30 +01:00
..
Kconfig wl18xx: add dependency on mac80211 2012-06-05 17:16:09 +03:00
Makefile wlcore: update events enum/struct to new fw api 2012-11-27 10:49:29 +02:00
acx.c wlcore: add ACX_PEER_CAP command 2012-12-11 09:35:34 +02:00
acx.h wlcore: add ACX_PEER_CAP command 2012-12-11 09:35:34 +02:00
cmd.c wlcore: update channel_switch/stop_channel_switch commands 2012-11-27 10:49:28 +02:00
cmd.h wlcore: update channel_switch/stop_channel_switch commands 2012-11-27 10:49:28 +02:00
conf.h wl18xx: add new phy configuration parameters for telec support 2013-02-08 10:17:03 +02:00
debugfs.c wlcore: Prevent interaction with HW after recovery is queued 2012-09-27 12:13:50 +03:00
debugfs.h wl18xx: implement fw status debugfs entries 2012-06-05 15:58:16 +03:00
event.c wlcore: support scan reports during periodic scan 2012-12-11 12:37:23 +02:00
event.h wlcore: support scan reports during periodic scan 2012-12-11 12:37:23 +02:00
io.c wl18xx: fix bogus compile warning on cc config option 2012-07-18 15:08:21 +03:00
io.h wlcore: Force checking of io functions' return values 2012-06-22 10:49:45 +03:00
main.c mac80211: stop toggling IEEE80211_HT_CAP_SUP_WIDTH_20_40 2013-02-15 09:41:30 +01:00
reg.h wl18xx: align wl18xx_conf_phy with FW variant and remove it 2012-06-08 09:42:09 +03:00
scan.c wlcore: support scan reports during periodic scan 2012-12-11 12:37:23 +02:00
scan.h wlcore: support scan reports during periodic scan 2012-12-11 12:37:23 +02:00
tx.c wl18xx: set last Tx rate from FW status 2012-12-05 09:45:13 +02:00
tx.h wl18xx: pad only last frame in aggregration buffer for PG2 2012-06-07 18:11:06 +03:00
wl18xx.h wl18xx: count HW block spare based correctly on keys 2012-12-11 12:37:24 +02:00