Searched refs:thrs (Results 1 – 2 of 2) sorted by relevance
85 u_int16_t (*thrs)[IEEE80211_RATE_SIZE]; in ieee80211_rssadapt_choose() local99 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() local233 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 …]
241 uint16_t (*thrs)[IEEE80211_RATE_SIZE]; in rssadapt_rate() local257 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() local289 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() local309 thrs = &ra->ra_rate_thresh[bucket(pktlen)]; in rssadapt_raise_rate()[all …]