wifi: mac80211: simplify adding supported rates
authorJohannes Berg <johannes.berg@intel.com>
Mon, 29 Jan 2024 19:19:32 +0000 (20:19 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 8 Feb 2024 14:00:43 +0000 (15:00 +0100)
commit147ceae2053402cbbe543944abf3a8494ef76895
tree6bd7c3c956e1783e9c5a8276e3dc7e312e47288a
parente0b5ee918723dcf47d3773bc95cbcb428436f817
wifi: mac80211: simplify adding supported rates

Make this a new-style "put" function, and change the
parameters to pass more information directly, this
makes it usable also for the MLME code.

Link: https://msgid.link/20240129202041.f604a03bd728.I8c798ea45b8479ac9982e77d0378af11a09ccdaf@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/ieee80211_i.h
net/mac80211/mesh.c
net/mac80211/mesh_plink.c
net/mac80211/mlme.c
net/mac80211/tdls.c
net/mac80211/util.c