mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76x2: mac: consider multicast/broadcast frames in ewma rssi estimation
Take into account rx multicast and broadcast frames from connected AP in ewma rssi estimation Signed-off-by: Lorenzo Bianconi <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
65e161bec8
commit
072fdac8d6
+1
-1
@@ -374,7 +374,7 @@ int mt76x2_mac_process_rx(struct mt76x2_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 (unicast) {
|
||||
if (status->wcid) {
|
||||
ewma_signal_add(&dev->cal.rssi, status->signal);
|
||||
dev->cal.rssi_count++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user