Home
last modified time | relevance | path

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

/linux-5.19.10/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-5.19.10/drivers/staging/rtl8192u/
Dr8192U_dm.c2357 u8 tmp_max_rssi = 0, tmp_min_rssi = 0, tmp_sec_rssi = 0; in dm_rxpath_sel_byrssi() local
2395 tmp_max_rssi = tmp_min_rssi = tmp_sec_rssi = cur_rf_rssi; in dm_rxpath_sel_byrssi()
2397 if (cur_rf_rssi >= tmp_max_rssi) { in dm_rxpath_sel_byrssi()
2398 tmp_max_rssi = cur_rf_rssi; in dm_rxpath_sel_byrssi()
2405 if (cur_rf_rssi > tmp_max_rssi) { in dm_rxpath_sel_byrssi()
2406 tmp_sec_rssi = tmp_max_rssi; in dm_rxpath_sel_byrssi()
2408 tmp_max_rssi = cur_rf_rssi; in dm_rxpath_sel_byrssi()
2410 } else if (cur_rf_rssi == tmp_max_rssi) { /* let sec and min point to the different index */ in dm_rxpath_sel_byrssi()
2413 } else if ((cur_rf_rssi < tmp_max_rssi) && (cur_rf_rssi > tmp_sec_rssi)) { in dm_rxpath_sel_byrssi()
2508 if ((tmp_max_rssi - tmp_min_rssi) >= RX_PATH_SELECTION_DIFF_TH) { in dm_rxpath_sel_byrssi()
[all …]