Lines Matching +full:- +full:30
1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
8 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
19 p += scnprintf(buf + p, bufsz - p, "Statistics Flag(0x%X):\n", in il3945_stats_flag()
20 le32_to_cpu(il->_3945.stats.flag)); in il3945_stats_flag()
21 if (le32_to_cpu(il->_3945.stats.flag) & UCODE_STATS_CLEAR_MSK) in il3945_stats_flag()
22 p += scnprintf(buf + p, bufsz - p, in il3945_stats_flag()
24 p += scnprintf(buf + p, bufsz - p, "\tOperational Frequency: %s\n", in il3945_stats_flag()
25 (le32_to_cpu(il->_3945.stats.flag) & in il3945_stats_flag()
27 p += scnprintf(buf + p, bufsz - p, "\tTGj Narrow Band: %s\n", in il3945_stats_flag()
28 (le32_to_cpu(il->_3945.stats.flag) & in il3945_stats_flag()
37 struct il_priv *il = file->private_data; in il3945_ucode_rx_stats_read()
50 return -EAGAIN; in il3945_ucode_rx_stats_read()
55 return -ENOMEM; in il3945_ucode_rx_stats_read()
63 ofdm = &il->_3945.stats.rx.ofdm; in il3945_ucode_rx_stats_read()
64 cck = &il->_3945.stats.rx.cck; in il3945_ucode_rx_stats_read()
65 general = &il->_3945.stats.rx.general; in il3945_ucode_rx_stats_read()
66 accum_ofdm = &il->_3945.accum_stats.rx.ofdm; in il3945_ucode_rx_stats_read()
67 accum_cck = &il->_3945.accum_stats.rx.cck; in il3945_ucode_rx_stats_read()
68 accum_general = &il->_3945.accum_stats.rx.general; in il3945_ucode_rx_stats_read()
69 delta_ofdm = &il->_3945.delta_stats.rx.ofdm; in il3945_ucode_rx_stats_read()
70 delta_cck = &il->_3945.delta_stats.rx.cck; in il3945_ucode_rx_stats_read()
71 delta_general = &il->_3945.delta_stats.rx.general; in il3945_ucode_rx_stats_read()
72 max_ofdm = &il->_3945.max_delta.rx.ofdm; in il3945_ucode_rx_stats_read()
73 max_cck = &il->_3945.max_delta.rx.cck; in il3945_ucode_rx_stats_read()
74 max_general = &il->_3945.max_delta.rx.general; in il3945_ucode_rx_stats_read()
78 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_rx_stats_read()
79 "%-32s current" in il3945_ucode_rx_stats_read()
81 "Statistics_Rx - OFDM:"); in il3945_ucode_rx_stats_read()
83 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_rx_stats_read()
84 " %-30s %10u %10u %10u %10u\n", "ina_cnt:", in il3945_ucode_rx_stats_read()
85 le32_to_cpu(ofdm->ina_cnt), accum_ofdm->ina_cnt, in il3945_ucode_rx_stats_read()
86 delta_ofdm->ina_cnt, max_ofdm->ina_cnt); in il3945_ucode_rx_stats_read()
88 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_rx_stats_read()
89 " %-30s %10u %10u %10u %10u\n", "fina_cnt:", in il3945_ucode_rx_stats_read()
90 le32_to_cpu(ofdm->fina_cnt), accum_ofdm->fina_cnt, in il3945_ucode_rx_stats_read()
91 delta_ofdm->fina_cnt, max_ofdm->fina_cnt); in il3945_ucode_rx_stats_read()
93 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_rx_stats_read()
94 " %-30s %10u %10u %10u %10u\n", "plcp_err:", in il3945_ucode_rx_stats_read()
95 le32_to_cpu(ofdm->plcp_err), accum_ofdm->plcp_err, in il3945_ucode_rx_stats_read()
96 delta_ofdm->plcp_err, max_ofdm->plcp_err); in il3945_ucode_rx_stats_read()
98 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_rx_stats_read()
99 " %-30s %10u %10u %10u %10u\n", "crc32_err:", in il3945_ucode_rx_stats_read()
100 le32_to_cpu(ofdm->crc32_err), accum_ofdm->crc32_err, in il3945_ucode_rx_stats_read()
101 delta_ofdm->crc32_err, max_ofdm->crc32_err); in il3945_ucode_rx_stats_read()
103 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_rx_stats_read()
104 " %-30s %10u %10u %10u %10u\n", "overrun_err:", in il3945_ucode_rx_stats_read()
105 le32_to_cpu(ofdm->overrun_err), accum_ofdm->overrun_err, in il3945_ucode_rx_stats_read()
106 delta_ofdm->overrun_err, max_ofdm->overrun_err); in il3945_ucode_rx_stats_read()
108 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_rx_stats_read()
109 " %-30s %10u %10u %10u %10u\n", "early_overrun_err:", in il3945_ucode_rx_stats_read()
110 le32_to_cpu(ofdm->early_overrun_err), in il3945_ucode_rx_stats_read()
111 accum_ofdm->early_overrun_err, in il3945_ucode_rx_stats_read()
112 delta_ofdm->early_overrun_err, in il3945_ucode_rx_stats_read()
113 max_ofdm->early_overrun_err); in il3945_ucode_rx_stats_read()
115 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_rx_stats_read()
116 " %-30s %10u %10u %10u %10u\n", "crc32_good:", in il3945_ucode_rx_stats_read()
117 le32_to_cpu(ofdm->crc32_good), accum_ofdm->crc32_good, in il3945_ucode_rx_stats_read()
118 delta_ofdm->crc32_good, max_ofdm->crc32_good); in il3945_ucode_rx_stats_read()
120 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_rx_stats_read()
121 " %-30s %10u %10u %10u %10u\n", "false_alarm_cnt:", in il3945_ucode_rx_stats_read()
122 le32_to_cpu(ofdm->false_alarm_cnt), in il3945_ucode_rx_stats_read()
123 accum_ofdm->false_alarm_cnt, delta_ofdm->false_alarm_cnt, in il3945_ucode_rx_stats_read()
124 max_ofdm->false_alarm_cnt); in il3945_ucode_rx_stats_read()
126 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_rx_stats_read()
127 " %-30s %10u %10u %10u %10u\n", "fina_sync_err_cnt:", in il3945_ucode_rx_stats_read()
128 le32_to_cpu(ofdm->fina_sync_err_cnt), in il3945_ucode_rx_stats_read()
129 accum_ofdm->fina_sync_err_cnt, in il3945_ucode_rx_stats_read()
130 delta_ofdm->fina_sync_err_cnt, in il3945_ucode_rx_stats_read()
131 max_ofdm->fina_sync_err_cnt); in il3945_ucode_rx_stats_read()
133 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_rx_stats_read()
134 " %-30s %10u %10u %10u %10u\n", "sfd_timeout:", in il3945_ucode_rx_stats_read()
135 le32_to_cpu(ofdm->sfd_timeout), accum_ofdm->sfd_timeout, in il3945_ucode_rx_stats_read()
136 delta_ofdm->sfd_timeout, max_ofdm->sfd_timeout); in il3945_ucode_rx_stats_read()
138 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_rx_stats_read()
139 " %-30s %10u %10u %10u %10u\n", "fina_timeout:", in il3945_ucode_rx_stats_read()
140 le32_to_cpu(ofdm->fina_timeout), accum_ofdm->fina_timeout, in il3945_ucode_rx_stats_read()
141 delta_ofdm->fina_timeout, max_ofdm->fina_timeout); in il3945_ucode_rx_stats_read()
143 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_rx_stats_read()
144 " %-30s %10u %10u %10u %10u\n", "unresponded_rts:", in il3945_ucode_rx_stats_read()
145 le32_to_cpu(ofdm->unresponded_rts), in il3945_ucode_rx_stats_read()
146 accum_ofdm->unresponded_rts, delta_ofdm->unresponded_rts, in il3945_ucode_rx_stats_read()
147 max_ofdm->unresponded_rts); in il3945_ucode_rx_stats_read()
149 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_rx_stats_read()
150 " %-30s %10u %10u %10u %10u\n", in il3945_ucode_rx_stats_read()
152 le32_to_cpu(ofdm->rxe_frame_limit_overrun), in il3945_ucode_rx_stats_read()
153 accum_ofdm->rxe_frame_limit_overrun, in il3945_ucode_rx_stats_read()
154 delta_ofdm->rxe_frame_limit_overrun, in il3945_ucode_rx_stats_read()
155 max_ofdm->rxe_frame_limit_overrun); in il3945_ucode_rx_stats_read()
157 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_rx_stats_read()
158 " %-30s %10u %10u %10u %10u\n", "sent_ack_cnt:", in il3945_ucode_rx_stats_read()
159 le32_to_cpu(ofdm->sent_ack_cnt), accum_ofdm->sent_ack_cnt, in il3945_ucode_rx_stats_read()
160 delta_ofdm->sent_ack_cnt, max_ofdm->sent_ack_cnt); in il3945_ucode_rx_stats_read()
162 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_rx_stats_read()
163 " %-30s %10u %10u %10u %10u\n", "sent_cts_cnt:", in il3945_ucode_rx_stats_read()
164 le32_to_cpu(ofdm->sent_cts_cnt), accum_ofdm->sent_cts_cnt, in il3945_ucode_rx_stats_read()
165 delta_ofdm->sent_cts_cnt, max_ofdm->sent_cts_cnt); in il3945_ucode_rx_stats_read()
168 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_rx_stats_read()
169 "%-32s current" in il3945_ucode_rx_stats_read()
171 "Statistics_Rx - CCK:"); in il3945_ucode_rx_stats_read()
173 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_rx_stats_read()
174 " %-30s %10u %10u %10u %10u\n", "ina_cnt:", in il3945_ucode_rx_stats_read()
175 le32_to_cpu(cck->ina_cnt), accum_cck->ina_cnt, in il3945_ucode_rx_stats_read()
176 delta_cck->ina_cnt, max_cck->ina_cnt); in il3945_ucode_rx_stats_read()
178 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_rx_stats_read()
179 " %-30s %10u %10u %10u %10u\n", "fina_cnt:", in il3945_ucode_rx_stats_read()
180 le32_to_cpu(cck->fina_cnt), accum_cck->fina_cnt, in il3945_ucode_rx_stats_read()
181 delta_cck->fina_cnt, max_cck->fina_cnt); in il3945_ucode_rx_stats_read()
183 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_rx_stats_read()
184 " %-30s %10u %10u %10u %10u\n", "plcp_err:", in il3945_ucode_rx_stats_read()
185 le32_to_cpu(cck->plcp_err), accum_cck->plcp_err, in il3945_ucode_rx_stats_read()
186 delta_cck->plcp_err, max_cck->plcp_err); in il3945_ucode_rx_stats_read()
188 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_rx_stats_read()
189 " %-30s %10u %10u %10u %10u\n", "crc32_err:", in il3945_ucode_rx_stats_read()
190 le32_to_cpu(cck->crc32_err), accum_cck->crc32_err, in il3945_ucode_rx_stats_read()
191 delta_cck->crc32_err, max_cck->crc32_err); in il3945_ucode_rx_stats_read()
193 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_rx_stats_read()
194 " %-30s %10u %10u %10u %10u\n", "overrun_err:", in il3945_ucode_rx_stats_read()
195 le32_to_cpu(cck->overrun_err), accum_cck->overrun_err, in il3945_ucode_rx_stats_read()
196 delta_cck->overrun_err, max_cck->overrun_err); in il3945_ucode_rx_stats_read()
198 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_rx_stats_read()
199 " %-30s %10u %10u %10u %10u\n", "early_overrun_err:", in il3945_ucode_rx_stats_read()
200 le32_to_cpu(cck->early_overrun_err), in il3945_ucode_rx_stats_read()
201 accum_cck->early_overrun_err, in il3945_ucode_rx_stats_read()
202 delta_cck->early_overrun_err, max_cck->early_overrun_err); in il3945_ucode_rx_stats_read()
204 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_rx_stats_read()
205 " %-30s %10u %10u %10u %10u\n", "crc32_good:", in il3945_ucode_rx_stats_read()
206 le32_to_cpu(cck->crc32_good), accum_cck->crc32_good, in il3945_ucode_rx_stats_read()
207 delta_cck->crc32_good, max_cck->crc32_good); in il3945_ucode_rx_stats_read()
209 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_rx_stats_read()
210 " %-30s %10u %10u %10u %10u\n", "false_alarm_cnt:", in il3945_ucode_rx_stats_read()
211 le32_to_cpu(cck->false_alarm_cnt), in il3945_ucode_rx_stats_read()
212 accum_cck->false_alarm_cnt, delta_cck->false_alarm_cnt, in il3945_ucode_rx_stats_read()
213 max_cck->false_alarm_cnt); in il3945_ucode_rx_stats_read()
215 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_rx_stats_read()
216 " %-30s %10u %10u %10u %10u\n", "fina_sync_err_cnt:", in il3945_ucode_rx_stats_read()
217 le32_to_cpu(cck->fina_sync_err_cnt), in il3945_ucode_rx_stats_read()
218 accum_cck->fina_sync_err_cnt, in il3945_ucode_rx_stats_read()
219 delta_cck->fina_sync_err_cnt, max_cck->fina_sync_err_cnt); in il3945_ucode_rx_stats_read()
221 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_rx_stats_read()
222 " %-30s %10u %10u %10u %10u\n", "sfd_timeout:", in il3945_ucode_rx_stats_read()
223 le32_to_cpu(cck->sfd_timeout), accum_cck->sfd_timeout, in il3945_ucode_rx_stats_read()
224 delta_cck->sfd_timeout, max_cck->sfd_timeout); in il3945_ucode_rx_stats_read()
226 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_rx_stats_read()
227 " %-30s %10u %10u %10u %10u\n", "fina_timeout:", in il3945_ucode_rx_stats_read()
228 le32_to_cpu(cck->fina_timeout), accum_cck->fina_timeout, in il3945_ucode_rx_stats_read()
229 delta_cck->fina_timeout, max_cck->fina_timeout); in il3945_ucode_rx_stats_read()
231 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_rx_stats_read()
232 " %-30s %10u %10u %10u %10u\n", "unresponded_rts:", in il3945_ucode_rx_stats_read()
233 le32_to_cpu(cck->unresponded_rts), in il3945_ucode_rx_stats_read()
234 accum_cck->unresponded_rts, delta_cck->unresponded_rts, in il3945_ucode_rx_stats_read()
235 max_cck->unresponded_rts); in il3945_ucode_rx_stats_read()
237 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_rx_stats_read()
238 " %-30s %10u %10u %10u %10u\n", in il3945_ucode_rx_stats_read()
240 le32_to_cpu(cck->rxe_frame_limit_overrun), in il3945_ucode_rx_stats_read()
241 accum_cck->rxe_frame_limit_overrun, in il3945_ucode_rx_stats_read()
242 delta_cck->rxe_frame_limit_overrun, in il3945_ucode_rx_stats_read()
243 max_cck->rxe_frame_limit_overrun); in il3945_ucode_rx_stats_read()
245 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_rx_stats_read()
246 " %-30s %10u %10u %10u %10u\n", "sent_ack_cnt:", in il3945_ucode_rx_stats_read()
247 le32_to_cpu(cck->sent_ack_cnt), accum_cck->sent_ack_cnt, in il3945_ucode_rx_stats_read()
248 delta_cck->sent_ack_cnt, max_cck->sent_ack_cnt); in il3945_ucode_rx_stats_read()
250 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_rx_stats_read()
251 " %-30s %10u %10u %10u %10u\n", "sent_cts_cnt:", in il3945_ucode_rx_stats_read()
252 le32_to_cpu(cck->sent_cts_cnt), accum_cck->sent_cts_cnt, in il3945_ucode_rx_stats_read()
253 delta_cck->sent_cts_cnt, max_cck->sent_cts_cnt); in il3945_ucode_rx_stats_read()
256 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_rx_stats_read()
257 "%-32s current" in il3945_ucode_rx_stats_read()
259 "Statistics_Rx - GENERAL:"); in il3945_ucode_rx_stats_read()
261 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_rx_stats_read()
262 " %-30s %10u %10u %10u %10u\n", "bogus_cts:", in il3945_ucode_rx_stats_read()
263 le32_to_cpu(general->bogus_cts), accum_general->bogus_cts, in il3945_ucode_rx_stats_read()
264 delta_general->bogus_cts, max_general->bogus_cts); in il3945_ucode_rx_stats_read()
266 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_rx_stats_read()
267 " %-30s %10u %10u %10u %10u\n", "bogus_ack:", in il3945_ucode_rx_stats_read()
268 le32_to_cpu(general->bogus_ack), accum_general->bogus_ack, in il3945_ucode_rx_stats_read()
269 delta_general->bogus_ack, max_general->bogus_ack); in il3945_ucode_rx_stats_read()
271 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_rx_stats_read()
272 " %-30s %10u %10u %10u %10u\n", "non_bssid_frames:", in il3945_ucode_rx_stats_read()
273 le32_to_cpu(general->non_bssid_frames), in il3945_ucode_rx_stats_read()
274 accum_general->non_bssid_frames, in il3945_ucode_rx_stats_read()
275 delta_general->non_bssid_frames, in il3945_ucode_rx_stats_read()
276 max_general->non_bssid_frames); in il3945_ucode_rx_stats_read()
278 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_rx_stats_read()
279 " %-30s %10u %10u %10u %10u\n", "filtered_frames:", in il3945_ucode_rx_stats_read()
280 le32_to_cpu(general->filtered_frames), in il3945_ucode_rx_stats_read()
281 accum_general->filtered_frames, in il3945_ucode_rx_stats_read()
282 delta_general->filtered_frames, in il3945_ucode_rx_stats_read()
283 max_general->filtered_frames); in il3945_ucode_rx_stats_read()
285 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_rx_stats_read()
286 " %-30s %10u %10u %10u %10u\n", in il3945_ucode_rx_stats_read()
288 le32_to_cpu(general->non_channel_beacons), in il3945_ucode_rx_stats_read()
289 accum_general->non_channel_beacons, in il3945_ucode_rx_stats_read()
290 delta_general->non_channel_beacons, in il3945_ucode_rx_stats_read()
291 max_general->non_channel_beacons); in il3945_ucode_rx_stats_read()
302 struct il_priv *il = file->private_data; in il3945_ucode_tx_stats_read()
310 return -EAGAIN; in il3945_ucode_tx_stats_read()
315 return -ENOMEM; in il3945_ucode_tx_stats_read()
323 tx = &il->_3945.stats.tx; in il3945_ucode_tx_stats_read()
324 accum_tx = &il->_3945.accum_stats.tx; in il3945_ucode_tx_stats_read()
325 delta_tx = &il->_3945.delta_stats.tx; in il3945_ucode_tx_stats_read()
326 max_tx = &il->_3945.max_delta.tx; in il3945_ucode_tx_stats_read()
329 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_tx_stats_read()
330 "%-32s current" in il3945_ucode_tx_stats_read()
334 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_tx_stats_read()
335 " %-30s %10u %10u %10u %10u\n", "preamble:", in il3945_ucode_tx_stats_read()
336 le32_to_cpu(tx->preamble_cnt), accum_tx->preamble_cnt, in il3945_ucode_tx_stats_read()
337 delta_tx->preamble_cnt, max_tx->preamble_cnt); in il3945_ucode_tx_stats_read()
339 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_tx_stats_read()
340 " %-30s %10u %10u %10u %10u\n", "rx_detected_cnt:", in il3945_ucode_tx_stats_read()
341 le32_to_cpu(tx->rx_detected_cnt), in il3945_ucode_tx_stats_read()
342 accum_tx->rx_detected_cnt, delta_tx->rx_detected_cnt, in il3945_ucode_tx_stats_read()
343 max_tx->rx_detected_cnt); in il3945_ucode_tx_stats_read()
345 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_tx_stats_read()
346 " %-30s %10u %10u %10u %10u\n", "bt_prio_defer_cnt:", in il3945_ucode_tx_stats_read()
347 le32_to_cpu(tx->bt_prio_defer_cnt), in il3945_ucode_tx_stats_read()
348 accum_tx->bt_prio_defer_cnt, delta_tx->bt_prio_defer_cnt, in il3945_ucode_tx_stats_read()
349 max_tx->bt_prio_defer_cnt); in il3945_ucode_tx_stats_read()
351 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_tx_stats_read()
352 " %-30s %10u %10u %10u %10u\n", "bt_prio_kill_cnt:", in il3945_ucode_tx_stats_read()
353 le32_to_cpu(tx->bt_prio_kill_cnt), in il3945_ucode_tx_stats_read()
354 accum_tx->bt_prio_kill_cnt, delta_tx->bt_prio_kill_cnt, in il3945_ucode_tx_stats_read()
355 max_tx->bt_prio_kill_cnt); in il3945_ucode_tx_stats_read()
357 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_tx_stats_read()
358 " %-30s %10u %10u %10u %10u\n", "few_bytes_cnt:", in il3945_ucode_tx_stats_read()
359 le32_to_cpu(tx->few_bytes_cnt), accum_tx->few_bytes_cnt, in il3945_ucode_tx_stats_read()
360 delta_tx->few_bytes_cnt, max_tx->few_bytes_cnt); in il3945_ucode_tx_stats_read()
362 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_tx_stats_read()
363 " %-30s %10u %10u %10u %10u\n", "cts_timeout:", in il3945_ucode_tx_stats_read()
364 le32_to_cpu(tx->cts_timeout), accum_tx->cts_timeout, in il3945_ucode_tx_stats_read()
365 delta_tx->cts_timeout, max_tx->cts_timeout); in il3945_ucode_tx_stats_read()
367 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_tx_stats_read()
368 " %-30s %10u %10u %10u %10u\n", "ack_timeout:", in il3945_ucode_tx_stats_read()
369 le32_to_cpu(tx->ack_timeout), accum_tx->ack_timeout, in il3945_ucode_tx_stats_read()
370 delta_tx->ack_timeout, max_tx->ack_timeout); in il3945_ucode_tx_stats_read()
372 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_tx_stats_read()
373 " %-30s %10u %10u %10u %10u\n", "expected_ack_cnt:", in il3945_ucode_tx_stats_read()
374 le32_to_cpu(tx->expected_ack_cnt), in il3945_ucode_tx_stats_read()
375 accum_tx->expected_ack_cnt, delta_tx->expected_ack_cnt, in il3945_ucode_tx_stats_read()
376 max_tx->expected_ack_cnt); in il3945_ucode_tx_stats_read()
378 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_tx_stats_read()
379 " %-30s %10u %10u %10u %10u\n", "actual_ack_cnt:", in il3945_ucode_tx_stats_read()
380 le32_to_cpu(tx->actual_ack_cnt), accum_tx->actual_ack_cnt, in il3945_ucode_tx_stats_read()
381 delta_tx->actual_ack_cnt, max_tx->actual_ack_cnt); in il3945_ucode_tx_stats_read()
392 struct il_priv *il = file->private_data; in il3945_ucode_general_stats_read()
403 return -EAGAIN; in il3945_ucode_general_stats_read()
408 return -ENOMEM; in il3945_ucode_general_stats_read()
416 general = &il->_3945.stats.general; in il3945_ucode_general_stats_read()
417 dbg = &il->_3945.stats.general.dbg; in il3945_ucode_general_stats_read()
418 div = &il->_3945.stats.general.div; in il3945_ucode_general_stats_read()
419 accum_general = &il->_3945.accum_stats.general; in il3945_ucode_general_stats_read()
420 delta_general = &il->_3945.delta_stats.general; in il3945_ucode_general_stats_read()
421 max_general = &il->_3945.max_delta.general; in il3945_ucode_general_stats_read()
422 accum_dbg = &il->_3945.accum_stats.general.dbg; in il3945_ucode_general_stats_read()
423 delta_dbg = &il->_3945.delta_stats.general.dbg; in il3945_ucode_general_stats_read()
424 max_dbg = &il->_3945.max_delta.general.dbg; in il3945_ucode_general_stats_read()
425 accum_div = &il->_3945.accum_stats.general.div; in il3945_ucode_general_stats_read()
426 delta_div = &il->_3945.delta_stats.general.div; in il3945_ucode_general_stats_read()
427 max_div = &il->_3945.max_delta.general.div; in il3945_ucode_general_stats_read()
430 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_general_stats_read()
431 "%-32s current" in il3945_ucode_general_stats_read()
435 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_general_stats_read()
436 " %-30s %10u %10u %10u %10u\n", "burst_check:", in il3945_ucode_general_stats_read()
437 le32_to_cpu(dbg->burst_check), accum_dbg->burst_check, in il3945_ucode_general_stats_read()
438 delta_dbg->burst_check, max_dbg->burst_check); in il3945_ucode_general_stats_read()
440 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_general_stats_read()
441 " %-30s %10u %10u %10u %10u\n", "burst_count:", in il3945_ucode_general_stats_read()
442 le32_to_cpu(dbg->burst_count), accum_dbg->burst_count, in il3945_ucode_general_stats_read()
443 delta_dbg->burst_count, max_dbg->burst_count); in il3945_ucode_general_stats_read()
445 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_general_stats_read()
446 " %-30s %10u %10u %10u %10u\n", "sleep_time:", in il3945_ucode_general_stats_read()
447 le32_to_cpu(general->sleep_time), in il3945_ucode_general_stats_read()
448 accum_general->sleep_time, delta_general->sleep_time, in il3945_ucode_general_stats_read()
449 max_general->sleep_time); in il3945_ucode_general_stats_read()
451 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_general_stats_read()
452 " %-30s %10u %10u %10u %10u\n", "slots_out:", in il3945_ucode_general_stats_read()
453 le32_to_cpu(general->slots_out), accum_general->slots_out, in il3945_ucode_general_stats_read()
454 delta_general->slots_out, max_general->slots_out); in il3945_ucode_general_stats_read()
456 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_general_stats_read()
457 " %-30s %10u %10u %10u %10u\n", "slots_idle:", in il3945_ucode_general_stats_read()
458 le32_to_cpu(general->slots_idle), in il3945_ucode_general_stats_read()
459 accum_general->slots_idle, delta_general->slots_idle, in il3945_ucode_general_stats_read()
460 max_general->slots_idle); in il3945_ucode_general_stats_read()
462 scnprintf(buf + pos, bufsz - pos, "ttl_timestamp:\t\t\t%u\n", in il3945_ucode_general_stats_read()
463 le32_to_cpu(general->ttl_timestamp)); in il3945_ucode_general_stats_read()
465 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_general_stats_read()
466 " %-30s %10u %10u %10u %10u\n", "tx_on_a:", in il3945_ucode_general_stats_read()
467 le32_to_cpu(div->tx_on_a), accum_div->tx_on_a, in il3945_ucode_general_stats_read()
468 delta_div->tx_on_a, max_div->tx_on_a); in il3945_ucode_general_stats_read()
470 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_general_stats_read()
471 " %-30s %10u %10u %10u %10u\n", "tx_on_b:", in il3945_ucode_general_stats_read()
472 le32_to_cpu(div->tx_on_b), accum_div->tx_on_b, in il3945_ucode_general_stats_read()
473 delta_div->tx_on_b, max_div->tx_on_b); in il3945_ucode_general_stats_read()
475 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_general_stats_read()
476 " %-30s %10u %10u %10u %10u\n", "exec_time:", in il3945_ucode_general_stats_read()
477 le32_to_cpu(div->exec_time), accum_div->exec_time, in il3945_ucode_general_stats_read()
478 delta_div->exec_time, max_div->exec_time); in il3945_ucode_general_stats_read()
480 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_general_stats_read()
481 " %-30s %10u %10u %10u %10u\n", "probe_time:", in il3945_ucode_general_stats_read()
482 le32_to_cpu(div->probe_time), accum_div->probe_time, in il3945_ucode_general_stats_read()
483 delta_div->probe_time, max_div->probe_time); in il3945_ucode_general_stats_read()