]> git.ipfire.org Git - thirdparty/hostap.git/commit
Select AP based on estimated maximum throughput
authorJouni Malinen <j@w1.fi>
Sat, 21 Feb 2015 20:53:42 +0000 (22:53 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 22 Feb 2015 09:09:54 +0000 (11:09 +0200)
commita1b790eb9d7514d1a6e0582a07f695a1564caa59
treec919917dbcb90fa59374ffffdc8e40f0a683b887
parentab647ffea76d9e66cc7092e32124e0c9c9c367c9
Select AP based on estimated maximum throughput

This modifies the BSS selection routines to calculate SNR and estimated
throughput for each scan result and then use the estimated throughput as
a criteria for sorting the results. This extends the earlier design by
taking into account higher throughput rates if both the AP and local
device supports HT20, HT40, or VHT80. In addition, the maximum rate is
restricted based on SNR.

In practice, this gives significantly higher probability of selecting
HT/VHT APs when there are multiple BSSes in the same ESS and SNR is not
low enough to prevent higher MCS use.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/drivers/driver.h
wpa_supplicant/scan.c
wpa_supplicant/wpa_supplicant.c
wpa_supplicant/wpa_supplicant_i.h