Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/staging/rtl8723bs/core/
Drtw_recv.c2605 …u8 _alpha = 5; /* this value is based on converging_constant = 5000 and sampling_interval = 1000 … in rtw_signal_stat_timer_hdl() local
2642 tmp_s = (avg_signal_strength+(_alpha-1)*recvpriv->signal_strength); in rtw_signal_stat_timer_hdl()
2643 if (tmp_s % _alpha) in rtw_signal_stat_timer_hdl()
2644 tmp_s = tmp_s/_alpha + 1; in rtw_signal_stat_timer_hdl()
2646 tmp_s = tmp_s/_alpha; in rtw_signal_stat_timer_hdl()
2650 tmp_q = (avg_signal_qual+(_alpha-1)*recvpriv->signal_qual); in rtw_signal_stat_timer_hdl()
2651 if (tmp_q % _alpha) in rtw_signal_stat_timer_hdl()
2652 tmp_q = tmp_q/_alpha + 1; in rtw_signal_stat_timer_hdl()
2654 tmp_q = tmp_q/_alpha; in rtw_signal_stat_timer_hdl()
/Linux-v4.19/drivers/staging/rtl8188eu/core/
Drtw_recv.c2023 …u8 _alpha = 3; /* this value is based on converging_constant = 5000 and sampling_interval = 1000 … in rtw_signal_stat_timer_hdl() local
2046 (_alpha - 1) * recvpriv->signal_strength; in rtw_signal_stat_timer_hdl()
2047 tmp_s = DIV_ROUND_UP(tmp_s, _alpha); in rtw_signal_stat_timer_hdl()
2052 (_alpha - 1) * recvpriv->signal_qual; in rtw_signal_stat_timer_hdl()
2053 tmp_q = DIV_ROUND_UP(tmp_q, _alpha); in rtw_signal_stat_timer_hdl()