Lines Matching refs:main_rssi
1481 u32 main_rssi, aux_rssi; in rtl88e_dm_hw_ant_div() local
1486 main_rssi = (pfat_table->main_ant_cnt[i] != 0) ? in rtl88e_dm_hw_ant_div()
1490 target_ant = (main_rssi == aux_rssi) ? in rtl88e_dm_hw_ant_div()
1491 pfat_table->rx_idle_ant : ((main_rssi >= aux_rssi) ? in rtl88e_dm_hw_ant_div()
1501 main_rssi, aux_rssi); in rtl88e_dm_hw_ant_div()
1502 local_max_rssi = (main_rssi > aux_rssi) ? main_rssi : aux_rssi; in rtl88e_dm_hw_ant_div()
1508 if ((pfat_table->rx_idle_ant == MAIN_ANT) && (main_rssi == 0)) in rtl88e_dm_hw_ant_div()
1509 main_rssi = aux_rssi; in rtl88e_dm_hw_ant_div()
1511 aux_rssi = main_rssi; in rtl88e_dm_hw_ant_div()
1513 local_min_rssi = (main_rssi > aux_rssi) ? aux_rssi : main_rssi; in rtl88e_dm_hw_ant_div()
1526 main_rssi = (pfat_table->main_ant_cnt[i] != 0) ? in rtl88e_dm_hw_ant_div()
1532 target_ant = (main_rssi == aux_rssi) ? in rtl88e_dm_hw_ant_div()
1533 pfat_table->rx_idle_ant : ((main_rssi >= in rtl88e_dm_hw_ant_div()
1536 local_max_rssi = (main_rssi > aux_rssi) ? in rtl88e_dm_hw_ant_div()
1537 main_rssi : aux_rssi; in rtl88e_dm_hw_ant_div()
1545 (main_rssi == 0)) in rtl88e_dm_hw_ant_div()
1546 main_rssi = aux_rssi; in rtl88e_dm_hw_ant_div()
1549 aux_rssi = main_rssi; in rtl88e_dm_hw_ant_div()
1551 local_min_rssi = (main_rssi > aux_rssi) ? in rtl88e_dm_hw_ant_div()
1552 aux_rssi : main_rssi; in rtl88e_dm_hw_ant_div()