Searched refs:txrate (Results 1 – 12 of 12) sorted by relevance
/openbsd/sys/net80211/ |
H A D | ieee80211_ra.c | 150 uint64_t txrate; in ieee80211_ra_get_txrate() local 153 txrate = rs->rates[mcs - rs->min_mcs]; in ieee80211_ra_get_txrate() 154 txrate <<= RA_FP_SHIFT; /* convert to fixed-point */ in ieee80211_ra_get_txrate() 155 txrate *= 500; /* convert to kbit/s */ in ieee80211_ra_get_txrate() 156 txrate /= 1000; /* convert to mbit/s */ in ieee80211_ra_get_txrate() 158 return txrate; in ieee80211_ra_get_txrate() 331 uint64_t txrate = rsnext->rates[i]; in ieee80211_ra_probe_next_rateset() local 336 txrate = txrate * 500; /* convert to kbit/s */ in ieee80211_ra_probe_next_rateset() 337 txrate <<= RA_FP_SHIFT; /* convert to fixed-point */ in ieee80211_ra_probe_next_rateset() 338 txrate /= 1000; /* convert to mbit/s */ in ieee80211_ra_probe_next_rateset() [all …]
|
H A D | ieee80211_ra_vht.c | 155 uint64_t txrate; in ieee80211_ra_vht_get_txrate() local 158 txrate = rs->rates[mcs]; in ieee80211_ra_vht_get_txrate() 159 txrate <<= RA_FP_SHIFT; /* convert to fixed-point */ in ieee80211_ra_vht_get_txrate() 160 txrate *= 500; /* convert to kbit/s */ in ieee80211_ra_vht_get_txrate() 161 txrate /= 1000; /* convert to mbit/s */ in ieee80211_ra_vht_get_txrate() 163 return txrate; in ieee80211_ra_vht_get_txrate() 319 uint64_t txrate = rsnext->rates[mcs]; in ieee80211_ra_vht_probe_next_rateset() local 324 txrate = txrate * 500; /* convert to kbit/s */ in ieee80211_ra_vht_probe_next_rateset() 325 txrate <<= RA_FP_SHIFT; /* convert to fixed-point */ in ieee80211_ra_vht_probe_next_rateset() 326 txrate /= 1000; /* convert to mbit/s */ in ieee80211_ra_vht_probe_next_rateset() [all …]
|
/openbsd/sys/dev/ic/ |
H A D | if_wi_hostap.c | 1058 wihap_check_tx(struct wihap_info *whi, u_int8_t addr[], u_int8_t *txrate) in wihap_check_tx() argument 1065 *txrate = 0; /* XXX: multicast rate? */ in wihap_check_tx() 1074 *txrate = txratetable[sta->tx_curr_rate]; in wihap_check_tx() 1385 wihap_check_tx(struct wihap_info *whi, u_int8_t addr[], u_int8_t *txrate) in wihap_check_tx() argument
|
H A D | bwfm.c | 665 bwfm_rate2vhtmcs(int *mcs, int *ss, uint32_t txrate) in bwfm_rate2vhtmcs() argument 676 if (rs->rates[j] == txrate / 500) { in bwfm_rate2vhtmcs() 686 bwfm_rate2htmcs(uint32_t txrate) in bwfm_rate2htmcs() argument 695 if (rs->rates[j] == txrate / 500) in bwfm_rate2htmcs() 711 uint32_t txrate; in bwfm_update_node() local 742 txrate = le32toh(sta.tx_rate); /* in kbit/s */ in bwfm_update_node() 743 if (txrate == 0xffffffff) /* Seen this happening during association. */ in bwfm_update_node() 753 bwfm_rate2vhtmcs(&mcs, &ss, txrate); in bwfm_update_node() 767 mcs = bwfm_rate2htmcs(txrate); in bwfm_update_node() 774 if (rate == txrate / 500) { in bwfm_update_node()
|
H A D | ar5008.c | 1561 int txrate; in ar5008_tx() local 1564 txrate = ATHN_NUM_LEGACY_RATES + ni->ni_txmcs; in ar5008_tx() 1566 txrate = ni->ni_txrate; in ar5008_tx() 1568 ridx[i] = an->ridx[txrate]; in ar5008_tx() 1569 txrate = an->fallback[txrate]; in ar5008_tx()
|
H A D | ath.c | 1993 u_int8_t rix, cix, txrate, ctsrate; in ath_tx_start() local 2188 txrate = rt->info[rix].rateCode | rt->info[rix].shortPreamble; in ath_tx_start() 2192 txrate = rt->info[rix].rateCode; in ath_tx_start() 2299 , txrate, tries /* series 0 rate/tries */ in ath_tx_start()
|
H A D | ar9003.c | 1469 int txrate = ni->ni_txrate; in ar9003_tx() local 1472 ridx[i] = an->ridx[txrate]; in ar9003_tx() 1473 txrate = an->fallback[txrate]; in ar9003_tx()
|
H A D | if_wi.c | 2660 wi_sync_media(struct wi_softc *sc, int ptype, int txrate) in wi_sync_media() argument 2666 switch (txrate) { in wi_sync_media() 2714 sc->wi_tx_rate = txrate; in wi_sync_media()
|
/openbsd/usr.sbin/hostapd/ |
H A D | parse.y | 172 %type <v.number> txrate 822 | TXRATE unaryop txrate 1181 txrate : STRING
|
/openbsd/sys/dev/pci/ |
H A D | if_iwmvar.h | 264 int txrate; member
|
H A D | if_iwn.c | 3940 int txrate; in iwn_set_link_quality() local 3941 for (txrate = ni->ni_txrate; txrate >= 0; txrate--) { in iwn_set_link_quality() 3942 rinfo = &iwn_rates[wn->ridx[txrate]]; in iwn_set_link_quality()
|
H A D | if_iwm.c | 5617 struct iwm_node *in, int txmcs, int txrate) in iwm_rx_tx_cmd_single() argument 5641 if (txrate != ni->ni_txrate) { in iwm_rx_tx_cmd_single() 5882 iwm_rx_tx_cmd_single(sc, pkt, txd->in, txd->txmcs, txd->txrate); in iwm_rx_tx_cmd() 6952 data->txrate = ni->ni_txrate; in iwm_tx()
|