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