Searched refs:srate (Results 1 – 4 of 4) sorted by relevance
/freebsd/sys/dev/ath/ath_rate/onoe/ |
H A D | onoe.c | 288 int srate; in ath_rate_ctl_start() local 297 srate = ni->ni_rates.rs_nrates - 1; in ath_rate_ctl_start() 304 for (; srate >= 0 && RATE(srate) > 72; srate--) in ath_rate_ctl_start() 316 srate = ni->ni_rates.rs_nrates - 1; in ath_rate_ctl_start() 317 for (; srate >= 0 && RATE(srate) != tp->ucastrate; srate--) in ath_rate_ctl_start() 326 ath_rate_update(sc, ni, srate < 0 ? 0 : srate); in ath_rate_ctl_start()
|
/freebsd/sys/dev/ath/ath_rate/amrr/ |
H A D | amrr.c | 313 int srate; in ath_rate_ctl_start() local 322 srate = ni->ni_rates.rs_nrates - 1; in ath_rate_ctl_start() 329 for (; srate >= 0 && RATE(srate) > 72; srate--) in ath_rate_ctl_start() 341 srate = ni->ni_rates.rs_nrates - 1; in ath_rate_ctl_start() 342 for (; srate >= 0 && RATE(srate) != tp->ucastrate; srate--) in ath_rate_ctl_start() 351 ath_rate_update(sc, ni, srate < 0 ? 0 : srate); in ath_rate_ctl_start()
|
/freebsd/tools/tools/net80211/wlantxtime/ |
H A D | wlantxtime.c | 456 srate(int rate) in srate() function 479 srate(rt->info[rix].dot11Rate &~ IEEE80211_RATE_BASIC)); in checkpreamble() 558 errx(-1, "rate %s not valid for mode %s", srate(rate), mode); in main() 563 time, frameLen, srate(rate), in main() 572 time, frameLen, srate(rate), in main()
|
/freebsd/sys/dev/ath/ath_rate/sample/ |
H A D | sample.c | 527 int srate; in ath_rate_get_static_rix() local 530 for (srate = ni->ni_htrates.rs_nrates - 1; srate >= 0; srate--) { in ath_rate_get_static_rix() 531 if (MCS(srate) == tp->ucastrate) in ath_rate_get_static_rix() 536 for (srate = ni->ni_rates.rs_nrates - 1; srate >= 0; srate--) { in ath_rate_get_static_rix() 537 if (RATE(srate) == tp->ucastrate) in ath_rate_get_static_rix()
|