Lines Matching defs:tid

798 static __le16 ieee80211_tx_next_seq(struct sta_info *sta, int tid)
800 u16 *seq = &sta->tid_seq[tid];
814 int tid;
863 tid = ieee80211_get_tid(hdr);
864 tx->sta->tx_stats.msdu[tid]++;
866 hdr->seq_ctrl = ieee80211_tx_next_seq(tx->sta, tid);
1092 int tid)
1106 } else if (!tx->sta->sta.txq[tid]) {
1126 tid_tx = rcu_dereference_protected_tid_tx(tx->sta, tid);
1174 int tid;
1214 tid = ieee80211_get_tid(hdr);
1216 tid_tx = rcu_dereference(tx->sta->ampdu_mlme.tid_tx[tid]);
1221 tid_tx, tid);
1279 u8 tid = skb->priority & IEEE80211_QOS_CTL_TID_MASK;
1284 txq = sta->sta.txq[tid];
1460 struct txq_info *txqi, int tid)
1473 txqi->txq.tid = 0;
1479 if (tid == IEEE80211_NUM_TIDS) {
1492 txqi->txq.ac = ieee80211_ac_from_tid(tid);
1496 txqi->txq.tid = tid;
1497 sta->sta.txq[tid] = &txqi->txq;
3293 u8 tid = skb->priority & IEEE80211_QOS_CTL_TAG1D_MASK;
3294 struct ieee80211_txq *txq = sta->sta.txq[tid];
3327 if (sta->sta.max_tid_amsdu_len[tid])
3329 sta->sta.max_tid_amsdu_len[tid]);
3436 u8 tid = IEEE80211_NUM_TIDS;
3444 tid = skb->priority & IEEE80211_QOS_CTL_TAG1D_MASK;
3445 hdr->seq_ctrl = ieee80211_tx_next_seq(sta, tid);
3453 sta->tx_stats.msdu[tid] +=
3456 sta->tx_stats.msdu[tid]++;
3503 u8 tid = IEEE80211_NUM_TIDS;
3518 tid = skb->priority & IEEE80211_QOS_CTL_TAG1D_MASK;
3519 tid_tx = rcu_dereference(sta->ampdu_mlme.tid_tx[tid]);
3577 tid = skb->priority & IEEE80211_QOS_CTL_TAG1D_MASK;
3578 *ieee80211_get_qos_ctl(hdr) = tid;
4252 u8 tid;
4266 tid = skb->priority & IEEE80211_QOS_CTL_TAG1D_MASK;
4267 tid_tx = rcu_dereference(sta->ampdu_mlme.tid_tx[tid]);
5355 int ieee80211_reserve_tid(struct ieee80211_sta *pubsta, u8 tid)
5376 if (WARN_ON(tid >= IEEE80211_NUM_UPS))
5379 if (sta->reserved_tid == tid) {
5398 __ieee80211_stop_tx_ba_session(sta, tid,
5402 queues = BIT(sdata->vif.hw_queue[ieee802_1d_to_ac[tid]]);
5405 sta->reserved_tid = tid;
5419 void ieee80211_unreserve_tid(struct ieee80211_sta *pubsta, u8 tid)
5437 if (tid != sta->reserved_tid) {
5438 sdata_err(sdata, "TID to unreserve (%d) isn't reserved\n", tid);
5447 struct sk_buff *skb, int tid,
5450 int ac = ieee80211_ac_from_tid(tid);
5454 skb->priority = tid;