rate2ridx
ridx = rate2ridx(IEEE80211_RV(rs->rs_rates[i]));
ridx = rate2ridx(rate);
ridx = rate2ridx(params->ibp_rate0);