Lines Matching full:len

146 	int len = 0, i, j, k, retval = 0;  in ath11k_dbg_sta_dump_tx_stats()  local
163 len += scnprintf(buf + len, size - len, "%s_%s\n", in ath11k_dbg_sta_dump_tx_stats()
166 len += scnprintf(buf + len, size - len, in ath11k_dbg_sta_dump_tx_stats()
170 len += scnprintf(buf + len, size - len, in ath11k_dbg_sta_dump_tx_stats()
173 len += scnprintf(buf + len, size - len, "\n"); in ath11k_dbg_sta_dump_tx_stats()
174 len += scnprintf(buf + len, size - len, in ath11k_dbg_sta_dump_tx_stats()
178 len += scnprintf(buf + len, size - len, in ath11k_dbg_sta_dump_tx_stats()
181 len += scnprintf(buf + len, size - len, "\n"); in ath11k_dbg_sta_dump_tx_stats()
182 len += scnprintf(buf + len, size - len, " HT MCS %s\n", in ath11k_dbg_sta_dump_tx_stats()
185 len += scnprintf(buf + len, size - len, in ath11k_dbg_sta_dump_tx_stats()
187 len += scnprintf(buf + len, size - len, "\n"); in ath11k_dbg_sta_dump_tx_stats()
188 len += scnprintf(buf + len, size - len, in ath11k_dbg_sta_dump_tx_stats()
190 len += scnprintf(buf + len, size - len, in ath11k_dbg_sta_dump_tx_stats()
194 len += scnprintf(buf + len, size - len, in ath11k_dbg_sta_dump_tx_stats()
196 len += scnprintf(buf + len, size - len, in ath11k_dbg_sta_dump_tx_stats()
200 len += scnprintf(buf + len, size - len, in ath11k_dbg_sta_dump_tx_stats()
203 len += scnprintf(buf + len, size - len, in ath11k_dbg_sta_dump_tx_stats()
207 len += scnprintf(buf + len, size - len, in ath11k_dbg_sta_dump_tx_stats()
211 len += scnprintf(buf + len, size - len, "%llu ", in ath11k_dbg_sta_dump_tx_stats()
213 len += scnprintf(buf + len, size - len, "\n"); in ath11k_dbg_sta_dump_tx_stats()
217 len += scnprintf(buf + len, size - len, in ath11k_dbg_sta_dump_tx_stats()
220 len += scnprintf(buf + len, size - len, in ath11k_dbg_sta_dump_tx_stats()
222 len += scnprintf(buf + len, size - len, in ath11k_dbg_sta_dump_tx_stats()
226 if (len > size) in ath11k_dbg_sta_dump_tx_stats()
227 len = size; in ath11k_dbg_sta_dump_tx_stats()
228 retval = simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath11k_dbg_sta_dump_tx_stats()
250 int len = 0, i, retval = 0; in ath11k_dbg_sta_dump_rx_stats() local
264 len += scnprintf(buf + len, size - len, "RX peer stats:\n"); in ath11k_dbg_sta_dump_rx_stats()
265 len += scnprintf(buf + len, size - len, "Num of MSDUs: %llu\n", in ath11k_dbg_sta_dump_rx_stats()
267 len += scnprintf(buf + len, size - len, "Num of MSDUs with TCP L4: %llu\n", in ath11k_dbg_sta_dump_rx_stats()
269 len += scnprintf(buf + len, size - len, "Num of MSDUs with UDP L4: %llu\n", in ath11k_dbg_sta_dump_rx_stats()
271 len += scnprintf(buf + len, size - len, "Num of MSDUs part of AMPDU: %llu\n", in ath11k_dbg_sta_dump_rx_stats()
273 len += scnprintf(buf + len, size - len, "Num of MSDUs not part of AMPDU: %llu\n", in ath11k_dbg_sta_dump_rx_stats()
275 len += scnprintf(buf + len, size - len, "Num of MSDUs using STBC: %llu\n", in ath11k_dbg_sta_dump_rx_stats()
277 len += scnprintf(buf + len, size - len, "Num of MSDUs beamformed: %llu\n", in ath11k_dbg_sta_dump_rx_stats()
279 len += scnprintf(buf + len, size - len, "Num of MPDUs with FCS ok: %llu\n", in ath11k_dbg_sta_dump_rx_stats()
281 len += scnprintf(buf + len, size - len, "Num of MPDUs with FCS error: %llu\n", in ath11k_dbg_sta_dump_rx_stats()
283 len += scnprintf(buf + len, size - len, in ath11k_dbg_sta_dump_rx_stats()
287 len += scnprintf(buf + len, size - len, in ath11k_dbg_sta_dump_rx_stats()
291 len += scnprintf(buf + len, size - len, "BCC %llu LDPC %llu\n", in ath11k_dbg_sta_dump_rx_stats()
293 len += scnprintf(buf + len, size - len, in ath11k_dbg_sta_dump_rx_stats()
298 len += scnprintf(buf + len, size - len, in ath11k_dbg_sta_dump_rx_stats()
302 len += scnprintf(buf + len, size - len, "TID(0-15) Legacy TID(16):"); in ath11k_dbg_sta_dump_rx_stats()
304 len += scnprintf(buf + len, size - len, "%llu ", rx_stats->tid_count[i]); in ath11k_dbg_sta_dump_rx_stats()
305 len += scnprintf(buf + len, size - len, "\nMCS(0-11) Legacy MCS(12):"); in ath11k_dbg_sta_dump_rx_stats()
307 len += scnprintf(buf + len, size - len, "%llu ", rx_stats->mcs_count[i]); in ath11k_dbg_sta_dump_rx_stats()
308 len += scnprintf(buf + len, size - len, "\nNSS(1-8):"); in ath11k_dbg_sta_dump_rx_stats()
310 len += scnprintf(buf + len, size - len, "%llu ", rx_stats->nss_count[i]); in ath11k_dbg_sta_dump_rx_stats()
311 len += scnprintf(buf + len, size - len, "\nRX Duration:%llu ", in ath11k_dbg_sta_dump_rx_stats()
313 len += scnprintf(buf + len, size - len, in ath11k_dbg_sta_dump_rx_stats()
320 len += scnprintf(buf + len, size - len, "\n"); in ath11k_dbg_sta_dump_rx_stats()
324 if (len > size) in ath11k_dbg_sta_dump_rx_stats()
325 len = size; in ath11k_dbg_sta_dump_rx_stats()
326 retval = simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath11k_dbg_sta_dump_rx_stats()
460 int len; in ath11k_dbg_sta_read_peer_pktlog() local
463 len = scnprintf(buf, sizeof(buf), "%08x %pM\n", in ath11k_dbg_sta_read_peer_pktlog()
468 return simple_read_from_buffer(ubuf, count, ppos, buf, len); in ath11k_dbg_sta_read_peer_pktlog()
639 int len = 0; in ath11k_dbg_sta_read_aggr_mode() local
642 len = scnprintf(buf, sizeof(buf) - len, in ath11k_dbg_sta_read_aggr_mode()
648 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath11k_dbg_sta_read_aggr_mode()
763 int len; in ath11k_dbg_sta_read_peer_ps_state() local
767 len = scnprintf(buf, sizeof(buf), "%d\n", arsta->peer_ps_state); in ath11k_dbg_sta_read_peer_ps_state()
771 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath11k_dbg_sta_read_peer_ps_state()
791 int len; in ath11k_dbg_sta_read_current_ps_duration() local
802 len = scnprintf(buf, sizeof(buf), "%llu\n", in ath11k_dbg_sta_read_current_ps_duration()
806 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath11k_dbg_sta_read_current_ps_duration()
825 int len; in ath11k_dbg_sta_read_total_ps_duration() local
837 len = scnprintf(buf, sizeof(buf), "%llu\n", power_save_duration); in ath11k_dbg_sta_read_total_ps_duration()
841 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath11k_dbg_sta_read_total_ps_duration()