Lines Matching refs:main_rssi
1455 u32 main_rssi, aux_rssi; in rtl88e_dm_hw_ant_div() local
1460 main_rssi = (pfat_table->main_ant_cnt[i] != 0) ? in rtl88e_dm_hw_ant_div()
1464 target_ant = (main_rssi == aux_rssi) ? in rtl88e_dm_hw_ant_div()
1465 pfat_table->rx_idle_ant : ((main_rssi >= aux_rssi) ? in rtl88e_dm_hw_ant_div()
1475 main_rssi, aux_rssi); in rtl88e_dm_hw_ant_div()
1476 local_max_rssi = (main_rssi > aux_rssi) ? main_rssi : aux_rssi; in rtl88e_dm_hw_ant_div()
1482 if ((pfat_table->rx_idle_ant == MAIN_ANT) && (main_rssi == 0)) in rtl88e_dm_hw_ant_div()
1483 main_rssi = aux_rssi; in rtl88e_dm_hw_ant_div()
1485 aux_rssi = main_rssi; in rtl88e_dm_hw_ant_div()
1487 local_min_rssi = (main_rssi > aux_rssi) ? aux_rssi : main_rssi; in rtl88e_dm_hw_ant_div()
1500 main_rssi = (pfat_table->main_ant_cnt[i] != 0) ? in rtl88e_dm_hw_ant_div()
1506 target_ant = (main_rssi == aux_rssi) ? in rtl88e_dm_hw_ant_div()
1507 pfat_table->rx_idle_ant : ((main_rssi >= in rtl88e_dm_hw_ant_div()
1510 local_max_rssi = (main_rssi > aux_rssi) ? in rtl88e_dm_hw_ant_div()
1511 main_rssi : aux_rssi; in rtl88e_dm_hw_ant_div()
1519 (main_rssi == 0)) in rtl88e_dm_hw_ant_div()
1520 main_rssi = aux_rssi; in rtl88e_dm_hw_ant_div()
1523 aux_rssi = main_rssi; in rtl88e_dm_hw_ant_div()
1525 local_min_rssi = (main_rssi > aux_rssi) ? in rtl88e_dm_hw_ant_div()
1526 aux_rssi : main_rssi; in rtl88e_dm_hw_ant_div()