Lines Matching defs:bs
294 setrate(char b[], size_t bs, uint8_t rate)
297 snprintf(b, bs, "MCS%u", rate & IEEE80211_RATE_VAL);
299 snprintf(b, bs, "%u.5M", rate / 2);
301 snprintf(b, bs, "%uM", rate / 2);
305 mwl_get_curstat(struct bsdstat *sf, int s, char b[], size_t bs)
309 snprintf(b, bs, "%u", wf->cur.mst_##x - wf->total.mst_##x); return 1
311 snprintf(b, bs, "%u", wf->cur.hw_stats.x - wf->total.hw_stats.x); return 1
313 snprintf(b, bs, "%u", wf->cur.mst_ant_rx[x] - wf->total.mst_ant_rx[x]); return 1
315 snprintf(b, bs, "%u", wf->cur.mst_ant_tx[x] - wf->total.mst_ant_tx[x]); return 1
319 snprintf(b, bs, "%lu", (u_long)(
323 snprintf(b, bs, "%lu", (u_long)(
327 setrate(b, bs, wf->cur.mst_tx_rate);
384 snprintf(b, bs, "%d", wf->cur.mst_rx_rssi);
395 snprintf(b, bs, "%d", wf->cur.mst_rx_noise);
398 snprintf(b, bs, "%d",
411 mwl_get_totstat(struct bsdstat *sf, int s, char b[], size_t bs)
415 snprintf(b, bs, "%u", wf->total.mst_##x); return 1
417 snprintf(b, bs, "%u", wf->total.hw_stats.x); return 1
419 snprintf(b, bs, "%u", wf->total.mst_ant_tx[x]); return 1
421 snprintf(b, bs, "%u", wf->total.mst_ant_rx[x]); return 1
425 snprintf(b, bs, "%lu", (u_long)wf->total.mst_rx_packets);
428 snprintf(b, bs, "%lu", (u_long) wf->total.mst_tx_packets);
431 setrate(b, bs, wf->total.mst_tx_rate);
488 snprintf(b, bs, "%d", wf->total.mst_rx_rssi);
499 snprintf(b, bs, "%d", wf->total.mst_rx_noise);
502 snprintf(b, bs, "%d",