]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: mac80211: update STA/chandef width during switch
authorJohannes Berg <johannes.berg@intel.com>
Wed, 12 Jun 2024 12:32:06 +0000 (14:32 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 26 Jun 2024 08:21:59 +0000 (10:21 +0200)
commitdd7b1bdb5614419305089de399b7e6aa2fde8301
tree9be9c7299a6f50a848f1cce4c2b30036ebd942b1
parentb27512368591fc959768df1f7dacf2a96b1bd036
wifi: mac80211: update STA/chandef width during switch

In channel switch without an additional channel context,
where the reassign logic kicks in, we also need to update
the station bandwidth and chandef minimum width correctly
to avoid having station rate control configured to wider
bandwidth than the channel context. Do that now.

Reviewed-by: Miriam Rachel Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20240612143418.0bc3d28231b3.I51e76df86212057ca0469e235ba9bf4461cbee75@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/chan.c
net/mac80211/ieee80211_i.h
net/mac80211/util.c