mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt7603: fix maximum frame size in scheduler init
Since hardware A-MSDU decap is disabled, use maximum A-MSDU size as maximum packet size Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
+1
-1
@@ -97,7 +97,7 @@ mt7603_dma_sched_init(struct mt7603_dev *dev)
|
||||
mt76_wr(dev, MT_PRIORITY_MASK, 0xffffffff);
|
||||
|
||||
mt76_wr(dev, MT_SCH_1, page_count | (2 << 28));
|
||||
mt76_wr(dev, MT_SCH_2, max_len / page_size);
|
||||
mt76_wr(dev, MT_SCH_2, max_amsdu_pages);
|
||||
|
||||
for (i = 0; i <= 4; i++)
|
||||
mt76_wr(dev, MT_PAGE_COUNT(i), max_amsdu_pages);
|
||||
|
||||
Reference in New Issue
Block a user