cfg80211: allow drivers to selectively disable 80/160 MHz
authorJohannes Berg <johannes.berg@intel.com>
Wed, 12 Dec 2012 16:50:39 +0000 (17:50 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 15 Feb 2013 08:41:38 +0000 (09:41 +0100)
commitc7a6ee27abd46247c1c7edfc49fb935138da7875
tree716d3e489fbf1d5f34fd362ef09c985e4de033bf
parent30eb1dc2c43039e0fe278e6f3a288de9f216d70d
cfg80211: allow drivers to selectively disable 80/160 MHz

Some drivers might support 80 or 160 MHz only on some
channels for whatever reason, so allow them to disable
these channel widths. Also maintain the new flags when
regulatory bandwidth limitations would disable these
wide channels.

Reviewed-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
net/wireless/chan.c
net/wireless/reg.c