mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76: move tx hw data queues in mt76_phy
Move hw data queues in mt76_phy from mt76_dev since mt7915 supports per phy hw queues in dbdc mode Signed-off-by: Lorenzo Bianconi <[email protected]> Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
ccd62467d0
commit
2e217fb9e9
@@ -67,7 +67,7 @@ static int mt76s_alloc_tx(struct mt76_dev *dev)
|
||||
return PTR_ERR(q);
|
||||
|
||||
q->qid = i;
|
||||
dev->q_tx[i] = q;
|
||||
dev->phy.q_tx[i] = q;
|
||||
}
|
||||
|
||||
q = mt76s_alloc_tx_queue(dev);
|
||||
@@ -206,7 +206,8 @@ static void mt76s_status_worker(struct mt76_worker *w)
|
||||
nframes = mt76s_process_tx_queue(dev, dev->q_mcu[MT_MCUQ_WM]);
|
||||
|
||||
for (i = 0; i <= MT_TXQ_PSD; i++)
|
||||
nframes += mt76s_process_tx_queue(dev, dev->q_tx[i]);
|
||||
nframes += mt76s_process_tx_queue(dev,
|
||||
dev->phy.q_tx[i]);
|
||||
|
||||
if (dev->drv->tx_status_data &&
|
||||
!test_and_set_bit(MT76_READING_STATS, &dev->phy.state))
|
||||
|
||||
Reference in New Issue
Block a user