Lines Matching defs:txq

1106 	} else if (!tx->sta->sta.txq[tid]) {
1260 struct ieee80211_txq *txq = NULL;
1276 txq = sta->sta.txq[IEEE80211_NUM_TIDS];
1284 txq = sta->sta.txq[tid];
1286 txq = vif->txq;
1289 if (!txq)
1292 return to_txq_info(txq);
1322 local = vif_to_sdata(txqi->txq.vif)->local;
1341 local = vif_to_sdata(txqi->txq.vif)->local;
1361 if (txqi->txq.sta) {
1362 struct sta_info *sta = container_of(txqi->txq.sta,
1446 if (!ap->vif.txq)
1449 txqi = to_txq_info(ap->vif.txq);
1469 txqi->txq.vif = &sdata->vif;
1472 sdata->vif.txq = &txqi->txq;
1473 txqi->txq.tid = 0;
1474 txqi->txq.ac = IEEE80211_AC_BE;
1490 txqi->txq.ac = IEEE80211_AC_VO;
1492 txqi->txq.ac = ieee80211_ac_from_tid(tid);
1495 txqi->txq.sta = &sta->sta;
1496 txqi->txq.tid = tid;
1497 sta->sta.txq[tid] = &txqi->txq;
1511 spin_lock_bh(&local->active_txq_lock[txqi->txq.ac]);
1513 spin_unlock_bh(&local->active_txq_lock[txqi->txq.ac]);
3294 struct ieee80211_txq *txq = sta->sta.txq[tid];
3316 if (!txq)
3319 txqi = to_txq_info(txq);
3618 struct ieee80211_txq *txq)
3621 struct txq_info *txqi = container_of(txq, struct txq_info, txq);
3629 struct ieee80211_vif *vif = txq->vif;
3633 if (!ieee80211_txq_airtime_check(hw, txq))
3643 if (vif->txqs_stopped[txq->ac]) {
3668 if (txq->sta) {
3669 tx.sta = container_of(txq->sta, struct sta_info, sta);
3709 struct sta_info *sta = container_of(txq->sta, struct sta_info,
3773 bool ampdu = txq->ac != IEEE80211_AC_VO;
3776 airtime = ieee80211_calc_expected_tx_airtime(hw, vif, txq->sta,
3781 txq->ac,
3822 if (txqi->txq.sta) {
3823 struct sta_info *sta = container_of(txqi->txq.sta,
3825 bool aql_check = ieee80211_txq_airtime_check(hw, &txqi->txq);
3826 s64 deficit = sta->airtime[txqi->txq.ac].deficit;
3832 sta->airtime[txqi->txq.ac].deficit +=
3837 &local->active_txqs[txqi->txq.ac]);
3848 ret = &txqi->txq;
3857 struct ieee80211_txq *txq,
3861 struct txq_info *txqi = to_txq_info(txq);
3863 spin_lock_bh(&local->active_txq_lock[txq->ac]);
3875 if (txqi->txq.sta && local->airtime_flags &&
3879 &local->active_txqs[txq->ac]);
3882 &local->active_txqs[txq->ac]);
3885 spin_unlock_bh(&local->active_txq_lock[txq->ac]);
3890 struct ieee80211_txq *txq)
3898 if (!txq->sta)
3901 sta = container_of(txq->sta, struct sta_info, sta);
3902 if (atomic_read(&sta->airtime[txq->ac].aql_tx_pending) <
3903 sta->airtime[txq->ac].aql_limit_low)
3908 atomic_read(&sta->airtime[txq->ac].aql_tx_pending) <
3909 sta->airtime[txq->ac].aql_limit_high)
3917 struct ieee80211_txq *txq)
3920 struct txq_info *iter, *tmp, *txqi = to_txq_info(txq);
3922 u8 ac = txq->ac;
3926 if (!txqi->txq.sta)
3937 if (!iter->txq.sta) {
3942 sta = container_of(iter->txq.sta, struct sta_info, sta);
3948 sta = container_of(txqi->txq.sta, struct sta_info, sta);