Home
last modified time | relevance | path

Searched refs:mpdu_counters (Results 1 – 7 of 7) sorted by relevance

/linux-6.15/drivers/net/wireless/intel/iwlwifi/mvm/
H A Drx.c993 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 …]
H A Dsta.h456 struct iwl_mvm_tpt_counter *mpdu_counters; member
H A Dmld-sta.c851 kfree(mvm_sta->mpdu_counters); in iwl_mvm_mld_rm_sta()
852 mvm_sta->mpdu_counters = NULL; in iwl_mvm_mld_rm_sta()
H A Dsta.c1841 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()
/linux-6.15/drivers/net/wireless/intel/iwlwifi/mld/
H A Dsta.c652 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()
H A Dsta.h141 struct iwl_mld_per_q_mpdu_counter *mpdu_counters; member
H A Dmlo.c498 if (!mld_sta->mpdu_counters) in iwl_mld_emlsr_check_tpt()
528 &mld_sta->mpdu_counters[q]; in iwl_mld_emlsr_check_tpt()