Lines Matching refs:ac

368 		int ac;  in purge_old_ps_buffers()  local
370 for (ac = IEEE80211_AC_BK; ac >= IEEE80211_AC_VO; ac--) { in purge_old_ps_buffers()
371 skb = skb_dequeue(&sta->ps_tx_buf[ac]); in purge_old_ps_buffers()
372 total += skb_queue_len(&sta->ps_tx_buf[ac]); in purge_old_ps_buffers()
480 int ac = skb_get_queue_mapping(tx->skb); in ieee80211_tx_h_unicast_ps_buf() local
489 sta->sta.addr, sta->sta.aid, ac); in ieee80211_tx_h_unicast_ps_buf()
507 if (skb_queue_len(&sta->ps_tx_buf[ac]) >= STA_MAX_TX_BUFFER) { in ieee80211_tx_h_unicast_ps_buf()
508 struct sk_buff *old = skb_dequeue(&sta->ps_tx_buf[ac]); in ieee80211_tx_h_unicast_ps_buf()
511 sta->sta.addr, ac); in ieee80211_tx_h_unicast_ps_buf()
520 skb_queue_tail(&sta->ps_tx_buf[ac], tx->skb); in ieee80211_tx_h_unicast_ps_buf()
980 int ac = -1; in ieee80211_tx_h_stats() local
986 ac = skb_get_queue_mapping(skb); in ieee80211_tx_h_stats()
988 tx->sta->tx_bytes[ac] += skb->len; in ieee80211_tx_h_stats()
990 if (ac >= 0) in ieee80211_tx_h_stats()
991 tx->sta->tx_packets[ac]++; in ieee80211_tx_h_stats()
1231 u8 ac; in ieee80211_drv_tx() local
1250 ac = txq->ac; in ieee80211_drv_tx()
1252 atomic_inc(&sdata->txqs_len[ac]); in ieee80211_drv_tx()
1253 if (atomic_read(&sdata->txqs_len[ac]) >= local->hw.txq_ac_max_pending) in ieee80211_drv_tx()
1254 netif_stop_subqueue(sdata->dev, ac); in ieee80211_drv_tx()
1273 u8 ac = txq->ac; in ieee80211_tx_dequeue() local
1284 atomic_dec(&sdata->txqs_len[ac]); in ieee80211_tx_dequeue()
1285 if (__netif_subqueue_stopped(sdata->dev, ac)) in ieee80211_tx_dequeue()
1286 ieee80211_propagate_queue_wake(local, sdata->vif.hw_queue[ac]); in ieee80211_tx_dequeue()
3362 int ac = ieee802_1d_to_ac[tid & 7]; in __ieee80211_tx_skb_tid_band() local
3368 skb_set_queue_mapping(skb, ac); in __ieee80211_tx_skb_tid_band()