[PATCH v2 2/2] WNM: Use standard BSS selection and enable abridged bit handling
Ben Greear
greearb at candelatech.com
Wed Sep 18 07:08:45 PDT 2024
On 9/18/24 05:39, Benjamin Berg wrote:
> From: Benjamin Berg <benjamin.berg at intel.com>
>
> Most of the logic to reject BSSs during transition has been moved into
> wnm_is_bss_excluded. In addition to this, since commit 67bf89f55442
> ("WNM: Choose the best available BSS, not just the first one") we will
> simply choose the BSS with the best throughput.
It looks like you are dropping the logic that will keep it from roaming
unless the change in estimated throughput is relatively large?
[snip]
> - if ((!target->est_throughput && !bss_in_list->est_throughput) ||
> - (target->est_throughput > bss_in_list->est_throughput &&
> - target->est_throughput - bss_in_list->est_throughput >
> - bss_in_list->est_throughput >> 4)) {
> - /* It is more than 100/16 percent better, so switch. */
> - return target;
> - }
Or is that somehow handled in the current code elsewhere?
Thanks,
Ben
--
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc http://www.candelatech.com
More information about the Hostap
mailing list