Lines Matching refs:queue_info

283 	sta_id = mvm->queue_info[queue].ra_sta_id;  in iwl_mvm_invalidate_sta_queue()
352 if (WARN_ON(mvm->queue_info[queue].tid_bitmap == 0)) in iwl_mvm_disable_txq()
355 mvm->queue_info[queue].tid_bitmap &= ~BIT(tid); in iwl_mvm_disable_txq()
357 cmd.action = mvm->queue_info[queue].tid_bitmap ? in iwl_mvm_disable_txq()
360 mvm->queue_info[queue].status = IWL_MVM_QUEUE_FREE; in iwl_mvm_disable_txq()
365 mvm->queue_info[queue].tid_bitmap); in iwl_mvm_disable_txq()
371 cmd.sta_id = mvm->queue_info[queue].ra_sta_id; in iwl_mvm_disable_txq()
372 cmd.tid = mvm->queue_info[queue].txq_tid; in iwl_mvm_disable_txq()
375 WARN(mvm->queue_info[queue].tid_bitmap, in iwl_mvm_disable_txq()
377 queue, mvm->queue_info[queue].tid_bitmap); in iwl_mvm_disable_txq()
380 mvm->queue_info[queue].tid_bitmap = 0; in iwl_mvm_disable_txq()
391 mvm->queue_info[queue].reserved = false; in iwl_mvm_disable_txq()
417 sta_id = mvm->queue_info[queue].ra_sta_id; in iwl_mvm_get_queue_agg_tids()
418 tid_bitmap = mvm->queue_info[queue].tid_bitmap; in iwl_mvm_get_queue_agg_tids()
457 sta_id = mvm->queue_info[queue].ra_sta_id; in iwl_mvm_remove_sta_queue_marking()
458 tid_bitmap = mvm->queue_info[queue].tid_bitmap; in iwl_mvm_remove_sta_queue_marking()
519 sta_id = mvm->queue_info[queue].ra_sta_id; in iwl_mvm_free_inactive_queue()
520 tid = mvm->queue_info[queue].txq_tid; in iwl_mvm_free_inactive_queue()
575 ac_to_queue[mvm->queue_info[i].mac80211_ac] = i; in iwl_mvm_get_shared_queue()
638 if (WARN(mvm->queue_info[queue].tid_bitmap == 0, in iwl_mvm_reconfig_scd()
679 if (ac <= mvm->queue_info[queue].mac80211_ac && !force) { in iwl_mvm_redirect_queue()
686 cmd.sta_id = mvm->queue_info[queue].ra_sta_id; in iwl_mvm_redirect_queue()
687 cmd.tx_fifo = iwl_mvm_ac_to_tx_fifo[mvm->queue_info[queue].mac80211_ac]; in iwl_mvm_redirect_queue()
688 cmd.tid = mvm->queue_info[queue].txq_tid; in iwl_mvm_redirect_queue()
689 shared_queue = hweight16(mvm->queue_info[queue].tid_bitmap) > 1; in iwl_mvm_redirect_queue()
716 mvm->queue_info[queue].txq_tid = tid; in iwl_mvm_redirect_queue()
725 mvm->queue_info[queue].mac80211_ac = ac; in iwl_mvm_redirect_queue()
761 if (mvm->queue_info[i].tid_bitmap == 0 && in iwl_mvm_find_free_queue()
762 mvm->queue_info[i].status == IWL_MVM_QUEUE_FREE) in iwl_mvm_find_free_queue()
862 if (mvm->queue_info[queue].tid_bitmap & BIT(tid)) { in iwl_mvm_update_txq_mapping()
869 if (mvm->queue_info[queue].tid_bitmap) in iwl_mvm_update_txq_mapping()
872 mvm->queue_info[queue].tid_bitmap |= BIT(tid); in iwl_mvm_update_txq_mapping()
873 mvm->queue_info[queue].ra_sta_id = sta_id; in iwl_mvm_update_txq_mapping()
877 mvm->queue_info[queue].mac80211_ac = in iwl_mvm_update_txq_mapping()
880 mvm->queue_info[queue].mac80211_ac = IEEE80211_AC_VO; in iwl_mvm_update_txq_mapping()
882 mvm->queue_info[queue].txq_tid = tid; in iwl_mvm_update_txq_mapping()
894 queue, mvm->queue_info[queue].tid_bitmap); in iwl_mvm_update_txq_mapping()
949 tid_bitmap = mvm->queue_info[queue].tid_bitmap; in iwl_mvm_change_queue_tid()
966 mvm->queue_info[queue].txq_tid = tid; in iwl_mvm_change_queue_tid()
988 sta_id = mvm->queue_info[queue].ra_sta_id; in iwl_mvm_unshare_queue()
989 tid_bitmap = mvm->queue_info[queue].tid_bitmap; in iwl_mvm_unshare_queue()
1047 mvm->queue_info[queue].status = IWL_MVM_QUEUE_READY; in iwl_mvm_unshare_queue()
1083 if (tid_bitmap == mvm->queue_info[queue].tid_bitmap) { in iwl_mvm_remove_inactive_tids()
1096 mvm->queue_info[queue].tid_bitmap &= ~BIT(tid); in iwl_mvm_remove_inactive_tids()
1098 q_tid_bitmap = mvm->queue_info[queue].tid_bitmap; in iwl_mvm_remove_inactive_tids()
1111 if (!(q_tid_bitmap & BIT(mvm->queue_info[queue].txq_tid))) in iwl_mvm_remove_inactive_tids()
1121 mvm->queue_info[queue].tid_bitmap); in iwl_mvm_remove_inactive_tids()
1127 tid_bitmap = mvm->queue_info[queue].tid_bitmap; in iwl_mvm_remove_inactive_tids()
1130 if (hweight16(mvm->queue_info[queue].tid_bitmap) == 1 && in iwl_mvm_remove_inactive_tids()
1131 mvm->queue_info[queue].status == IWL_MVM_QUEUE_SHARED) { in iwl_mvm_remove_inactive_tids()
1175 queue_tid_bitmap = mvm->queue_info[i].tid_bitmap; in iwl_mvm_inactivity_check()
1180 if (mvm->queue_info[i].status != IWL_MVM_QUEUE_READY && in iwl_mvm_inactivity_check()
1181 mvm->queue_info[i].status != IWL_MVM_QUEUE_SHARED) in iwl_mvm_inactivity_check()
1187 if (time_after(mvm->queue_info[i].last_frame_time[tid] + in iwl_mvm_inactivity_check()
1203 sta_id = mvm->queue_info[i].ra_sta_id; in iwl_mvm_inactivity_check()
1291 (mvm->queue_info[mvmsta->reserved_queue].status == in iwl_mvm_sta_alloc_queue()
1294 mvm->queue_info[queue].reserved = true; in iwl_mvm_sta_alloc_queue()
1312 mvm->queue_info[queue].status = IWL_MVM_QUEUE_SHARED; in iwl_mvm_sta_alloc_queue()
1323 mvm->queue_info[queue].status = IWL_MVM_QUEUE_READY; in iwl_mvm_sta_alloc_queue()
1475 !mvm->queue_info[IWL_MVM_DQA_BSS_CLIENT_QUEUE].tid_bitmap && in iwl_mvm_reserve_sta_stream()
1476 (mvm->queue_info[IWL_MVM_DQA_BSS_CLIENT_QUEUE].status == in iwl_mvm_reserve_sta_stream()
1491 mvm->queue_info[queue].status = IWL_MVM_QUEUE_RESERVED; in iwl_mvm_reserve_sta_stream()
1522 mvm->queue_info[mvm_sta->reserved_queue].status = in iwl_mvm_realloc_queues_after_restart()
1571 mvm->queue_info[txq_id].status = IWL_MVM_QUEUE_READY; in iwl_mvm_realloc_queues_after_restart()
1941 status = &mvm->queue_info[reserved_txq].status; in iwl_mvm_rm_sta()
2973 mvm->queue_info[txq_id].status = IWL_MVM_QUEUE_RESERVED; in iwl_mvm_sta_tx_agg_start()
2980 } else if (unlikely(mvm->queue_info[txq_id].status == in iwl_mvm_sta_tx_agg_start()
3087 queue_status = mvm->queue_info[queue].status; in iwl_mvm_sta_tx_agg_oper()
3090 if (mvm->queue_info[queue].status == IWL_MVM_QUEUE_READY) in iwl_mvm_sta_tx_agg_oper()
3132 mvm->queue_info[queue].status = IWL_MVM_QUEUE_READY; in iwl_mvm_sta_tx_agg_oper()
3170 if (mvm->queue_info[txq_id].status == IWL_MVM_QUEUE_RESERVED) { in iwl_mvm_unreserve_agg_queue()
3171 mvm->queue_info[txq_id].status = IWL_MVM_QUEUE_FREE; in iwl_mvm_unreserve_agg_queue()