]> git.ipfire.org Git - thirdparty/hostap.git/commit
Use throughput estimate-based BSS selection with larger SNR difference
authorJouni Malinen <j@w1.fi>
Thu, 16 Feb 2017 09:09:04 +0000 (11:09 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 16 Feb 2017 10:05:10 +0000 (12:05 +0200)
commitb4d56efb1a237e4ed91de97b1615747082de7fd3
tree18a4c5f49c11375b556e005f41f4d27ac5d174d3
parent14204148781cf8e64827eae12dffacc869586073
Use throughput estimate-based BSS selection with larger SNR difference

Previously, the est_throughput comparison was done only when SNR
difference was less than 5 dB. Since the throughput estimation take into
account SNR, this can be done in more cases. For now, add a conservative
2 dB more to the difference so that any SNR difference below 7 dB
results in BSS selection based on throughput estimates.

In addition, the throughput estimates require SNR values to be
available, so separate this from the 5 GHz preference that can be done
based on either SNR or qual values.

Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/scan.c