Lines Matching refs:queues
229 struct wfx_queue *queues[IEEE80211_NUM_ACS * ARRAY_SIZE(wdev->vif)]; in wfx_tx_queues_get_skb() local
239 WARN_ON(num_queues >= ARRAY_SIZE(queues)); in wfx_tx_queues_get_skb()
240 queues[num_queues] = &wvif->tx_queue[i]; in wfx_tx_queues_get_skb()
242 if (wfx_tx_queue_get_weight(queues[j]) < in wfx_tx_queues_get_skb()
243 wfx_tx_queue_get_weight(queues[j - 1])) in wfx_tx_queues_get_skb()
244 swap(queues[j - 1], queues[j]); in wfx_tx_queues_get_skb()
254 skb = skb_dequeue(&queues[i]->cab); in wfx_tx_queues_get_skb()
262 WARN_ON(queues[i] != &wvif->tx_queue[skb_get_queue_mapping(skb)]); in wfx_tx_queues_get_skb()
263 atomic_inc(&queues[i]->pending_frames); in wfx_tx_queues_get_skb()
264 trace_queues_stats(wdev, queues[i]); in wfx_tx_queues_get_skb()
273 skb = skb_dequeue(&queues[i]->normal); in wfx_tx_queues_get_skb()
275 atomic_inc(&queues[i]->pending_frames); in wfx_tx_queues_get_skb()
276 trace_queues_stats(wdev, queues[i]); in wfx_tx_queues_get_skb()