Home
last modified time | relevance | path

Searched refs:tmp_max_rssi (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/staging/rtl8192e/rtl8192e/
Drtl_dm.c1899 u8 tmp_max_rssi = 0, tmp_min_rssi = 0, tmp_sec_rssi = 0; in _rtl92e_dm_rx_path_sel_byrssi() local
1933 tmp_max_rssi = tmp_min_rssi = tmp_sec_rssi = cur_rf_rssi; in _rtl92e_dm_rx_path_sel_byrssi()
1935 if (cur_rf_rssi >= tmp_max_rssi) { in _rtl92e_dm_rx_path_sel_byrssi()
1936 tmp_max_rssi = cur_rf_rssi; in _rtl92e_dm_rx_path_sel_byrssi()
1943 if (cur_rf_rssi > tmp_max_rssi) { in _rtl92e_dm_rx_path_sel_byrssi()
1944 tmp_sec_rssi = tmp_max_rssi; in _rtl92e_dm_rx_path_sel_byrssi()
1946 tmp_max_rssi = cur_rf_rssi; in _rtl92e_dm_rx_path_sel_byrssi()
1948 } else if (cur_rf_rssi == tmp_max_rssi) { in _rtl92e_dm_rx_path_sel_byrssi()
1951 } else if ((cur_rf_rssi < tmp_max_rssi) && in _rtl92e_dm_rx_path_sel_byrssi()
2047 if ((tmp_max_rssi - tmp_min_rssi) >= in _rtl92e_dm_rx_path_sel_byrssi()
[all …]
/Linux-v5.4/drivers/staging/rtl8192u/
Dr8192U_dm.c2363 u8 tmp_max_rssi = 0, tmp_min_rssi = 0, tmp_sec_rssi = 0; in dm_rxpath_sel_byrssi() local
2401 tmp_max_rssi = tmp_min_rssi = tmp_sec_rssi = cur_rf_rssi; in dm_rxpath_sel_byrssi()
2403 if (cur_rf_rssi >= tmp_max_rssi) { in dm_rxpath_sel_byrssi()
2404 tmp_max_rssi = cur_rf_rssi; in dm_rxpath_sel_byrssi()
2411 if (cur_rf_rssi > tmp_max_rssi) { in dm_rxpath_sel_byrssi()
2412 tmp_sec_rssi = tmp_max_rssi; in dm_rxpath_sel_byrssi()
2414 tmp_max_rssi = cur_rf_rssi; in dm_rxpath_sel_byrssi()
2416 } else if (cur_rf_rssi == tmp_max_rssi) { /* let sec and min point to the different index */ in dm_rxpath_sel_byrssi()
2419 } else if ((cur_rf_rssi < tmp_max_rssi) && (cur_rf_rssi > tmp_sec_rssi)) { in dm_rxpath_sel_byrssi()
2515 if ((tmp_max_rssi - tmp_min_rssi) >= RX_PATH_SELECTION_DIFF_TH) { in dm_rxpath_sel_byrssi()
[all …]