diff options
author | Jouni Malinen <jouni.malinen@atheros.com> | 2009-04-22 14:38:25 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-04-22 16:57:21 -0400 |
commit | 1965c85331ed29dc4fd32479ff31663e3e9a518f (patch) | |
tree | 1542f0fdf4121491671bbb604564cb4f6dd1ad58 /include/linux/nl80211.h | |
parent | ff2ba188fc5eaae529cb2ef9b127c3ca2a7df4b9 (diff) |
nl80211: Add event for authentication/association timeout
SME needs to be notified when the authentication or association
attempt times out and MLME has stopped processing in order to allow
the SME to decide what to do next.
Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/linux/nl80211.h')
-rw-r--r-- | include/linux/nl80211.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/include/linux/nl80211.h b/include/linux/nl80211.h index b6a48dd502ce..e9fd13aa79f0 100644 --- a/include/linux/nl80211.h +++ b/include/linux/nl80211.h | |||
@@ -203,8 +203,12 @@ | |||
203 | * frame, i.e., it was for the local STA and was received in correct | 203 | * frame, i.e., it was for the local STA and was received in correct |
204 | * state. This is similar to MLME-AUTHENTICATE.confirm primitive in the | 204 | * state. This is similar to MLME-AUTHENTICATE.confirm primitive in the |
205 | * MLME SAP interface (kernel providing MLME, userspace SME). The | 205 | * MLME SAP interface (kernel providing MLME, userspace SME). The |
206 | * included NL80211_ATTR_FRAME attribute contains the management frame | 206 | * included %NL80211_ATTR_FRAME attribute contains the management frame |
207 | * (including both the header and frame body, but not FCS). | 207 | * (including both the header and frame body, but not FCS). This event is |
208 | * also used to indicate if the authentication attempt timed out. In that | ||
209 | * case the %NL80211_ATTR_FRAME attribute is replaced with a | ||
210 | * %NL80211_ATTR_TIMED_OUT flag (and %NL80211_ATTR_MAC to indicate which | ||
211 | * pending authentication timed out). | ||
208 | * @NL80211_CMD_ASSOCIATE: association request and notification; like | 212 | * @NL80211_CMD_ASSOCIATE: association request and notification; like |
209 | * NL80211_CMD_AUTHENTICATE but for Association and Reassociation | 213 | * NL80211_CMD_AUTHENTICATE but for Association and Reassociation |
210 | * (similar to MLME-ASSOCIATE.request, MLME-REASSOCIATE.request, | 214 | * (similar to MLME-ASSOCIATE.request, MLME-REASSOCIATE.request, |
@@ -487,6 +491,9 @@ enum nl80211_commands { | |||
487 | * @NL80211_ATTR_FREQ_FIXED: a flag indicating the IBSS should not try to look | 491 | * @NL80211_ATTR_FREQ_FIXED: a flag indicating the IBSS should not try to look |
488 | * for other networks on different channels | 492 | * for other networks on different channels |
489 | * | 493 | * |
494 | * @NL80211_ATTR_TIMED_OUT: a flag indicating than an operation timed out; this | ||
495 | * is used, e.g., with %NL80211_CMD_AUTHENTICATE event | ||
496 | * | ||
490 | * @NL80211_ATTR_MAX: highest attribute number currently defined | 497 | * @NL80211_ATTR_MAX: highest attribute number currently defined |
491 | * @__NL80211_ATTR_AFTER_LAST: internal use | 498 | * @__NL80211_ATTR_AFTER_LAST: internal use |
492 | */ | 499 | */ |
@@ -587,6 +594,8 @@ enum nl80211_attrs { | |||
587 | NL80211_ATTR_WIPHY_FRAG_THRESHOLD, | 594 | NL80211_ATTR_WIPHY_FRAG_THRESHOLD, |
588 | NL80211_ATTR_WIPHY_RTS_THRESHOLD, | 595 | NL80211_ATTR_WIPHY_RTS_THRESHOLD, |
589 | 596 | ||
597 | NL80211_ATTR_TIMED_OUT, | ||
598 | |||
590 | /* add attributes here, update the policy in nl80211.c */ | 599 | /* add attributes here, update the policy in nl80211.c */ |
591 | 600 | ||
592 | __NL80211_ATTR_AFTER_LAST, | 601 | __NL80211_ATTR_AFTER_LAST, |