Lines Matching refs:txq
9 mt76_txq_get_qid(struct ieee80211_txq *txq)
11 if (!txq->sta)
14 return txq->ac;
21 struct ieee80211_txq *txq;
30 txq = sta->txq[tid];
31 mtxq = (struct mt76_txq *)txq->drv_priv;
306 struct ieee80211_txq *txq = mtxq_to_txq(mtxq);
311 skb = ieee80211_tx_dequeue(phy->hw, txq);
352 struct ieee80211_txq *txq = sta->txq[i];
353 struct mt76_txq *mtxq = (struct mt76_txq *)txq->drv_priv;
388 struct ieee80211_txq *txq = mtxq_to_txq(mtxq);
389 enum mt76_txq_id qid = mt76_txq_get_qid(txq);
409 ieee80211_get_tx_rates(txq->vif, txq->sta, skb,
412 idx = __mt76_tx_queue_skb(dev, qid, skb, wcid, txq->sta, &stop);
433 ieee80211_get_tx_rates(txq->vif, txq->sta, skb,
436 idx = __mt76_tx_queue_skb(dev, qid, skb, wcid, txq->sta, &stop);
453 struct ieee80211_txq *txq;
469 txq = ieee80211_next_txq(phy->hw, qid);
470 if (!txq)
473 mtxq = (struct mt76_txq *)txq->drv_priv;
479 struct ieee80211_txq *txq = mtxq_to_txq(mtxq);
480 struct ieee80211_sta *sta = txq->sta;
481 struct ieee80211_vif *vif = txq->vif;
483 u8 tid = txq->tid;
492 ieee80211_return_txq(phy->hw, txq, false);
546 for (i = 0; i < ARRAY_SIZE(sta->txq); i++) {
547 struct ieee80211_txq *txq = sta->txq[i];
551 if (!txq)
554 hwq = dev->q_tx[mt76_txq_get_qid(txq)];
555 mtxq = (struct mt76_txq *)txq->drv_priv;
564 void mt76_wake_tx_queue(struct ieee80211_hw *hw, struct ieee80211_txq *txq)