Ilan Peer 0007e94355 mac80211: Fix station bandwidth setting after channel switch
When performing a channel switch flow for a managed interface, the
flow did not update the bandwidth of the AP station and the rate
scale algorithm. In case of a channel width downgrade, this would
result with the rate scale algorithm using a bandwidth that does not
match the interface channel configuration.

Fix this by updating the AP station bandwidth and rate scaling algorithm
before the actual channel change in case of a bandwidth downgrade, or
after the actual channel change in case of a bandwidth upgrade.

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2018-09-03 10:39:11 +02:00
..
2018-06-12 16:19:22 -07:00
2017-02-10 14:31:51 -05:00
2018-05-18 11:14:36 +02:00
2018-02-22 21:13:03 +01:00
2018-06-12 16:19:22 -07:00
2018-09-03 10:35:03 +02:00
2018-02-22 21:13:03 +01:00