[PATCH] wpa_supplicant: Add an option to disable SNR capping

Krishna Chaitanya chaitanya.mgit at gmail.com
Tue Mar 19 14:18:39 PDT 2024


On Wed, Mar 20, 2024 at 2:19 AM Ben Greear <greearb at candelatech.com> wrote:
>
> 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...

Runtime is a bit trickier as the WPA supplicant maintains an
aggregated scan list (maintained
using ageing), so, if we change the criterion in between, we might
have to flush the existing
scan results and start afresh, hence went with compile time.

But I will think more about this (this was a fresh bug) while I await
any other feedback.



More information about the Hostap mailing list