Home
last modified time | relevance | path

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

/freebsd/sys/contrib/dev/athk/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 Ddebug.c1514 struct ath10k_tpc_stats *tpc_stats) in ath10k_debug_tpc_stats_process() argument
1518 kfree(ar->debug.tpc_stats); in ath10k_debug_tpc_stats_process()
1519 ar->debug.tpc_stats = tpc_stats; in ath10k_debug_tpc_stats_process()
1527 struct ath10k_tpc_stats_final *tpc_stats) in ath10k_debug_tpc_stats_final_process() argument
1532 ar->debug.tpc_stats_final = tpc_stats; in ath10k_debug_tpc_stats_final_process()
1538 static void ath10k_tpc_stats_print(struct ath10k_tpc_stats *tpc_stats, in ath10k_tpc_stats_print() argument
1566 for (i = 0; i < tpc_stats->num_tx_chain; i++) in ath10k_tpc_stats_print()
1572 for (i = 0; i < tpc_stats->rate_max; i++) { in ath10k_tpc_stats_print()
1575 pream_str[tpc_stats->tpc_table[j].pream_idx[i]], in ath10k_tpc_stats_print()
1576 tpc_stats->tpc_table[j].rate_code[i], in ath10k_tpc_stats_print()
[all …]
H A Dwmi.c4803 struct ath10k_tpc_stats *tpc_stats, in ath10k_tpc_config_disp_tables() argument
4817 tpc_stats->flag[type] = ATH10K_TPC_TABLE_TYPE_FLAG; in ath10k_tpc_config_disp_tables()
4824 tpc_stats->flag[type] = ATH10K_TPC_TABLE_TYPE_FLAG; in ath10k_tpc_config_disp_tables()
4831 tpc_stats->flag[type] = ATH10K_TPC_TABLE_TYPE_FLAG; in ath10k_tpc_config_disp_tables()
4842 for (i = 0; i < tpc_stats->rate_max; i++) { in ath10k_tpc_config_disp_tables()
4848 for (j = 0; j < tpc_stats->num_tx_chain; j++) { in ath10k_tpc_config_disp_tables()
4855 tpc_stats->tpc_table[type].pream_idx[i] = pream_idx; in ath10k_tpc_config_disp_tables()
4856 tpc_stats->tpc_table[type].rate_code[i] = rate_code[i]; in ath10k_tpc_config_disp_tables()
4857 memcpy(tpc_stats->tpc_table[type].tpc_value[i], in ath10k_tpc_config_disp_tables()
4965 struct ath10k_tpc_stats *tpc_stats; in ath10k_wmi_event_pdev_tpc_config() local
[all …]
H A Dcore.h697 struct ath10k_tpc_stats *tpc_stats; member
/freebsd/sys/contrib/dev/athk/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.c9466 struct wmi_tpc_stats_arg *tpc_stats) in ath12k_wmi_tpc_stats_copy_buffer() argument
9472 len1 = le32_to_cpu(tpc_stats->max_reg_allowed_power.tpc_reg_pwr.reg_array_len); in ath12k_wmi_tpc_stats_copy_buffer()
9473 len2 = le32_to_cpu(tpc_stats->rates_array1.tpc_rates_array.rate_array_len); in ath12k_wmi_tpc_stats_copy_buffer()
9474 len3 = le32_to_cpu(tpc_stats->rates_array2.tpc_rates_array.rate_array_len); in ath12k_wmi_tpc_stats_copy_buffer()
9475 len4 = le32_to_cpu(tpc_stats->ctl_array.tpc_ctl_pwr.ctl_array_len); in ath12k_wmi_tpc_stats_copy_buffer()
9477 switch (tpc_stats->event_count) { in ath12k_wmi_tpc_stats_copy_buffer()
9482 if (tpc_stats->tlvs_rcvd & WMI_TPC_REG_PWR_ALLOWED) { in ath12k_wmi_tpc_stats_copy_buffer()
9483 dst_ptr = tpc_stats->max_reg_allowed_power.reg_pwr_array; in ath12k_wmi_tpc_stats_copy_buffer()
9491 if (tpc_stats->tlvs_rcvd & WMI_TPC_RATES_ARRAY1) { in ath12k_wmi_tpc_stats_copy_buffer()
9492 dst_ptr = tpc_stats->rates_array1.rate_array; in ath12k_wmi_tpc_stats_copy_buffer()
[all …]
H A Dcore.h615 struct wmi_tpc_stats_arg *tpc_stats; member