]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: use rate provided via status->rate on ieee80211_tx_status_ext for AQL
authorFelix Fietkau <nbd@nbd.name>
Fri, 21 Aug 2020 16:30:43 +0000 (18:30 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 27 Aug 2020 08:28:21 +0000 (10:28 +0200)
commitb9ed53d28f5c1cbf7eb9caf614d3a1e49fcc93f2
treedd641ba383352d7c1069baf544f52e76a69139c0
parent7d9905f19e0ddb36d80e1e5985e9352c1a514c34
mac80211: use rate provided via status->rate on ieee80211_tx_status_ext for AQL

Since ieee80211_tx_info does not have enough room to encode HE rates, HE
drivers use status->rate to provide rate info.
Store it in struct sta_info and use it for AQL.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Acked-by: Toke Høiland-Jørgensen <toke@redhat.com>
Link: https://lore.kernel.org/r/20200821163045.62140-1-nbd@nbd.name
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/airtime.c
net/mac80211/sta_info.h
net/mac80211/status.c