Lines Matching defs:ridx
80 enum ieee80211_protmode mode, uint8_t ridx, bool force_rate)
108 ridx = RTWN_RIDX_OFDM24;
109 } else if (RTWN_RATE_IS_HT(ridx)) {
110 rate = rtwn_ctl_mcsrate(ic->ic_rt, ridx);
111 ridx = rate2ridx(IEEE80211_RV(rate));
113 rate = ieee80211_ctl_rate(ic->ic_rt, ridx2rate[ridx]);
114 ridx = rate2ridx(IEEE80211_RV(rate));
117 txd->txdw4 |= htole32(SM(R92C_TXDW4_RTSRATE, ridx));
121 if (!use_fw_ratectl && RTWN_RATE_IS_CCK(ridx) &&
122 ridx != RTWN_RIDX_CCK1 &&
276 uint8_t ridx, bool force_rate)
283 txd->txdw5 |= htole32(SM(R92C_TXDW5_DATARATE, ridx));
293 uint8_t ridx, bool force_rate)
297 if (RTWN_RATE_IS_CCK(ridx) && ridx != RTWN_RIDX_CCK1 &&
305 uint8_t ridx, bool force_rate)
329 if (RTWN_RATE_IS_HT(ridx))
347 struct mbuf *m, void *buf, uint8_t ridx, bool force_rate, int maxretry)
414 r92c_fill_tx_desc_shpreamble(sc, txd, ridx, force_rate);
416 prot = r92c_tx_get_protmode(sc, vap, ni, m, ridx,
425 RTWN_RATE_IS_HT(ridx)) {
431 r92c_tx_protection(sc, txd, prot, ridx, force_rate);
444 r92c_fill_tx_desc_datarate(sc, txd, ridx, force_rate);
474 uint8_t ridx;
481 ridx = rate2ridx(params->ibp_rate0);
495 r92c_tx_protection(sc, txd, IEEE80211_PROT_RTSCTS, ridx,
498 r92c_tx_protection(sc, txd, IEEE80211_PROT_CTSONLY, ridx,
505 r92c_fill_tx_desc_datarate(sc, txd, ridx, true); /* force rate */