Searched refs:_alpha (Results 1 – 2 of 2) sorted by relevance
2605 …u8 _alpha = 5; /* this value is based on converging_constant = 5000 and sampling_interval = 1000 … in rtw_signal_stat_timer_hdl() local2642 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()
2023 …u8 _alpha = 3; /* this value is based on converging_constant = 5000 and sampling_interval = 1000 … in rtw_signal_stat_timer_hdl() local2046 (_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()