Searched refs:mcs_idx (Results 1 – 3 of 3) sorted by relevance
1862 int i, j, mcs_idx = 0; in ar9003_hw_init_txpower_ht() local1866 j = mcs2pwr[mcs_idx]; in ar9003_hw_init_txpower_ht()1868 mcs_idx++; in ar9003_hw_init_txpower_ht()1872 j = mcs2pwr[mcs_idx]; in ar9003_hw_init_txpower_ht()1874 mcs_idx++; in ar9003_hw_init_txpower_ht()1878 j = mcs2pwr[mcs_idx]; in ar9003_hw_init_txpower_ht()1880 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()
5408 static inline u8 mcsidx_to_tgtpwridx(unsigned int mcs_idx, u8 base_pwridx) in mcsidx_to_tgtpwridx() argument5410 u8 mod_idx = mcs_idx % 8; in mcsidx_to_tgtpwridx()5415 return base_pwridx + 4 * (mcs_idx / 8) + mod_idx - 2; in mcsidx_to_tgtpwridx()