Lines Matching refs:local_max_rssi
1454 u32 max_rssi = 0, local_min_rssi, local_max_rssi; in rtl88e_dm_hw_ant_div() local
1476 local_max_rssi = (main_rssi > aux_rssi) ? main_rssi : aux_rssi; in rtl88e_dm_hw_ant_div()
1477 if ((local_max_rssi > ant_div_max_rssi) && (local_max_rssi < 40)) in rtl88e_dm_hw_ant_div()
1478 ant_div_max_rssi = local_max_rssi; in rtl88e_dm_hw_ant_div()
1479 if (local_max_rssi > max_rssi) in rtl88e_dm_hw_ant_div()
1480 max_rssi = local_max_rssi; in rtl88e_dm_hw_ant_div()
1510 local_max_rssi = (main_rssi > aux_rssi) ? in rtl88e_dm_hw_ant_div()
1512 if ((local_max_rssi > ant_div_max_rssi) && in rtl88e_dm_hw_ant_div()
1513 (local_max_rssi < 40)) in rtl88e_dm_hw_ant_div()
1514 ant_div_max_rssi = local_max_rssi; in rtl88e_dm_hw_ant_div()
1515 if (local_max_rssi > max_rssi) in rtl88e_dm_hw_ant_div()
1516 max_rssi = local_max_rssi; in rtl88e_dm_hw_ant_div()