Home
last modified time | relevance | path

Searched refs:IEEE80211_RATE_VAL (Results 1 – 25 of 31) sorted by relevance

12

/freebsd/sys/net80211/
H A Dieee80211_amrr.c208 rate &= IEEE80211_RATE_VAL; in amrr_node_init()
219 } else if ((rs->rs_rates[amn->amn_rix] & IEEE80211_RATE_VAL) <= 72) in amrr_node_init()
222 rate = rs->rs_rates[amn->amn_rix] & IEEE80211_RATE_VAL; in amrr_node_init()
238 rate & IEEE80211_RATE_VAL); in amrr_node_init()
268 rs->rs_rates[rix] & IEEE80211_RATE_VAL, in amrr_update()
291 rs->rs_rates[rix] & IEEE80211_RATE_VAL, in amrr_update()
314 rs->rs_rates[rix] & IEEE80211_RATE_VAL, in amrr_update()
366 ni->ni_txrate &= IEEE80211_RATE_VAL; in amrr_rate()
487 rate = rs->rs_rates[amn->amn_rix] & IEEE80211_RATE_VAL; in amrr_print_node_rate()
491 rate = rs->rs_rates[amn->amn_rix] & IEEE80211_RATE_VAL; in amrr_print_node_rate()
[all...]
H A Dieee80211_phy.h114 uint8_t cix = rt->info[rt->rateCodeToIndex[rate & IEEE80211_RATE_VAL]].ctlRateIndex; in ieee80211_ack_rate()
129 uint8_t cix = rt->info[rt->rateCodeToIndex[rate & IEEE80211_RATE_VAL]].ctlRateIndex; in ieee80211_ctl_rate()
144 uint8_t rix = rt->rateCodeToIndex[rate & IEEE80211_RATE_VAL]; in ieee80211_rate2phytype()
191 return (rt->rateCodeToIndex[rate & IEEE80211_RATE_VAL]); in ieee80211_legacy_rate_lookup()
H A Dieee80211_rssadapt.c203 ra->ra_rix > 0 && (rs->rs_rates[ra->ra_rix] & IEEE80211_RATE_VAL) > 72; in rssadapt_node_init()
206 ni->ni_txrate = rs->rs_rates[ra->ra_rix] & IEEE80211_RATE_VAL; in rssadapt_node_init()
266 ni->ni_txrate = ni->ni_rates.rs_rates[rix] & IEEE80211_RATE_VAL; in rssadapt_rate()
298 ra->ra_rates.rs_rates[rix + 1] & IEEE80211_RATE_VAL, in rssadapt_lower_rate()
323 ra->ra_rates.rs_rates[rix + 1] & IEEE80211_RATE_VAL, in rssadapt_raise_rate()
H A Dieee80211_ratectl_none.c65 ni->ni_txrate = ni->ni_rates.rs_rates[0] & IEEE80211_RATE_VAL; in none_node_init()
78 ni->ni_txrate = ni->ni_rates.rs_rates[rix] & IEEE80211_RATE_VAL; in none_rate()
H A Dieee80211_proto.c380 rs->rs_rates[0] & IEEE80211_RATE_VAL; in ieee80211_proto_vattach()
382 rs->rs_rates[0] & IEEE80211_RATE_VAL; in ieee80211_proto_vattach()
385 vap->iv_txparms[i].mgmtrate = rs->rs_rates[0] & IEEE80211_RATE_VAL; in ieee80211_proto_vattach()
386 vap->iv_txparms[i].mcastrate = rs->rs_rates[0] & IEEE80211_RATE_VAL; in ieee80211_proto_vattach()
632 if ((rs->rs_rates[i] & IEEE80211_RATE_VAL) == r) in findrix()
672 ucastrate &= IEEE80211_RATE_VAL; in ieee80211_fix_rate()
702 r = nrs->rs_rates[i] & IEEE80211_RATE_VAL; in ieee80211_fix_rate()
1291 int r = rs->rs_rates[j] & IEEE80211_RATE_VAL; in ieee80211_iserp_rateset()
1336 rs->rs_rates[i] &= IEEE80211_RATE_VAL; in setbasicrates()
H A Dieee80211_phy.c321 code &= IEEE80211_RATE_VAL; in ieee80211_setup_ratetable()
327 ctl_rate &= IEEE80211_RATE_VAL; in ieee80211_setup_ratetable()
H A Dieee80211_adhoc.c67 #define IEEE80211_RATE2MBS(r) (((r) & IEEE80211_RATE_VAL) / 2)
695 int r = rates[2+i] & IEEE80211_RATE_VAL; in is11bclient()
H A Dieee80211.h1318 #define IEEE80211_RATE_VAL 0x7f macro
1319 #define IEEE80211_RV(v) ((v) & IEEE80211_RATE_VAL)
H A Dieee80211_scan_sta.c846 r = se->se_rates[2+i] & IEEE80211_RATE_VAL; in maxrate()
851 r = se->se_xrates[2+i] & IEEE80211_RATE_VAL; in maxrate()
1178 printf(" %2dM%c", (rate & IEEE80211_RATE_VAL) / 2, in match_bss()
H A Dieee80211_hostap.c66 #define IEEE80211_RATE2MBS(r) (((r) & IEEE80211_RATE_VAL) / 2)
1693 reassoc ? "reassoc" : "assoc", tag, rate & IEEE80211_RATE_VAL); in ratesetmismatch()
1755 int r = rates[2+i] & IEEE80211_RATE_VAL; in is11bclient()
H A Dieee80211.c1972 r = rate & IEEE80211_RATE_VAL; in ieee80211_media_setup()
1981 rate = (rate & IEEE80211_RATE_VAL) / 2; in ieee80211_media_setup()
2555 rate &= IEEE80211_RATE_VAL; in ieee80211_rate2media()
H A Dieee80211_ht.c2175 if ((rs->rs_rates[j] & IEEE80211_RATE_VAL) == i) in ieee80211_setup_basic_htrates()
3478 int r = rs->rs_rates[i] & IEEE80211_RATE_VAL; in ieee80211_set_basic_htrates()
H A Dieee80211_sta.c67 #define IEEE80211_RATE2MBS(r) (((r) & IEEE80211_RATE_VAL) / 2)
H A Dieee80211_node.c584 printf(" %2dM%c", (rate & IEEE80211_RATE_VAL) / 2, in check_bss_debug()
/freebsd/sys/dev/ath/ath_rate/onoe/
H A Donoe.c212 (ni->ni_rates.rs_rates[rate] & IEEE80211_RATE_VAL) / 2 : 0); in ath_rate_update()
224 ni->ni_txrate = ni->ni_rates.rs_rates[rate] & IEEE80211_RATE_VAL; in ath_rate_update()
241 ni->ni_rates.rs_rates[rate]&IEEE80211_RATE_VAL]; in ath_rate_update()
250 ni->ni_rates.rs_rates[rate]&IEEE80211_RATE_VAL]; in ath_rate_update()
286 #define RATE(_ix) (ni->ni_rates.rs_rates[(_ix)] & IEEE80211_RATE_VAL) in ath_rate_ctl_start()
393 (rs->rs_rates[nrate] & IEEE80211_RATE_VAL) / 2, in ath_rate_ctl()
/freebsd/sys/dev/ath/ath_rate/amrr/
H A Damrr.c237 (ni->ni_rates.rs_rates[rate] & IEEE80211_RATE_VAL) / 2 : 0); in ath_rate_update()
248 ni->ni_txrate = ni->ni_rates.rs_rates[rate] & IEEE80211_RATE_VAL; in ath_rate_update()
260 ni->ni_rates.rs_rates[rate]&IEEE80211_RATE_VAL]; in ath_rate_update()
269 ni->ni_rates.rs_rates[rate]&IEEE80211_RATE_VAL]; in ath_rate_update()
311 #define RATE(_ix) (ni->ni_rates.rs_rates[(_ix)] & IEEE80211_RATE_VAL) in ath_rate_ctl_start()
/freebsd/sys/dev/ath/ath_rate/sample/
H A Dsample.c298 rt->info[rix].dot11Rate : (rt->info[rix].dot11Rate & IEEE80211_RATE_VAL) / 2; in dot11rate()
417 #define DOT11RATE(ix) (rt->info[ix].dot11Rate & IEEE80211_RATE_VAL) in pick_sample_rate()
523 #define RATE(_ix) (ni->ni_rates.rs_rates[(_ix)] & IEEE80211_RATE_VAL) in ath_rate_get_static_rix()
524 #define DOT11RATE(_ix) (rt->info[(_ix)].dot11Rate & IEEE80211_RATE_VAL) in ath_rate_get_static_rix()
574 #define DOT11RATE(ix) (rt->info[ix].dot11Rate & IEEE80211_RATE_VAL) in ath_rate_pick_seed_rate_legacy()
615 #define DOT11RATE(ix) (rt->info[ix].dot11Rate & IEEE80211_RATE_VAL) in ath_rate_pick_seed_rate_ht()
664 #define DOT11RATE(ix) (rt->info[ix].dot11Rate & IEEE80211_RATE_VAL) in ath_rate_findrate()
1296 #define RATE(_ix) (ni->ni_rates.rs_rates[(_ix)] & IEEE80211_RATE_VAL) in ath_rate_ctl_reset()
1297 #define DOT11RATE(_ix) (rt->info[(_ix)].dot11Rate & IEEE80211_RATE_VAL) in ath_rate_ctl_reset()
1472 tv->ratecode[y] = rt->info[y].dot11Rate & IEEE80211_RATE_VAL; in ath_rate_fetch_node_stats()
/freebsd/tools/tools/net80211/wlantxtime/
H A Dwlantxtime.c245 code &= IEEE80211_RATE_VAL; in ieee80211_setup_ratetable()
/freebsd/tools/tools/mwl/mwlstats/
H A Dmwlstats.c295 snprintf(b, bs, "MCS%u", rate & IEEE80211_RATE_VAL); in setrate()
/freebsd/sys/dev/bwi/
H A Dbwimac.c1420 rs->rs_rates[i] & IEEE80211_RATE_VAL); in bwi_mac_set_ackrates()
1432 rs->rs_rates[i] & IEEE80211_RATE_VAL, in bwi_mac_set_ackrates()
/freebsd/sys/dev/ral/
H A Drt2860.c1498 rate &= IEEE80211_RATE_VAL; in rt2860_tx()
1748 rate & IEEE80211_RATE_VAL); in rt2860_tx_raw()
/freebsd/sys/dev/mwl/
H A Dif_mwl.c1002 rates.MgtRate = rs->rs_rates[0] & IEEE80211_RATE_VAL; in mwl_setcurchanrates()
3956 switch (rs->rs_rates[i] & IEEE80211_RATE_VAL) { in get_rate_bitmap()
/freebsd/sys/dev/ath/
H A Dif_ath.c6507 uint8_t ieeerate = rt->info[i].dot11Rate & IEEE80211_RATE_VAL; in ath_setcurmode()
6521 rt->info[i].dot11Rate & IEEE80211_RATE_VAL; in ath_setcurmode()
/freebsd/sys/dev/iwm/
H A Dif_iwm.c4215 rval = (rs->rs_rates[i] & IEEE80211_RATE_VAL); in iwm_ridx2rate()
4293 int rate = rs->rs_rates[rix - i] & IEEE80211_RATE_VAL; in iwm_setrates()
/freebsd/sbin/ifconfig/
H A Difieee80211.c2607 int rate = rates[i] & IEEE80211_RATE_VAL; in getmaxrate()
3514 ie[i] & IEEE80211_RATE_VAL); in printrates()

12