[PATCH v2 1/3] mac80211: fix mesh moving average stuck

2017-01-31 Thread Rajkumar Manoharan
As moving average is not considering fractional part after certain ratio, it will stuck at the same state. For example with current values, moving average stuck at 96 and it will not move forward. Fortunately current threshold is matching against 95%. If thresold is increased more than 96, mesh pat

Re: [PATCH v2 1/3] mac80211: fix mesh moving average stuck

2017-02-08 Thread Johannes Berg
On Tue, 2017-01-31 at 12:07 -0800, Rajkumar Manoharan wrote: > As moving average is not considering fractional part after > certain ratio, it will stuck at the same state. For example > with current values, moving average stuck at 96 and it will > not move forward. Fortunately current threshold is