diff options
author | Felix Fietkau <nbd@nbd.name> | 2018-12-05 19:06:58 +0300 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2019-01-17 16:50:15 +0300 |
commit | ef13edc0070818f5cddb3a1d31957cc618e25e9d (patch) | |
tree | edf96fcd07cf3d93e297bac3310b303cb970eb6a /drivers/net/wireless/mediatek/mt76/mt76x02_mac.c | |
parent | 9313faacbb4eeb03799a86cd013e97409a40b970 (diff) | |
download | linux-ef13edc0070818f5cddb3a1d31957cc618e25e9d.tar.xz |
mt76: move mt76x02_phy_get_min_avg_rssi to mt76 core
This will be used by mt7603 as well
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt76x02_mac.c')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/mt76x02_mac.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt76x02_mac.c b/drivers/net/wireless/mediatek/mt76/mt76x02_mac.c index 38cd77d30f5c..68d01e136fa0 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76x02_mac.c +++ b/drivers/net/wireless/mediatek/mt76/mt76x02_mac.c @@ -656,11 +656,6 @@ int mt76x02_mac_process_rx(struct mt76x02_dev *dev, struct sk_buff *skb, status->tid = FIELD_GET(MT_RXWI_TID, tid_sn); status->seqno = FIELD_GET(MT_RXWI_SN, tid_sn); - if (sta) { - ewma_signal_add(&sta->rssi, status->signal); - sta->inactive_count = 0; - } - return mt76x02_mac_process_rate(status, rate); } |