[PATCH v2] driver_nl80211: report invalid signal and noise when info is unavailable

Otcheretianski, Andrei andrei.otcheretianski at intel.com
Wed Oct 14 04:31:07 EDT 2020


> From: Matthew Wang <matthewmwang at chromium.org>
> Sent: Tuesday, September 29, 2020 06:52
> To: Otcheretianski, Andrei <andrei.otcheretianski at intel.com>
> Cc: hostap at lists.infradead.org; Stern, Avraham <avraham.stern at intel.com>
> Subject: Re: [PATCH v2] driver_nl80211: report invalid signal and noise when
> info is unavailable
> 
> In wpa_bss_update_level, we should probably continue to check for
> new_level < 0 as well as new_level > -WPA_INVALID_NOISE.

Why? RSSI is in dbm's and 0 (and positive numbers) is a valid though unlikely value.
We even actually may get it in some conductive environments.

Andrei



More information about the Hostap mailing list