Lines Matching refs:bufsz

19 il4965_stats_flag(struct il_priv *il, char *buf, int bufsz)  in il4965_stats_flag()  argument
26 p += scnprintf(buf + p, bufsz - p, "Statistics Flag(0x%X):\n", flag); in il4965_stats_flag()
28 p += scnprintf(buf + p, bufsz - p, in il4965_stats_flag()
30 p += scnprintf(buf + p, bufsz - p, "\tOperational Frequency: %s\n", in il4965_stats_flag()
33 p += scnprintf(buf + p, bufsz - p, "\tTGj Narrow Band: %s\n", in il4965_stats_flag()
47 int bufsz = in il4965_ucode_rx_stats_read() local
61 buf = kzalloc(bufsz, GFP_KERNEL); in il4965_ucode_rx_stats_read()
89 pos += il4965_stats_flag(il, buf, bufsz); in il4965_ucode_rx_stats_read()
91 scnprintf(buf + pos, bufsz - pos, fmt_header, in il4965_ucode_rx_stats_read()
94 scnprintf(buf + pos, bufsz - pos, fmt_table, "ina_cnt:", in il4965_ucode_rx_stats_read()
98 scnprintf(buf + pos, bufsz - pos, fmt_table, "fina_cnt:", in il4965_ucode_rx_stats_read()
102 scnprintf(buf + pos, bufsz - pos, fmt_table, "plcp_err:", in il4965_ucode_rx_stats_read()
106 scnprintf(buf + pos, bufsz - pos, fmt_table, "crc32_err:", in il4965_ucode_rx_stats_read()
110 scnprintf(buf + pos, bufsz - pos, fmt_table, "overrun_err:", in il4965_ucode_rx_stats_read()
114 scnprintf(buf + pos, bufsz - pos, fmt_table, "early_overrun_err:", in il4965_ucode_rx_stats_read()
120 scnprintf(buf + pos, bufsz - pos, fmt_table, "crc32_good:", in il4965_ucode_rx_stats_read()
124 scnprintf(buf + pos, bufsz - pos, fmt_table, "false_alarm_cnt:", in il4965_ucode_rx_stats_read()
129 scnprintf(buf + pos, bufsz - pos, fmt_table, "fina_sync_err_cnt:", in il4965_ucode_rx_stats_read()
135 scnprintf(buf + pos, bufsz - pos, fmt_table, "sfd_timeout:", in il4965_ucode_rx_stats_read()
139 scnprintf(buf + pos, bufsz - pos, fmt_table, "fina_timeout:", in il4965_ucode_rx_stats_read()
143 scnprintf(buf + pos, bufsz - pos, fmt_table, "unresponded_rts:", in il4965_ucode_rx_stats_read()
148 scnprintf(buf + pos, bufsz - pos, fmt_table, "rxe_frame_lmt_ovrun:", in il4965_ucode_rx_stats_read()
154 scnprintf(buf + pos, bufsz - pos, fmt_table, "sent_ack_cnt:", in il4965_ucode_rx_stats_read()
158 scnprintf(buf + pos, bufsz - pos, fmt_table, "sent_cts_cnt:", in il4965_ucode_rx_stats_read()
162 scnprintf(buf + pos, bufsz - pos, fmt_table, "sent_ba_rsp_cnt:", in il4965_ucode_rx_stats_read()
167 scnprintf(buf + pos, bufsz - pos, fmt_table, "dsp_self_kill:", in il4965_ucode_rx_stats_read()
172 scnprintf(buf + pos, bufsz - pos, fmt_table, "mh_format_err:", in il4965_ucode_rx_stats_read()
177 scnprintf(buf + pos, bufsz - pos, fmt_table, in il4965_ucode_rx_stats_read()
185 scnprintf(buf + pos, bufsz - pos, fmt_header, in il4965_ucode_rx_stats_read()
188 scnprintf(buf + pos, bufsz - pos, fmt_table, "ina_cnt:", in il4965_ucode_rx_stats_read()
192 scnprintf(buf + pos, bufsz - pos, fmt_table, "fina_cnt:", in il4965_ucode_rx_stats_read()
196 scnprintf(buf + pos, bufsz - pos, fmt_table, "plcp_err:", in il4965_ucode_rx_stats_read()
200 scnprintf(buf + pos, bufsz - pos, fmt_table, "crc32_err:", in il4965_ucode_rx_stats_read()
204 scnprintf(buf + pos, bufsz - pos, fmt_table, "overrun_err:", in il4965_ucode_rx_stats_read()
208 scnprintf(buf + pos, bufsz - pos, fmt_table, "early_overrun_err:", in il4965_ucode_rx_stats_read()
213 scnprintf(buf + pos, bufsz - pos, fmt_table, "crc32_good:", in il4965_ucode_rx_stats_read()
217 scnprintf(buf + pos, bufsz - pos, fmt_table, "false_alarm_cnt:", in il4965_ucode_rx_stats_read()
222 scnprintf(buf + pos, bufsz - pos, fmt_table, "fina_sync_err_cnt:", in il4965_ucode_rx_stats_read()
227 scnprintf(buf + pos, bufsz - pos, fmt_table, "sfd_timeout:", in il4965_ucode_rx_stats_read()
231 scnprintf(buf + pos, bufsz - pos, fmt_table, "fina_timeout:", in il4965_ucode_rx_stats_read()
235 scnprintf(buf + pos, bufsz - pos, fmt_table, "unresponded_rts:", in il4965_ucode_rx_stats_read()
240 scnprintf(buf + pos, bufsz - pos, fmt_table, "rxe_frame_lmt_ovrun:", in il4965_ucode_rx_stats_read()
246 scnprintf(buf + pos, bufsz - pos, fmt_table, "sent_ack_cnt:", in il4965_ucode_rx_stats_read()
250 scnprintf(buf + pos, bufsz - pos, fmt_table, "sent_cts_cnt:", in il4965_ucode_rx_stats_read()
254 scnprintf(buf + pos, bufsz - pos, fmt_table, "sent_ba_rsp_cnt:", in il4965_ucode_rx_stats_read()
259 scnprintf(buf + pos, bufsz - pos, fmt_table, "dsp_self_kill:", in il4965_ucode_rx_stats_read()
263 scnprintf(buf + pos, bufsz - pos, fmt_table, "mh_format_err:", in il4965_ucode_rx_stats_read()
267 scnprintf(buf + pos, bufsz - pos, fmt_table, in il4965_ucode_rx_stats_read()
275 scnprintf(buf + pos, bufsz - pos, fmt_header, in il4965_ucode_rx_stats_read()
278 scnprintf(buf + pos, bufsz - pos, fmt_table, "bogus_cts:", in il4965_ucode_rx_stats_read()
282 scnprintf(buf + pos, bufsz - pos, fmt_table, "bogus_ack:", in il4965_ucode_rx_stats_read()
286 scnprintf(buf + pos, bufsz - pos, fmt_table, "non_bssid_frames:", in il4965_ucode_rx_stats_read()
292 scnprintf(buf + pos, bufsz - pos, fmt_table, "filtered_frames:", in il4965_ucode_rx_stats_read()
298 scnprintf(buf + pos, bufsz - pos, fmt_table, "non_channel_beacons:", in il4965_ucode_rx_stats_read()
304 scnprintf(buf + pos, bufsz - pos, fmt_table, "channel_beacons:", in il4965_ucode_rx_stats_read()
310 scnprintf(buf + pos, bufsz - pos, fmt_table, "num_missed_bcon:", in il4965_ucode_rx_stats_read()
316 scnprintf(buf + pos, bufsz - pos, fmt_table, in il4965_ucode_rx_stats_read()
323 scnprintf(buf + pos, bufsz - pos, fmt_table, in il4965_ucode_rx_stats_read()
330 scnprintf(buf + pos, bufsz - pos, fmt_table, in il4965_ucode_rx_stats_read()
337 scnprintf(buf + pos, bufsz - pos, fmt_table, in il4965_ucode_rx_stats_read()
344 scnprintf(buf + pos, bufsz - pos, fmt_table, in il4965_ucode_rx_stats_read()
351 scnprintf(buf + pos, bufsz - pos, fmt_table, in il4965_ucode_rx_stats_read()
358 scnprintf(buf + pos, bufsz - pos, fmt_table, "channel_load:", in il4965_ucode_rx_stats_read()
363 scnprintf(buf + pos, bufsz - pos, fmt_table, "dsp_false_alarms:", in il4965_ucode_rx_stats_read()
369 scnprintf(buf + pos, bufsz - pos, fmt_table, "beacon_rssi_a:", in il4965_ucode_rx_stats_read()
374 scnprintf(buf + pos, bufsz - pos, fmt_table, "beacon_rssi_b:", in il4965_ucode_rx_stats_read()
379 scnprintf(buf + pos, bufsz - pos, fmt_table, "beacon_rssi_c:", in il4965_ucode_rx_stats_read()
384 scnprintf(buf + pos, bufsz - pos, fmt_table, "beacon_energy_a:", in il4965_ucode_rx_stats_read()
390 scnprintf(buf + pos, bufsz - pos, fmt_table, "beacon_energy_b:", in il4965_ucode_rx_stats_read()
396 scnprintf(buf + pos, bufsz - pos, fmt_table, "beacon_energy_c:", in il4965_ucode_rx_stats_read()
403 scnprintf(buf + pos, bufsz - pos, fmt_header, in il4965_ucode_rx_stats_read()
406 scnprintf(buf + pos, bufsz - pos, fmt_table, "plcp_err:", in il4965_ucode_rx_stats_read()
410 scnprintf(buf + pos, bufsz - pos, fmt_table, "overrun_err:", in il4965_ucode_rx_stats_read()
414 scnprintf(buf + pos, bufsz - pos, fmt_table, "early_overrun_err:", in il4965_ucode_rx_stats_read()
419 scnprintf(buf + pos, bufsz - pos, fmt_table, "crc32_good:", in il4965_ucode_rx_stats_read()
423 scnprintf(buf + pos, bufsz - pos, fmt_table, "crc32_err:", in il4965_ucode_rx_stats_read()
427 scnprintf(buf + pos, bufsz - pos, fmt_table, "mh_format_err:", in il4965_ucode_rx_stats_read()
431 scnprintf(buf + pos, bufsz - pos, fmt_table, "agg_crc32_good:", in il4965_ucode_rx_stats_read()
435 scnprintf(buf + pos, bufsz - pos, fmt_table, "agg_mpdu_cnt:", in il4965_ucode_rx_stats_read()
439 scnprintf(buf + pos, bufsz - pos, fmt_table, "agg_cnt:", in il4965_ucode_rx_stats_read()
443 scnprintf(buf + pos, bufsz - pos, fmt_table, "unsupport_mcs:", in il4965_ucode_rx_stats_read()
459 int bufsz = (sizeof(struct stats_tx) * 48) + 250; in il4965_ucode_tx_stats_read() local
466 buf = kzalloc(bufsz, GFP_KERNEL); in il4965_ucode_tx_stats_read()
481 pos += il4965_stats_flag(il, buf, bufsz); in il4965_ucode_tx_stats_read()
482 pos += scnprintf(buf + pos, bufsz - pos, fmt_header, "Statistics_Tx:"); in il4965_ucode_tx_stats_read()
484 scnprintf(buf + pos, bufsz - pos, fmt_table, "preamble:", in il4965_ucode_tx_stats_read()
488 scnprintf(buf + pos, bufsz - pos, fmt_table, "rx_detected_cnt:", in il4965_ucode_tx_stats_read()
493 scnprintf(buf + pos, bufsz - pos, fmt_table, "bt_prio_defer_cnt:", in il4965_ucode_tx_stats_read()
498 scnprintf(buf + pos, bufsz - pos, fmt_table, "bt_prio_kill_cnt:", in il4965_ucode_tx_stats_read()
503 scnprintf(buf + pos, bufsz - pos, fmt_table, "few_bytes_cnt:", in il4965_ucode_tx_stats_read()
507 scnprintf(buf + pos, bufsz - pos, fmt_table, "cts_timeout:", in il4965_ucode_tx_stats_read()
511 scnprintf(buf + pos, bufsz - pos, fmt_table, "ack_timeout:", in il4965_ucode_tx_stats_read()
515 scnprintf(buf + pos, bufsz - pos, fmt_table, "expected_ack_cnt:", in il4965_ucode_tx_stats_read()
520 scnprintf(buf + pos, bufsz - pos, fmt_table, "actual_ack_cnt:", in il4965_ucode_tx_stats_read()
524 scnprintf(buf + pos, bufsz - pos, fmt_table, "dump_msdu_cnt:", in il4965_ucode_tx_stats_read()
528 scnprintf(buf + pos, bufsz - pos, fmt_table, in il4965_ucode_tx_stats_read()
535 scnprintf(buf + pos, bufsz - pos, fmt_table, in il4965_ucode_tx_stats_read()
542 scnprintf(buf + pos, bufsz - pos, fmt_table, in il4965_ucode_tx_stats_read()
549 scnprintf(buf + pos, bufsz - pos, fmt_table, in il4965_ucode_tx_stats_read()
556 scnprintf(buf + pos, bufsz - pos, fmt_table, "agg ba_timeout:", in il4965_ucode_tx_stats_read()
560 scnprintf(buf + pos, bufsz - pos, fmt_table, in il4965_ucode_tx_stats_read()
567 scnprintf(buf + pos, bufsz - pos, fmt_table, in il4965_ucode_tx_stats_read()
574 scnprintf(buf + pos, bufsz - pos, fmt_table, in il4965_ucode_tx_stats_read()
581 scnprintf(buf + pos, bufsz - pos, fmt_table, "agg scd_query_agg:", in il4965_ucode_tx_stats_read()
586 scnprintf(buf + pos, bufsz - pos, fmt_table, in il4965_ucode_tx_stats_read()
593 scnprintf(buf + pos, bufsz - pos, fmt_table, "agg frame_not_ready:", in il4965_ucode_tx_stats_read()
599 scnprintf(buf + pos, bufsz - pos, fmt_table, "agg underrun:", in il4965_ucode_tx_stats_read()
603 scnprintf(buf + pos, bufsz - pos, fmt_table, "agg bt_prio_kill:", in il4965_ucode_tx_stats_read()
608 scnprintf(buf + pos, bufsz - pos, fmt_table, "agg rx_ba_rsp_cnt:", in il4965_ucode_tx_stats_read()
625 int bufsz = sizeof(struct stats_general) * 10 + 300; in il4965_ucode_general_stats_read() local
635 buf = kzalloc(bufsz, GFP_KERNEL); in il4965_ucode_general_stats_read()
658 pos += il4965_stats_flag(il, buf, bufsz); in il4965_ucode_general_stats_read()
660 scnprintf(buf + pos, bufsz - pos, fmt_header, in il4965_ucode_general_stats_read()
663 scnprintf(buf + pos, bufsz - pos, fmt_value, "temperature:", in il4965_ucode_general_stats_read()
666 scnprintf(buf + pos, bufsz - pos, fmt_value, "ttl_timestamp:", in il4965_ucode_general_stats_read()
669 scnprintf(buf + pos, bufsz - pos, fmt_table, "burst_check:", in il4965_ucode_general_stats_read()
673 scnprintf(buf + pos, bufsz - pos, fmt_table, "burst_count:", in il4965_ucode_general_stats_read()
677 scnprintf(buf + pos, bufsz - pos, fmt_table, in il4965_ucode_general_stats_read()
684 scnprintf(buf + pos, bufsz - pos, fmt_table, "sleep_time:", in il4965_ucode_general_stats_read()
689 scnprintf(buf + pos, bufsz - pos, fmt_table, "slots_out:", in il4965_ucode_general_stats_read()
693 scnprintf(buf + pos, bufsz - pos, fmt_table, "slots_idle:", in il4965_ucode_general_stats_read()
698 scnprintf(buf + pos, bufsz - pos, fmt_table, "tx_on_a:", in il4965_ucode_general_stats_read()
702 scnprintf(buf + pos, bufsz - pos, fmt_table, "tx_on_b:", in il4965_ucode_general_stats_read()
706 scnprintf(buf + pos, bufsz - pos, fmt_table, "exec_time:", in il4965_ucode_general_stats_read()
710 scnprintf(buf + pos, bufsz - pos, fmt_table, "probe_time:", in il4965_ucode_general_stats_read()
714 scnprintf(buf + pos, bufsz - pos, fmt_table, "rx_enable_counter:", in il4965_ucode_general_stats_read()
720 scnprintf(buf + pos, bufsz - pos, fmt_table, "num_of_sos_states:", in il4965_ucode_general_stats_read()