Lines Matching refs:rix
1047 uint8_t rix; in ath_tx_calc_protection() local
1054 rix = bf->bf_state.bfs_rc[0].rix; in ath_tx_calc_protection()
1072 rt->info[rix].phy == IEEE80211_T_OFDM && in ath_tx_calc_protection()
1100 rt->info[rix].phy == IEEE80211_T_HT && in ath_tx_calc_protection()
1120 uint8_t rix; in ath_tx_calc_duration() local
1128 rix = bf->bf_state.bfs_rc[0].rix; in ath_tx_calc_duration()
1139 dur = rt->info[rix].spAckDuration; in ath_tx_calc_duration()
1141 dur = rt->info[rix].lpAckDuration; in ath_tx_calc_duration()
1156 rix, shortPreamble, in ath_tx_calc_duration()
1201 ath_tx_calc_ctsduration(struct ath_hal *ah, int rix, int cix, in ath_tx_calc_ctsduration() argument
1227 rt, pktlen, rix, AH_TRUE, AH_TRUE); in ath_tx_calc_ctsduration()
1229 ctsduration += rt->info[rix].spAckDuration; in ath_tx_calc_ctsduration()
1234 rt, pktlen, rix, AH_FALSE, AH_TRUE); in ath_tx_calc_ctsduration()
1236 ctsduration += rt->info[rix].lpAckDuration; in ath_tx_calc_ctsduration()
1260 uint8_t rix = bf->bf_state.bfs_rc[0].rix; in ath_tx_set_rtscts() local
1280 rix = sc->sc_protrix; in ath_tx_set_rtscts()
1282 rix = bf->bf_state.bfs_rc[0].rix; in ath_tx_set_rtscts()
1292 cix = rt->info[rix].controlRate; in ath_tx_set_rtscts()
1300 ctsduration = ath_tx_calc_ctsduration(sc->sc_ah, rix, cix, in ath_tx_set_rtscts()
1379 uint8_t rate, rix; in ath_tx_do_ratelookup() local
1392 pktlen, tid, is_aggr, &rix, &try0, &rate, &maxdur, &maxpktlen); in ath_tx_do_ratelookup()
1395 bf->bf_state.bfs_rc[0].rix = rix; in ath_tx_do_ratelookup()
1400 ath_rate_getxtxrates(sc, ATH_NODE(bf->bf_node), rix, in ath_tx_do_ratelookup()
1404 sc->sc_txrix = rix; /* for LED blinking */ in ath_tx_do_ratelookup()
1405 sc->sc_lastdatarix = rix; /* for fast frames */ in ath_tx_do_ratelookup()
1559 u_int8_t rix = 0, txrate = 0; in ath_tx_normal_setup() local
1655 rix = an->an_mgmtrix; in ath_tx_normal_setup()
1656 txrate = rt->info[rix].rateCode; in ath_tx_normal_setup()
1658 txrate |= rt->info[rix].shortPreamble; in ath_tx_normal_setup()
1664 rix = an->an_mgmtrix; in ath_tx_normal_setup()
1665 txrate = rt->info[rix].rateCode; in ath_tx_normal_setup()
1667 txrate |= rt->info[rix].shortPreamble; in ath_tx_normal_setup()
1679 rix = an->an_mcastrix; in ath_tx_normal_setup()
1680 txrate = rt->info[rix].rateCode; in ath_tx_normal_setup()
1682 txrate |= rt->info[rix].shortPreamble; in ath_tx_normal_setup()
1686 rix = an->an_mgmtrix; in ath_tx_normal_setup()
1687 txrate = rt->info[rix].rateCode; in ath_tx_normal_setup()
1689 txrate |= rt->info[rix].shortPreamble; in ath_tx_normal_setup()
1842 sc->sc_hwmap[rix].ieeerate, -1); in ath_tx_normal_setup()
1845 sc->sc_tx_th.wt_flags = sc->sc_hwmap[rix].txflags; in ath_tx_normal_setup()
1850 sc->sc_tx_th.wt_rate = sc->sc_hwmap[rix].ieeerate; in ath_tx_normal_setup()
1864 bf->bf_state.bfs_rc[0].rix = rix; in ath_tx_normal_setup()
2144 u_int8_t rix, txrate; in ath_tx_raw_start() local
2244 rix = ath_tx_findrix(sc, params->ibp_rate0); in ath_tx_raw_start()
2252 rix = an->an_mgmtrix; in ath_tx_raw_start()
2268 txrate = rt->info[rix].rateCode; in ath_tx_raw_start()
2270 txrate |= rt->info[rix].shortPreamble; in ath_tx_raw_start()
2271 sc->sc_txrix = rix; in ath_tx_raw_start()
2292 sc->sc_hwmap[rix].ieeerate, -1); in ath_tx_raw_start()
2295 sc->sc_tx_th.wt_flags = sc->sc_hwmap[rix].txflags; in ath_tx_raw_start()
2300 sc->sc_tx_th.wt_rate = sc->sc_hwmap[rix].ieeerate; in ath_tx_raw_start()
2341 bf->bf_state.bfs_rc[0].rix = rix; in ath_tx_raw_start()
2346 int rix; in ath_tx_raw_start() local
2348 rix = ath_tx_findrix(sc, params->ibp_rate1); in ath_tx_raw_start()
2349 bf->bf_state.bfs_rc[1].rix = rix; in ath_tx_raw_start()
2352 rix = ath_tx_findrix(sc, params->ibp_rate2); in ath_tx_raw_start()
2353 bf->bf_state.bfs_rc[2].rix = rix; in ath_tx_raw_start()
2356 rix = ath_tx_findrix(sc, params->ibp_rate3); in ath_tx_raw_start()
2357 bf->bf_state.bfs_rc[3].rix = rix; in ath_tx_raw_start()