Skip to content
Commit 2c9b7359 authored by Johannes Berg's avatar Johannes Berg
Browse files

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: default avatarJohannes Berg <johannes.berg@intel.com>
parent f2d9330e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment