mac80211: parse Timeout Interval Element using a struct
[carl9170fw.git] / include / linux / ieee80211.h
index ea446085e17abeb175eaa2479eedd55d885bebb0..805364f81634321202c7e55ce6dd84f96c359360 100644 (file)
@@ -1939,6 +1939,16 @@ enum ieee80211_timeout_interval_type {
        WLAN_TIMEOUT_ASSOC_COMEBACK = 3 /* 802.11w */,
 };
 
+/**
+ * struct ieee80211_timeout_interval_ie - Timeout Interval element
+ * @type: type, see &enum ieee80211_timeout_interval_type
+ * @value: timeout interval value
+ */
+struct ieee80211_timeout_interval_ie {
+       u8 type;
+       __le32 value;
+} __packed;
+
 /* BACK action code */
 enum ieee80211_back_actioncode {
        WLAN_ACTION_ADDBA_REQ = 0,