Re: [PATCH v2 03/12] mesh: Allow DFS channels to be selected if dfs is enabled

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

 



On Tue, Jun 30, 2020 at 02:18:58PM +0200, Markus Theil wrote:
> From: Peter Oh <peter.oh@xxxxxxxxxxxxxxxxx>
> 
> Note: DFS is assumed to be usable if a country code has been set

> diff --git a/wpa_supplicant/wpa_supplicant.c b/wpa_supplicant/wpa_supplicant.c
> @@ -2356,6 +2356,8 @@ void ibss_mesh_setup_freq(struct wpa_supplicant *wpa_s,
>  	int chwidth, seg0, seg1;
>  	u32 vht_caps = 0;
>  	int is_24ghz;
> +	int dfs_enabled = wpa_s->conf->country[0] &&
> +			 (wpa_s->drv_flags & WPA_DRIVER_FLAGS_RADAR);
...

The commit message seems to imply that this is a change specifically for
mesh, but this function is used both both IBSS and mesh.. Furthermore,
that WPA_DRIVER_FLAGS_RADAR was added for AP mode DFS/radar detection.
Is it clear that all drivers that support radar detection for AP mode
also support it for IBSS and mesh?

-- 
Jouni Malinen                                            PGP id EFC895FA

_______________________________________________
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