mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
wifi: mt76: mt7996: remove the mem_total field of STA_REC_BF command
It is not used by the firmware. Signed-off-by: Howard Hsu <[email protected]> Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
fd4c0858e5
commit
a9d21b7ece
@@ -1837,19 +1837,6 @@ mt7996_mcu_sta_bfer_tlv(struct mt7996_dev *dev, struct sk_buff *skb,
|
|||||||
bf->mem_20m = bf->nrow < BF_MAT_ORDER ?
|
bf->mem_20m = bf->nrow < BF_MAT_ORDER ?
|
||||||
matrix[bf->nrow][bf->ncol] : 0;
|
matrix[bf->nrow][bf->ncol] : 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (link_sta->bandwidth) {
|
|
||||||
case IEEE80211_STA_RX_BW_160:
|
|
||||||
case IEEE80211_STA_RX_BW_80:
|
|
||||||
bf->mem_total = bf->mem_20m * 2;
|
|
||||||
break;
|
|
||||||
case IEEE80211_STA_RX_BW_40:
|
|
||||||
bf->mem_total = bf->mem_20m;
|
|
||||||
break;
|
|
||||||
case IEEE80211_STA_RX_BW_20:
|
|
||||||
default:
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|||||||
Reference in New Issue
Block a user