]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: cfg80211: skip indicating signal for per-STA profile BSSs
authorVeerendranath Jakkam <quic_vjakkam@quicinc.com>
Wed, 4 Sep 2024 03:09:16 +0000 (08:39 +0530)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 6 Sep 2024 10:56:33 +0000 (12:56 +0200)
commitbff93c89ab19886e17f0a86ea59f2e37141f2ab6
tree45ff9147ad6489fb3f2db6c15d43cfbcb9b6aa75
parent0fdcc994a42cf1306bc0e9ca6c9adeec657f5f02
wifi: cfg80211: skip indicating signal for per-STA profile BSSs

Currently signal of the BSS entry generated from the per-STA profile
indicated as zero, but userspace may consider it as high signal
strength since 0 dBm is a valid RSSI value.

To avoid this don't report the signal to userspace when the BSS entry
created from a per-STA profile.

Signed-off-by: Veerendranath Jakkam <quic_vjakkam@quicinc.com>
Link: https://patch.msgid.link/20240904030917.3602369-3-quic_vjakkam@quicinc.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/core.h
net/wireless/nl80211.c
net/wireless/scan.c