Lines Matching refs:ac
381 int ac; in purge_old_ps_buffers() local
383 for (ac = IEEE80211_AC_BK; ac >= IEEE80211_AC_VO; ac--) { in purge_old_ps_buffers()
384 skb = skb_dequeue(&sta->ps_tx_buf[ac]); in purge_old_ps_buffers()
385 total += skb_queue_len(&sta->ps_tx_buf[ac]); in purge_old_ps_buffers()
493 int ac = skb_get_queue_mapping(tx->skb); in ieee80211_tx_h_unicast_ps_buf() local
502 sta->sta.addr, sta->sta.aid, ac); in ieee80211_tx_h_unicast_ps_buf()
520 if (skb_queue_len(&sta->ps_tx_buf[ac]) >= STA_MAX_TX_BUFFER) { in ieee80211_tx_h_unicast_ps_buf()
521 struct sk_buff *old = skb_dequeue(&sta->ps_tx_buf[ac]); in ieee80211_tx_h_unicast_ps_buf()
524 sta->sta.addr, ac); in ieee80211_tx_h_unicast_ps_buf()
533 skb_queue_tail(&sta->ps_tx_buf[ac], tx->skb); in ieee80211_tx_h_unicast_ps_buf()
1000 int ac = -1; in ieee80211_tx_h_stats() local
1006 ac = skb_get_queue_mapping(skb); in ieee80211_tx_h_stats()
1007 tx->sta->tx_stats.bytes[ac] += skb->len; in ieee80211_tx_h_stats()
1009 if (ac >= 0) in ieee80211_tx_h_stats()
1010 tx->sta->tx_stats.packets[ac]++; in ieee80211_tx_h_stats()
1412 txqi->txq.ac = ieee802_1d_to_ac[tid & 7]; in ieee80211_txq_init()
1416 txqi->txq.ac = IEEE80211_AC_BE; in ieee80211_txq_init()
4542 int ac = ieee802_1d_to_ac[tid & 7]; in __ieee80211_tx_skb_tid_band() local
4545 skb_set_queue_mapping(skb, ac); in __ieee80211_tx_skb_tid_band()