/freebsd/tools/tools/net80211/scripts/ |
H A D | setup.fixed | 11 ifconfig $WLAN ucastrate 24:a ucastrate 7
|
/freebsd/sys/net80211/ |
H A D | ieee80211_proto.c | 359 vap->iv_txparms[i].ucastrate = IEEE80211_FIXED_RATE_NONE; in ieee80211_proto_vattach() 644 int okrate, badrate, fixedrate, ucastrate; in ieee80211_fix_rate() local 650 ucastrate = vap->iv_txparms[ieee80211_chan2mode(ni->ni_chan)].ucastrate; in ieee80211_fix_rate() 651 if (ucastrate != IEEE80211_FIXED_RATE_NONE) { in ieee80211_fix_rate() 664 if (ucastrate & 0x80) { in ieee80211_fix_rate() 667 } else if ((ucastrate & 0x80) == 0) { in ieee80211_fix_rate() 672 ucastrate &= IEEE80211_RATE_VAL; in ieee80211_fix_rate() 707 if (r == ucastrate) in ieee80211_fix_rate() 748 fixedrate != ucastrate)) { in ieee80211_fix_rate() 751 "ucastrate %x\n", __func__, fixedrate, ucastrate, flags); in ieee80211_fix_rate()
|
H A D | ieee80211_scan_sta.c | 923 int i, j, nrs, r, okrate, badrate, fixedrate, ucastrate; in check_rate() local 932 ucastrate = vap->iv_txparms[ieee80211_chan2mode(chan)].ucastrate; in check_rate() 941 if (r == ucastrate) in check_rate() 970 if (okrate == 0 || ucastrate != fixedrate) in check_rate() 1364 ucastRate = vap->iv_txparms[mode].ucastrate; in sta_roam_check()
|
H A D | _ieee80211.h | 412 uint8_t ucastrate; /* ucast data rate (legacy/MCS|0x80) */ member
|
H A D | ieee80211_tdma.c | 128 vap->iv_txparms[mode].ucastrate = rate; in settxparms()
|
H A D | ieee80211_ioctl.c | 2327 if (src->ucastrate != dst->ucastrate) { in ieee80211_ioctl_settxparams() 2328 if (!checkrate(rs, src->ucastrate) && in ieee80211_ioctl_settxparams() 2329 (!is11n || !checkmcs(rs_ht, src->ucastrate))) in ieee80211_ioctl_settxparams()
|
H A D | ieee80211.c | 2303 if (vap->iv_txparms[mode].ucastrate != IEEE80211_FIXED_RATE_NONE) { in ieee80211_media_status() 2308 vap->iv_txparms[mode].ucastrate); in ieee80211_media_status()
|
H A D | ieee80211_ddb.c | 1008 printrate("ucastrate", tp->ucastrate); in _db_show_txparams()
|
/freebsd/sys/dev/rtwn/ |
H A D | if_rtwn_tx.c | 166 } else if (tp->ucastrate != IEEE80211_FIXED_RATE_NONE) { in rtwn_tx_data() 167 ridx = rate2ridx(tp->ucastrate); in rtwn_tx_data()
|
/freebsd/sys/dev/ath/ath_rate/onoe/ |
H A D | onoe.c | 293 if (tp == NULL || tp->ucastrate == IEEE80211_FIXED_RATE_NONE) { in ath_rate_ctl_start() 319 for (; srate >= 0 && RATE(srate) != tp->ucastrate; srate--) in ath_rate_ctl_start()
|
/freebsd/sys/dev/ath/ath_rate/amrr/ |
H A D | amrr.c | 319 if (tp == NULL || tp->ucastrate == IEEE80211_FIXED_RATE_NONE) { in ath_rate_ctl_start() 345 for (; srate >= 0 && RATE(srate) != tp->ucastrate; srate--) in ath_rate_ctl_start()
|
/freebsd/sys/dev/ath/ |
H A D | if_ath_tdma.c | 276 if (tp->ucastrate != IEEE80211_FIXED_RATE_NONE) in ath_tdma_config() 277 rix = ath_tx_findrix(sc, tp->ucastrate); in ath_tdma_config()
|
/freebsd/sys/dev/ath/ath_rate/sample/ |
H A D | sample.c | 532 if (MCS(srate) == tp->ucastrate) in ath_rate_get_static_rix() 533 return sc->sc_rixmap[tp->ucastrate]; in ath_rate_get_static_rix() 538 if (RATE(srate) == tp->ucastrate) in ath_rate_get_static_rix() 539 return sc->sc_rixmap[tp->ucastrate]; in ath_rate_get_static_rix() 554 if (tp != NULL && tp->ucastrate != IEEE80211_FIXED_RATE_NONE) { in ath_rate_update_static_rix()
|
/freebsd/sbin/ifconfig/ |
H A D | ifieee80211.c | 1710 _APPLY1(flags, txparams, ucastrate, in set80211ucastrate() 1713 _APPLY(flags, txparams, ucastrate, in set80211ucastrate() 1719 _APPLY_RATE1(flags, txparams, ucastrate, rate); in set80211ucastrate() 1721 _APPLY_RATE(flags, txparams, ucastrate, rate); in set80211ucastrate() 4453 if (tp->ucastrate == IEEE80211_FIXED_RATE_NONE) in list_txparams() 4466 tp->ucastrate &~ IEEE80211_RATE_MCS, in list_txparams() 4473 if (tp->ucastrate == IEEE80211_FIXED_RATE_NONE) in list_txparams() 4483 tp->ucastrate/2, tp->mgmtrate/2, in list_txparams() 5161 printrate("ucastrate", tp->ucastrate, in ieee80211_status()
|
/freebsd/sys/dev/malo/ |
H A D | if_malo.c | 1738 ni->ni_associd, mode, tp->ucastrate); in malo_newstate() 1745 tp->ucastrate == IEEE80211_FIXED_RATE_NONE ? in malo_newstate() 1746 0 : malo_fix2rate(tp->ucastrate)); in malo_newstate()
|
/freebsd/sys/dev/usb/wlan/ |
H A D | if_ural.c | 736 if (tp->ucastrate == IEEE80211_FIXED_RATE_NONE) in ural_newstate() 1225 else if (tp->ucastrate != IEEE80211_FIXED_RATE_NONE) in ural_tx_data() 1226 rate = tp->ucastrate; in ural_tx_data()
|
H A D | if_rum.c | 1032 if (tp->ucastrate == IEEE80211_FIXED_RATE_NONE) in rum_newstate() 1644 else if (tp->ucastrate != IEEE80211_FIXED_RATE_NONE) in rum_tx_data() 1645 rate = tp->ucastrate; in rum_tx_data()
|
H A D | if_mtw.c | 1640 if (tp->ucastrate != IEEE80211_FIXED_RATE_NONE) { in mtw_media_change() 1645 ic->ic_sup_rates[ic->ic_curmode].rs_rates[tp->ucastrate] & in mtw_media_change() 1780 if (tp->ucastrate == IEEE80211_FIXED_RATE_NONE) in mtw_newstate() 3073 if (tp->ucastrate != IEEE80211_FIXED_RATE_NONE) { in mtw_tx()
|
H A D | if_upgt.c | 707 if (tp->ucastrate == IEEE80211_FIXED_RATE_NONE) { in upgt_setup_rates() 722 memset(sc->sc_cur_rateset, rateset_fix_11bg[tp->ucastrate], in upgt_setup_rates()
|
H A D | if_run.c | 2134 if (tp->ucastrate != IEEE80211_FIXED_RATE_NONE) { in run_media_change() 2140 rs_rates[tp->ucastrate] & IEEE80211_RATE_VAL; in run_media_change() 2268 if (tp->ucastrate == IEEE80211_FIXED_RATE_NONE) in run_newstate() 3478 if (tp->ucastrate != IEEE80211_FIXED_RATE_NONE) in run_tx()
|
/freebsd/sys/dev/ral/ |
H A D | rt2661.c | 1430 } else if (tp->ucastrate != IEEE80211_FIXED_RATE_NONE) { in rt2661_tx_data() 1431 rate = tp->ucastrate; in rt2661_tx_data() 1517 if (tp->ucastrate == IEEE80211_FIXED_RATE_NONE) { in rt2661_tx_data()
|
H A D | rt2560.c | 1739 } else if (tp->ucastrate != IEEE80211_FIXED_RATE_NONE) { in rt2560_tx_data() 1740 rate = tp->ucastrate; in rt2560_tx_data() 1823 if (tp->ucastrate == IEEE80211_FIXED_RATE_NONE) { in rt2560_tx_data()
|
/freebsd/usr.sbin/bsnmpd/modules/snmp_wlan/ |
H A D | wlan_snmp.c | 1107 ctx->scratch->int1 = txparam->ucastrate; in op_wlan_tx_params() 1108 txparam->ucastrate = val->v.integer * 2; in op_wlan_tx_params() 1138 txparam->ucastrate = ctx->scratch->int1; in op_wlan_tx_params() 1162 val->v.integer = txparam->ucastrate / 2; in op_wlan_tx_params()
|
/freebsd/sys/dev/otus/ |
H A D | if_otus.c | 2280 else if (tp->ucastrate != IEEE80211_FIXED_RATE_NONE) in otus_tx() 2281 rate = otus_rate_to_hw_rate(sc, tp->ucastrate); in otus_tx()
|
/freebsd/sys/dev/mwl/ |
H A D | if_mwl.c | 1037 tp->ucastrate != IEEE80211_FIXED_RATE_NONE ? in mwl_setrates() 3245 } else if (tp->ucastrate != IEEE80211_FIXED_RATE_NONE) { in mwl_tx_start() 3248 mwl_calcformat(tp->ucastrate, ni)); in mwl_tx_start()
|