Home
last modified time | relevance | path

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

/haiku/src/libs/compat/openbsd_wlan/net80211/
H A Dieee80211_rssadapt.c85 u_int16_t (*thrs)[IEEE80211_RATE_SIZE]; in ieee80211_rssadapt_choose() local
99 thrs = &ra->ra_rate_thresh[thridx]; in ieee80211_rssadapt_choose()
117 if ((*thrs)[i] < ra->ra_avg_rssi) in ieee80211_rssadapt_choose()
128 (*thrs)[rateidx], ra->ra_avg_rssi); in ieee80211_rssadapt_choose()
217 u_int16_t (*thrs)[IEEE80211_RATE_SIZE], newthr, oldthr; in ieee80211_rssadapt_raise_rate() local
233 thrs = &ra->ra_rate_thresh[i]; in ieee80211_rssadapt_raise_rate()
239 (*thrs)[id->id_rateidx + 1] > (*thrs)[id->id_rateidx]) { in ieee80211_rssadapt_raise_rate()
245 rate / 2, rate * 5 % 10, (*thrs)[id->id_rateidx + 1])); in ieee80211_rssadapt_raise_rate()
246 oldthr = (*thrs)[id->id_rateidx + 1]; in ieee80211_rssadapt_raise_rate()
247 if ((*thrs)[id->id_rateidx] == 0) in ieee80211_rssadapt_raise_rate()
[all …]
/haiku/src/libs/compat/freebsd_wlan/net80211/
H A Dieee80211_rssadapt.c241 uint16_t (*thrs)[IEEE80211_RATE_SIZE]; in rssadapt_rate() local
257 thrs = &ra->ra_rate_thresh[bucket(pktlen)]; in rssadapt_rate()
262 if ((*thrs)[rix] < (rssi << 8)) in rssadapt_rate()
286 uint16_t (*thrs)[IEEE80211_RATE_SIZE]; in rssadapt_lower_rate() local
289 thrs = &ra->ra_rate_thresh[bucket(pktlen)]; in rssadapt_lower_rate()
292 last_thr = (*thrs)[rix]; in rssadapt_lower_rate()
293 (*thrs)[rix] = interpolate(master_expavgctl.rc_thresh, in rssadapt_lower_rate()
299 last_thr, (*thrs)[rix], rssi); in rssadapt_lower_rate()
305 uint16_t (*thrs)[IEEE80211_RATE_SIZE]; in rssadapt_raise_rate() local
309 thrs = &ra->ra_rate_thresh[bucket(pktlen)]; in rssadapt_raise_rate()
[all …]