]> git.baikalelectronics.ru Git - kernel.git/commit
wifi: mt76: fix rate reporting / throughput regression on mt7915 and newer
authorFelix Fietkau <nbd@nbd.name>
Tue, 27 Sep 2022 09:38:23 +0000 (11:38 +0200)
committerKalle Valo <kvalo@kernel.org>
Thu, 6 Oct 2022 05:19:04 +0000 (08:19 +0300)
commit406ed2ecb22acbd296d11d2bd85ae259d127ee86
treebd0995c2b0ddcce4bfb9ddd95e5b1a1abd50a859
parent0278003c3cbea52577444d7848fd808e5fd83391
wifi: mt76: fix rate reporting / throughput regression on mt7915 and newer

mt7915 and newer need to report the rate_info that's stored in wcid->rate,
since they don't fill info->status.rates.

Cc: Jonas Jelonek <jelonek.jonas@gmail.com>
Reported-by: Mikhail Gavrilov <mikhail.v.gavrilov@gmail.com>
Link: https://lore.kernel.org/all/CABXGCsP0znm9pS-MiKtyxTXR7XiyFVqen0qzNpicGHDZKCzbwg@mail.gmail.com/
Fixes: e657a8df2064 ("mac80211: extend current rate control tx status API")
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Tested-by: Mikhail Gavrilov <mikhail.v.gavrilov@gmail.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220927093823.6007-1-nbd@nbd.name
drivers/net/wireless/mediatek/mt76/tx.c