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

Jouni Malinen j at w1.fi
Fri Dec 4 09:57:17 EST 2020

On Tue, Nov 03, 2020 at 09:54:16AM +0200, Andrei Otcheretianski wrote:
> When the driver sends a CQM RSSI threshold event, wpa_supplicant
> queries the driver for the signal and noise values. However, it
> is possible that by that time the station has already disconnected
> from the AP, so these values are no longer valid. In this case,
> indicate that these values are invalid by setting them to
> Previously a value of 0 would be reported, which may be confusing as
> this is a valid value.
> Since nl80211_get_link_signal() and nl80211_get_link_noise() already
> set invalid values for a case of failure, just use the value set by
> these functions even if they fail.

Thanks, applied.
Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list