Lines Matching refs:p

93 	char buf[17*IEEE80211_NUM_ACS], *p = buf;  in sta_num_ps_buf_frames_read()  local
97 p += scnprintf(p, sizeof(buf)+buf-p, "AC%d: %d\n", ac, in sta_num_ps_buf_frames_read()
100 return simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); in sta_num_ps_buf_frames_read()
141 char buf[15*IEEE80211_NUM_TIDS], *p = buf; in sta_last_seq_ctrl_read() local
145 p += scnprintf(p, sizeof(buf)+buf-p, "%x ", in sta_last_seq_ctrl_read()
147 p += scnprintf(p, sizeof(buf)+buf-p, "\n"); in sta_last_seq_ctrl_read()
148 return simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); in sta_last_seq_ctrl_read()
155 char buf[71 + IEEE80211_NUM_TIDS * 40], *p = buf; in sta_agg_status_read() local
163 p += scnprintf(p, sizeof(buf) + buf - p, "next dialog_token: %#02x\n", in sta_agg_status_read()
165 p += scnprintf(p, sizeof(buf) + buf - p, in sta_agg_status_read()
172 p += scnprintf(p, sizeof(buf) + buf - p, "%02d", i); in sta_agg_status_read()
173 p += scnprintf(p, sizeof(buf) + buf - p, "\t\t%x", !!tid_rx); in sta_agg_status_read()
174 p += scnprintf(p, sizeof(buf) + buf - p, "\t%#.2x", in sta_agg_status_read()
176 p += scnprintf(p, sizeof(buf) + buf - p, "\t%#.3x", in sta_agg_status_read()
179 p += scnprintf(p, sizeof(buf) + buf - p, "\t\t%x", !!tid_tx); in sta_agg_status_read()
180 p += scnprintf(p, sizeof(buf) + buf - p, "\t%#.2x", in sta_agg_status_read()
182 p += scnprintf(p, sizeof(buf) + buf - p, "\t%03d", in sta_agg_status_read()
184 p += scnprintf(p, sizeof(buf) + buf - p, "\n"); in sta_agg_status_read()
188 return simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); in sta_agg_status_read()
256 p += scnprintf(p, sizeof(buf)+buf-p, "\t" _str "\n"); \ in sta_ht_capa_read()
258 char buf[512], *p = buf; in sta_ht_capa_read() local
263 p += scnprintf(p, sizeof(buf) + buf - p, "ht %ssupported\n", in sta_ht_capa_read()
266 p += scnprintf(p, sizeof(buf)+buf-p, "cap: %#.4x\n", htc->cap); in sta_ht_capa_read()
308 p += scnprintf(p, sizeof(buf)+buf-p, "ampdu factor/density: %d/%d\n", in sta_ht_capa_read()
310 p += scnprintf(p, sizeof(buf)+buf-p, "MCS mask:"); in sta_ht_capa_read()
313 p += scnprintf(p, sizeof(buf)+buf-p, " %.2x", in sta_ht_capa_read()
315 p += scnprintf(p, sizeof(buf)+buf-p, "\n"); in sta_ht_capa_read()
319 p += scnprintf(p, sizeof(buf)+buf-p, in sta_ht_capa_read()
324 p += scnprintf(p, sizeof(buf)+buf-p, "MCS tx params: %x\n", in sta_ht_capa_read()
328 return simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); in sta_ht_capa_read()
335 char buf[128], *p = buf; in sta_vht_capa_read() local
339 p += scnprintf(p, sizeof(buf) + buf - p, "VHT %ssupported\n", in sta_vht_capa_read()
342 p += scnprintf(p, sizeof(buf)+buf-p, "cap: %#.8x\n", vhtc->cap); in sta_vht_capa_read()
344 p += scnprintf(p, sizeof(buf)+buf-p, "RX MCS: %.4x\n", in sta_vht_capa_read()
347 p += scnprintf(p, sizeof(buf)+buf-p, in sta_vht_capa_read()
350 p += scnprintf(p, sizeof(buf)+buf-p, "TX MCS: %.4x\n", in sta_vht_capa_read()
353 p += scnprintf(p, sizeof(buf)+buf-p, in sta_vht_capa_read()
358 return simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); in sta_vht_capa_read()