Lines Matching defs:ridx
140 enum ieee80211_protmode mode, uint8_t ridx)
162 if (RTWN_RATE_IS_VHT(ridx))
163 rate = rtwn_ctl_vhtrate(ic->ic_rt, ridx);
164 else if (RTWN_RATE_IS_HT(ridx))
165 rate = rtwn_ctl_mcsrate(ic->ic_rt, ridx);
167 rate = ieee80211_ctl_rate(ic->ic_rt, ridx2rate[ridx]);
168 /* Map basic rate back to ridx */
169 ridx = rate2ridx(IEEE80211_RV(rate));
171 txd->txdw4 |= htole32(SM(R12A_TXDW4_RTSRATE, ridx));
175 if (RTWN_RATE_IS_CCK(ridx) && ridx != RTWN_RIDX_CCK1 &&
322 struct mbuf *m, void *buf, uint8_t ridx, bool force_rate, int maxretry)
382 if (RTWN_RATE_IS_CCK(ridx) && ridx != RTWN_RIDX_CCK1 &&
387 if (RTWN_RATE_IS_VHT(ridx)) {
392 } else if (RTWN_RATE_IS_HT(ridx)) {
408 r12a_tx_protection(sc, txd, prot, ridx);
418 txd->txdw4 |= htole32(SM(R12A_TXDW4_DATARATE, ridx));
455 uint8_t ridx;
462 ridx = rate2ridx(params->ibp_rate0);
476 r12a_tx_protection(sc, txd, IEEE80211_PROT_RTSCTS, ridx);
478 r12a_tx_protection(sc, txd, IEEE80211_PROT_CTSONLY, ridx);
484 txd->txdw4 |= htole32(SM(R12A_TXDW4_DATARATE, ridx));