/freebsd/sys/net80211/ |
H A D | ieee80211_amrr.c | 208 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 D | ieee80211_phy.h | 114 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 D | ieee80211_rssadapt.c | 203 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 D | ieee80211_ratectl_none.c | 65 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 D | ieee80211_proto.c | 380 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 D | ieee80211_phy.c | 321 code &= IEEE80211_RATE_VAL; in ieee80211_setup_ratetable() 327 ctl_rate &= IEEE80211_RATE_VAL; in ieee80211_setup_ratetable()
|
H A D | ieee80211_adhoc.c | 67 #define IEEE80211_RATE2MBS(r) (((r) & IEEE80211_RATE_VAL) / 2) 695 int r = rates[2+i] & IEEE80211_RATE_VAL; in is11bclient()
|
H A D | ieee80211.h | 1318 #define IEEE80211_RATE_VAL 0x7f macro 1319 #define IEEE80211_RV(v) ((v) & IEEE80211_RATE_VAL)
|
H A D | ieee80211_scan_sta.c | 846 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 D | ieee80211_hostap.c | 66 #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 D | ieee80211.c | 1972 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 D | ieee80211_ht.c | 2175 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 D | ieee80211_sta.c | 67 #define IEEE80211_RATE2MBS(r) (((r) & IEEE80211_RATE_VAL) / 2)
|
H A D | ieee80211_node.c | 584 printf(" %2dM%c", (rate & IEEE80211_RATE_VAL) / 2, in check_bss_debug()
|
/freebsd/sys/dev/ath/ath_rate/onoe/ |
H A D | onoe.c | 212 (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 D | amrr.c | 237 (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 D | sample.c | 298 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 D | wlantxtime.c | 245 code &= IEEE80211_RATE_VAL; in ieee80211_setup_ratetable()
|
/freebsd/tools/tools/mwl/mwlstats/ |
H A D | mwlstats.c | 295 snprintf(b, bs, "MCS%u", rate & IEEE80211_RATE_VAL); in setrate()
|
/freebsd/sys/dev/bwi/ |
H A D | bwimac.c | 1420 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 D | rt2860.c | 1498 rate &= IEEE80211_RATE_VAL; in rt2860_tx() 1748 rate & IEEE80211_RATE_VAL); in rt2860_tx_raw()
|
/freebsd/sys/dev/mwl/ |
H A D | if_mwl.c | 1002 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 D | if_ath.c | 6507 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 D | if_iwm.c | 4215 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 D | ifieee80211.c | 2607 int rate = rates[i] & IEEE80211_RATE_VAL; in getmaxrate() 3514 ie[i] & IEEE80211_RATE_VAL); in printrates()
|