Lines Matching refs:p

111 	char buf[17*IEEE80211_NUM_ACS], *p = buf;  in sta_num_ps_buf_frames_read()  local
115 p += scnprintf(p, sizeof(buf)+buf-p, "AC%d: %d\n", ac, in sta_num_ps_buf_frames_read()
118 return simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); in sta_num_ps_buf_frames_read()
125 char buf[15*IEEE80211_NUM_TIDS], *p = buf; in sta_last_seq_ctrl_read() local
129 p += scnprintf(p, sizeof(buf)+buf-p, "%x ", in sta_last_seq_ctrl_read()
131 p += scnprintf(p, sizeof(buf)+buf-p, "\n"); in sta_last_seq_ctrl_read()
132 return simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); in sta_last_seq_ctrl_read()
144 char *buf = kzalloc(bufsz, GFP_KERNEL), *p = buf; in sta_aqm_read() local
155 p += scnprintf(p, in sta_aqm_read()
156 bufsz + buf - p, in sta_aqm_read()
161 p += scnprintf(p, in sta_aqm_read()
162 bufsz + buf - p, in sta_aqm_read()
169 p += scnprintf(p, bufsz + buf - p, in sta_aqm_read()
192 rv = simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); in sta_aqm_read()
204 char *buf = kzalloc(bufsz, GFP_KERNEL), *p = buf; in sta_airtime_read() local
221 p += scnprintf(p, bufsz + buf - p, in sta_airtime_read()
227 rv = simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); in sta_airtime_read()
257 char *buf = kzalloc(bufsz, GFP_KERNEL), *p = buf; in sta_aql_read() local
274 p += scnprintf(p, bufsz + buf - p, in sta_aql_read()
281 rv = simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); in sta_aql_read()
318 char *buf, *p; in sta_agg_status_read() local
329 p = buf; in sta_agg_status_read()
333 p += scnprintf(p, bufsz + buf - p, "next dialog_token: %#02x\n", in sta_agg_status_read()
335 p += scnprintf(p, bufsz + buf - p, in sta_agg_status_read()
345 p += scnprintf(p, bufsz + buf - p, "%02d", i); in sta_agg_status_read()
346 p += scnprintf(p, bufsz + buf - p, "\t\t%x", in sta_agg_status_read()
348 p += scnprintf(p, bufsz + buf - p, "\t%#.2x", in sta_agg_status_read()
351 p += scnprintf(p, bufsz + buf - p, "\t%#.3x", in sta_agg_status_read()
354 p += scnprintf(p, bufsz + buf - p, "\t\t%x", !!tid_tx); in sta_agg_status_read()
355 p += scnprintf(p, bufsz + buf - p, "\t%#.2x", in sta_agg_status_read()
357 p += scnprintf(p, bufsz + buf - p, "\t%03d", in sta_agg_status_read()
359 p += scnprintf(p, bufsz + buf - p, "\n"); in sta_agg_status_read()
363 ret = simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); in sta_agg_status_read()
466 p += scnprintf(p, bufsz + buf - p, "\t" _str "\n"); \ in link_sta_ht_capa_read()
468 char *buf, *p; in link_sta_ht_capa_read() local
478 p = buf; in link_sta_ht_capa_read()
480 p += scnprintf(p, bufsz + buf - p, "ht %ssupported\n", in link_sta_ht_capa_read()
483 p += scnprintf(p, bufsz + buf - p, "cap: %#.4x\n", htc->cap); in link_sta_ht_capa_read()
525 p += scnprintf(p, bufsz + buf - p, "ampdu factor/density: %d/%d\n", in link_sta_ht_capa_read()
527 p += scnprintf(p, bufsz + buf - p, "MCS mask:"); in link_sta_ht_capa_read()
530 p += scnprintf(p, bufsz + buf - p, " %.2x", in link_sta_ht_capa_read()
532 p += scnprintf(p, bufsz + buf - p, "\n"); in link_sta_ht_capa_read()
536 p += scnprintf(p, bufsz + buf - p, in link_sta_ht_capa_read()
541 p += scnprintf(p, bufsz + buf - p, "MCS tx params: %x\n", in link_sta_ht_capa_read()
545 ret = simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); in link_sta_ht_capa_read()
554 char *buf, *p; in link_sta_vht_capa_read() local
563 p = buf; in link_sta_vht_capa_read()
565 p += scnprintf(p, bufsz + buf - p, "VHT %ssupported\n", in link_sta_vht_capa_read()
568 p += scnprintf(p, bufsz + buf - p, "cap: %#.8x\n", in link_sta_vht_capa_read()
573 p += scnprintf(p, bufsz + buf - p, \ in link_sta_vht_capa_read()
579 p += scnprintf(p, bufsz + buf - p, in link_sta_vht_capa_read()
583 p += scnprintf(p, bufsz + buf - p, in link_sta_vht_capa_read()
587 p += scnprintf(p, bufsz + buf - p, in link_sta_vht_capa_read()
591 p += scnprintf(p, bufsz + buf - p, in link_sta_vht_capa_read()
596 p += scnprintf(p, bufsz + buf - p, in link_sta_vht_capa_read()
600 p += scnprintf(p, bufsz + buf - p, in link_sta_vht_capa_read()
604 p += scnprintf(p, bufsz + buf - p, in link_sta_vht_capa_read()
608 p += scnprintf(p, bufsz + buf - p, in link_sta_vht_capa_read()
616 p += scnprintf(p, bufsz + buf - p, in link_sta_vht_capa_read()
620 p += scnprintf(p, bufsz + buf - p, in link_sta_vht_capa_read()
624 p += scnprintf(p, bufsz + buf - p, in link_sta_vht_capa_read()
632 p += scnprintf(p, bufsz + buf - p, in link_sta_vht_capa_read()
638 p += scnprintf(p, bufsz + buf - p, in link_sta_vht_capa_read()
644 p += scnprintf(p, bufsz + buf - p, "RX MCS: %.4x\n", in link_sta_vht_capa_read()
647 p += scnprintf(p, bufsz + buf - p, in link_sta_vht_capa_read()
650 p += scnprintf(p, bufsz + buf - p, "TX MCS: %.4x\n", in link_sta_vht_capa_read()
653 p += scnprintf(p, bufsz + buf - p, in link_sta_vht_capa_read()
659 ret = simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); in link_sta_vht_capa_read()
668 char *buf, *p; in link_sta_he_capa_read() local
681 p = buf; in link_sta_he_capa_read()
683 p += scnprintf(p, buf_sz + buf - p, "HE %ssupported\n", in link_sta_he_capa_read()
689 p += scnprintf(p, buf_sz + buf - p, in link_sta_he_capa_read()
694 p += scnprintf(p, buf_sz + buf - p, "\t\t" fmt "\n", \ in link_sta_he_capa_read()
800 p += scnprintf(p, buf_sz + buf - p, in link_sta_he_capa_read()
982 p += scnprintf(p, buf_sz + buf - p, n ": %#.4x\n", v); \ in link_sta_he_capa_read()
1021 p += scnprintf(p, buf_sz + buf - p, "PPE-THRESHOLDS: %#.2x", in link_sta_he_capa_read()
1026 p += scnprintf(p, buf_sz + buf - p, " %#.2x", in link_sta_he_capa_read()
1029 p += scnprintf(p, buf_sz + buf - p, "\n"); in link_sta_he_capa_read()
1032 ret = simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); in link_sta_he_capa_read()
1041 char *buf, *p; in link_sta_eht_capa_read() local
1055 p = buf; in link_sta_eht_capa_read()
1057 p += scnprintf(p, buf_sz + buf - p, "EHT %ssupported\n", in link_sta_eht_capa_read()
1062 p += scnprintf(p, buf_sz + buf - p, in link_sta_eht_capa_read()
1065 p += scnprintf(p, buf_sz + buf - p, in link_sta_eht_capa_read()
1074 p += scnprintf(p, buf_sz + buf - p, "\t\t" fmt "\n", \ in link_sta_eht_capa_read()
1208 p += scnprintf(p, buf_sz + buf - p, "EHT PPE Thresholds: "); in link_sta_eht_capa_read()
1210 p += scnprintf(p, buf_sz + buf - p, "0x%02x ", in link_sta_eht_capa_read()
1216 ret = simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); in link_sta_eht_capa_read()