Searched refs:mcs_rate (Results 1 – 3 of 3) sorted by relevance
349 static u16 ath12k_get_ratecode(u16 pream_idx, u16 nss, u16 mcs_rate) in ath12k_get_ratecode() argument389 if (mcs_rate == 0 || mcs_rate == 1) in ath12k_get_ratecode()390 mcs_rate += 14; in ath12k_get_ratecode()392 mcs_rate -= 2; in ath12k_get_ratecode()397 return ((mode_type << 8) | ((nss & 0x7) << 5) | (mcs_rate & 0x1F)); in ath12k_get_ratecode()
2021 bool mcs_rate; in rtw_phy_get_2g_tx_power_index() local2032 mcs_rate = (rate >= DESC_RATEMCS0 && rate <= DESC_RATEMCS31) || in rtw_phy_get_2g_tx_power_index()2042 if (!mcs_rate) in rtw_phy_get_2g_tx_power_index()2081 bool mcs_rate; in rtw_phy_get_5g_tx_power_index() local2086 mcs_rate = (rate >= DESC_RATEMCS0 && rate <= DESC_RATEMCS31) || in rtw_phy_get_5g_tx_power_index()2096 if (!mcs_rate) { in rtw_phy_get_5g_tx_power_index()
9215 struct ath10k_index_ht_data_rate_type *mcs_rate; in ath10k_mac_get_rate_flags_ht() local9217 const struct ath10k_index_ht_data_rate_type *mcs_rate; in ath10k_mac_get_rate_flags_ht()9229 mcs_rate = (struct ath10k_index_ht_data_rate_type *) in ath10k_mac_get_rate_flags_ht()9231 mcs_rate = (const struct ath10k_index_ht_data_rate_type *) in ath10k_mac_get_rate_flags_ht()9241 if (rate == mcs_rate[index].supported_rate[0]) { in ath10k_mac_get_rate_flags_ht()9243 } else if (rate == mcs_rate[index].supported_rate[1]) { in ath10k_mac_get_rate_flags_ht()9245 } else if (rate == mcs_rate[index].supported_rate[2]) { in ath10k_mac_get_rate_flags_ht()9248 } else if (rate == mcs_rate[index].supported_rate[3]) { in ath10k_mac_get_rate_flags_ht()9261 struct ath10k_index_vht_data_rate_type *mcs_rate; in ath10k_mac_get_rate_flags_vht() local9263 mcs_rate = (struct ath10k_index_vht_data_rate_type *) in ath10k_mac_get_rate_flags_vht()[all …]