aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap
diff options
context:
space:
mode:
authorDmitry Shmidt <dimitrysh@google.com>2014-09-03 14:58:37 -0700
committerDmitry Shmidt <dimitrysh@google.com>2014-09-03 15:18:01 -0700
commit0207e233ee2e741f7b2c124c1366e905ebb634c8 (patch)
treec04915519563043cdf24dbab763f9d5ffb104d97 /src/ap
parent57cea1a480975338d84f7bbc229b4dc76e030600 (diff)
downloadandroid_external_wpa_supplicant_8-0207e233ee2e741f7b2c124c1366e905ebb634c8.tar.gz
android_external_wpa_supplicant_8-0207e233ee2e741f7b2c124c1366e905ebb634c8.tar.bz2
android_external_wpa_supplicant_8-0207e233ee2e741f7b2c124c1366e905ebb634c8.zip
hostapd: Add wowlan_triggers config param
New kernels in wiphy_suspend() will call cfg80211_leave_all() that will eventually end up in cfg80211_stop_ap() unless wowlan_triggers were set. Bug: 17269024 Change-Id: I14d2191eda090cd86cabe1e5f059975fdf2f69e8 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Diffstat (limited to 'src/ap')
-rw-r--r--src/ap/ap_config.c2
-rw-r--r--src/ap/ap_config.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/ap/ap_config.c b/src/ap/ap_config.c
index bc9f6cf4..d1275509 100644
--- a/src/ap/ap_config.c
+++ b/src/ap/ap_config.c
@@ -541,6 +541,8 @@ void hostapd_config_free_bss(struct hostapd_bss_config *conf)
os_free(conf->sae_groups);
+ os_free(conf->wowlan_triggers);
+
os_free(conf->server_id);
os_free(conf);
diff --git a/src/ap/ap_config.h b/src/ap/ap_config.h
index 905aec32..2858c6ee 100644
--- a/src/ap/ap_config.h
+++ b/src/ap/ap_config.h
@@ -508,6 +508,8 @@ struct hostapd_bss_config {
unsigned int sae_anti_clogging_threshold;
int *sae_groups;
+ char *wowlan_triggers; /* Wake-on-WLAN triggers */
+
#ifdef CONFIG_TESTING_OPTIONS
u8 bss_load_test[5];
u8 bss_load_test_set;