summaryrefslogtreecommitdiffstats
path: root/crypto/algif_aead.c
diff options
context:
space:
mode:
authorSara Sharon2015-06-03 09:44:17 +0200
committerJohannes Berg2015-06-09 21:51:59 +0200
commit74d803b6021f7a1cb06363cd9f65dbdf4fcf35e7 (patch)
treef72c77ce73d60ac01cac7c1c09b8c0b6afc960c6 /crypto/algif_aead.c
parentmac80211: release channel on auth failure (diff)
downloadkernel-qcow2-linux-74d803b6021f7a1cb06363cd9f65dbdf4fcf35e7.tar.gz
kernel-qcow2-linux-74d803b6021f7a1cb06363cd9f65dbdf4fcf35e7.tar.xz
kernel-qcow2-linux-74d803b6021f7a1cb06363cd9f65dbdf4fcf35e7.zip
mac80211: ignore invalid scan RSSI values
Channels in 2.4GHz band overlap, this means that if we send a probe request on channel 1 and then move to channel 2, we will hear the probe response on channel 2. In this case, the RSSI will be lower than if we had heard it on the channel on which it was sent (1 in this case). The scan result ignores those invalid values and the station last signal should not be updated as well. In case the scan determines the signal to be invalid turn on the flag so the station last signal will not be updated with the value and thus user space probing for NL80211_STA_INFO_SIGNAL and NL80211_STA_INFO_SIGNAL_AVG will not get this invalid RSSI value. Signed-off-by: Sara Sharon <sara.sharon@intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'crypto/algif_aead.c')
0 files changed, 0 insertions, 0 deletions