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. For now, use the parameters from the station mode as-is. It may be desirable to extend (or constraint) this in the future for specific AP mode needs. Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
This commit is contained in:
parent
f03996565a
commit
88cb27c7a5
7 changed files with 102 additions and 61 deletions
|
@ -542,6 +542,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);
|
||||
|
|
|
@ -535,6 +535,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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue