mesh: Add timer for SAE authentication in RSN mesh

Add timer to do SAE re-authentication with number of tries defined
by MESH_AUTH_RETRY and timeout defined by MESH_AUTH_TIMEOUT.

Ignoring the sending of reply message on "SAE confirm before commit"
to avoid "ping-pong" issues with other mesh nodes. This is obvious when
number of mesh nodes in MBSS reaching 6.

Signed-off-by: Chun-Yeow Yeoh <yeohchunyeow@gmail.com>
Signed-off-by: Bob Copeland <me@bobcopeland.com>
This commit is contained in:
Chun-Yeow Yeoh 2014-09-01 00:23:31 -04:00 committed by Jouni Malinen
parent c50d94f1f8
commit c596f3f083
8 changed files with 53 additions and 0 deletions

View file

@ -247,6 +247,7 @@ struct hostapd_data {
#ifdef CONFIG_MESH
int num_plinks;
int max_plinks;
void (*mesh_sta_free_cb)(struct sta_info *sta);
#endif /* CONFIG_MESH */
#ifdef CONFIG_SQLITE