Lines Matching refs:rt
121 const HAL_RATE_TABLE *rt = sc->sc_currates;
134 KASSERT(rt != NULL, ("no rate table, mode %u", sc->sc_curmode));
136 if (rix >= rt->rateCount) {
138 rix, rt->rateCount, sc->sc_curmode);
141 cix = rt->info[rix].controlRate;
147 switch (rt->info[rix].phy) {
175 rt->info[rix].phy == IEEE80211_T_OFDM) {
181 cix = rt->info[sc->sc_protrix].controlRate;
193 KASSERT(cix < rt->rateCount,
194 ("bogus cix %d, max %u, mode %u\n", cix, rt->rateCount,
197 ctsrate = rt->info[cix].rateCode | rt->info[cix].shortPreamble;
199 ctsduration += rt->info[cix].spAckDuration;
202 ctsduration += ath_hal_pkt_txtime(sc->sc_ah, rt, length, rix,
206 ctsduration += rt->info[cix].spAckDuration;
213 tt += (long_retries+1)*ath_hal_pkt_txtime(sc->sc_ah, rt, length, rix,
216 tt += (long_retries+1)*(t_sifs + rt->info[rix].spAckDuration);