[PATCH] wpa_supplicant: Add an option to disable SNR capping
Ben Greear
greearb at candelatech.com
Tue Mar 19 13:46:23 PDT 2024
On 3/19/24 13:40, Chaitanya Tata wrote:
> When selecting a network the default behaviour of WPA supplicant is to
> prefer higher throughput, it does this by capping the SNR.
>
> But in certain environments, reliability is important over throughput
> and choosing a lower SNR (thought it is greater than "Great SNR") might
> be sub-optimal.
>
> Introduce a configuration option to choose the two options (throughput
> or reliability).
Could you make this a run-time configurable instead of compile time option?
That seems a lot more flexible to me...
Thanks,
Ben
>
> Signed-off-by: Chaitanya Tata <Chaitanya.Tata at nordicsemi.no>
> ---
> wpa_supplicant/Makefile | 4 ++++
> wpa_supplicant/defconfig | 11 +++++++++++
> wpa_supplicant/scan.h | 10 ++++++++++
> 3 files changed, 25 insertions(+)
>
> diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile
> index ce1c8b2e3..dc3dbf0ca 100644
> --- a/wpa_supplicant/Makefile
> +++ b/wpa_supplicant/Makefile
> @@ -1877,6 +1877,10 @@ ifdef CONFIG_NO_TKIP
> CFLAGS += -DCONFIG_NO_TKIP
> endif
>
> +ifdef CONFIG_NW_SEL_RELIABILITY
> +CFLAGS += -DCONFIG_NW_SEL_RELIABILITY
> +endif
--
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc http://www.candelatech.com
More information about the Hostap
mailing list