ucode_rate 821 drivers/net/wireless/intel/iwlwifi/mvm/rs.c u32 ucode_rate = 0; ucode_rate 824 drivers/net/wireless/intel/iwlwifi/mvm/rs.c ucode_rate |= ((rate->ant << RATE_MCS_ANT_POS) & ucode_rate 828 drivers/net/wireless/intel/iwlwifi/mvm/rs.c ucode_rate |= iwl_rates[index].plcp; ucode_rate 830 drivers/net/wireless/intel/iwlwifi/mvm/rs.c ucode_rate |= RATE_MCS_CCK_MSK; ucode_rate 831 drivers/net/wireless/intel/iwlwifi/mvm/rs.c return ucode_rate; ucode_rate 839 drivers/net/wireless/intel/iwlwifi/mvm/rs.c ucode_rate |= RATE_MCS_HT_MSK; ucode_rate 842 drivers/net/wireless/intel/iwlwifi/mvm/rs.c ucode_rate |= iwl_rates[index].plcp_ht_siso; ucode_rate 844 drivers/net/wireless/intel/iwlwifi/mvm/rs.c ucode_rate |= iwl_rates[index].plcp_ht_mimo2; ucode_rate 852 drivers/net/wireless/intel/iwlwifi/mvm/rs.c ucode_rate |= RATE_MCS_VHT_MSK; ucode_rate 854 drivers/net/wireless/intel/iwlwifi/mvm/rs.c ucode_rate |= iwl_rates[index].plcp_vht_siso; ucode_rate 856 drivers/net/wireless/intel/iwlwifi/mvm/rs.c ucode_rate |= iwl_rates[index].plcp_vht_mimo2; ucode_rate 866 drivers/net/wireless/intel/iwlwifi/mvm/rs.c ucode_rate |= RATE_MCS_ANT_AB_MSK; ucode_rate 867 drivers/net/wireless/intel/iwlwifi/mvm/rs.c ucode_rate |= RATE_MCS_STBC_MSK; ucode_rate 870 drivers/net/wireless/intel/iwlwifi/mvm/rs.c ucode_rate |= rate->bw; ucode_rate 872 drivers/net/wireless/intel/iwlwifi/mvm/rs.c ucode_rate |= RATE_MCS_SGI_MSK; ucode_rate 874 drivers/net/wireless/intel/iwlwifi/mvm/rs.c ucode_rate |= RATE_MCS_LDPC_MSK; ucode_rate 876 drivers/net/wireless/intel/iwlwifi/mvm/rs.c return ucode_rate; ucode_rate 880 drivers/net/wireless/intel/iwlwifi/mvm/rs.c static int rs_rate_from_ucode_rate(const u32 ucode_rate, ucode_rate 884 drivers/net/wireless/intel/iwlwifi/mvm/rs.c u32 ant_msk = ucode_rate & RATE_MCS_ANT_ABC_MSK; ucode_rate 885 drivers/net/wireless/intel/iwlwifi/mvm/rs.c u8 num_of_ant = get_num_of_ant_from_rate(ucode_rate); ucode_rate 889 drivers/net/wireless/intel/iwlwifi/mvm/rs.c rate->index = iwl_hwrate_to_plcp_idx(ucode_rate); ucode_rate 897 drivers/net/wireless/intel/iwlwifi/mvm/rs.c if (!(ucode_rate & RATE_MCS_HT_MSK) && ucode_rate 898 drivers/net/wireless/intel/iwlwifi/mvm/rs.c !(ucode_rate & RATE_MCS_VHT_MSK) && ucode_rate 899 drivers/net/wireless/intel/iwlwifi/mvm/rs.c !(ucode_rate & RATE_MCS_HE_MSK)) { ucode_rate 911 drivers/net/wireless/intel/iwlwifi/mvm/rs.c if (ucode_rate & RATE_MCS_SGI_MSK) ucode_rate 913 drivers/net/wireless/intel/iwlwifi/mvm/rs.c if (ucode_rate & RATE_MCS_LDPC_MSK) ucode_rate 915 drivers/net/wireless/intel/iwlwifi/mvm/rs.c if (ucode_rate & RATE_MCS_STBC_MSK) ucode_rate 917 drivers/net/wireless/intel/iwlwifi/mvm/rs.c if (ucode_rate & RATE_MCS_BF_MSK) ucode_rate 920 drivers/net/wireless/intel/iwlwifi/mvm/rs.c rate->bw = ucode_rate & RATE_MCS_CHAN_WIDTH_MSK; ucode_rate 922 drivers/net/wireless/intel/iwlwifi/mvm/rs.c if (ucode_rate & RATE_MCS_HT_MSK) { ucode_rate 923 drivers/net/wireless/intel/iwlwifi/mvm/rs.c nss = ((ucode_rate & RATE_HT_MCS_NSS_MSK) >> ucode_rate 937 drivers/net/wireless/intel/iwlwifi/mvm/rs.c } else if (ucode_rate & RATE_MCS_VHT_MSK) { ucode_rate 938 drivers/net/wireless/intel/iwlwifi/mvm/rs.c nss = ((ucode_rate & RATE_VHT_MCS_NSS_MSK) >> ucode_rate 952 drivers/net/wireless/intel/iwlwifi/mvm/rs.c } else if (ucode_rate & RATE_MCS_HE_MSK) { ucode_rate 953 drivers/net/wireless/intel/iwlwifi/mvm/rs.c nss = ((ucode_rate & RATE_VHT_MCS_NSS_MSK) >> ucode_rate 3315 drivers/net/wireless/intel/iwlwifi/mvm/rs.c u32 ucode_rate) ucode_rate 3320 drivers/net/wireless/intel/iwlwifi/mvm/rs.c __le32 ucode_rate_le32 = cpu_to_le32(ucode_rate); ucode_rate 3321 drivers/net/wireless/intel/iwlwifi/mvm/rs.c u8 ant = (ucode_rate & RATE_MCS_ANT_ABC_MSK) >> RATE_MCS_ANT_POS; ucode_rate 3326 drivers/net/wireless/intel/iwlwifi/mvm/rs.c if (rs_rate_from_ucode_rate(ucode_rate, band, &rate)) { ucode_rate 3357 drivers/net/wireless/intel/iwlwifi/mvm/rs.c __le32 ucode_rate; ucode_rate 3365 drivers/net/wireless/intel/iwlwifi/mvm/rs.c ucode_rate = cpu_to_le32(ucode_rate_from_rs_rate(mvm, ucode_rate 3367 drivers/net/wireless/intel/iwlwifi/mvm/rs.c rs_table[index] = ucode_rate;