Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/staging/rtl8192e/rtl8192e/
Drtl_dm.c1908 u8 tmp_max_rssi = 0, tmp_min_rssi = 0, tmp_sec_rssi = 0; in _rtl92e_dm_rx_path_sel_byrssi() local
1942 tmp_max_rssi = tmp_min_rssi = tmp_sec_rssi = cur_rf_rssi; in _rtl92e_dm_rx_path_sel_byrssi()
1944 if (cur_rf_rssi >= tmp_max_rssi) { in _rtl92e_dm_rx_path_sel_byrssi()
1945 tmp_max_rssi = cur_rf_rssi; in _rtl92e_dm_rx_path_sel_byrssi()
1952 if (cur_rf_rssi > tmp_max_rssi) { in _rtl92e_dm_rx_path_sel_byrssi()
1953 tmp_sec_rssi = tmp_max_rssi; in _rtl92e_dm_rx_path_sel_byrssi()
1955 tmp_max_rssi = cur_rf_rssi; in _rtl92e_dm_rx_path_sel_byrssi()
1957 } else if (cur_rf_rssi == tmp_max_rssi) { in _rtl92e_dm_rx_path_sel_byrssi()
1960 } else if ((cur_rf_rssi < tmp_max_rssi) && in _rtl92e_dm_rx_path_sel_byrssi()
2061 if ((tmp_max_rssi - tmp_min_rssi) >= in _rtl92e_dm_rx_path_sel_byrssi()
[all …]
/Linux-v4.19/drivers/staging/rtl8192u/
Dr8192U_dm.c2404 u8 tmp_max_rssi = 0, tmp_min_rssi = 0, tmp_sec_rssi = 0; in dm_rxpath_sel_byrssi() local
2442 tmp_max_rssi = tmp_min_rssi = tmp_sec_rssi = cur_rf_rssi; in dm_rxpath_sel_byrssi()
2444 if (cur_rf_rssi >= tmp_max_rssi) { in dm_rxpath_sel_byrssi()
2445 tmp_max_rssi = cur_rf_rssi; in dm_rxpath_sel_byrssi()
2452 if (cur_rf_rssi > tmp_max_rssi) { in dm_rxpath_sel_byrssi()
2453 tmp_sec_rssi = tmp_max_rssi; in dm_rxpath_sel_byrssi()
2455 tmp_max_rssi = cur_rf_rssi; in dm_rxpath_sel_byrssi()
2457 } else if (cur_rf_rssi == tmp_max_rssi) { /* let sec and min point to the different index */ in dm_rxpath_sel_byrssi()
2460 } else if ((cur_rf_rssi < tmp_max_rssi) && (cur_rf_rssi > tmp_sec_rssi)) { in dm_rxpath_sel_byrssi()
2557 if ((tmp_max_rssi - tmp_min_rssi) >= RX_PATH_SELECTION_DIFF_TH) { in dm_rxpath_sel_byrssi()
[all …]