[PATCH v2 5/5] PR: Prefer higher band when selecting best channel at equal bandwidth
Jouni Malinen
j at w1.fi
Sun Aug 2 01:35:03 PDT 2026
On Fri, Jul 31, 2026 at 03:22:27PM +0530, Peddolla Harshavardhan Reddy wrote:
> Currently pr_choose_best_channel() picks the first channel it finds
> with the highest bandwidth, with no tiebreaker when two op classes
> offer the same bandwidth on different bands.
>
> Add pr_op_class_band_priority() as a tiebreaker so that among op
> classes with equal bandwidth a higher-band channel is preferred
> (6 GHz > 5 GHz > 2.4 GHz). Higher bands usually provide higher
> throughput due to less congestion and interference compared to the
> 2.4 GHz band, making them a more suitable choice for ranging when
> bandwidth is equal.
Why is 6 GHz better than 5 GHz here? That commit message is just
pointing out that 5 or 6 GHz bands would likely be better than 2.4 GHz.
--
Jouni Malinen PGP id EFC895FA
More information about the Hostap
mailing list