mac80211: support secondary channel offset in CSA
authorJohannes Berg <johannes.berg@intel.com>
Mon, 25 Mar 2013 17:29:27 +0000 (18:29 +0100)
committerChristian Lamparter <chunkeey@googlemail.com>
Fri, 31 May 2013 15:27:42 +0000 (17:27 +0200)
commit873cd42a6358bb3baed71ce53284a9fcce79355d
treec79d3e1e78ae8517ac687bfc8cea0a9aa72582a5
parent34be7eb0ae8e9a0a35c17ca6e2d489edf2be54a9
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>
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
include/linux/ieee80211.h