From: Johannes Berg Date: Thu, 7 Feb 2013 20:37:29 +0000 (+0100) Subject: mac80211: add ieee80211_vif_change_bandwidth X-Git-Tag: v3.9-rc1~139^2~31^2^2~1^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c9b735982ee8a2d34e7eeb3e26b683f81872fdb;p=pandora-kernel.git mac80211: add ieee80211_vif_change_bandwidth For HT and VHT the current bandwidth can change, add the function ieee80211_vif_change_bandwidth() to take care of this. It returns a failure if the new bandwidth isn't compatible with the existing channel context, the caller has to handle that. When it happens, also inform the driver that the bandwidth changed for this virtual interface (no drivers would actually care today though.) Changing to/from HT/VHT isn't allowed though. Signed-off-by: Johannes Berg --- Reading git-diff-tree failed