Searched refs:mpdu_counters (Results 1 – 5 of 5) sorted by relevance
992 if (!mvmsta->mpdu_counters) in iwl_mvm_update_esr_mode_tpt()1004 spin_lock_bh(&mvmsta->mpdu_counters[q].lock); in iwl_mvm_update_esr_mode_tpt()1008 total_tx += mvmsta->mpdu_counters[q].per_link[link].tx; in iwl_mvm_update_esr_mode_tpt()1009 total_rx += mvmsta->mpdu_counters[q].per_link[link].rx; in iwl_mvm_update_esr_mode_tpt()1012 sec_link_tx += mvmsta->mpdu_counters[q].per_link[sec_link].tx; in iwl_mvm_update_esr_mode_tpt()1013 sec_link_rx += mvmsta->mpdu_counters[q].per_link[sec_link].rx; in iwl_mvm_update_esr_mode_tpt()1019 memset(mvmsta->mpdu_counters[q].per_link, 0, in iwl_mvm_update_esr_mode_tpt()1020 sizeof(mvmsta->mpdu_counters[q].per_link)); in iwl_mvm_update_esr_mode_tpt()1022 spin_unlock_bh(&mvmsta->mpdu_counters[q].lock); in iwl_mvm_update_esr_mode_tpt()
215 if (!mvmsta->mpdu_counters) in iwl_mvm_restart_mpdu_count()219 spin_lock_bh(&mvmsta->mpdu_counters[q].lock); in iwl_mvm_restart_mpdu_count()220 memset(mvmsta->mpdu_counters[q].per_link, 0, in iwl_mvm_restart_mpdu_count()221 sizeof(mvmsta->mpdu_counters[q].per_link)); in iwl_mvm_restart_mpdu_count()222 mvmsta->mpdu_counters[q].window_start = jiffies; in iwl_mvm_restart_mpdu_count()223 spin_unlock_bh(&mvmsta->mpdu_counters[q].lock); in iwl_mvm_restart_mpdu_count()
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()4437 if (!mvm_sta->mpdu_counters) in iwl_mvm_count_mpdu()4445 queue_counter = &mvm_sta->mpdu_counters[queue]; in iwl_mvm_count_mpdu()