Searched refs:mcs_idx (Results 1 – 4 of 4) 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()
2176 u32 mcs_idx = (user_stats) ? user_stats->mcs : ppdu_info->mcs; in ath12k_dp_mon_rx_update_peer_rate_table_stats() local2181 if ((mcs_idx > HAL_RX_MAX_MCS_HE) || (nss_idx >= HAL_RX_MAX_NSS) || in ath12k_dp_mon_rx_update_peer_rate_table_stats()2188 rate_idx = mcs_idx * 8 + 8 * 10 * nss_idx; in ath12k_dp_mon_rx_update_peer_rate_table_stats()2192 rate_idx = mcs_idx * 12 + 12 * 12 * nss_idx; in ath12k_dp_mon_rx_update_peer_rate_table_stats()