|
@@ -40,6 +40,7 @@
|
|
|
#include "ap/hs20.h"
|
|
|
#include "ap/wnm_ap.h"
|
|
|
#include "ap/wpa_auth.h"
|
|
|
+#include "ap/beacon.h"
|
|
|
#include "wps/wps_defs.h"
|
|
|
#include "wps/wps.h"
|
|
|
#include "config_file.h"
|
|
@@ -2050,6 +2051,9 @@ static void hostapd_ctrl_iface_receive(int sock, void *eloop_ctx,
|
|
|
} else if (os_strncmp(buf, "DISABLE", 7) == 0) {
|
|
|
if (hostapd_ctrl_iface_disable(hapd->iface))
|
|
|
reply_len = -1;
|
|
|
+ } else if (os_strcmp(buf, "UPDATE_BEACON") == 0) {
|
|
|
+ if (ieee802_11_set_beacon(hapd))
|
|
|
+ reply_len = -1;
|
|
|
#ifdef CONFIG_TESTING_OPTIONS
|
|
|
} else if (os_strncmp(buf, "RADAR ", 6) == 0) {
|
|
|
if (hostapd_ctrl_iface_radar(hapd, buf + 6))
|