Commit e99113ac authored by Howard Hsu's avatar Howard Hsu Committed by Felix Fietkau
Browse files

wifi: mt76: mt7996: remove the mem_total field of STA_REC_BF command

parent a4a66cba
Loading
Loading
Loading
Loading
+0 −13
Original line number Diff line number Diff line
@@ -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