Re: mac80211 scan results, signal value not reliable

2018-02-14 Thread Johannes Berg
On Wed, 2018-02-14 at 10:10 +, Jean Pierre TOSONI wrote: > > > > However, it looks like you're right and ieee80211_bss_info_update() > > doesn't take the flag into account. Bit strange that we even have > > the flag I guess, since we treat 0 as an invalid value in various > > places, being

RE: mac80211 scan results, signal value not reliable

2018-02-14 Thread Jean Pierre TOSONI
> -Message d'origine- > De : Johannes Berg [mailto:johan...@sipsolutions.net] > Envoyé : samedi 10 février 2018 22:09 > À : Jean Pierre TOSONI; linux-wireless@vger.kernel.org > Objet : Re: mac80211 scan results, signal value not reliable > > On Thu, 2018-02-08 at 09:

Re: mac80211 scan results, signal value not reliable

2018-02-10 Thread Johannes Berg
On Thu, 2018-02-08 at 09:49 +, Jean Pierre TOSONI wrote: > In net/mac80211/scan.c, function ieee80211_bss_info_update() passes > incoming scan results to the generic wireless layer, with indication of > the received signal level, but no indication of signal validity. Well, there is an