Lines Matching refs:bufsz

143 	size_t bufsz = AQM_TXQ_ENTRY_LEN * (IEEE80211_NUM_TIDS + 2);  in sta_aqm_read()  local
144 char *buf = kzalloc(bufsz, GFP_KERNEL), *p = buf; in sta_aqm_read()
156 bufsz + buf - p, in sta_aqm_read()
162 bufsz + buf - p, in sta_aqm_read()
169 p += scnprintf(p, bufsz + buf - p, in sta_aqm_read()
203 size_t bufsz = 400; in sta_airtime_read() local
204 char *buf = kzalloc(bufsz, GFP_KERNEL), *p = buf; in sta_airtime_read()
221 p += scnprintf(p, bufsz + buf - p, in sta_airtime_read()
256 size_t bufsz = 400; in sta_aql_read() local
257 char *buf = kzalloc(bufsz, GFP_KERNEL), *p = buf; in sta_aql_read()
274 p += scnprintf(p, bufsz + buf - p, in sta_aql_read()
319 ssize_t bufsz = 71 + IEEE80211_NUM_TIDS * 40; in sta_agg_status_read() local
326 buf = kzalloc(bufsz, GFP_KERNEL); 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()
466 p += scnprintf(p, bufsz + buf - p, "\t" _str "\n"); \ in link_sta_ht_capa_read()
470 ssize_t bufsz = 512; in link_sta_ht_capa_read() local
475 buf = kzalloc(bufsz, GFP_KERNEL); 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()
558 ssize_t bufsz = 512; in link_sta_vht_capa_read() local
560 buf = kzalloc(bufsz, GFP_KERNEL); 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()