mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
wifi: mt76: npu: Add missing rx_token_size initialization
Add missing rx_token_size initialization for NPU offloading.
Fixes: 7fb554b1b623 ("wifi: mt76: Introduce the NPU generic layer")
Tested-by: Kang Yang <[email protected]>
Signed-off-by: Lorenzo Bianconi <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
e992ff8842
commit
86a0bf3441
@@ -450,6 +450,7 @@ int mt76_npu_init(struct mt76_dev *dev, phys_addr_t phy_addr, int type)
|
||||
dev->mmio.npu_type = type;
|
||||
/* NPU offloading requires HW-RRO for RX packet reordering. */
|
||||
dev->hwrro_mode = MT76_HWRRO_V3_1;
|
||||
dev->rx_token_size = 32768;
|
||||
|
||||
rcu_assign_pointer(dev->mmio.npu, npu);
|
||||
rcu_assign_pointer(dev->mmio.ppe_dev, ppe_dev);
|
||||
|
||||
Reference in New Issue
Block a user