[PATCH] mt76: mt7915: increase buffer size to receive large MPDUs
Ryder Lee
ryder.lee at mediatek.com
Wed Dec 16 12:24:33 EST 2020
This improves 5G/HE Rx performance around 70mbps.
Tested-by: Chih-Min Chen <chih-min.chen at mediatek.com>
Signed-off-by: Ryder Lee <ryder.lee at mediatek.com>
---
drivers/net/wireless/mediatek/mt76/mt7915/dma.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/wireless/mediatek/mt76/mt7915/dma.c b/drivers/net/wireless/mediatek/mt76/mt7915/dma.c
index 8c1f9c77b14f..a8c783be297f 100644
--- a/drivers/net/wireless/mediatek/mt76/mt7915/dma.c
+++ b/drivers/net/wireless/mediatek/mt76/mt7915/dma.c
@@ -203,7 +203,7 @@ int mt7915_dma_init(struct mt7915_dev *dev)
{
/* Increase buffer size to receive large VHT/HE MPDUs */
struct mt76_bus_ops *bus_ops;
- int rx_buf_size = MT_RX_BUF_SIZE * 2;
+ int rx_buf_size = MT_RX_BUF_SIZE * 4;
int ret;
dev->bus_ops = dev->mt76.bus;
--
2.18.0
More information about the Linux-mediatek
mailing list