Searched refs:mpdu_counters (Results 1 – 7 of 7) sorted by relevance
993 if (!mvmsta->mpdu_counters) in iwl_mvm_update_esr_mode_tpt()1005 spin_lock_bh(&mvmsta->mpdu_counters[q].lock); in iwl_mvm_update_esr_mode_tpt()1009 total_tx += mvmsta->mpdu_counters[q].per_link[link].tx; in iwl_mvm_update_esr_mode_tpt()1010 total_rx += mvmsta->mpdu_counters[q].per_link[link].rx; in iwl_mvm_update_esr_mode_tpt()1013 sec_link_tx += mvmsta->mpdu_counters[q].per_link[sec_link].tx; in iwl_mvm_update_esr_mode_tpt()1014 sec_link_rx += mvmsta->mpdu_counters[q].per_link[sec_link].rx; in iwl_mvm_update_esr_mode_tpt()1023 if (jiffies - mvmsta->mpdu_counters[q].window_start < in iwl_mvm_update_esr_mode_tpt()1026 mvmsta->mpdu_counters[q].window_start = jiffies; in iwl_mvm_update_esr_mode_tpt()1027 memset(mvmsta->mpdu_counters[q].per_link, 0, in iwl_mvm_update_esr_mode_tpt()1028 sizeof(mvmsta->mpdu_counters[q].per_link)); in iwl_mvm_update_esr_mode_tpt()[all …]
456 struct iwl_mvm_tpt_counter *mpdu_counters; member
851 kfree(mvm_sta->mpdu_counters); in iwl_mvm_mld_rm_sta()852 mvm_sta->mpdu_counters = NULL; in iwl_mvm_mld_rm_sta()
1841 mvm_sta->mpdu_counters = in iwl_mvm_sta_init()1843 sizeof(*mvm_sta->mpdu_counters), in iwl_mvm_sta_init()1845 if (mvm_sta->mpdu_counters) in iwl_mvm_sta_init()1847 spin_lock_init(&mvm_sta->mpdu_counters[q].lock); in iwl_mvm_sta_init()4363 if (!mvm_sta->mpdu_counters) in iwl_mvm_count_mpdu()4371 queue_counter = &mvm_sta->mpdu_counters[queue]; in iwl_mvm_count_mpdu()
652 kfree(mld_sta->mpdu_counters); in iwl_mld_destroy_sta()698 mld_sta->mpdu_counters = kcalloc(mld->trans->num_rx_queues, in iwl_mld_alloc_mpdu_counters()699 sizeof(*mld_sta->mpdu_counters), in iwl_mld_alloc_mpdu_counters()701 if (!mld_sta->mpdu_counters) in iwl_mld_alloc_mpdu_counters()705 spin_lock_init(&mld_sta->mpdu_counters[q].lock); in iwl_mld_alloc_mpdu_counters()870 if (!mld_sta->mpdu_counters) in iwl_mld_count_mpdu()879 queue_counter = &mld_sta->mpdu_counters[queue]; in iwl_mld_count_mpdu()
141 struct iwl_mld_per_q_mpdu_counter *mpdu_counters; member
498 if (!mld_sta->mpdu_counters) in iwl_mld_emlsr_check_tpt()528 &mld_sta->mpdu_counters[q]; in iwl_mld_emlsr_check_tpt()