Home
last modified time | relevance | path

Searched refs:tpc_stats (Results 1 – 4 of 4) 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 Ddebug.c1472 struct ath10k_tpc_stats *tpc_stats) in ath10k_debug_tpc_stats_process()
1476 kfree(ar->debug.tpc_stats); in ath10k_debug_tpc_stats_process()
1477 ar->debug.tpc_stats = tpc_stats; in ath10k_debug_tpc_stats_process()
1485 struct ath10k_tpc_stats_final *tpc_stats) in ath10k_debug_tpc_stats_final_process()
1490 ar->debug.tpc_stats_final = tpc_stats; in ath10k_debug_tpc_stats_final_process()
1496 static void ath10k_tpc_stats_print(struct ath10k_tpc_stats *tpc_stats,
1524 for (i = 0; i < tpc_stats->num_tx_chain; i++) in ath10k_tpc_stats_print()
1530 for (i = 0; i < tpc_stats->rate_max; i++) { in ath10k_tpc_stats_print()
1533 pream_str[tpc_stats in ath10k_tpc_stats_print()
1473 ath10k_debug_tpc_stats_process(struct ath10k * ar,struct ath10k_tpc_stats * tpc_stats) ath10k_debug_tpc_stats_process() argument
1486 ath10k_debug_tpc_stats_final_process(struct ath10k * ar,struct ath10k_tpc_stats_final * tpc_stats) ath10k_debug_tpc_stats_final_process() argument
1497 ath10k_tpc_stats_print(struct ath10k_tpc_stats * tpc_stats,unsigned int j,char * buf,size_t * len) ath10k_tpc_stats_print() argument
1544 ath10k_tpc_stats_fill(struct ath10k * ar,struct ath10k_tpc_stats * tpc_stats,char * buf) ath10k_tpc_stats_fill() argument
[all...]
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 Dwmi.c9653 struct wmi_tpc_stats_arg *tpc_stats) in ath12k_wmi_rssi_dbm_conv_info_evt_subtlv_parser()
9659 len1 = le32_to_cpu(tpc_stats->max_reg_allowed_power.tpc_reg_pwr.reg_array_len); in ath12k_wmi_rssi_dbm_conv_info_evt_subtlv_parser()
9660 len2 = le32_to_cpu(tpc_stats->rates_array1.tpc_rates_array.rate_array_len); in ath12k_wmi_rssi_dbm_conv_info_evt_subtlv_parser()
9661 len3 = le32_to_cpu(tpc_stats->rates_array2.tpc_rates_array.rate_array_len); in ath12k_wmi_rssi_dbm_conv_info_evt_subtlv_parser()
9662 len4 = le32_to_cpu(tpc_stats->ctl_array.tpc_ctl_pwr.ctl_array_len); in ath12k_wmi_rssi_dbm_conv_info_evt_subtlv_parser()
9664 switch (tpc_stats->event_count) { in ath12k_wmi_rssi_dbm_conv_info_evt_subtlv_parser()
9669 if (tpc_stats->tlvs_rcvd & WMI_TPC_REG_PWR_ALLOWED) { in ath12k_wmi_rssi_dbm_conv_info_evt_subtlv_parser()
9670 dst_ptr = tpc_stats->max_reg_allowed_power.reg_pwr_array; in ath12k_wmi_rssi_dbm_conv_info_evt_subtlv_parser()
9678 if (tpc_stats->tlvs_rcvd & WMI_TPC_RATES_ARRAY1) { in ath12k_wmi_rssi_dbm_conv_info_evt_subtlv_parser()
9679 dst_ptr = tpc_stats in ath12k_wmi_rssi_dbm_conv_info_evt_subtlv_parser()
9218 ath12k_wmi_tpc_stats_copy_buffer(struct ath12k_base * ab,const void * ptr,u16 tag,u16 len,struct wmi_tpc_stats_arg * tpc_stats) ath12k_wmi_tpc_stats_copy_buffer() argument
9271 ath12k_tpc_get_reg_pwr(struct ath12k_base * ab,struct wmi_tpc_stats_arg * tpc_stats,struct wmi_max_reg_power_fixed_params * ev) ath12k_tpc_get_reg_pwr() argument
9311 ath12k_tpc_get_rate_array(struct ath12k_base * ab,struct wmi_tpc_stats_arg * tpc_stats,struct wmi_tpc_rates_array_fixed_params * ev) ath12k_tpc_get_rate_array() argument
9347 ath12k_tpc_get_ctl_pwr_tbl(struct ath12k_base * ab,struct wmi_tpc_stats_arg * tpc_stats,struct wmi_tpc_ctl_pwr_fixed_params * ev) ath12k_tpc_get_ctl_pwr_tbl() argument
9393 struct wmi_tpc_stats_arg *tpc_stats = data; ath12k_wmi_tpc_stats_subtlv_parser() local
9432 struct wmi_tpc_stats_arg *tpc_stats = (struct wmi_tpc_stats_arg *)data; ath12k_wmi_tpc_stats_event_parser() local
9474 struct wmi_tpc_stats_arg *tpc_stats = ar->debug.tpc_stats; ath12k_wmi_free_tpc_stats_mem() local
9492 struct wmi_tpc_stats_arg *tpc_stats; ath12k_wmi_process_tpc_stats() local
[all...]