Lines Matching refs:index
181 * This function maps an index in supported rates table into
185 u8 index, u8 ht_info)
193 mcs_index = min(index & 0xF, 9);
201 if ((index >> 4) == 1) /* NSS = 2 */
212 if (index == MWIFIEX_RATE_BITMAP_MCS0) {
217 } else if (index < 16) {
219 rate = mcs_rate[2 * (1 - bw) + gi][index];
227 if (index >= MWIFIEX_SUPPORTED_RATES_EXT)
228 index = 0;
229 rate = mwifiex_data_rates[index];
235 /* This function maps an index in supported rates table into
239 u8 index, u8 ht_info)
246 return mwifiex_index_to_acs_data_rate(priv, index, ht_info);
249 if (index == MWIFIEX_RATE_BITMAP_MCS0) {
254 } else if (index < mcs_num_supp) {
258 rate = mcs_rate[1][index];
261 rate = mcs_rate[0][index];
265 rate = mcs_rate[3][index];
268 rate = mcs_rate[2][index];
273 if (index >= MWIFIEX_SUPPORTED_RATES_EXT)
274 index = 0;
275 rate = mwifiex_data_rates[index];