aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/events.c
diff options
context:
space:
mode:
authorVasanthakumar Thiagarajan <vthiagar@qti.qualcomm.com>2017-05-12 07:48:00 (GMT)
committerJouni Malinen <j@w1.fi>2017-05-13 17:01:44 (GMT)
commitaa56e36d6625f13a3eb4f986192c195d80783ec1 (patch)
treee2f948173e19520b00410ccb0adb941023971d28 /wpa_supplicant/events.c
parent9cd52ac35660ef451484dffa798786374fff90ab (diff)
downloadhostap-aa56e36d6625f13a3eb4f986192c195d80783ec1.zip
hostap-aa56e36d6625f13a3eb4f986192c195d80783ec1.tar.gz
hostap-aa56e36d6625f13a3eb4f986192c195d80783ec1.tar.bz2
driver: Make DFS domain information available to core
Current DFS domain information of the driver can be used in ap/dfs to comply with DFS domain specific requirements like uniform spreading for ETSI domain. Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qti.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/events.c')
-rw-r--r--wpa_supplicant/events.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/wpa_supplicant/events.c b/wpa_supplicant/events.c
index e6f6b00..3a2ec64 100644
--- a/wpa_supplicant/events.c
+++ b/wpa_supplicant/events.c
@@ -3428,6 +3428,7 @@ static void wpa_supplicant_update_channel_list(
struct wpa_supplicant *wpa_s, struct channel_list_changed *info)
{
struct wpa_supplicant *ifs;
+ u8 dfs_domain;
/*
* To allow backwards compatibility with higher level layers that
@@ -3452,7 +3453,7 @@ static void wpa_supplicant_update_channel_list(
ifs->ifname);
free_hw_features(ifs);
ifs->hw.modes = wpa_drv_get_hw_feature_data(
- ifs, &ifs->hw.num_modes, &ifs->hw.flags);
+ ifs, &ifs->hw.num_modes, &ifs->hw.flags, &dfs_domain);
/* Restart PNO/sched_scan with updated channel list */
if (ifs->pno) {