Re: [PATCH 1/2] hostapd: dfs: allow switch to available channel

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

 



pt., 9 paź 2020 o 10:37 Jouni Malinen <j@xxxxx> napisał(a):
>
> On Sat, Oct 03, 2020 at 02:00:12PM +0200, Janusz Dziedzic wrote:
> > For EU, where preCAC is allowed, we should
> > allow switch to DFS available channels, instead
> > of restart BSS.
>
> Could you please clarify how this is supposed to work in regulatory
> domains that do not allow previously done CAC results to be used? The
> test case added in 2/2 seems to pass even if running the AP with country
> US or CA..
>

Test itself choose/force EU country and expect AP-CSA-FINISHED
+        # Toggle regulatory - clean all preCAC
+        hostapd.cmd_execute(apdev[0], ['iw', 'reg', 'set', "US"])
+
+        hapd = start_dfs_ap(apdev[0], country="PL")

I can add negative test also, where will set (we could pass country as a param)
hapd = start_dfs_ap(apdev[0], country="US")
and will expect fail - (we will not get AP-CSA-FINISHED - while AP
will be restarted).

BR
Janusz

_______________________________________________
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