Home
last modified time | relevance | path

Searched refs:rsnext (Results 1 – 2 of 2) sorted by relevance

/haiku/src/libs/compat/openbsd_wlan/net80211/
H A Dieee80211_ra_vht.c235 const struct ieee80211_vht_rateset *rs, *rsnext; in ieee80211_ra_vht_next_rateset() local
271 rsnext = &ieee80211_std_ratesets_11ac[next]; in ieee80211_ra_vht_next_rateset()
272 if (rn->valid_rates[rsnext->num_ss - 1] == 0) in ieee80211_ra_vht_next_rateset()
275 return rsnext; in ieee80211_ra_vht_next_rateset()
300 struct ieee80211_node *ni, const struct ieee80211_vht_rateset *rsnext) in ieee80211_ra_vht_probe_next_rateset() argument
313 ni->ni_vht_ss = rsnext->num_ss; in ieee80211_ra_vht_probe_next_rateset()
318 for (mcs = 0; mcs < rsnext->nrates; mcs++) { in ieee80211_ra_vht_probe_next_rateset()
319 uint64_t txrate = rsnext->rates[mcs]; in ieee80211_ra_vht_probe_next_rateset()
321 if ((rn->valid_rates[rsnext->num_ss - 1] & (1 << mcs)) == 0) in ieee80211_ra_vht_probe_next_rateset()
334 if (mcs == rsnext->nrates) in ieee80211_ra_vht_probe_next_rateset()
[all …]
H A Dieee80211_ra.c222 const struct ieee80211_ht_rateset *rs, *rsnext; in ieee80211_ra_next_rateset() local
280 rsnext = &ieee80211_std_ratesets_11n[next]; in ieee80211_ra_next_rateset()
281 if ((rsnext->mcs_mask & rn->valid_rates) == 0) in ieee80211_ra_next_rateset()
284 return rsnext; in ieee80211_ra_next_rateset()
310 struct ieee80211_node *ni, const struct ieee80211_ht_rateset *rsnext) in ieee80211_ra_probe_next_rateset() argument
322 ni->ni_txmcs = rsnext->min_mcs; in ieee80211_ra_probe_next_rateset()
323 if ((rn->valid_rates & (1 << rsnext->min_mcs)) == 0) in ieee80211_ra_probe_next_rateset()
329 for (i = 0; i < rsnext->nrates; i++) { in ieee80211_ra_probe_next_rateset()
330 int mcs = rsnext->min_mcs + i; in ieee80211_ra_probe_next_rateset()
331 uint64_t txrate = rsnext->rates[i]; in ieee80211_ra_probe_next_rateset()
[all …]