hostapd: Add mechanism to track unconnected stations
[mech_eap.git] / src / ap / ap_config.h
index 2e7c138..3434214 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * hostapd / Configuration definitions and helpers functions
- * Copyright (c) 2003-2012, Jouni Malinen <j@w1.fi>
+ * Copyright (c) 2003-2015, Jouni Malinen <j@w1.fi>
  *
  * This software may be distributed under the terms of the BSD license.
  * See README for more details.
@@ -15,6 +15,7 @@
 #include "common/ieee802_11_defs.h"
 #include "common/ieee802_11_common.h"
 #include "wps/wps.h"
+#include "fst/fst.h"
 
 /**
  * mesh_conf - local MBSS state and settings
@@ -329,6 +330,7 @@ struct hostapd_bss_config {
        char *private_key;
        char *private_key_passwd;
        int check_crl;
+       unsigned int tls_session_lifetime;
        char *ocsp_stapling_response;
        char *dh_file;
        char *openssl_ciphers;
@@ -543,6 +545,7 @@ struct hostapd_bss_config {
 #ifdef CONFIG_TESTING_OPTIONS
        u8 bss_load_test[5];
        u8 bss_load_test_set;
+       struct wpabuf *own_ie_override;
 #endif /* CONFIG_TESTING_OPTIONS */
 
 #define MESH_ENABLED BIT(0)
@@ -583,6 +586,9 @@ struct hostapd_config {
        int ap_table_max_size;
        int ap_table_expiration_time;
 
+       unsigned int track_sta_max_num;
+       unsigned int track_sta_max_age;
+
        char country[3]; /* first two octets: country code as described in
                          * ISO/IEC 3166-1. Third octet:
                          * ' ' (ascii 32): all environments
@@ -629,6 +635,10 @@ struct hostapd_config {
        u8 vht_oper_centr_freq_seg0_idx;
        u8 vht_oper_centr_freq_seg1_idx;
 
+#ifdef CONFIG_FST
+       struct fst_iface_cfg fst_cfg;
+#endif /* CONFIG_FST */
+
 #ifdef CONFIG_P2P
        u8 p2p_go_ctwindow;
 #endif /* CONFIG_P2P */