Lines Matching refs:mq
2033 int mq = priv->queue_to_mac80211[queue];
2035 if (WARN_ON_ONCE(mq == IWL_INVALID_MAC80211_QUEUE))
2038 if (atomic_inc_return(&priv->queue_stop_count[mq]) > 1) {
2041 queue, mq);
2045 set_bit(mq, &priv->transport_queue_stop);
2046 ieee80211_stop_queue(priv->hw, mq);
2052 int mq = priv->queue_to_mac80211[queue];
2054 if (WARN_ON_ONCE(mq == IWL_INVALID_MAC80211_QUEUE))
2057 if (atomic_dec_return(&priv->queue_stop_count[mq]) > 0) {
2060 queue, mq);
2064 clear_bit(mq, &priv->transport_queue_stop);
2067 ieee80211_wake_queue(priv->hw, mq);
2072 int mq;
2077 for (mq = 0; mq < IWLAGN_FIRST_AMPDU_QUEUE; mq++) {
2078 if (!test_bit(mq, &priv->transport_queue_stop)) {
2079 IWL_DEBUG_TX_QUEUES(priv, "Wake queue %d\n", mq);
2080 ieee80211_wake_queue(priv->hw, mq);
2082 IWL_DEBUG_TX_QUEUES(priv, "Don't wake queue %d\n", mq);