aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap/hostapd.h
diff options
context:
space:
mode:
authorVasanthakumar Thiagarajan <vthiagar@qti.qualcomm.com>2017-05-12 07:48:01 (GMT)
committerJouni Malinen <j@w1.fi>2017-05-13 17:01:44 (GMT)
commit04f667fcdde158c1baf8d99516c96d21b878b919 (patch)
treed4ccb7bd525d01ce42005ab1493665c0acd4b62c /src/ap/hostapd.h
parentaa56e36d6625f13a3eb4f986192c195d80783ec1 (diff)
downloadhostap-04f667fcdde158c1baf8d99516c96d21b878b919.zip
hostap-04f667fcdde158c1baf8d99516c96d21b878b919.tar.gz
hostap-04f667fcdde158c1baf8d99516c96d21b878b919.tar.bz2
DFS: Allow switch to DFS channel after radar detection in ETSI
This is to comply with uniform spreading requirement for ETSI domain (section 4.7.2.7 in EN 301 893 - V1.8.1). ETSI uniform spreading requires equal probability for the usable channels. The previous channel selection logic after a radar detection did not fully comply with the uniform spreading requirement for the domain by ignoring DFS channels. Consider DFS channels also during channel selection when the current DFS domain is ETSI. Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qti.qualcomm.com>
Diffstat (limited to 'src/ap/hostapd.h')
-rw-r--r--src/ap/hostapd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ap/hostapd.h b/src/ap/hostapd.h
index e7c65f7..8874933 100644
--- a/src/ap/hostapd.h
+++ b/src/ap/hostapd.h
@@ -475,6 +475,8 @@ struct hostapd_iface {
struct dl_list sta_seen; /* struct hostapd_sta_info */
unsigned int num_sta_seen;
+
+ u8 dfs_domain;
};
/* hostapd.c */