mac80211: support secondary channel offset in CSA
authorJohannes Berg <johannes.berg@intel.com>
Mon, 25 Mar 2013 17:29:27 +0000 (18:29 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 16 Apr 2013 13:29:44 +0000 (15:29 +0200)
commit85220d71bf3ca1ba9129e0744247ae5f61bec559
tree5bdabc71bc5da27ee71fb1272b86809ac2f95b0d
parentb4f286a1c0ad0b84c2d502b354d4d98d5a86c64b
mac80211: support secondary channel offset in CSA

Add support for the secondary channel offset IE in channel
switch announcements. This is necessary for proper handling
of CSA on HT access points.

For this to work it is also necessary to convert everything
here to use chandef structs instead of just channels. The
driver updates aren't really correct though. In particular,
the TI wl18xx driver update can't possibly be right since
it just ignores the new channel width for lack of firmware
API.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
13 files changed:
drivers/net/wireless/iwlegacy/4965-mac.c
drivers/net/wireless/iwlegacy/4965.c
drivers/net/wireless/iwlwifi/dvm/devices.c
drivers/net/wireless/iwlwifi/dvm/mac80211.c
drivers/net/wireless/iwlwifi/dvm/rxon.c
drivers/net/wireless/ti/wl12xx/cmd.c
drivers/net/wireless/ti/wl18xx/cmd.c
include/linux/ieee80211.h
include/net/mac80211.h
net/mac80211/ieee80211_i.h
net/mac80211/mlme.c
net/mac80211/trace.h
net/mac80211/util.c