Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/openwrt/mt76.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/mt7603
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2022-07-03 18:52:24 +0300
committerFelix Fietkau <nbd@nbd.name>2022-07-03 18:52:25 +0300
commit93e3fce916c62d06892d41bf00d0f4c2926c9a0b (patch)
treeba0477fd9a223235853a3d2a90f8a8de975752bd /mt7603
parentaf406a2d1c364ebfef50cebcf0357860294a205a (diff)
mt76: pass original queue id from __mt76_tx_queue_skb to the drivertesting
MT7615 and newer map multiple software tx queues to the hardware id Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'mt7603')
-rw-r--r--mt7603/beacon.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mt7603/beacon.c b/mt7603/beacon.c
index b5e8308e..5807cf2c 100644
--- a/mt7603/beacon.c
+++ b/mt7603/beacon.c
@@ -24,8 +24,8 @@ mt7603_update_beacon_iter(void *priv, u8 *mac, struct ieee80211_vif *vif)
if (!skb)
return;
- mt76_tx_queue_skb(dev, dev->mphy.q_tx[MT_TXQ_BEACON], skb,
- &mvif->sta.wcid, NULL);
+ mt76_tx_queue_skb(dev, dev->mphy.q_tx[MT_TXQ_BEACON],
+ MT_TXQ_BEACON, skb, &mvif->sta.wcid, NULL);
spin_lock_bh(&dev->ps_lock);
mt76_wr(dev, MT_DMA_FQCR0, MT_DMA_FQCR0_BUSY |
@@ -123,7 +123,7 @@ void mt7603_pre_tbtt_tasklet(struct tasklet_struct *t)
struct ieee80211_vif *vif = info->control.vif;
struct mt7603_vif *mvif = (struct mt7603_vif *)vif->drv_priv;
- mt76_tx_queue_skb(dev, q, skb, &mvif->sta.wcid, NULL);
+ mt76_tx_queue_skb(dev, q, MT_TXQ_CAB, skb, &mvif->sta.wcid, NULL);
}
mt76_queue_kick(dev, q);
spin_unlock(&q->lock);