Lines Matching full:ant
121 u8 ant; member
131 return iwl_mvm_bt_coex_is_ant_avail(mvm, next_col->ant); in rs_ant_allow()
192 .ant = ANT_A,
208 .ant = ANT_B,
224 .ant = ANT_A,
241 .ant = ANT_B,
258 .ant = ANT_A,
277 .ant = ANT_B,
296 .ant = ANT_AB,
312 .ant = ANT_AB,
518 iwl_rs_pretty_ant(rate->ant), rate_str ?: "BAD_RATE"); in rs_pretty_rate()
778 ucode_rate |= ((rate->ant << RATE_MCS_ANT_POS) & in ucode_rate_from_rs_rate()
854 rate->ant = (ant_msk >> RATE_MCS_ANT_POS); in rs_rate_from_ucode_rate()
938 if (!rs_is_valid_ant(valid_ant, rate->ant)) in rs_toggle_antenna()
941 new_ant_type = ant_toggle_lookup[rate->ant]; in rs_toggle_antenna()
943 while ((new_ant_type != rate->ant) && in rs_toggle_antenna()
947 if (new_ant_type == rate->ant) in rs_toggle_antenna()
950 rate->ant = new_ant_type; in rs_toggle_antenna()
1087 if (num_of_ant(rate->ant) > 1) in rs_get_lower_rate_down_column()
1088 rate->ant = first_antenna(iwl_mvm_get_valid_tx_ant(mvm)); in rs_get_lower_rate_down_column()
1104 ant_match = (b->ant == ANT_A || b->ant == ANT_B); in rs_rate_column_match()
1106 ant_match = (a->ant == b->ant); in rs_rate_column_match()
1115 if (rate->ant == ANT_A) in rs_get_column_from_rate()
1118 if (rate->ant == ANT_B) in rs_get_column_from_rate()
1125 if (rate->ant == ANT_A || rate->stbc || rate->bfer) in rs_get_column_from_rate()
1129 if (rate->ant == ANT_B) in rs_get_column_from_rate()
1617 if (!rs_is_valid_ant(valid_ants, next_col->ant)) { in rs_get_next_column()
1619 … "Skip column %d as ANT config isn't supported by chip. valid_ants 0x%x column ant 0x%x\n", in rs_get_next_column()
1620 next_col_id, valid_ants, next_col->ant); in rs_get_next_column()
1690 rate->ant = column->ant; in rs_switch_to_column()
2425 /* ANT/LDPC/STBC aren't relevant for the rate reported to userspace */ in rs_init_optimal_rate()
2511 IWL_DEBUG_RATE(mvm, "Best ANT: %s Best RSSI: %d\n", in rs_get_initial_rate()
2515 rate->ant = first_antenna(valid_tx_ant); in rs_get_initial_rate()
2517 rate->ant = best_ant; in rs_get_initial_rate()
2661 WARN_ONCE(rate->ant != ANT_A && rate->ant != ANT_B, in rs_initialize_lq()
2662 "ant: 0x%x, chains 0x%x, fw tx ant: 0x%x, nvm tx ant: 0x%x\n", in rs_initialize_lq()
2663 rate->ant, lq_sta->pers.chains, mvm->fw->valid_tx_ant, in rs_initialize_lq()
3287 u8 ant = (ucode_rate & RATE_MCS_ANT_AB_MSK) >> RATE_MCS_ANT_POS; in rs_build_rates_table_from_fixed() local
3304 if (num_of_ant(ant) == 1) in rs_build_rates_table_from_fixed()
3305 lq_cmd->single_stream_ant_msk = ant; in rs_build_rates_table_from_fixed()
3353 * rate[0] 0x400F019 VHT | ANT: AB BW: 80Mhz MCS: 9 NSS: 2 SGI
3354 * rate[1] 0x400F019 VHT | ANT: AB BW: 80Mhz MCS: 9 NSS: 2 SGI
3355 * rate[2] 0x400F018 VHT | ANT: AB BW: 80Mhz MCS: 8 NSS: 2 SGI
3356 * rate[3] 0x400F018 VHT | ANT: AB BW: 80Mhz MCS: 8 NSS: 2 SGI
3357 * rate[4] 0x400F017 VHT | ANT: AB BW: 80Mhz MCS: 7 NSS: 2 SGI
3358 * rate[5] 0x400F017 VHT | ANT: AB BW: 80Mhz MCS: 7 NSS: 2 SGI
3359 * rate[6] 0x4005007 VHT | ANT: A BW: 80Mhz MCS: 7 NSS: 1 NGI
3360 * rate[7] 0x4009006 VHT | ANT: B BW: 80Mhz MCS: 6 NSS: 1 NGI
3361 * rate[8] 0x4005005 VHT | ANT: A BW: 80Mhz MCS: 5 NSS: 1 NGI
3362 * rate[9] 0x800B Legacy | ANT: B Rate: 36 Mbps
3363 * rate[10] 0x4009 Legacy | ANT: A Rate: 24 Mbps
3364 * rate[11] 0x8007 Legacy | ANT: B Rate: 18 Mbps
3365 * rate[12] 0x4005 Legacy | ANT: A Rate: 12 Mbps
3366 * rate[13] 0x800F Legacy | ANT: B Rate: 9 Mbps
3367 * rate[14] 0x400D Legacy | ANT: A Rate: 6 Mbps
3368 * rate[15] 0x800D Legacy | ANT: B Rate: 6 Mbps
3613 num_of_ant(initial_rate->ant) == 1) in rs_fill_lq_cmd()
3614 lq_cmd->single_stream_ant_msk = initial_rate->ant; in rs_fill_lq_cmd()
3658 u8 ant = (rate & RATE_MCS_ANT_AB_MSK) >> RATE_MCS_ANT_POS; in rs_pretty_print_rate_v1() local
3667 return scnprintf(buf, bufsz, "Legacy | ANT: %s Rate: %s Mbps", in rs_pretty_print_rate_v1()
3668 iwl_rs_pretty_ant(ant), in rs_pretty_print_rate_v1()
3691 "0x%x: %s | ANT: %s BW: %s MCS: %d NSS: %d %s%s%s%s%s", in rs_pretty_print_rate_v1()
3692 rate, type, iwl_rs_pretty_ant(ant), iwl_rs_pretty_bw(bw), mcs, nss, in rs_pretty_print_rate_v1()
3801 "general: flags=0x%X mimo-d=%d s-ant=0x%x d-ant=0x%x\n", in rs_sta_dbgfs_scale_table_read()