Home
last modified time | relevance | path

Searched refs:tpc_stats (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/net/wireless/ath/ath10k/
H A Ddebug.h98 struct ath10k_tpc_stats *tpc_stats);
101 struct ath10k_tpc_stats_final *tpc_stats);
167 struct ath10k_tpc_stats *tpc_stats) in ath10k_debug_tpc_stats_process() argument
169 kfree(tpc_stats); in ath10k_debug_tpc_stats_process()
174 struct ath10k_tpc_stats_final *tpc_stats) in ath10k_debug_tpc_stats_final_process() argument
176 kfree(tpc_stats); in ath10k_debug_tpc_stats_final_process()
H A Dwmi.c4733 struct ath10k_tpc_stats *tpc_stats, in ath10k_tpc_config_disp_tables() argument
4747 tpc_stats->flag[type] = ATH10K_TPC_TABLE_TYPE_FLAG; in ath10k_tpc_config_disp_tables()
4754 tpc_stats->flag[type] = ATH10K_TPC_TABLE_TYPE_FLAG; in ath10k_tpc_config_disp_tables()
4761 tpc_stats->flag[type] = ATH10K_TPC_TABLE_TYPE_FLAG; in ath10k_tpc_config_disp_tables()
4772 for (i = 0; i < tpc_stats->rate_max; i++) { in ath10k_tpc_config_disp_tables()
4778 for (j = 0; j < tpc_stats->num_tx_chain; j++) { in ath10k_tpc_config_disp_tables()
4785 tpc_stats->tpc_table[type].pream_idx[i] = pream_idx; in ath10k_tpc_config_disp_tables()
4786 tpc_stats->tpc_table[type].rate_code[i] = rate_code[i]; in ath10k_tpc_config_disp_tables()
4787 memcpy(tpc_stats->tpc_table[type].tpc_value[i], in ath10k_tpc_config_disp_tables()
4895 struct ath10k_tpc_stats *tpc_stats; in ath10k_wmi_event_pdev_tpc_config() local
[all …]
/linux/drivers/net/wireless/ath/ath12k/
H A Ddebugfs.c155 static int ath12k_get_tpc_ctl_mode_idx(struct wmi_tpc_stats_arg *tpc_stats, in ath12k_get_tpc_ctl_mode_idx() argument
158 u32 chan_freq = le32_to_cpu(tpc_stats->tpc_config.chan_freq); in ath12k_get_tpc_ctl_mode_idx()
249 struct wmi_tpc_stats_arg *tpc_stats, in ath12k_tpc_get_rate() argument
268 ret = ath12k_get_tpc_ctl_mode_idx(tpc_stats, pream_bw, &mode); in ath12k_tpc_get_rate()
280 if (le32_to_cpu(tpc_stats->tpc_config.num_tx_chain) <= 1) { in ath12k_tpc_get_rate()
300 rate2 = tpc_stats->rates_array2.rate_array[eht_rate_idx]; in ath12k_tpc_get_rate()
306 rate1 = tpc_stats->rates_array1.rate_array[rate_idx]; in ath12k_tpc_get_rate()
313 if (tpc_stats->tlvs_rcvd & WMI_TPC_CTL_PWR_ARRAY) { in ath12k_tpc_get_rate()
314 tot_nss = le32_to_cpu(tpc_stats->ctl_array.tpc_ctl_pwr.d1); in ath12k_tpc_get_rate()
315 tot_modes = le32_to_cpu(tpc_stats->ctl_array.tpc_ctl_pwr.d2); in ath12k_tpc_get_rate()
[all …]
H A Dwmi.c9712 struct wmi_tpc_stats_arg *tpc_stats) in ath12k_wmi_tpc_stats_copy_buffer() argument
9718 len1 = le32_to_cpu(tpc_stats->max_reg_allowed_power.tpc_reg_pwr.reg_array_len); in ath12k_wmi_tpc_stats_copy_buffer()
9719 len2 = le32_to_cpu(tpc_stats->rates_array1.tpc_rates_array.rate_array_len); in ath12k_wmi_tpc_stats_copy_buffer()
9720 len3 = le32_to_cpu(tpc_stats->rates_array2.tpc_rates_array.rate_array_len); in ath12k_wmi_tpc_stats_copy_buffer()
9721 len4 = le32_to_cpu(tpc_stats->ctl_array.tpc_ctl_pwr.ctl_array_len); in ath12k_wmi_tpc_stats_copy_buffer()
9723 switch (tpc_stats->event_count) { in ath12k_wmi_tpc_stats_copy_buffer()
9728 if (tpc_stats->tlvs_rcvd & WMI_TPC_REG_PWR_ALLOWED) { in ath12k_wmi_tpc_stats_copy_buffer()
9729 dst_ptr = tpc_stats->max_reg_allowed_power.reg_pwr_array; in ath12k_wmi_tpc_stats_copy_buffer()
9737 if (tpc_stats->tlvs_rcvd & WMI_TPC_RATES_ARRAY1) { in ath12k_wmi_tpc_stats_copy_buffer()
9738 dst_ptr = tpc_stats->rates_array1.rate_array; in ath12k_wmi_tpc_stats_copy_buffer()
[all …]
H A Dcore.h599 struct wmi_tpc_stats_arg *tpc_stats; member