diff options
author | Jouni Malinen <j@w1.fi> | 2009-01-08 06:32:09 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-01-29 16:00:07 -0500 |
commit | 63a5ab82255a4ff5d0783f16427210f1d45d7ec8 (patch) | |
tree | b10fe227645c9c4c6ee044a1873e0aad34c3a016 /net/mac80211/ieee80211_i.h | |
parent | 97ebe12a035e11f8af7a06a34f4d848f9b2f0b49 (diff) |
mac80211: 802.11w - Implement Association Comeback processing
When MFP is enabled, the AP does not allow a STA to associate if an
existing security association exists without first going through SA
Query process. When this happens, the association request is denied
with a new status code ("temporarily rejected") ans Association
Comeback IE is used to notify when the association may be tried again
(i.e., when the SA Query procedure has timed out).
Use the comeback time to update the mac80211 client MLME timer for
next association attempt to minimize waiting time if association is
temporarily rejected.
Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r-- | net/mac80211/ieee80211_i.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index 212c732fbba7..9112c5247c35 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h | |||
@@ -820,6 +820,7 @@ struct ieee802_11_elems { | |||
820 | u8 *country_elem; | 820 | u8 *country_elem; |
821 | u8 *pwr_constr_elem; | 821 | u8 *pwr_constr_elem; |
822 | u8 *quiet_elem; /* first quite element */ | 822 | u8 *quiet_elem; /* first quite element */ |
823 | u8 *assoc_comeback; | ||
823 | 824 | ||
824 | /* length of them, respectively */ | 825 | /* length of them, respectively */ |
825 | u8 ssid_len; | 826 | u8 ssid_len; |
@@ -847,6 +848,7 @@ struct ieee802_11_elems { | |||
847 | u8 pwr_constr_elem_len; | 848 | u8 pwr_constr_elem_len; |
848 | u8 quiet_elem_len; | 849 | u8 quiet_elem_len; |
849 | u8 num_of_quiet_elem; /* can be more the one */ | 850 | u8 num_of_quiet_elem; /* can be more the one */ |
851 | u8 assoc_comeback_len; | ||
850 | }; | 852 | }; |
851 | 853 | ||
852 | static inline struct ieee80211_local *hw_to_local( | 854 | static inline struct ieee80211_local *hw_to_local( |