From a9d21b7ece99aa460a91513e83a694d7e445debb Mon Sep 17 00:00:00 2001 From: Howard Hsu Date: Tue, 10 Jun 2025 13:38:10 +0800 Subject: [PATCH] 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 Signed-off-by: Felix Fietkau --- mt7996/mcu.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/mt7996/mcu.c b/mt7996/mcu.c index 07a1e542..0347ee0c 100644 --- a/mt7996/mcu.c +++ b/mt7996/mcu.c @@ -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 ? 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