Lines Matching defs:rt
137 const HAL_RATE_TABLE *rt = sc->sc_currates;
149 KASSERT(rt != NULL, ("no rate table, mode %u", sc->sc_curmode));
151 if (rix >= rt->rateCount) {
153 rix, rt->rateCount, sc->sc_curmode);
156 cix = rt->info[rix].controlRate;
162 switch (rt->info[rix].phy) {
190 rt->info[rix].phy == IEEE80211_T_OFDM) {
196 cix = rt->info[sc->sc_protrix].controlRate;
208 KASSERT(cix < rt->rateCount,
209 ("bogus cix %d, max %u, mode %u\n", cix, rt->rateCount,
212 ctsrate = rt->info[cix].rateCode | rt->info[cix].shortPreamble;
214 ctsduration += rt->info[cix].spAckDuration;
217 ctsduration += ath_hal_pkt_txtime(sc->sc_ah, rt, length, rix,
221 ctsduration += rt->info[cix].spAckDuration;
228 tt += (long_retries+1)*ath_hal_pkt_txtime(sc->sc_ah, rt, length, rix,
231 tt += (long_retries+1)*(t_sifs + rt->info[rix].spAckDuration);