]> git.ipfire.org Git - thirdparty/hostap.git/commit
OCE: Use RSSI of actual BSS which rejected association
authorAnkita Bajaj <bankita@codeaurora.org>
Wed, 22 May 2019 06:59:45 +0000 (12:29 +0530)
committerJouni Malinen <j@w1.fi>
Fri, 31 May 2019 13:52:10 +0000 (16:52 +0300)
commita8391db7cfce796bea2acf6e64aad5c314da31b0
tree43ca61f00251e3231f1c3c73060d6f89d91dc75a
parentbc4d7dfc5a8992d83dcf074b25eccd7ec2ace89f
OCE: Use RSSI of actual BSS which rejected association

If an AP rejects association due to low RSSI, then RSSI of the BSS from
which association reject is received shall be used for calculating RSSI
threshold at which STA can try connecting back to that BSS later. In
case of SME offload, the current_bss might not have been set before
receiving association completion, so fetch the BSS entry based on the
BSSID provided in the driver event.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
wpa_supplicant/events.c