From: Jouni Malinen Date: Fri, 28 Nov 2008 18:50:08 +0000 (+0200) Subject: WPS: Added comments for main data structures X-Git-Tag: hostap_0_6_7~182 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e9ab39b4446e10fe3502c741973ba36ec45de7c4;p=thirdparty%2Fhostap.git WPS: Added comments for main data structures --- diff --git a/src/wps/wps.h b/src/wps/wps.h index 3965acb17..0d08e1acd 100644 --- a/src/wps/wps.h +++ b/src/wps/wps.h @@ -1,6 +1,6 @@ /* * Wi-Fi Protected Setup - * Copyright (c) 2007, Jouni Malinen + * Copyright (c) 2007-2008, Jouni Malinen * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as @@ -91,6 +91,12 @@ struct wps_registrar_config { }; +/** + * struct wps_context - Long term WPS context data + * + * This data is stored at the higher layer Authenticator or Supplicant data + * structures and it is maintained over multiple registration protocol runs. + */ struct wps_context { int ap; struct wps_registrar *registrar; diff --git a/src/wps/wps_i.h b/src/wps/wps_i.h index 806ba9fc2..8d6242b93 100644 --- a/src/wps/wps_i.h +++ b/src/wps/wps_i.h @@ -18,6 +18,12 @@ #include "wps.h" #include "wps_defs.h" +/** + * struct wps_data - WPS registration protocol data + * + * This data is stored at the EAP-WSC server/peer method and it is kept for a + * single registration protocol run. + */ struct wps_data { int authenticator; struct wps_context *wps;