Lines Matching full:len
49 u32 len = stats_req->buf_len; in htt_print_tx_pdev_stats_cmn_tlv() local
58 len += scnprintf(buf + len, buf_len - len, "HTT_TX_PDEV_STATS_CMN_TLV:\n"); in htt_print_tx_pdev_stats_cmn_tlv()
59 len += scnprintf(buf + len, buf_len - len, "mac_id = %u\n", in htt_print_tx_pdev_stats_cmn_tlv()
61 len += scnprintf(buf + len, buf_len - len, "comp_delivered = %u\n", in htt_print_tx_pdev_stats_cmn_tlv()
63 len += scnprintf(buf + len, buf_len - len, "self_triggers = %u\n", in htt_print_tx_pdev_stats_cmn_tlv()
65 len += scnprintf(buf + len, buf_len - len, "hw_queued = %u\n", in htt_print_tx_pdev_stats_cmn_tlv()
67 len += scnprintf(buf + len, buf_len - len, "hw_reaped = %u\n", in htt_print_tx_pdev_stats_cmn_tlv()
69 len += scnprintf(buf + len, buf_len - len, "underrun = %u\n", in htt_print_tx_pdev_stats_cmn_tlv()
71 len += scnprintf(buf + len, buf_len - len, "hw_paused = %u\n", in htt_print_tx_pdev_stats_cmn_tlv()
73 len += scnprintf(buf + len, buf_len - len, "hw_flush = %u\n", in htt_print_tx_pdev_stats_cmn_tlv()
75 len += scnprintf(buf + len, buf_len - len, "hw_filt = %u\n", in htt_print_tx_pdev_stats_cmn_tlv()
77 len += scnprintf(buf + len, buf_len - len, "tx_abort = %u\n", in htt_print_tx_pdev_stats_cmn_tlv()
79 len += scnprintf(buf + len, buf_len - len, "ppdu_ok = %u\n", in htt_print_tx_pdev_stats_cmn_tlv()
81 len += scnprintf(buf + len, buf_len - len, "mpdu_requeued = %u\n", in htt_print_tx_pdev_stats_cmn_tlv()
83 len += scnprintf(buf + len, buf_len - len, "tx_xretry = %u\n", in htt_print_tx_pdev_stats_cmn_tlv()
85 len += scnprintf(buf + len, buf_len - len, "data_rc = %u\n", in htt_print_tx_pdev_stats_cmn_tlv()
87 len += scnprintf(buf + len, buf_len - len, "mpdu_dropped_xretry = %u\n", in htt_print_tx_pdev_stats_cmn_tlv()
89 len += scnprintf(buf + len, buf_len - len, "illegal_rate_phy_err = %u\n", in htt_print_tx_pdev_stats_cmn_tlv()
91 len += scnprintf(buf + len, buf_len - len, "cont_xretry = %u\n", in htt_print_tx_pdev_stats_cmn_tlv()
93 len += scnprintf(buf + len, buf_len - len, "tx_timeout = %u\n", in htt_print_tx_pdev_stats_cmn_tlv()
95 len += scnprintf(buf + len, buf_len - len, "tx_time_dur_data = %u\n", in htt_print_tx_pdev_stats_cmn_tlv()
97 len += scnprintf(buf + len, buf_len - len, "pdev_resets = %u\n", in htt_print_tx_pdev_stats_cmn_tlv()
99 len += scnprintf(buf + len, buf_len - len, "phy_underrun = %u\n", in htt_print_tx_pdev_stats_cmn_tlv()
101 len += scnprintf(buf + len, buf_len - len, "txop_ovf = %u\n", in htt_print_tx_pdev_stats_cmn_tlv()
103 len += scnprintf(buf + len, buf_len - len, "seq_posted = %u\n", in htt_print_tx_pdev_stats_cmn_tlv()
105 len += scnprintf(buf + len, buf_len - len, "seq_failed_queueing = %u\n", in htt_print_tx_pdev_stats_cmn_tlv()
107 len += scnprintf(buf + len, buf_len - len, "seq_completed = %u\n", in htt_print_tx_pdev_stats_cmn_tlv()
109 len += scnprintf(buf + len, buf_len - len, "seq_restarted = %u\n", in htt_print_tx_pdev_stats_cmn_tlv()
111 len += scnprintf(buf + len, buf_len - len, "seq_txop_repost_stop = %u\n", in htt_print_tx_pdev_stats_cmn_tlv()
113 len += scnprintf(buf + len, buf_len - len, "next_seq_cancel = %u\n", in htt_print_tx_pdev_stats_cmn_tlv()
115 len += scnprintf(buf + len, buf_len - len, "dl_mu_mimo_seq_posted = %u\n", in htt_print_tx_pdev_stats_cmn_tlv()
117 len += scnprintf(buf + len, buf_len - len, "dl_mu_ofdma_seq_posted = %u\n", in htt_print_tx_pdev_stats_cmn_tlv()
119 len += scnprintf(buf + len, buf_len - len, "ul_mu_mimo_seq_posted = %u\n", in htt_print_tx_pdev_stats_cmn_tlv()
121 len += scnprintf(buf + len, buf_len - len, "ul_mu_ofdma_seq_posted = %u\n", in htt_print_tx_pdev_stats_cmn_tlv()
123 len += scnprintf(buf + len, buf_len - len, "mu_mimo_peer_blacklisted = %u\n", in htt_print_tx_pdev_stats_cmn_tlv()
125 len += scnprintf(buf + len, buf_len - len, "seq_qdepth_repost_stop = %u\n", in htt_print_tx_pdev_stats_cmn_tlv()
127 len += scnprintf(buf + len, buf_len - len, "seq_min_msdu_repost_stop = %u\n", in htt_print_tx_pdev_stats_cmn_tlv()
129 len += scnprintf(buf + len, buf_len - len, "mu_seq_min_msdu_repost_stop = %u\n", in htt_print_tx_pdev_stats_cmn_tlv()
131 len += scnprintf(buf + len, buf_len - len, "seq_switch_hw_paused = %u\n", in htt_print_tx_pdev_stats_cmn_tlv()
133 len += scnprintf(buf + len, buf_len - len, "next_seq_posted_dsr = %u\n", in htt_print_tx_pdev_stats_cmn_tlv()
135 len += scnprintf(buf + len, buf_len - len, "seq_posted_isr = %u\n", in htt_print_tx_pdev_stats_cmn_tlv()
137 len += scnprintf(buf + len, buf_len - len, "seq_ctrl_cached = %u\n", in htt_print_tx_pdev_stats_cmn_tlv()
139 len += scnprintf(buf + len, buf_len - len, "mpdu_count_tqm = %u\n", in htt_print_tx_pdev_stats_cmn_tlv()
141 len += scnprintf(buf + len, buf_len - len, "msdu_count_tqm = %u\n", in htt_print_tx_pdev_stats_cmn_tlv()
143 len += scnprintf(buf + len, buf_len - len, "mpdu_removed_tqm = %u\n", in htt_print_tx_pdev_stats_cmn_tlv()
145 len += scnprintf(buf + len, buf_len - len, "msdu_removed_tqm = %u\n", in htt_print_tx_pdev_stats_cmn_tlv()
147 len += scnprintf(buf + len, buf_len - len, "remove_mpdus_max_retries = %u\n", in htt_print_tx_pdev_stats_cmn_tlv()
149 len += scnprintf(buf + len, buf_len - len, "mpdus_sw_flush = %u\n", in htt_print_tx_pdev_stats_cmn_tlv()
151 len += scnprintf(buf + len, buf_len - len, "mpdus_hw_filter = %u\n", in htt_print_tx_pdev_stats_cmn_tlv()
153 len += scnprintf(buf + len, buf_len - len, "mpdus_truncated = %u\n", in htt_print_tx_pdev_stats_cmn_tlv()
155 len += scnprintf(buf + len, buf_len - len, "mpdus_ack_failed = %u\n", in htt_print_tx_pdev_stats_cmn_tlv()
157 len += scnprintf(buf + len, buf_len - len, "mpdus_expired = %u\n", in htt_print_tx_pdev_stats_cmn_tlv()
159 len += scnprintf(buf + len, buf_len - len, "mpdus_seq_hw_retry = %u\n", in htt_print_tx_pdev_stats_cmn_tlv()
161 len += scnprintf(buf + len, buf_len - len, "ack_tlv_proc = %u\n", in htt_print_tx_pdev_stats_cmn_tlv()
163 len += scnprintf(buf + len, buf_len - len, "coex_abort_mpdu_cnt_valid = %u\n", in htt_print_tx_pdev_stats_cmn_tlv()
165 len += scnprintf(buf + len, buf_len - len, "coex_abort_mpdu_cnt = %u\n", in htt_print_tx_pdev_stats_cmn_tlv()
167 len += scnprintf(buf + len, buf_len - len, "num_total_ppdus_tried_ota = %u\n", in htt_print_tx_pdev_stats_cmn_tlv()
169 len += scnprintf(buf + len, buf_len - len, "num_data_ppdus_tried_ota = %u\n", in htt_print_tx_pdev_stats_cmn_tlv()
171 len += scnprintf(buf + len, buf_len - len, "local_ctrl_mgmt_enqued = %u\n", in htt_print_tx_pdev_stats_cmn_tlv()
173 len += scnprintf(buf + len, buf_len - len, "local_ctrl_mgmt_freed = %u\n", in htt_print_tx_pdev_stats_cmn_tlv()
175 len += scnprintf(buf + len, buf_len - len, "local_data_enqued = %u\n", in htt_print_tx_pdev_stats_cmn_tlv()
177 len += scnprintf(buf + len, buf_len - len, "local_data_freed = %u\n", in htt_print_tx_pdev_stats_cmn_tlv()
179 len += scnprintf(buf + len, buf_len - len, "mpdu_tried = %u\n", in htt_print_tx_pdev_stats_cmn_tlv()
181 len += scnprintf(buf + len, buf_len - len, "isr_wait_seq_posted = %u\n", in htt_print_tx_pdev_stats_cmn_tlv()
183 len += scnprintf(buf + len, buf_len - len, "tx_active_dur_us_low = %u\n", in htt_print_tx_pdev_stats_cmn_tlv()
185 len += scnprintf(buf + len, buf_len - len, "tx_active_dur_us_high = %u\n", in htt_print_tx_pdev_stats_cmn_tlv()
187 len += scnprintf(buf + len, buf_len - len, "fes_offsets_err_cnt = %u\n\n", in htt_print_tx_pdev_stats_cmn_tlv()
190 stats_req->buf_len = len; in htt_print_tx_pdev_stats_cmn_tlv()
200 u32 len = stats_req->buf_len; in htt_print_tx_pdev_stats_urrn_tlv() local
205 len += scnprintf(buf + len, buf_len - len, in htt_print_tx_pdev_stats_urrn_tlv()
208 len += print_array_to_buf(buf, len, "urrn_stats", htt_stats_buf->urrn_stats, in htt_print_tx_pdev_stats_urrn_tlv()
211 stats_req->buf_len = len; in htt_print_tx_pdev_stats_urrn_tlv()
221 u32 len = stats_req->buf_len; in htt_print_tx_pdev_stats_flush_tlv() local
226 len += scnprintf(buf + len, buf_len - len, in htt_print_tx_pdev_stats_flush_tlv()
229 len += print_array_to_buf(buf, len, "flush_errs", htt_stats_buf->flush_errs, in htt_print_tx_pdev_stats_flush_tlv()
232 stats_req->buf_len = len; in htt_print_tx_pdev_stats_flush_tlv()
242 u32 len = stats_req->buf_len; in htt_print_tx_pdev_stats_sifs_tlv() local
247 len += scnprintf(buf + len, buf_len - len, in htt_print_tx_pdev_stats_sifs_tlv()
250 len += print_array_to_buf(buf, len, "sifs_status", htt_stats_buf->sifs_status, in htt_print_tx_pdev_stats_sifs_tlv()
253 stats_req->buf_len = len; in htt_print_tx_pdev_stats_sifs_tlv()
264 u32 len = stats_req->buf_len; in htt_print_tx_pdev_mu_ppdu_dist_stats_tlv() local
278 len += scnprintf(buf + len, buf_len - len, in htt_print_tx_pdev_mu_ppdu_dist_stats_tlv()
283 len += scnprintf(buf + len, buf_len - len, in htt_print_tx_pdev_mu_ppdu_dist_stats_tlv()
288 len += scnprintf(buf + len, buf_len - len, in htt_print_tx_pdev_mu_ppdu_dist_stats_tlv()
297 len += scnprintf(buf + len, buf_len - len, in htt_print_tx_pdev_mu_ppdu_dist_stats_tlv()
311 len += scnprintf(buf + len, buf_len - len, in htt_print_tx_pdev_mu_ppdu_dist_stats_tlv()
325 len += scnprintf(buf + len, buf_len - len, in htt_print_tx_pdev_mu_ppdu_dist_stats_tlv()
339 len += scnprintf(buf + len, buf_len - len, in htt_print_tx_pdev_mu_ppdu_dist_stats_tlv()
344 stats_req->buf_len = len; in htt_print_tx_pdev_mu_ppdu_dist_stats_tlv()
354 u32 len = stats_req->buf_len; in htt_print_tx_pdev_stats_sifs_hist_tlv() local
359 len += scnprintf(buf + len, buf_len - len, in htt_print_tx_pdev_stats_sifs_hist_tlv()
362 len += print_array_to_buf(buf, len, "sifs_hist_status", in htt_print_tx_pdev_stats_sifs_hist_tlv()
365 stats_req->buf_len = len; in htt_print_tx_pdev_stats_sifs_hist_tlv()
374 u32 len = stats_req->buf_len; in htt_print_pdev_ctrl_path_tx_stats_tlv() local
377 if (len < sizeof(*htt_stats_buf)) in htt_print_pdev_ctrl_path_tx_stats_tlv()
380 len += scnprintf(buf + len, buf_len - len, in htt_print_pdev_ctrl_path_tx_stats_tlv()
382 len += print_array_to_buf(buf, len, "fw_tx_mgmt_subtype", in htt_print_pdev_ctrl_path_tx_stats_tlv()
386 stats_req->buf_len = len; in htt_print_pdev_ctrl_path_tx_stats_tlv()
396 u32 len = stats_req->buf_len; in ath12k_htt_print_stats_tx_sched_cmn_tlv() local
405 len += scnprintf(buf + len, buf_len - len, "HTT_STATS_TX_SCHED_CMN_TLV:\n"); in ath12k_htt_print_stats_tx_sched_cmn_tlv()
406 len += scnprintf(buf + len, buf_len - len, "mac_id = %u\n", in ath12k_htt_print_stats_tx_sched_cmn_tlv()
408 len += scnprintf(buf + len, buf_len - len, "current_timestamp = %u\n\n", in ath12k_htt_print_stats_tx_sched_cmn_tlv()
411 stats_req->buf_len = len; in ath12k_htt_print_stats_tx_sched_cmn_tlv()
421 u32 len = stats_req->buf_len; in ath12k_htt_print_tx_pdev_stats_sched_per_txq_tlv() local
430 len += scnprintf(buf + len, buf_len - len, in ath12k_htt_print_tx_pdev_stats_sched_per_txq_tlv()
432 len += scnprintf(buf + len, buf_len - len, "mac_id = %u\n", in ath12k_htt_print_tx_pdev_stats_sched_per_txq_tlv()
435 len += scnprintf(buf + len, buf_len - len, "txq_id = %u\n", in ath12k_htt_print_tx_pdev_stats_sched_per_txq_tlv()
438 len += scnprintf(buf + len, buf_len - len, "sched_policy = %u\n", in ath12k_htt_print_tx_pdev_stats_sched_per_txq_tlv()
440 len += scnprintf(buf + len, buf_len - len, in ath12k_htt_print_tx_pdev_stats_sched_per_txq_tlv()
443 len += scnprintf(buf + len, buf_len - len, in ath12k_htt_print_tx_pdev_stats_sched_per_txq_tlv()
446 len += scnprintf(buf + len, buf_len - len, "sched_2_tac_lwm_count = %u\n", in ath12k_htt_print_tx_pdev_stats_sched_per_txq_tlv()
448 len += scnprintf(buf + len, buf_len - len, "sched_2_tac_ring_full = %u\n", in ath12k_htt_print_tx_pdev_stats_sched_per_txq_tlv()
450 len += scnprintf(buf + len, buf_len - len, "sched_cmd_post_failure = %u\n", in ath12k_htt_print_tx_pdev_stats_sched_per_txq_tlv()
452 len += scnprintf(buf + len, buf_len - len, "num_active_tids = %u\n", in ath12k_htt_print_tx_pdev_stats_sched_per_txq_tlv()
454 len += scnprintf(buf + len, buf_len - len, "num_ps_schedules = %u\n", in ath12k_htt_print_tx_pdev_stats_sched_per_txq_tlv()
456 len += scnprintf(buf + len, buf_len - len, "sched_cmds_pending = %u\n", in ath12k_htt_print_tx_pdev_stats_sched_per_txq_tlv()
458 len += scnprintf(buf + len, buf_len - len, "num_tid_register = %u\n", in ath12k_htt_print_tx_pdev_stats_sched_per_txq_tlv()
460 len += scnprintf(buf + len, buf_len - len, "num_tid_unregister = %u\n", in ath12k_htt_print_tx_pdev_stats_sched_per_txq_tlv()
462 len += scnprintf(buf + len, buf_len - len, "num_qstats_queried = %u\n", in ath12k_htt_print_tx_pdev_stats_sched_per_txq_tlv()
464 len += scnprintf(buf + len, buf_len - len, "qstats_update_pending = %u\n", in ath12k_htt_print_tx_pdev_stats_sched_per_txq_tlv()
466 len += scnprintf(buf + len, buf_len - len, "last_qstats_query_timestamp = %u\n", in ath12k_htt_print_tx_pdev_stats_sched_per_txq_tlv()
468 len += scnprintf(buf + len, buf_len - len, "num_tqm_cmdq_full = %u\n", in ath12k_htt_print_tx_pdev_stats_sched_per_txq_tlv()
470 len += scnprintf(buf + len, buf_len - len, "num_de_sched_algo_trigger = %u\n", in ath12k_htt_print_tx_pdev_stats_sched_per_txq_tlv()
472 len += scnprintf(buf + len, buf_len - len, "num_rt_sched_algo_trigger = %u\n", in ath12k_htt_print_tx_pdev_stats_sched_per_txq_tlv()
474 len += scnprintf(buf + len, buf_len - len, "num_tqm_sched_algo_trigger = %u\n", in ath12k_htt_print_tx_pdev_stats_sched_per_txq_tlv()
476 len += scnprintf(buf + len, buf_len - len, "notify_sched = %u\n", in ath12k_htt_print_tx_pdev_stats_sched_per_txq_tlv()
478 len += scnprintf(buf + len, buf_len - len, "dur_based_sendn_term = %u\n", in ath12k_htt_print_tx_pdev_stats_sched_per_txq_tlv()
480 len += scnprintf(buf + len, buf_len - len, "su_notify2_sched = %u\n", in ath12k_htt_print_tx_pdev_stats_sched_per_txq_tlv()
482 len += scnprintf(buf + len, buf_len - len, "su_optimal_queued_msdus_sched = %u\n", in ath12k_htt_print_tx_pdev_stats_sched_per_txq_tlv()
484 len += scnprintf(buf + len, buf_len - len, "su_delay_timeout_sched = %u\n", in ath12k_htt_print_tx_pdev_stats_sched_per_txq_tlv()
486 len += scnprintf(buf + len, buf_len - len, "su_min_txtime_sched_delay = %u\n", in ath12k_htt_print_tx_pdev_stats_sched_per_txq_tlv()
488 len += scnprintf(buf + len, buf_len - len, "su_no_delay = %u\n", in ath12k_htt_print_tx_pdev_stats_sched_per_txq_tlv()
490 len += scnprintf(buf + len, buf_len - len, "num_supercycles = %u\n", in ath12k_htt_print_tx_pdev_stats_sched_per_txq_tlv()
492 len += scnprintf(buf + len, buf_len - len, "num_subcycles_with_sort = %u\n", in ath12k_htt_print_tx_pdev_stats_sched_per_txq_tlv()
494 len += scnprintf(buf + len, buf_len - len, "num_subcycles_no_sort = %u\n\n", in ath12k_htt_print_tx_pdev_stats_sched_per_txq_tlv()
497 stats_req->buf_len = len; in ath12k_htt_print_tx_pdev_stats_sched_per_txq_tlv()
507 u32 len = stats_req->buf_len; in ath12k_htt_print_sched_txq_cmd_posted_tlv() local
511 len += scnprintf(buf + len, buf_len - len, "HTT_SCHED_TXQ_CMD_POSTED_TLV:\n"); in ath12k_htt_print_sched_txq_cmd_posted_tlv()
512 len += print_array_to_buf(buf, len, "sched_cmd_posted", in ath12k_htt_print_sched_txq_cmd_posted_tlv()
515 stats_req->buf_len = len; in ath12k_htt_print_sched_txq_cmd_posted_tlv()
525 u32 len = stats_req->buf_len; in ath12k_htt_print_sched_txq_cmd_reaped_tlv() local
529 len += scnprintf(buf + len, buf_len - len, "HTT_SCHED_TXQ_CMD_REAPED_TLV:\n"); in ath12k_htt_print_sched_txq_cmd_reaped_tlv()
530 len += print_array_to_buf(buf, len, "sched_cmd_reaped", in ath12k_htt_print_sched_txq_cmd_reaped_tlv()
533 stats_req->buf_len = len; in ath12k_htt_print_sched_txq_cmd_reaped_tlv()
543 u32 len = stats_req->buf_len; in ath12k_htt_print_sched_txq_sched_order_su_tlv() local
548 len += scnprintf(buf + len, buf_len - len, in ath12k_htt_print_sched_txq_sched_order_su_tlv()
550 len += print_array_to_buf(buf, len, "sched_order_su", in ath12k_htt_print_sched_txq_sched_order_su_tlv()
554 stats_req->buf_len = len; in ath12k_htt_print_sched_txq_sched_order_su_tlv()
565 u32 len = stats_req->buf_len; in ath12k_htt_print_sched_txq_sched_ineligibility_tlv() local
569 len += scnprintf(buf + len, buf_len - len, in ath12k_htt_print_sched_txq_sched_ineligibility_tlv()
571 len += print_array_to_buf(buf, len, "sched_ineligibility", in ath12k_htt_print_sched_txq_sched_ineligibility_tlv()
575 stats_req->buf_len = len; in ath12k_htt_print_sched_txq_sched_ineligibility_tlv()
586 u32 len = stats_req->buf_len; in ath12k_htt_print_sched_txq_supercycle_trigger_tlv() local
591 len += scnprintf(buf + len, buf_len - len, in ath12k_htt_print_sched_txq_supercycle_trigger_tlv()
593 len += print_array_to_buf(buf, len, "supercycle_triggers", in ath12k_htt_print_sched_txq_supercycle_trigger_tlv()
596 stats_req->buf_len = len; in ath12k_htt_print_sched_txq_supercycle_trigger_tlv()
605 u32 len = stats_req->buf_len; in ath12k_htt_print_hw_stats_pdev_errs_tlv() local
614 len += scnprintf(buf + len, buf_len - len, "HTT_HW_STATS_PDEV_ERRS_TLV:\n"); in ath12k_htt_print_hw_stats_pdev_errs_tlv()
615 len += scnprintf(buf + len, buf_len - len, "mac_id = %u\n", in ath12k_htt_print_hw_stats_pdev_errs_tlv()
617 len += scnprintf(buf + len, buf_len - len, "tx_abort = %u\n", in ath12k_htt_print_hw_stats_pdev_errs_tlv()
619 len += scnprintf(buf + len, buf_len - len, "tx_abort_fail_count = %u\n", in ath12k_htt_print_hw_stats_pdev_errs_tlv()
621 len += scnprintf(buf + len, buf_len - len, "rx_abort = %u\n", in ath12k_htt_print_hw_stats_pdev_errs_tlv()
623 len += scnprintf(buf + len, buf_len - len, "rx_abort_fail_count = %u\n", in ath12k_htt_print_hw_stats_pdev_errs_tlv()
625 len += scnprintf(buf + len, buf_len - len, "rx_flush_cnt = %u\n", in ath12k_htt_print_hw_stats_pdev_errs_tlv()
627 len += scnprintf(buf + len, buf_len - len, "warm_reset = %u\n", in ath12k_htt_print_hw_stats_pdev_errs_tlv()
629 len += scnprintf(buf + len, buf_len - len, "cold_reset = %u\n", in ath12k_htt_print_hw_stats_pdev_errs_tlv()
631 len += scnprintf(buf + len, buf_len - len, "mac_cold_reset_restore_cal = %u\n", in ath12k_htt_print_hw_stats_pdev_errs_tlv()
633 len += scnprintf(buf + len, buf_len - len, "mac_cold_reset = %u\n", in ath12k_htt_print_hw_stats_pdev_errs_tlv()
635 len += scnprintf(buf + len, buf_len - len, "mac_warm_reset = %u\n", in ath12k_htt_print_hw_stats_pdev_errs_tlv()
637 len += scnprintf(buf + len, buf_len - len, "mac_only_reset = %u\n", in ath12k_htt_print_hw_stats_pdev_errs_tlv()
639 len += scnprintf(buf + len, buf_len - len, "phy_warm_reset = %u\n", in ath12k_htt_print_hw_stats_pdev_errs_tlv()
641 len += scnprintf(buf + len, buf_len - len, "phy_warm_reset_ucode_trig = %u\n", in ath12k_htt_print_hw_stats_pdev_errs_tlv()
643 len += scnprintf(buf + len, buf_len - len, "mac_warm_reset_restore_cal = %u\n", in ath12k_htt_print_hw_stats_pdev_errs_tlv()
645 len += scnprintf(buf + len, buf_len - len, "mac_sfm_reset = %u\n", in ath12k_htt_print_hw_stats_pdev_errs_tlv()
647 len += scnprintf(buf + len, buf_len - len, "phy_warm_reset_m3_ssr = %u\n", in ath12k_htt_print_hw_stats_pdev_errs_tlv()
649 len += scnprintf(buf + len, buf_len - len, "fw_rx_rings_reset = %u\n", in ath12k_htt_print_hw_stats_pdev_errs_tlv()
651 len += scnprintf(buf + len, buf_len - len, "tx_flush = %u\n", in ath12k_htt_print_hw_stats_pdev_errs_tlv()
653 len += scnprintf(buf + len, buf_len - len, "tx_glb_reset = %u\n", in ath12k_htt_print_hw_stats_pdev_errs_tlv()
655 len += scnprintf(buf + len, buf_len - len, "tx_txq_reset = %u\n", in ath12k_htt_print_hw_stats_pdev_errs_tlv()
657 len += scnprintf(buf + len, buf_len - len, "rx_timeout_reset = %u\n\n", in ath12k_htt_print_hw_stats_pdev_errs_tlv()
660 len += scnprintf(buf + len, buf_len - len, "PDEV_PHY_WARM_RESET_REASONS:\n"); in ath12k_htt_print_hw_stats_pdev_errs_tlv()
661 len += scnprintf(buf + len, buf_len - len, "phy_warm_reset_reason_phy_m3 = %u\n", in ath12k_htt_print_hw_stats_pdev_errs_tlv()
663 len += scnprintf(buf + len, buf_len - len, in ath12k_htt_print_hw_stats_pdev_errs_tlv()
666 len += scnprintf(buf + len, buf_len - len, in ath12k_htt_print_hw_stats_pdev_errs_tlv()
669 len += scnprintf(buf + len, buf_len - len, in ath12k_htt_print_hw_stats_pdev_errs_tlv()
672 len += scnprintf(buf + len, buf_len - len, in ath12k_htt_print_hw_stats_pdev_errs_tlv()
675 len += scnprintf(buf + len, buf_len - len, in ath12k_htt_print_hw_stats_pdev_errs_tlv()
678 len += scnprintf(buf + len, buf_len - len, in ath12k_htt_print_hw_stats_pdev_errs_tlv()
681 len += scnprintf(buf + len, buf_len - len, in ath12k_htt_print_hw_stats_pdev_errs_tlv()
684 len += scnprintf(buf + len, buf_len - len, in ath12k_htt_print_hw_stats_pdev_errs_tlv()
687 len += scnprintf(buf + len, buf_len - len, in ath12k_htt_print_hw_stats_pdev_errs_tlv()
691 len += scnprintf(buf + len, buf_len - len, "WAL_RX_RECOVERY_STATS:\n"); in ath12k_htt_print_hw_stats_pdev_errs_tlv()
692 len += scnprintf(buf + len, buf_len - len, in ath12k_htt_print_hw_stats_pdev_errs_tlv()
695 len += scnprintf(buf + len, buf_len - len, in ath12k_htt_print_hw_stats_pdev_errs_tlv()
698 len += scnprintf(buf + len, buf_len - len, in ath12k_htt_print_hw_stats_pdev_errs_tlv()
701 len += scnprintf(buf + len, buf_len - len, in ath12k_htt_print_hw_stats_pdev_errs_tlv()
704 len += scnprintf(buf + len, buf_len - len, in ath12k_htt_print_hw_stats_pdev_errs_tlv()
707 len += scnprintf(buf + len, buf_len - len, in ath12k_htt_print_hw_stats_pdev_errs_tlv()
711 len += scnprintf(buf + len, buf_len - len, "HTT_RX_DEST_DRAIN_STATS:\n"); in ath12k_htt_print_hw_stats_pdev_errs_tlv()
712 len += scnprintf(buf + len, buf_len - len, in ath12k_htt_print_hw_stats_pdev_errs_tlv()
715 len += scnprintf(buf + len, buf_len - len, in ath12k_htt_print_hw_stats_pdev_errs_tlv()
718 len += scnprintf(buf + len, buf_len - len, in ath12k_htt_print_hw_stats_pdev_errs_tlv()
721 len += scnprintf(buf + len, buf_len - len, in ath12k_htt_print_hw_stats_pdev_errs_tlv()
724 len += scnprintf(buf + len, buf_len - len, in ath12k_htt_print_hw_stats_pdev_errs_tlv()
727 len += scnprintf(buf + len, buf_len - len, in ath12k_htt_print_hw_stats_pdev_errs_tlv()
730 len += scnprintf(buf + len, buf_len - len, in ath12k_htt_print_hw_stats_pdev_errs_tlv()
733 len += scnprintf(buf + len, buf_len - len, in ath12k_htt_print_hw_stats_pdev_errs_tlv()
736 len += scnprintf(buf + len, buf_len - len, in ath12k_htt_print_hw_stats_pdev_errs_tlv()
739 len += scnprintf(buf + len, buf_len - len, in ath12k_htt_print_hw_stats_pdev_errs_tlv()
742 len += scnprintf(buf + len, buf_len - len, in ath12k_htt_print_hw_stats_pdev_errs_tlv()
746 stats_req->buf_len = len; in ath12k_htt_print_hw_stats_pdev_errs_tlv()
755 u32 len = stats_req->buf_len; in ath12k_htt_print_hw_stats_intr_misc_tlv() local
761 len += scnprintf(buf + len, buf_len - len, "HTT_HW_STATS_INTR_MISC_TLV:\n"); in ath12k_htt_print_hw_stats_intr_misc_tlv()
762 len += scnprintf(buf + len, buf_len - len, "hw_intr_name = %s\n", in ath12k_htt_print_hw_stats_intr_misc_tlv()
764 len += scnprintf(buf + len, buf_len - len, "mask = %u\n", in ath12k_htt_print_hw_stats_intr_misc_tlv()
766 len += scnprintf(buf + len, buf_len - len, "count = %u\n\n", in ath12k_htt_print_hw_stats_intr_misc_tlv()
769 stats_req->buf_len = len; in ath12k_htt_print_hw_stats_intr_misc_tlv()
778 u32 len = stats_req->buf_len; in ath12k_htt_print_hw_stats_whal_tx_tlv() local
787 len += scnprintf(buf + len, buf_len - len, "HTT_HW_STATS_WHAL_TX_TLV:\n"); in ath12k_htt_print_hw_stats_whal_tx_tlv()
788 len += scnprintf(buf + len, buf_len - len, "mac_id = %u\n", in ath12k_htt_print_hw_stats_whal_tx_tlv()
790 len += scnprintf(buf + len, buf_len - len, "last_unpause_ppdu_id = %u\n", in ath12k_htt_print_hw_stats_whal_tx_tlv()
792 len += scnprintf(buf + len, buf_len - len, "hwsch_unpause_wait_tqm_write = %u\n", in ath12k_htt_print_hw_stats_whal_tx_tlv()
794 len += scnprintf(buf + len, buf_len - len, "hwsch_dummy_tlv_skipped = %u\n", in ath12k_htt_print_hw_stats_whal_tx_tlv()
796 len += scnprintf(buf + len, buf_len - len, in ath12k_htt_print_hw_stats_whal_tx_tlv()
799 len += scnprintf(buf + len, buf_len - len, "hwsch_reset_count = %u\n", in ath12k_htt_print_hw_stats_whal_tx_tlv()
801 len += scnprintf(buf + len, buf_len - len, "hwsch_dev_reset_war = %u\n", in ath12k_htt_print_hw_stats_whal_tx_tlv()
803 len += scnprintf(buf + len, buf_len - len, "hwsch_delayed_pause = %u\n", in ath12k_htt_print_hw_stats_whal_tx_tlv()
805 len += scnprintf(buf + len, buf_len - len, "hwsch_long_delayed_pause = %u\n", in ath12k_htt_print_hw_stats_whal_tx_tlv()
807 len += scnprintf(buf + len, buf_len - len, "sch_rx_ppdu_no_response = %u\n", in ath12k_htt_print_hw_stats_whal_tx_tlv()
809 len += scnprintf(buf + len, buf_len - len, "sch_selfgen_response = %u\n", in ath12k_htt_print_hw_stats_whal_tx_tlv()
811 len += scnprintf(buf + len, buf_len - len, "sch_rx_sifs_resp_trigger= %u\n\n", in ath12k_htt_print_hw_stats_whal_tx_tlv()
814 stats_req->buf_len = len; in ath12k_htt_print_hw_stats_whal_tx_tlv()
823 u32 len = stats_req->buf_len; in ath12k_htt_print_hw_war_tlv() local
837 len += scnprintf(buf + len, buf_len - len, "HTT_HW_WAR_STATS_TLV:\n"); in ath12k_htt_print_hw_war_tlv()
838 len += scnprintf(buf + len, buf_len - len, "mac_id = %u\n", in ath12k_htt_print_hw_war_tlv()
842 len += scnprintf(buf + len, buf_len - len, "hw_war %u = %u\n\n", in ath12k_htt_print_hw_war_tlv()
846 stats_req->buf_len = len; in ath12k_htt_print_hw_war_tlv()
855 u32 len = stats_req->buf_len; in ath12k_htt_print_tx_tqm_cmn_stats_tlv() local
864 len += scnprintf(buf + len, buf_len - len, "HTT_TX_TQM_CMN_STATS_TLV:\n"); in ath12k_htt_print_tx_tqm_cmn_stats_tlv()
865 len += scnprintf(buf + len, buf_len - len, "mac_id = %u\n", in ath12k_htt_print_tx_tqm_cmn_stats_tlv()
867 len += scnprintf(buf + len, buf_len - len, "max_cmdq_id = %u\n", in ath12k_htt_print_tx_tqm_cmn_stats_tlv()
869 len += scnprintf(buf + len, buf_len - len, "list_mpdu_cnt_hist_intvl = %u\n", in ath12k_htt_print_tx_tqm_cmn_stats_tlv()
871 len += scnprintf(buf + len, buf_len - len, "add_msdu = %u\n", in ath12k_htt_print_tx_tqm_cmn_stats_tlv()
873 len += scnprintf(buf + len, buf_len - len, "q_empty = %u\n", in ath12k_htt_print_tx_tqm_cmn_stats_tlv()
875 len += scnprintf(buf + len, buf_len - len, "q_not_empty = %u\n", in ath12k_htt_print_tx_tqm_cmn_stats_tlv()
877 len += scnprintf(buf + len, buf_len - len, "drop_notification = %u\n", in ath12k_htt_print_tx_tqm_cmn_stats_tlv()
879 len += scnprintf(buf + len, buf_len - len, "desc_threshold = %u\n", in ath12k_htt_print_tx_tqm_cmn_stats_tlv()
881 len += scnprintf(buf + len, buf_len - len, "hwsch_tqm_invalid_status = %u\n", in ath12k_htt_print_tx_tqm_cmn_stats_tlv()
883 len += scnprintf(buf + len, buf_len - len, "missed_tqm_gen_mpdus = %u\n", in ath12k_htt_print_tx_tqm_cmn_stats_tlv()
885 len += scnprintf(buf + len, buf_len - len, in ath12k_htt_print_tx_tqm_cmn_stats_tlv()
888 len += scnprintf(buf + len, buf_len - len, in ath12k_htt_print_tx_tqm_cmn_stats_tlv()
891 len += scnprintf(buf + len, buf_len - len, in ath12k_htt_print_tx_tqm_cmn_stats_tlv()
894 len += scnprintf(buf + len, buf_len - len, in ath12k_htt_print_tx_tqm_cmn_stats_tlv()
897 len += scnprintf(buf + len, buf_len - len, in ath12k_htt_print_tx_tqm_cmn_stats_tlv()
900 len += scnprintf(buf + len, buf_len - len, in ath12k_htt_print_tx_tqm_cmn_stats_tlv()
903 len += scnprintf(buf + len, buf_len - len, "active_tqm_tids = %u\n", in ath12k_htt_print_tx_tqm_cmn_stats_tlv()
905 len += scnprintf(buf + len, buf_len - len, "inactive_tqm_tids = %u\n", in ath12k_htt_print_tx_tqm_cmn_stats_tlv()
907 len += scnprintf(buf + len, buf_len - len, "tqm_active_msduq_flows = %u\n", in ath12k_htt_print_tx_tqm_cmn_stats_tlv()
909 len += scnprintf(buf + len, buf_len - len, "hi_prio_q_not_empty = %u\n\n", in ath12k_htt_print_tx_tqm_cmn_stats_tlv()
912 stats_req->buf_len = len; in ath12k_htt_print_tx_tqm_cmn_stats_tlv()
921 u32 len = stats_req->buf_len; in ath12k_htt_print_tx_tqm_error_stats_tlv() local
927 len += scnprintf(buf + len, buf_len - len, "HTT_TX_TQM_ERROR_STATS_TLV:\n"); in ath12k_htt_print_tx_tqm_error_stats_tlv()
928 len += scnprintf(buf + len, buf_len - len, "q_empty_failure = %u\n", in ath12k_htt_print_tx_tqm_error_stats_tlv()
930 len += scnprintf(buf + len, buf_len - len, "q_not_empty_failure = %u\n", in ath12k_htt_print_tx_tqm_error_stats_tlv()
932 len += scnprintf(buf + len, buf_len - len, "add_msdu_failure = %u\n\n", in ath12k_htt_print_tx_tqm_error_stats_tlv()
935 len += scnprintf(buf + len, buf_len - len, "TQM_ERROR_RESET_STATS:\n"); in ath12k_htt_print_tx_tqm_error_stats_tlv()
936 len += scnprintf(buf + len, buf_len - len, "tqm_cache_ctl_err = %u\n", in ath12k_htt_print_tx_tqm_error_stats_tlv()
938 len += scnprintf(buf + len, buf_len - len, "tqm_soft_reset = %u\n", in ath12k_htt_print_tx_tqm_error_stats_tlv()
940 len += scnprintf(buf + len, buf_len - len, in ath12k_htt_print_tx_tqm_error_stats_tlv()
943 len += scnprintf(buf + len, buf_len - len, in ath12k_htt_print_tx_tqm_error_stats_tlv()
946 len += scnprintf(buf + len, buf_len - len, in ath12k_htt_print_tx_tqm_error_stats_tlv()
949 len += scnprintf(buf + len, buf_len - len, in ath12k_htt_print_tx_tqm_error_stats_tlv()
952 len += scnprintf(buf + len, buf_len - len, in ath12k_htt_print_tx_tqm_error_stats_tlv()
955 len += scnprintf(buf + len, buf_len - len, in ath12k_htt_print_tx_tqm_error_stats_tlv()
958 len += scnprintf(buf + len, buf_len - len, "tqm_reset_recovery_time_ms = %u\n", in ath12k_htt_print_tx_tqm_error_stats_tlv()
960 len += scnprintf(buf + len, buf_len - len, "tqm_reset_num_peers_hdl = %u\n", in ath12k_htt_print_tx_tqm_error_stats_tlv()
962 len += scnprintf(buf + len, buf_len - len, in ath12k_htt_print_tx_tqm_error_stats_tlv()
965 len += scnprintf(buf + len, buf_len - len, in ath12k_htt_print_tx_tqm_error_stats_tlv()
968 len += scnprintf(buf + len, buf_len - len, in ath12k_htt_print_tx_tqm_error_stats_tlv()
971 len += scnprintf(buf + len, buf_len - len, in ath12k_htt_print_tx_tqm_error_stats_tlv()
974 len += scnprintf(buf + len, buf_len - len, in ath12k_htt_print_tx_tqm_error_stats_tlv()
977 len += scnprintf(buf + len, buf_len - len, in ath12k_htt_print_tx_tqm_error_stats_tlv()
980 len += scnprintf(buf + len, buf_len - len, in ath12k_htt_print_tx_tqm_error_stats_tlv()
984 stats_req->buf_len = len; in ath12k_htt_print_tx_tqm_error_stats_tlv()
993 u32 len = stats_req->buf_len; in ath12k_htt_print_tx_tqm_gen_mpdu_stats_tlv() local
997 len += scnprintf(buf + len, buf_len - len, "HTT_TX_TQM_GEN_MPDU_STATS_TLV:\n"); in ath12k_htt_print_tx_tqm_gen_mpdu_stats_tlv()
998 len += print_array_to_buf(buf, len, "gen_mpdu_end_reason", in ath12k_htt_print_tx_tqm_gen_mpdu_stats_tlv()
1002 stats_req->buf_len = len; in ath12k_htt_print_tx_tqm_gen_mpdu_stats_tlv()
1011 u32 len = stats_req->buf_len; in ath12k_htt_print_tx_tqm_list_mpdu_stats_tlv() local
1016 len += scnprintf(buf + len, buf_len - len, "HTT_TX_TQM_LIST_MPDU_STATS_TLV:\n"); in ath12k_htt_print_tx_tqm_list_mpdu_stats_tlv()
1017 len += print_array_to_buf(buf, len, "list_mpdu_end_reason", in ath12k_htt_print_tx_tqm_list_mpdu_stats_tlv()
1020 stats_req->buf_len = len; in ath12k_htt_print_tx_tqm_list_mpdu_stats_tlv()
1029 u32 len = stats_req->buf_len; in ath12k_htt_print_tx_tqm_list_mpdu_cnt_tlv() local
1034 len += scnprintf(buf + len, buf_len - len, "HTT_TX_TQM_LIST_MPDU_CNT_TLV_V:\n"); in ath12k_htt_print_tx_tqm_list_mpdu_cnt_tlv()
1035 len += print_array_to_buf(buf, len, "list_mpdu_cnt_hist", in ath12k_htt_print_tx_tqm_list_mpdu_cnt_tlv()
1038 stats_req->buf_len = len; in ath12k_htt_print_tx_tqm_list_mpdu_cnt_tlv()
1047 u32 len = stats_req->buf_len; in ath12k_htt_print_tx_tqm_pdev_stats_tlv() local
1053 len += scnprintf(buf + len, buf_len - len, "HTT_TX_TQM_PDEV_STATS_TLV_V:\n"); in ath12k_htt_print_tx_tqm_pdev_stats_tlv()
1054 len += scnprintf(buf + len, buf_len - len, "msdu_count = %u\n", in ath12k_htt_print_tx_tqm_pdev_stats_tlv()
1056 len += scnprintf(buf + len, buf_len - len, "mpdu_count = %u\n", in ath12k_htt_print_tx_tqm_pdev_stats_tlv()
1058 len += scnprintf(buf + len, buf_len - len, "remove_msdu = %u\n", in ath12k_htt_print_tx_tqm_pdev_stats_tlv()
1060 len += scnprintf(buf + len, buf_len - len, "remove_mpdu = %u\n", in ath12k_htt_print_tx_tqm_pdev_stats_tlv()
1062 len += scnprintf(buf + len, buf_len - len, "remove_msdu_ttl = %u\n", in ath12k_htt_print_tx_tqm_pdev_stats_tlv()
1064 len += scnprintf(buf + len, buf_len - len, "send_bar = %u\n", in ath12k_htt_print_tx_tqm_pdev_stats_tlv()
1066 len += scnprintf(buf + len, buf_len - len, "bar_sync = %u\n", in ath12k_htt_print_tx_tqm_pdev_stats_tlv()
1068 len += scnprintf(buf + len, buf_len - len, "notify_mpdu = %u\n", in ath12k_htt_print_tx_tqm_pdev_stats_tlv()
1070 len += scnprintf(buf + len, buf_len - len, "sync_cmd = %u\n", in ath12k_htt_print_tx_tqm_pdev_stats_tlv()
1072 len += scnprintf(buf + len, buf_len - len, "write_cmd = %u\n", in ath12k_htt_print_tx_tqm_pdev_stats_tlv()
1074 len += scnprintf(buf + len, buf_len - len, "hwsch_trigger = %u\n", in ath12k_htt_print_tx_tqm_pdev_stats_tlv()
1076 len += scnprintf(buf + len, buf_len - len, "ack_tlv_proc = %u\n", in ath12k_htt_print_tx_tqm_pdev_stats_tlv()
1078 len += scnprintf(buf + len, buf_len - len, "gen_mpdu_cmd = %u\n", in ath12k_htt_print_tx_tqm_pdev_stats_tlv()
1080 len += scnprintf(buf + len, buf_len - len, "gen_list_cmd = %u\n", in ath12k_htt_print_tx_tqm_pdev_stats_tlv()
1082 len += scnprintf(buf + len, buf_len - len, "remove_mpdu_cmd = %u\n", in ath12k_htt_print_tx_tqm_pdev_stats_tlv()
1084 len += scnprintf(buf + len, buf_len - len, "remove_mpdu_tried_cmd = %u\n", in ath12k_htt_print_tx_tqm_pdev_stats_tlv()
1086 len += scnprintf(buf + len, buf_len - len, "mpdu_queue_stats_cmd = %u\n", in ath12k_htt_print_tx_tqm_pdev_stats_tlv()
1088 len += scnprintf(buf + len, buf_len - len, "mpdu_head_info_cmd = %u\n", in ath12k_htt_print_tx_tqm_pdev_stats_tlv()
1090 len += scnprintf(buf + len, buf_len - len, "msdu_flow_stats_cmd = %u\n", in ath12k_htt_print_tx_tqm_pdev_stats_tlv()
1092 len += scnprintf(buf + len, buf_len - len, "remove_msdu_cmd = %u\n", in ath12k_htt_print_tx_tqm_pdev_stats_tlv()
1094 len += scnprintf(buf + len, buf_len - len, "remove_msdu_ttl_cmd = %u\n", in ath12k_htt_print_tx_tqm_pdev_stats_tlv()
1096 len += scnprintf(buf + len, buf_len - len, "flush_cache_cmd = %u\n", in ath12k_htt_print_tx_tqm_pdev_stats_tlv()
1098 len += scnprintf(buf + len, buf_len - len, "update_mpduq_cmd = %u\n", in ath12k_htt_print_tx_tqm_pdev_stats_tlv()
1100 len += scnprintf(buf + len, buf_len - len, "enqueue = %u\n", in ath12k_htt_print_tx_tqm_pdev_stats_tlv()
1102 len += scnprintf(buf + len, buf_len - len, "enqueue_notify = %u\n", in ath12k_htt_print_tx_tqm_pdev_stats_tlv()
1104 len += scnprintf(buf + len, buf_len - len, "notify_mpdu_at_head = %u\n", in ath12k_htt_print_tx_tqm_pdev_stats_tlv()
1106 len += scnprintf(buf + len, buf_len - len, "notify_mpdu_state_valid = %u\n", in ath12k_htt_print_tx_tqm_pdev_stats_tlv()
1108 len += scnprintf(buf + len, buf_len - len, "sched_udp_notify1 = %u\n", in ath12k_htt_print_tx_tqm_pdev_stats_tlv()
1110 len += scnprintf(buf + len, buf_len - len, "sched_udp_notify2 = %u\n", in ath12k_htt_print_tx_tqm_pdev_stats_tlv()
1112 len += scnprintf(buf + len, buf_len - len, "sched_nonudp_notify1 = %u\n", in ath12k_htt_print_tx_tqm_pdev_stats_tlv()
1114 len += scnprintf(buf + len, buf_len - len, "sched_nonudp_notify2 = %u\n\n", in ath12k_htt_print_tx_tqm_pdev_stats_tlv()
1117 stats_req->buf_len = len; in ath12k_htt_print_tx_tqm_pdev_stats_tlv()
1126 u32 len = stats_req->buf_len; in ath12k_htt_print_tx_de_cmn_stats_tlv() local
1135 len += scnprintf(buf + len, buf_len - len, "HTT_TX_DE_CMN_STATS_TLV:\n"); in ath12k_htt_print_tx_de_cmn_stats_tlv()
1136 len += scnprintf(buf + len, buf_len - len, "mac_id = %u\n", in ath12k_htt_print_tx_de_cmn_stats_tlv()
1138 len += scnprintf(buf + len, buf_len - len, "tcl2fw_entry_count = %u\n", in ath12k_htt_print_tx_de_cmn_stats_tlv()
1140 len += scnprintf(buf + len, buf_len - len, "not_to_fw = %u\n", in ath12k_htt_print_tx_de_cmn_stats_tlv()
1142 len += scnprintf(buf + len, buf_len - len, "invalid_pdev_vdev_peer = %u\n", in ath12k_htt_print_tx_de_cmn_stats_tlv()
1144 len += scnprintf(buf + len, buf_len - len, "tcl_res_invalid_addrx = %u\n", in ath12k_htt_print_tx_de_cmn_stats_tlv()
1146 len += scnprintf(buf + len, buf_len - len, "wbm2fw_entry_count = %u\n", in ath12k_htt_print_tx_de_cmn_stats_tlv()
1148 len += scnprintf(buf + len, buf_len - len, "invalid_pdev = %u\n", in ath12k_htt_print_tx_de_cmn_stats_tlv()
1150 len += scnprintf(buf + len, buf_len - len, "tcl_res_addrx_timeout = %u\n", in ath12k_htt_print_tx_de_cmn_stats_tlv()
1152 len += scnprintf(buf + len, buf_len - len, "invalid_vdev = %u\n", in ath12k_htt_print_tx_de_cmn_stats_tlv()
1154 len += scnprintf(buf + len, buf_len - len, "invalid_tcl_exp_frame_desc = %u\n", in ath12k_htt_print_tx_de_cmn_stats_tlv()
1156 len += scnprintf(buf + len, buf_len - len, "vdev_id_mismatch_count = %u\n\n", in ath12k_htt_print_tx_de_cmn_stats_tlv()
1159 stats_req->buf_len = len; in ath12k_htt_print_tx_de_cmn_stats_tlv()
1168 u32 len = stats_req->buf_len; in ath12k_htt_print_tx_de_eapol_packets_stats_tlv() local
1174 len += scnprintf(buf + len, buf_len - len, in ath12k_htt_print_tx_de_eapol_packets_stats_tlv()
1176 len += scnprintf(buf + len, buf_len - len, "m1_packets = %u\n", in ath12k_htt_print_tx_de_eapol_packets_stats_tlv()
1178 len += scnprintf(buf + len, buf_len - len, "m2_packets = %u\n", in ath12k_htt_print_tx_de_eapol_packets_stats_tlv()
1180 len += scnprintf(buf + len, buf_len - len, "m3_packets = %u\n", in ath12k_htt_print_tx_de_eapol_packets_stats_tlv()
1182 len += scnprintf(buf + len, buf_len - len, "m4_packets = %u\n", in ath12k_htt_print_tx_de_eapol_packets_stats_tlv()
1184 len += scnprintf(buf + len, buf_len - len, "g1_packets = %u\n", in ath12k_htt_print_tx_de_eapol_packets_stats_tlv()
1186 len += scnprintf(buf + len, buf_len - len, "g2_packets = %u\n", in ath12k_htt_print_tx_de_eapol_packets_stats_tlv()
1188 len += scnprintf(buf + len, buf_len - len, "rc4_packets = %u\n", in ath12k_htt_print_tx_de_eapol_packets_stats_tlv()
1190 len += scnprintf(buf + len, buf_len - len, "eap_packets = %u\n", in ath12k_htt_print_tx_de_eapol_packets_stats_tlv()
1192 len += scnprintf(buf + len, buf_len - len, "eapol_start_packets = %u\n", in ath12k_htt_print_tx_de_eapol_packets_stats_tlv()
1194 len += scnprintf(buf + len, buf_len - len, "eapol_logoff_packets = %u\n", in ath12k_htt_print_tx_de_eapol_packets_stats_tlv()
1196 len += scnprintf(buf + len, buf_len - len, "eapol_encap_asf_packets = %u\n\n", in ath12k_htt_print_tx_de_eapol_packets_stats_tlv()
1199 stats_req->buf_len = len; in ath12k_htt_print_tx_de_eapol_packets_stats_tlv()
1208 u32 len = stats_req->buf_len; in ath12k_htt_print_tx_de_classify_stats_tlv() local
1214 len += scnprintf(buf + len, buf_len - len, "HTT_TX_DE_CLASSIFY_STATS_TLV:\n"); in ath12k_htt_print_tx_de_classify_stats_tlv()
1215 len += scnprintf(buf + len, buf_len - len, "arp_packets = %u\n", in ath12k_htt_print_tx_de_classify_stats_tlv()
1217 len += scnprintf(buf + len, buf_len - len, "igmp_packets = %u\n", in ath12k_htt_print_tx_de_classify_stats_tlv()
1219 len += scnprintf(buf + len, buf_len - len, "dhcp_packets = %u\n", in ath12k_htt_print_tx_de_classify_stats_tlv()
1221 len += scnprintf(buf + len, buf_len - len, "host_inspected = %u\n", in ath12k_htt_print_tx_de_classify_stats_tlv()
1223 len += scnprintf(buf + len, buf_len - len, "htt_included = %u\n", in ath12k_htt_print_tx_de_classify_stats_tlv()
1225 len += scnprintf(buf + len, buf_len - len, "htt_valid_mcs = %u\n", in ath12k_htt_print_tx_de_classify_stats_tlv()
1227 len += scnprintf(buf + len, buf_len - len, "htt_valid_nss = %u\n", in ath12k_htt_print_tx_de_classify_stats_tlv()
1229 len += scnprintf(buf + len, buf_len - len, "htt_valid_preamble_type = %u\n", in ath12k_htt_print_tx_de_classify_stats_tlv()
1231 len += scnprintf(buf + len, buf_len - len, "htt_valid_chainmask = %u\n", in ath12k_htt_print_tx_de_classify_stats_tlv()
1233 len += scnprintf(buf + len, buf_len - len, "htt_valid_guard_interval = %u\n", in ath12k_htt_print_tx_de_classify_stats_tlv()
1235 len += scnprintf(buf + len, buf_len - len, "htt_valid_retries = %u\n", in ath12k_htt_print_tx_de_classify_stats_tlv()
1237 len += scnprintf(buf + len, buf_len - len, "htt_valid_bw_info = %u\n", in ath12k_htt_print_tx_de_classify_stats_tlv()
1239 len += scnprintf(buf + len, buf_len - len, "htt_valid_power = %u\n", in ath12k_htt_print_tx_de_classify_stats_tlv()
1241 len += scnprintf(buf + len, buf_len - len, "htt_valid_key_flags = 0x%x\n", in ath12k_htt_print_tx_de_classify_stats_tlv()
1243 len += scnprintf(buf + len, buf_len - len, "htt_valid_no_encryption = %u\n", in ath12k_htt_print_tx_de_classify_stats_tlv()
1245 len += scnprintf(buf + len, buf_len - len, "fse_entry_count = %u\n", in ath12k_htt_print_tx_de_classify_stats_tlv()
1247 len += scnprintf(buf + len, buf_len - len, "fse_priority_be = %u\n", in ath12k_htt_print_tx_de_classify_stats_tlv()
1249 len += scnprintf(buf + len, buf_len - len, "fse_priority_high = %u\n", in ath12k_htt_print_tx_de_classify_stats_tlv()
1251 len += scnprintf(buf + len, buf_len - len, "fse_priority_low = %u\n", in ath12k_htt_print_tx_de_classify_stats_tlv()
1253 len += scnprintf(buf + len, buf_len - len, "fse_traffic_ptrn_be = %u\n", in ath12k_htt_print_tx_de_classify_stats_tlv()
1255 len += scnprintf(buf + len, buf_len - len, "fse_traffic_ptrn_over_sub = %u\n", in ath12k_htt_print_tx_de_classify_stats_tlv()
1257 len += scnprintf(buf + len, buf_len - len, "fse_traffic_ptrn_bursty = %u\n", in ath12k_htt_print_tx_de_classify_stats_tlv()
1259 len += scnprintf(buf + len, buf_len - len, "fse_traffic_ptrn_interactive = %u\n", in ath12k_htt_print_tx_de_classify_stats_tlv()
1261 len += scnprintf(buf + len, buf_len - len, "fse_traffic_ptrn_periodic = %u\n", in ath12k_htt_print_tx_de_classify_stats_tlv()
1263 len += scnprintf(buf + len, buf_len - len, "fse_hwqueue_alloc = %u\n", in ath12k_htt_print_tx_de_classify_stats_tlv()
1265 len += scnprintf(buf + len, buf_len - len, "fse_hwqueue_created = %u\n", in ath12k_htt_print_tx_de_classify_stats_tlv()
1267 len += scnprintf(buf + len, buf_len - len, "fse_hwqueue_send_to_host = %u\n", in ath12k_htt_print_tx_de_classify_stats_tlv()
1269 len += scnprintf(buf + len, buf_len - len, "mcast_entry = %u\n", in ath12k_htt_print_tx_de_classify_stats_tlv()
1271 len += scnprintf(buf + len, buf_len - len, "bcast_entry = %u\n", in ath12k_htt_print_tx_de_classify_stats_tlv()
1273 len += scnprintf(buf + len, buf_len - len, "htt_update_peer_cache = %u\n", in ath12k_htt_print_tx_de_classify_stats_tlv()
1275 len += scnprintf(buf + len, buf_len - len, "htt_learning_frame = %u\n", in ath12k_htt_print_tx_de_classify_stats_tlv()
1277 len += scnprintf(buf + len, buf_len - len, "fse_invalid_peer = %u\n", in ath12k_htt_print_tx_de_classify_stats_tlv()
1279 len += scnprintf(buf + len, buf_len - len, "mec_notify = %u\n\n", in ath12k_htt_print_tx_de_classify_stats_tlv()
1282 stats_req->buf_len = len; in ath12k_htt_print_tx_de_classify_stats_tlv()
1291 u32 len = stats_req->buf_len; in ath12k_htt_print_tx_de_classify_failed_stats_tlv() local
1297 len += scnprintf(buf + len, buf_len - len, in ath12k_htt_print_tx_de_classify_failed_stats_tlv()
1299 len += scnprintf(buf + len, buf_len - len, "ap_bss_peer_not_found = %u\n", in ath12k_htt_print_tx_de_classify_failed_stats_tlv()
1301 len += scnprintf(buf + len, buf_len - len, "ap_bcast_mcast_no_peer = %u\n", in ath12k_htt_print_tx_de_classify_failed_stats_tlv()
1303 len += scnprintf(buf + len, buf_len - len, "sta_delete_in_progress = %u\n", in ath12k_htt_print_tx_de_classify_failed_stats_tlv()
1305 len += scnprintf(buf + len, buf_len - len, "ibss_no_bss_peer = %u\n", in ath12k_htt_print_tx_de_classify_failed_stats_tlv()
1307 len += scnprintf(buf + len, buf_len - len, "invalid_vdev_type = %u\n", in ath12k_htt_print_tx_de_classify_failed_stats_tlv()
1309 len += scnprintf(buf + len, buf_len - len, "invalid_ast_peer_entry = %u\n", in ath12k_htt_print_tx_de_classify_failed_stats_tlv()
1311 len += scnprintf(buf + len, buf_len - len, "peer_entry_invalid = %u\n", in ath12k_htt_print_tx_de_classify_failed_stats_tlv()
1313 len += scnprintf(buf + len, buf_len - len, "ethertype_not_ip = %u\n", in ath12k_htt_print_tx_de_classify_failed_stats_tlv()
1315 len += scnprintf(buf + len, buf_len - len, "eapol_lookup_failed = %u\n", in ath12k_htt_print_tx_de_classify_failed_stats_tlv()
1317 len += scnprintf(buf + len, buf_len - len, "qpeer_not_allow_data = %u\n", in ath12k_htt_print_tx_de_classify_failed_stats_tlv()
1319 len += scnprintf(buf + len, buf_len - len, "fse_tid_override = %u\n", in ath12k_htt_print_tx_de_classify_failed_stats_tlv()
1321 len += scnprintf(buf + len, buf_len - len, "ipv6_jumbogram_zero_length = %u\n", in ath12k_htt_print_tx_de_classify_failed_stats_tlv()
1323 len += scnprintf(buf + len, buf_len - len, "qos_to_non_qos_in_prog = %u\n", in ath12k_htt_print_tx_de_classify_failed_stats_tlv()
1325 len += scnprintf(buf + len, buf_len - len, "ap_bcast_mcast_eapol = %u\n", in ath12k_htt_print_tx_de_classify_failed_stats_tlv()
1327 len += scnprintf(buf + len, buf_len - len, "unicast_on_ap_bss_peer = %u\n", in ath12k_htt_print_tx_de_classify_failed_stats_tlv()
1329 len += scnprintf(buf + len, buf_len - len, "ap_vdev_invalid = %u\n", in ath12k_htt_print_tx_de_classify_failed_stats_tlv()
1331 len += scnprintf(buf + len, buf_len - len, "incomplete_llc = %u\n", in ath12k_htt_print_tx_de_classify_failed_stats_tlv()
1333 len += scnprintf(buf + len, buf_len - len, "eapol_duplicate_m3 = %u\n", in ath12k_htt_print_tx_de_classify_failed_stats_tlv()
1335 len += scnprintf(buf + len, buf_len - len, "eapol_duplicate_m4 = %u\n\n", in ath12k_htt_print_tx_de_classify_failed_stats_tlv()
1338 stats_req->buf_len = len; in ath12k_htt_print_tx_de_classify_failed_stats_tlv()
1347 u32 len = stats_req->buf_len; in ath12k_htt_print_tx_de_classify_status_stats_tlv() local
1353 len += scnprintf(buf + len, buf_len - len, in ath12k_htt_print_tx_de_classify_status_stats_tlv()
1355 len += scnprintf(buf + len, buf_len - len, "eok = %u\n", in ath12k_htt_print_tx_de_classify_status_stats_tlv()
1357 len += scnprintf(buf + len, buf_len - len, "classify_done = %u\n", in ath12k_htt_print_tx_de_classify_status_stats_tlv()
1359 len += scnprintf(buf + len, buf_len - len, "lookup_failed = %u\n", in ath12k_htt_print_tx_de_classify_status_stats_tlv()
1361 len += scnprintf(buf + len, buf_len - len, "send_host_dhcp = %u\n", in ath12k_htt_print_tx_de_classify_status_stats_tlv()
1363 len += scnprintf(buf + len, buf_len - len, "send_host_mcast = %u\n", in ath12k_htt_print_tx_de_classify_status_stats_tlv()
1365 len += scnprintf(buf + len, buf_len - len, "send_host_unknown_dest = %u\n", in ath12k_htt_print_tx_de_classify_status_stats_tlv()
1367 len += scnprintf(buf + len, buf_len - len, "send_host = %u\n", in ath12k_htt_print_tx_de_classify_status_stats_tlv()
1369 len += scnprintf(buf + len, buf_len - len, "status_invalid = %u\n\n", in ath12k_htt_print_tx_de_classify_status_stats_tlv()
1372 stats_req->buf_len = len; in ath12k_htt_print_tx_de_classify_status_stats_tlv()
1381 u32 len = stats_req->buf_len; in ath12k_htt_print_tx_de_enqueue_packets_stats_tlv() local
1387 len += scnprintf(buf + len, buf_len - len, in ath12k_htt_print_tx_de_enqueue_packets_stats_tlv()
1389 len += scnprintf(buf + len, buf_len - len, "enqueued_pkts = %u\n", in ath12k_htt_print_tx_de_enqueue_packets_stats_tlv()
1391 len += scnprintf(buf + len, buf_len - len, "to_tqm = %u\n", in ath12k_htt_print_tx_de_enqueue_packets_stats_tlv()
1393 len += scnprintf(buf + len, buf_len - len, "to_tqm_bypass = %u\n\n", in ath12k_htt_print_tx_de_enqueue_packets_stats_tlv()
1396 stats_req->buf_len = len; in ath12k_htt_print_tx_de_enqueue_packets_stats_tlv()
1405 u32 len = stats_req->buf_len; in ath12k_htt_print_tx_de_enqueue_discard_stats_tlv() local
1411 len += scnprintf(buf + len, buf_len - len, in ath12k_htt_print_tx_de_enqueue_discard_stats_tlv()
1413 len += scnprintf(buf + len, buf_len - len, "discarded_pkts = %u\n", in ath12k_htt_print_tx_de_enqueue_discard_stats_tlv()
1415 len += scnprintf(buf + len, buf_len - len, "local_frames = %u\n", in ath12k_htt_print_tx_de_enqueue_discard_stats_tlv()
1417 len += scnprintf(buf + len, buf_len - len, "is_ext_msdu = %u\n\n", in ath12k_htt_print_tx_de_enqueue_discard_stats_tlv()
1420 stats_req->buf_len = len; in ath12k_htt_print_tx_de_enqueue_discard_stats_tlv()
1429 u32 len = stats_req->buf_len; in ath12k_htt_print_tx_de_compl_stats_tlv() local
1435 len += scnprintf(buf + len, buf_len - len, "HTT_TX_DE_COMPL_STATS_TLV:\n"); in ath12k_htt_print_tx_de_compl_stats_tlv()
1436 len += scnprintf(buf + len, buf_len - len, "tcl_dummy_frame = %u\n", in ath12k_htt_print_tx_de_compl_stats_tlv()
1438 len += scnprintf(buf + len, buf_len - len, "tqm_dummy_frame = %u\n", in ath12k_htt_print_tx_de_compl_stats_tlv()
1440 len += scnprintf(buf + len, buf_len - len, "tqm_notify_frame = %u\n", in ath12k_htt_print_tx_de_compl_stats_tlv()
1442 len += scnprintf(buf + len, buf_len - len, "fw2wbm_enq = %u\n", in ath12k_htt_print_tx_de_compl_stats_tlv()
1444 len += scnprintf(buf + len, buf_len - len, "tqm_bypass_frame = %u\n\n", in ath12k_htt_print_tx_de_compl_stats_tlv()
1447 stats_req->buf_len = len; in ath12k_htt_print_tx_de_compl_stats_tlv()
1451 u16 tag, u16 len, const void *tag_buf, in ath12k_dbg_htt_ext_stats_parse() argument
1458 htt_print_tx_pdev_stats_cmn_tlv(tag_buf, len, stats_req); in ath12k_dbg_htt_ext_stats_parse()
1461 htt_print_tx_pdev_stats_urrn_tlv(tag_buf, len, stats_req); in ath12k_dbg_htt_ext_stats_parse()
1464 htt_print_tx_pdev_stats_sifs_tlv(tag_buf, len, stats_req); in ath12k_dbg_htt_ext_stats_parse()
1467 htt_print_tx_pdev_stats_flush_tlv(tag_buf, len, stats_req); in ath12k_dbg_htt_ext_stats_parse()
1470 htt_print_tx_pdev_stats_sifs_hist_tlv(tag_buf, len, stats_req); in ath12k_dbg_htt_ext_stats_parse()
1473 htt_print_pdev_ctrl_path_tx_stats_tlv(tag_buf, len, stats_req); in ath12k_dbg_htt_ext_stats_parse()
1476 htt_print_tx_pdev_mu_ppdu_dist_stats_tlv(tag_buf, len, stats_req); in ath12k_dbg_htt_ext_stats_parse()
1479 ath12k_htt_print_stats_tx_sched_cmn_tlv(tag_buf, len, stats_req); in ath12k_dbg_htt_ext_stats_parse()
1482 ath12k_htt_print_tx_pdev_stats_sched_per_txq_tlv(tag_buf, len, stats_req); in ath12k_dbg_htt_ext_stats_parse()
1485 ath12k_htt_print_sched_txq_cmd_posted_tlv(tag_buf, len, stats_req); in ath12k_dbg_htt_ext_stats_parse()
1488 ath12k_htt_print_sched_txq_cmd_reaped_tlv(tag_buf, len, stats_req); in ath12k_dbg_htt_ext_stats_parse()
1491 ath12k_htt_print_sched_txq_sched_order_su_tlv(tag_buf, len, stats_req); in ath12k_dbg_htt_ext_stats_parse()
1494 ath12k_htt_print_sched_txq_sched_ineligibility_tlv(tag_buf, len, in ath12k_dbg_htt_ext_stats_parse()
1498 ath12k_htt_print_sched_txq_supercycle_trigger_tlv(tag_buf, len, in ath12k_dbg_htt_ext_stats_parse()
1502 ath12k_htt_print_hw_stats_pdev_errs_tlv(tag_buf, len, stats_req); in ath12k_dbg_htt_ext_stats_parse()
1505 ath12k_htt_print_hw_stats_intr_misc_tlv(tag_buf, len, stats_req); in ath12k_dbg_htt_ext_stats_parse()
1508 ath12k_htt_print_hw_stats_whal_tx_tlv(tag_buf, len, stats_req); in ath12k_dbg_htt_ext_stats_parse()
1511 ath12k_htt_print_hw_war_tlv(tag_buf, len, stats_req); in ath12k_dbg_htt_ext_stats_parse()
1514 ath12k_htt_print_tx_tqm_cmn_stats_tlv(tag_buf, len, stats_req); in ath12k_dbg_htt_ext_stats_parse()
1517 ath12k_htt_print_tx_tqm_error_stats_tlv(tag_buf, len, stats_req); in ath12k_dbg_htt_ext_stats_parse()
1520 ath12k_htt_print_tx_tqm_gen_mpdu_stats_tlv(tag_buf, len, stats_req); in ath12k_dbg_htt_ext_stats_parse()
1523 ath12k_htt_print_tx_tqm_list_mpdu_stats_tlv(tag_buf, len, stats_req); in ath12k_dbg_htt_ext_stats_parse()
1526 ath12k_htt_print_tx_tqm_list_mpdu_cnt_tlv(tag_buf, len, stats_req); in ath12k_dbg_htt_ext_stats_parse()
1529 ath12k_htt_print_tx_tqm_pdev_stats_tlv(tag_buf, len, stats_req); in ath12k_dbg_htt_ext_stats_parse()
1532 ath12k_htt_print_tx_de_cmn_stats_tlv(tag_buf, len, stats_req); in ath12k_dbg_htt_ext_stats_parse()
1535 ath12k_htt_print_tx_de_eapol_packets_stats_tlv(tag_buf, len, stats_req); in ath12k_dbg_htt_ext_stats_parse()
1538 ath12k_htt_print_tx_de_classify_stats_tlv(tag_buf, len, stats_req); in ath12k_dbg_htt_ext_stats_parse()
1541 ath12k_htt_print_tx_de_classify_failed_stats_tlv(tag_buf, len, stats_req); in ath12k_dbg_htt_ext_stats_parse()
1544 ath12k_htt_print_tx_de_classify_status_stats_tlv(tag_buf, len, stats_req); in ath12k_dbg_htt_ext_stats_parse()
1547 ath12k_htt_print_tx_de_enqueue_packets_stats_tlv(tag_buf, len, stats_req); in ath12k_dbg_htt_ext_stats_parse()
1550 ath12k_htt_print_tx_de_enqueue_discard_stats_tlv(tag_buf, len, stats_req); in ath12k_dbg_htt_ext_stats_parse()
1553 ath12k_htt_print_tx_de_compl_stats_tlv(tag_buf, len, stats_req); in ath12k_dbg_htt_ext_stats_parse()
1568 u32 len, pdev_id, stats_info; in ath12k_debugfs_htt_ext_stats_handler() local
1603 len = u32_get_bits(stats_info, ATH12K_HTT_T2H_EXT_STATS_INFO1_LENGTH); in ath12k_debugfs_htt_ext_stats_handler()
1604 if (len > skb->len) { in ath12k_debugfs_htt_ext_stats_handler()
1605 ath12k_warn(ab, "invalid length %d for HTT stats", len); in ath12k_debugfs_htt_ext_stats_handler()
1609 ret = ath12k_dp_htt_tlv_iter(ab, msg->data, len, in ath12k_debugfs_htt_ext_stats_handler()
1628 size_t len; in ath12k_read_htt_stats_type() local
1634 len = scnprintf(buf, sizeof(buf), "%u\n", type); in ath12k_read_htt_stats_type()
1636 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath12k_read_htt_stats_type()