]> git.ipfire.org Git - thirdparty/hostap.git/commit
Adjust the SNR when comparing BSSes based on Tx power config
authorKaidong Wang <kaidong@chromium.org>
Wed, 8 Nov 2023 03:58:05 +0000 (03:58 +0000)
committerJouni Malinen <j@w1.fi>
Fri, 10 Nov 2023 14:34:01 +0000 (16:34 +0200)
commit790beb84acf82e8da89395c4d3e5e80d773432bc
tree19a2b4da68a103212c6e2f6400f19beb0a5d0b70
parentcab5f5fa7a8eddb9dadb293693e83b0071dc20cf
Adjust the SNR when comparing BSSes based on Tx power config

The max transmit power of Standard Power (SP) Access Points (AP) on
6 GHz band and APs on 2.4 GHz and 5 GHz bands is limited by effective
isotropic radiated power (EIRP), while the max transmit power of Low
Power Indoor (LPI) APs on 6 GHz Band is limited by power spectral
density (PSD). Therefore the max transmit power of LPI APs grows as the
channel width increases, similar to the noise power which has constant
PSD.

Adjust the SNR of BSSes based on the transmit power config and max
channel width. EIRP limited APs usually have constant max transmit power
on different channel widths, their SNR decreases on larger channel width
because the noise power is higher, while PSD limited APs have constant
SNR over all channel widths.

Signed-off-by: Kaidong Wang <kaidong@chromium.org>
src/drivers/driver.h
wpa_supplicant/bss.c
wpa_supplicant/bss.h
wpa_supplicant/events.c
wpa_supplicant/scan.c
wpa_supplicant/scan.h