Searched refs:_alpha (Results 1 – 2 of 2) sorted by relevance
2143 …u8 _alpha = 3; /* this value is based on converging_constant = 5000 and sampling_interval = 1000 … in rtw_signal_stat_timer_hdl() local2164 tmp_s = (avg_signal_strength+(_alpha-1)*recvpriv->signal_strength); in rtw_signal_stat_timer_hdl()2165 if (tmp_s % _alpha) in rtw_signal_stat_timer_hdl()2166 tmp_s = tmp_s/_alpha + 1; in rtw_signal_stat_timer_hdl()2168 tmp_s = tmp_s/_alpha; in rtw_signal_stat_timer_hdl()2172 tmp_q = (avg_signal_qual+(_alpha-1)*recvpriv->signal_qual); in rtw_signal_stat_timer_hdl()2173 if (tmp_q % _alpha) in rtw_signal_stat_timer_hdl()2174 tmp_q = tmp_q/_alpha + 1; in rtw_signal_stat_timer_hdl()2176 tmp_q = tmp_q/_alpha; in rtw_signal_stat_timer_hdl()
2349 u8 _alpha = 3; /* this value is based on converging_constant = 5000 */ in rtw_signal_stat_timer_hdl23a() local2382 tmp_s = (avg_signal_strength + (_alpha - 1) * in rtw_signal_stat_timer_hdl23a()2384 if (tmp_s %_alpha) in rtw_signal_stat_timer_hdl23a()2385 tmp_s = tmp_s / _alpha + 1; in rtw_signal_stat_timer_hdl23a()2387 tmp_s = tmp_s / _alpha; in rtw_signal_stat_timer_hdl23a()2391 tmp_q = (avg_signal_qual + (_alpha - 1) * in rtw_signal_stat_timer_hdl23a()2393 if (tmp_q %_alpha) in rtw_signal_stat_timer_hdl23a()2394 tmp_q = tmp_q / _alpha + 1; in rtw_signal_stat_timer_hdl23a()2396 tmp_q = tmp_q / _alpha; in rtw_signal_stat_timer_hdl23a()