Searched refs:mcs_idx (Results 1 – 3 of 3) sorted by relevance
1853 int i, j, mcs_idx = 0; in ar9003_hw_init_txpower_ht() local1857 j = mcs2pwr[mcs_idx]; in ar9003_hw_init_txpower_ht()1859 mcs_idx++; in ar9003_hw_init_txpower_ht()1863 j = mcs2pwr[mcs_idx]; in ar9003_hw_init_txpower_ht()1865 mcs_idx++; in ar9003_hw_init_txpower_ht()1869 j = mcs2pwr[mcs_idx]; in ar9003_hw_init_txpower_ht()1871 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()