Lines Matching defs:ridx
83 enum ieee80211_protmode mode, uint8_t ridx)
101 if (ridx >= RTWN_RIDX_HT_MCS(0))
102 rate = rtwn_ctl_mcsrate(ic->ic_rt, ridx);
104 rate = ieee80211_ctl_rate(ic->ic_rt, ridx2rate[ridx]);
105 ridx = rate2ridx(IEEE80211_RV(rate));
107 txd->txdw4 |= htole32(SM(R92C_TXDW4_RTSRATE, ridx));
111 if (RTWN_RATE_IS_CCK(ridx) && ridx != RTWN_RIDX_CCK1 &&
223 struct mbuf *m, void *buf, uint8_t ridx, int maxretry)
288 if (RTWN_RATE_IS_CCK(ridx) && ridx != RTWN_RIDX_CCK1 &&
293 if (ridx >= RTWN_RIDX_HT_MCS(0)) {
309 r92c_tx_protection(sc, txd, prot, ridx);
320 txd->txdw5 |= htole32(SM(R92C_TXDW5_DATARATE, ridx));
356 uint8_t ridx;
363 ridx = rate2ridx(params->ibp_rate0);
377 r92c_tx_protection(sc, txd, IEEE80211_PROT_RTSCTS, ridx);
379 r92c_tx_protection(sc, txd, IEEE80211_PROT_CTSONLY, ridx);
385 txd->txdw5 |= htole32(SM(R92C_TXDW5_DATARATE, ridx));