mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt7603: fix maximum rx frame size
Use 4096 as maximum size instead of the rx buffer size, since rx packets can be split across multiple buffers. This fixes issues with receiving A-MSDU aggregated packets. Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
+1
-1
@@ -185,7 +185,7 @@ mt7603_mac_init(struct mt7603_dev *dev)
|
||||
FIELD_PREP(MT_AGG_RETRY_CONTROL_BAR_LIMIT, 1) |
|
||||
FIELD_PREP(MT_AGG_RETRY_CONTROL_RTS_LIMIT, 15));
|
||||
|
||||
mt76_rmw(dev, MT_DMA_DCR0, ~0xfffc, MT_RX_BUF_SIZE);
|
||||
mt76_rmw(dev, MT_DMA_DCR0, ~0xfffc, 4096);
|
||||
|
||||
mt76_rmw(dev, MT_DMA_VCFR0, BIT(0), BIT(13));
|
||||
mt76_rmw(dev, MT_DMA_TMCFR0, BIT(0) | BIT(1), BIT(13));
|
||||
|
||||
Reference in New Issue
Block a user