diff options
author | Ilan Peer <ilan.peer@intel.com> | 2018-08-31 11:31:10 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-10-10 09:54:21 +0300 |
commit | 8788737af389eeb82dea693abf726bca61971bfc (patch) | |
tree | 48f1dc81a474152cf9a62903666f69ea630abbc9 /net/rxrpc/output.c | |
parent | 37cdc7e35ae4b4499826216ee54499f572bc6eb4 (diff) | |
download | linux-8788737af389eeb82dea693abf726bca61971bfc.tar.xz |
mac80211: Fix station bandwidth setting after channel switch
[ Upstream commit 0007e94355fdb71a1cf5dba0754155cba08f0666 ]
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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/rxrpc/output.c')
0 files changed, 0 insertions, 0 deletions