Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/wireless/ralink/rt2x00/
Drt2x00link.c112 int rssi_curr; in rt2x00lib_antenna_diversity_eval() local
121 rssi_curr = rt2x00link_antenna_get_link_rssi(rt2x00dev); in rt2x00lib_antenna_diversity_eval()
123 rt2x00link_antenna_update_rssi_history(rt2x00dev, rssi_curr); in rt2x00lib_antenna_diversity_eval()
134 if (abs(rssi_curr - rssi_old) < 5) in rt2x00lib_antenna_diversity_eval()
/linux-6.12.1/drivers/net/wireless/realtek/rtw89/
Dphy.c4636 unsigned long rssi_curr; in rtw89_phy_stat_rssi_update_iter() local
4638 rssi_curr = ewma_rssi_read(&rtwsta->avg_rssi); in rtw89_phy_stat_rssi_update_iter()
4640 if (rssi_curr < ch_info->rssi_min) { in rtw89_phy_stat_rssi_update_iter()
4641 ch_info->rssi_min = rssi_curr; in rtw89_phy_stat_rssi_update_iter()
4646 rtwsta->prev_rssi = rssi_curr; in rtw89_phy_stat_rssi_update_iter()
4647 } else if (abs((int)rtwsta->prev_rssi - (int)rssi_curr) > (3 << RSSI_FACTOR)) { in rtw89_phy_stat_rssi_update_iter()
4648 rtwsta->prev_rssi = rssi_curr; in rtw89_phy_stat_rssi_update_iter()