OSDN Git Service

mac80211: Update rate control on channel change
authorIlan Peer <ilan.peer@intel.com>
Sun, 6 Dec 2020 12:54:50 +0000 (14:54 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 11 Dec 2020 12:20:05 +0000 (13:20 +0100)
commit44b72ca8163b8cf94384a11fdec716f5478411bf
treea2f009304626aa1ba8221725c982518bd3075e75
parent189a164d0fc6c59a22c4486d641d0a0a0d33387a
mac80211: Update rate control on channel change

A channel change or a channel bandwidth change can impact the
rate control logic. However, the rate control logic was not updated
before/after such a change, which might result in unexpected
behavior.

Fix this by updating the stations rate control logic when the
corresponding channel context changes.

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20201206145305.600d967fe3c9.I48305f25cfcc9c032c77c51396e9e9b882748a86@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/chan.c