Searched refs:mpdu_counters (Results 1 – 5 of 5) sorted by relevance
979 if (!mvmsta->mpdu_counters) in iwl_mvm_update_esr_mode_tpt()991 spin_lock_bh(&mvmsta->mpdu_counters[q].lock); in iwl_mvm_update_esr_mode_tpt()995 total_tx += mvmsta->mpdu_counters[q].per_link[link].tx; in iwl_mvm_update_esr_mode_tpt()996 total_rx += mvmsta->mpdu_counters[q].per_link[link].rx; in iwl_mvm_update_esr_mode_tpt()999 sec_link_tx += mvmsta->mpdu_counters[q].per_link[sec_link].tx; in iwl_mvm_update_esr_mode_tpt()1000 sec_link_rx += mvmsta->mpdu_counters[q].per_link[sec_link].rx; in iwl_mvm_update_esr_mode_tpt()1006 memset(mvmsta->mpdu_counters[q].per_link, 0, in iwl_mvm_update_esr_mode_tpt()1007 sizeof(mvmsta->mpdu_counters[q].per_link)); in iwl_mvm_update_esr_mode_tpt()1009 spin_unlock_bh(&mvmsta->mpdu_counters[q].lock); in iwl_mvm_update_esr_mode_tpt()
223 if (!mvmsta->mpdu_counters) in iwl_mvm_restart_mpdu_count()227 spin_lock_bh(&mvmsta->mpdu_counters[q].lock); in iwl_mvm_restart_mpdu_count()228 memset(mvmsta->mpdu_counters[q].per_link, 0, in iwl_mvm_restart_mpdu_count()229 sizeof(mvmsta->mpdu_counters[q].per_link)); in iwl_mvm_restart_mpdu_count()230 mvmsta->mpdu_counters[q].window_start = jiffies; in iwl_mvm_restart_mpdu_count()231 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()
1838 mvm_sta->mpdu_counters = in iwl_mvm_sta_init()1840 sizeof(*mvm_sta->mpdu_counters), in iwl_mvm_sta_init()1842 if (mvm_sta->mpdu_counters) in iwl_mvm_sta_init()1844 spin_lock_init(&mvm_sta->mpdu_counters[q].lock); in iwl_mvm_sta_init()4427 if (!mvm_sta->mpdu_counters) in iwl_mvm_count_mpdu()4435 queue_counter = &mvm_sta->mpdu_counters[queue]; in iwl_mvm_count_mpdu()