mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76: mt7915: add Wireless Ethernet Dispatch support
This is used to support hardware flow offloading from Ethernet to WLAN Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
+4
-4
@@ -173,13 +173,13 @@ int mt7603_dma_init(struct mt7603_dev *dev)
|
||||
|
||||
for (i = 0; i < ARRAY_SIZE(wmm_queue_map); i++) {
|
||||
ret = mt76_init_tx_queue(&dev->mphy, i, wmm_queue_map[i],
|
||||
MT7603_TX_RING_SIZE, MT_TX_RING_BASE);
|
||||
MT7603_TX_RING_SIZE, MT_TX_RING_BASE, 0);
|
||||
if (ret)
|
||||
return ret;
|
||||
}
|
||||
|
||||
ret = mt76_init_tx_queue(&dev->mphy, MT_TXQ_PSD, MT_TX_HW_QUEUE_MGMT,
|
||||
MT7603_PSD_RING_SIZE, MT_TX_RING_BASE);
|
||||
MT7603_PSD_RING_SIZE, MT_TX_RING_BASE, 0);
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
@@ -189,12 +189,12 @@ int mt7603_dma_init(struct mt7603_dev *dev)
|
||||
return ret;
|
||||
|
||||
ret = mt76_init_tx_queue(&dev->mphy, MT_TXQ_BEACON, MT_TX_HW_QUEUE_BCN,
|
||||
MT_MCU_RING_SIZE, MT_TX_RING_BASE);
|
||||
MT_MCU_RING_SIZE, MT_TX_RING_BASE, 0);
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
ret = mt76_init_tx_queue(&dev->mphy, MT_TXQ_CAB, MT_TX_HW_QUEUE_BMC,
|
||||
MT_MCU_RING_SIZE, MT_TX_RING_BASE);
|
||||
MT_MCU_RING_SIZE, MT_TX_RING_BASE, 0);
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user