Since txq selection was moved to mac80211, it is no longer used
Signed-off-by: Felix Fietkau <nbd@nbd.name>
struct mt76_sw_queue {
struct mt76_queue *q;
- struct list_head swq;
int swq_queued;
};
if (err < 0)
return err;
- INIT_LIST_HEAD(&q->swq);
q->q = hwq;
mt7603_irq_enable(dev, MT_INT_TX_DONE(idx));
if (err < 0)
return err;
- INIT_LIST_HEAD(&q->swq);
q->q = hwq;
return 0;
for (i = 1; i < MT_TXQ_MCU; i++) {
q = &dev->mt76.q_tx[i];
- INIT_LIST_HEAD(&q->swq);
q->q = dev->mt76.q_tx[0].q;
}
if (err < 0)
return err;
- INIT_LIST_HEAD(&q->swq);
q->q = hwq;
mt76x02_irq_enable(dev, MT_INT_TX_DONE(idx));
for (i = 0; i < MT_TXQ_MCU; i++) {
q = &dev->mt76.q_tx[i];
- INIT_LIST_HEAD(&q->swq);
q->q = hwq;
}
if (err < 0)
return err;
- INIT_LIST_HEAD(&q->swq);
q->q = hwq;
return 0;
int i;
for (i = 0; i < MT_TXQ_MCU_WA; i++) {
- INIT_LIST_HEAD(&dev->q_tx[i].swq);
-
q = devm_kzalloc(dev->dev, sizeof(*q), GFP_KERNEL);
if (!q)
return -ENOMEM;
int i, j, err;
for (i = 0; i <= MT_TXQ_PSD; i++) {
- INIT_LIST_HEAD(&dev->q_tx[i].swq);
-
if (i >= IEEE80211_NUM_ACS) {
dev->q_tx[i].q = dev->q_tx[0].q;
continue;