Searched refs:mcs_idx (Results 1 – 3 of 3) sorted by relevance
1850 int i, j, mcs_idx = 0; in ar9003_hw_init_txpower_ht() local1854 j = mcs2pwr[mcs_idx]; in ar9003_hw_init_txpower_ht()1856 mcs_idx++; in ar9003_hw_init_txpower_ht()1860 j = mcs2pwr[mcs_idx]; in ar9003_hw_init_txpower_ht()1862 mcs_idx++; in ar9003_hw_init_txpower_ht()1866 j = mcs2pwr[mcs_idx]; in ar9003_hw_init_txpower_ht()1868 mcs_idx++; in ar9003_hw_init_txpower_ht()
1306 int i, mcs_idx = (is_40) ? AR5008_HT40_SHIFT : AR5008_HT20_SHIFT; in ar5008_hw_init_txpower_ht() local1309 ah->tx_power[i] = rate_array[mcs_idx] + ht40_delta; in ar5008_hw_init_txpower_ht()1310 mcs_idx++; in ar5008_hw_init_txpower_ht()
5404 static inline u8 mcsidx_to_tgtpwridx(unsigned int mcs_idx, u8 base_pwridx) in mcsidx_to_tgtpwridx() argument5406 u8 mod_idx = mcs_idx % 8; in mcsidx_to_tgtpwridx()5411 return base_pwridx + 4 * (mcs_idx / 8) + mod_idx - 2; in mcsidx_to_tgtpwridx()