summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-npcm-sgpio.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2024-10-07 15:00:53 +0300
committerJohannes Berg <johannes.berg@intel.com>2024-10-23 17:43:23 +0300
commitf828deb70c96748eb3a7462d5dbc432a28adae5f (patch)
tree0b375692176b3729703f2678248192d3d8ffce9b /drivers/gpio/gpio-npcm-sgpio.c
parentc4382d5ca1af75cf909463c7a707efd1a5f9a557 (diff)
downloadlinux-f828deb70c96748eb3a7462d5dbc432a28adae5f.tar.xz
wifi: mac80211: allow rate_control_rate_init() for links
Andrei previously fixed an issue in the client where the NSS for links other than the primary/assoc/deflink isn't set. The same issue appears to exist on the AP side, because there's only a call to rate_control_rate_init() for the deflink, and not any other links. Rework the code a bit to do rate_control_rate_init() for links, even if it really doesn't work with software rate control yet, it does other things as well. Also add rate_control_rate_init_all_links() to actually do it properly when moving to ASSOC state in cfg80211. Change the explicit call to ieee80211_sta_init_nss() to instead be rate_control_rate_init() now in the client code, but also add a call to rate_control_rate_init() when a link is added in AP mode and the STA is already associated. This should fix the NSS initialization issue, and perhaps pave the way for actual software rate scaling a bit, in case anyone cares in the future, but that of course needs a lot more than just the init call. We still need to fix the rate control _update_ as well, and the sta_rc_update() driver method especially, but that will be in a different patch. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com> Link: https://patch.msgid.link/20241007144851.c693274a908f.I0376da02e9f5a30eaa1b5d0d01371ff09506d453@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/gpio/gpio-npcm-sgpio.c')
0 files changed, 0 insertions, 0 deletions