Home
last modified time | relevance | path

Searched refs:ucastrate (Results 1 – 25 of 34) sorted by relevance

12

/freebsd/tools/tools/net80211/scripts/
H A Dsetup.fixed11 ifconfig $WLAN ucastrate 24:a ucastrate 7
/freebsd/sys/net80211/
H A Dieee80211_proto.c359 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 Dieee80211_scan_sta.c923 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.h412 uint8_t ucastrate; /* ucast data rate (legacy/MCS|0x80) */ member
H A Dieee80211_tdma.c128 vap->iv_txparms[mode].ucastrate = rate; in settxparms()
H A Dieee80211_ioctl.c2327 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 Dieee80211.c2303 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 Dieee80211_ddb.c1008 printrate("ucastrate", tp->ucastrate); in _db_show_txparams()
/freebsd/sys/dev/rtwn/
H A Dif_rtwn_tx.c166 } 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 Donoe.c293 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 Damrr.c319 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 Dif_ath_tdma.c276 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 Dsample.c532 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 Difieee80211.c1710 _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 Dif_malo.c1738 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 Dif_ural.c736 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 Dif_rum.c1032 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 Dif_mtw.c1640 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 Dif_upgt.c707 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 Dif_run.c2134 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 Drt2661.c1430 } 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 Drt2560.c1739 } 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 Dwlan_snmp.c1107 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 Dif_otus.c2280 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 Dif_mwl.c1037 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()

12