Lines Matching full:queues
233 struct wfx_queue *queues[IEEE80211_NUM_ACS * ARRAY_SIZE(wdev->vif)]; in wfx_tx_queues_get_skb() local
239 /* sort the queues */ in wfx_tx_queues_get_skb()
243 WARN_ON(num_queues >= ARRAY_SIZE(queues)); in wfx_tx_queues_get_skb()
244 queues[num_queues] = &wvif->tx_queue[i]; in wfx_tx_queues_get_skb()
246 if (wfx_tx_queue_get_weight(queues[j]) < in wfx_tx_queues_get_skb()
247 wfx_tx_queue_get_weight(queues[j - 1])) in wfx_tx_queues_get_skb()
248 swap(queues[j - 1], queues[j]); in wfx_tx_queues_get_skb()
256 skb = skb_dequeue(&queues[i]->offchan); in wfx_tx_queues_get_skb()
264 atomic_inc(&queues[i]->pending_frames); in wfx_tx_queues_get_skb()
265 trace_queues_stats(wdev, queues[i]); in wfx_tx_queues_get_skb()
278 skb = skb_dequeue(&queues[i]->cab); in wfx_tx_queues_get_skb()
286 WARN_ON(queues[i] != &wvif->tx_queue[skb_get_queue_mapping(skb)]); in wfx_tx_queues_get_skb()
287 atomic_inc(&queues[i]->pending_frames); in wfx_tx_queues_get_skb()
288 trace_queues_stats(wdev, queues[i]); in wfx_tx_queues_get_skb()
297 skb = skb_dequeue(&queues[i]->normal); in wfx_tx_queues_get_skb()
299 atomic_inc(&queues[i]->pending_frames); in wfx_tx_queues_get_skb()
300 trace_queues_stats(wdev, queues[i]); in wfx_tx_queues_get_skb()