]> git.ipfire.org Git - thirdparty/hostap.git/commit - src/ap/dfs.c
DFS: Mark channels required DFS based on reg-domain info from the driver
authormazumdar <mazumdar@codeaurora.org>
Fri, 13 Apr 2018 09:55:40 +0000 (15:25 +0530)
committerJouni Malinen <j@w1.fi>
Mon, 23 Apr 2018 21:35:47 +0000 (00:35 +0300)
commitd239ab39620dbc8991efcfb2eb75171ca01e118d
tree95e9498484a0e49f6b2e8ebf38d74049f7b10960
parent0f7fc6b98de9c69f511b9b22f2b65553126362eb
DFS: Mark channels required DFS based on reg-domain info from the driver

Mark a channel as required DFS based on regulatory information received
from the driver/kernel rather than deciding based on hardcoded
boundaries on the frequency. Previously few channels were being marked
as requiring DFS even though they were non-DFS in a particular country.

If the driver does not provide channel list information, fall back to
the previously used frequency-based determination.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
src/ap/dfs.c
src/ap/drv_callbacks.c
src/common/ieee802_11_common.c
src/common/ieee802_11_common.h
wpa_supplicant/ap.c
wpa_supplicant/p2p_supplicant.c