mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 21:36:52 +00:00
wifi: mt76: mt7915: always query station rx rate from firmware
When offloading is enabled, the software rx path may not have the latest rate information. Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
+1
-2
@@ -1089,8 +1089,7 @@ static void mt7915_sta_statistics(struct ieee80211_hw *hw,
|
||||
struct rate_info *txrate = &msta->wcid.rate;
|
||||
struct rate_info rxrate = {};
|
||||
|
||||
if (is_mt7915(&phy->dev->mt76) &&
|
||||
!mt7915_mcu_get_rx_rate(phy, vif, sta, &rxrate)) {
|
||||
if (!mt7915_mcu_get_rx_rate(phy, vif, sta, &rxrate)) {
|
||||
sinfo->rxrate = rxrate;
|
||||
sinfo->filled |= BIT_ULL(NL80211_STA_INFO_RX_BITRATE);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user