Lines Matching refs:rate_v2
110 u32 rate_v2 = 0; in iwl_new_rate_from_v1() local
119 rate_v2 |= RATE_MCS_HT_MSK; in iwl_new_rate_from_v1()
120 rate_v2 |= in iwl_new_rate_from_v1()
124 rate_v2 |= nss << RATE_MCS_NSS_POS; in iwl_new_rate_from_v1()
127 rate_v2 |= rate_v1 & RATE_VHT_MCS_RATE_CODE_MSK; in iwl_new_rate_from_v1()
129 rate_v2 |= rate_v1 & RATE_VHT_MCS_MIMO2_MSK; in iwl_new_rate_from_v1()
149 rate_v2 |= he_gi_ltf << RATE_MCS_HE_GI_LTF_POS; in iwl_new_rate_from_v1()
150 rate_v2 |= he_type << RATE_MCS_HE_TYPE_POS; in iwl_new_rate_from_v1()
151 rate_v2 |= he_106t << RATE_MCS_HE_106T_POS; in iwl_new_rate_from_v1()
152 rate_v2 |= rate_v1 & RATE_HE_DUAL_CARRIER_MODE_MSK; in iwl_new_rate_from_v1()
153 rate_v2 |= RATE_MCS_HE_MSK; in iwl_new_rate_from_v1()
155 rate_v2 |= RATE_MCS_VHT_MSK; in iwl_new_rate_from_v1()
165 rate_v2 |= legacy_rate; in iwl_new_rate_from_v1()
167 rate_v2 |= RATE_MCS_LEGACY_OFDM_MSK; in iwl_new_rate_from_v1()
172 rate_v2 |= RATE_MCS_LDPC_MSK; in iwl_new_rate_from_v1()
173 rate_v2 |= (rate_v1 & RATE_MCS_CHAN_WIDTH_MSK_V1) | in iwl_new_rate_from_v1()
180 rate_v2 |= RATE_MCS_DUP_MSK; in iwl_new_rate_from_v1()
181 rate_v2 |= dup << RATE_MCS_CHAN_WIDTH_POS; in iwl_new_rate_from_v1()
186 rate_v2 |= RATE_MCS_SGI_MSK; in iwl_new_rate_from_v1()
188 return rate_v2; in iwl_new_rate_from_v1()