Lines Matching refs:index
193 * This function maps an index in supported rates table into
197 u8 index, u8 ht_info)
205 mcs_index = min(index & 0xF, 9);
213 if ((index >> 4) == 1) /* NSS = 2 */
224 if (index == MWIFIEX_RATE_BITMAP_MCS0) {
229 } else if (index < 16) {
231 rate = mcs_rate[2 * (1 - bw) + gi][index];
239 if (index >= MWIFIEX_SUPPORTED_RATES_EXT)
240 index = 0;
241 rate = mwifiex_data_rates[index];
247 /* This function maps an index in supported rates table into
251 u8 index, u8 ht_info)
258 return mwifiex_index_to_acs_data_rate(priv, index, ht_info);
261 if (index == MWIFIEX_RATE_BITMAP_MCS0) {
266 } else if (index < mcs_num_supp) {
270 rate = mcs_rate[1][index];
273 rate = mcs_rate[0][index];
277 rate = mcs_rate[3][index];
280 rate = mcs_rate[2][index];
285 if (index >= MWIFIEX_SUPPORTED_RATES_EXT)
286 index = 0;
287 rate = mwifiex_data_rates[index];