mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76: connac: update BA win size in Rx direction
Update BA size used data transimission in the Rx direction to improve Rx throughput. Reviewed-by: Lorenzo Bianconi <[email protected]> Signed-off-by: Deren Wu <[email protected]> Signed-off-by: Leon Yen <[email protected]> Signed-off-by: YN Chen <[email protected]> Signed-off-by: Sean Wang <[email protected]> Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
+3
-1
@@ -937,8 +937,10 @@ void mt76_connac_mcu_wtbl_ba_tlv(struct mt76_dev *dev, struct sk_buff *skb,
|
||||
ba->rst_ba_sb = 1;
|
||||
}
|
||||
|
||||
if (is_mt7921(dev))
|
||||
if (is_mt7921(dev)) {
|
||||
ba->ba_winsize = enable ? cpu_to_le16(params->buf_size) : 0;
|
||||
return;
|
||||
}
|
||||
|
||||
if (enable && tx) {
|
||||
u8 ba_range[] = { 4, 8, 12, 24, 36, 48, 54, 64 };
|
||||
|
||||
Reference in New Issue
Block a user