Re: [PATCH] supplicant: Allow simple bgscan to do btm queries.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/5/23 09:55, Jouni Malinen wrote:
On Thu, Jun 08, 2023 at 04:54:01PM -0700, greearb@xxxxxxxxxxxxxxx wrote:
Allow doing X bss_transition_mgmt_query calls before falling back to
scan.

Example format to do 4 btm before attempting a scan: bgscan="simple:30:-65:300:4"

diff --git a/wpa_supplicant/bgscan_simple.c b/wpa_supplicant/bgscan_simple.c
@@ -36,6 +40,22 @@ static void bgscan_simple_timeout(void *eloop_ctx, void *timeout_ctx)
+	if (data->use_wnm_query && !wpa_s->conf->disable_btm) {

wnm_query is a misleading name since WNM includes much more than just
BTM.. btm_query would be clearer.

This should check whether the current AP supports BTM before deciding to
use BTM queries instead of scans.

Any hints on how to tell if AP supports BTM or not?  I didn't see anything
obvious when digging through the code.

Thanks,
Ben

--
Ben Greear <greearb@xxxxxxxxxxxxxxx>
Candela Technologies Inc  http://www.candelatech.com

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux