Allow HT to be enabled for a STA even without WMM
[wpasupplicant] / hostapd / ap.h
index 3a00845..b73bda1 100644 (file)
@@ -33,6 +33,8 @@
 #define WLAN_STA_WME BIT(9)
 #define WLAN_STA_MFP BIT(10)
 #define WLAN_STA_HT BIT(11)
+#define WLAN_STA_WPS BIT(12)
+#define WLAN_STA_MAYBE_WPS BIT(13)
 #define WLAN_STA_NONERP BIT(31)
 
 /* Maximum number of supported rates (from both Supported Rates and Extended
@@ -54,6 +56,9 @@ struct sta_info {
        unsigned int nonerp_set:1;
        unsigned int no_short_slot_time_set:1;
        unsigned int no_short_preamble_set:1;
+       unsigned int no_ht_gf_set:1;
+       unsigned int no_ht_set:1;
+       unsigned int ht_20mhz_set:1;
 
        u16 auth_alg;
        u8 previous_ap[6];
@@ -93,6 +98,16 @@ struct sta_info {
 #ifdef CONFIG_IEEE80211N
        struct ht_cap_ie ht_capabilities; /* IEEE 802.11n capabilities */
 #endif /* CONFIG_IEEE80211N */
+
+#ifdef CONFIG_IEEE80211W
+       int ping_count; /* number of pending ping requests;
+                        * 0 = no ping in progress */
+       int ping_timed_out;
+       u8 *ping_trans_id; /* buffer of WLAN_PING_TRANS_ID_LEN * ping_count
+                           * octets of pending ping transaction identifiers */
+#endif /* CONFIG_IEEE80211W */
+
+       struct wpabuf *wps_ie; /* WPS IE from (Re)Association Request */
 };