WPS: Added comments for main data structures

This commit is contained in:
Jouni Malinen 2008-11-28 20:50:08 +02:00
parent 398cfbf6be
commit e9ab39b444
2 changed files with 13 additions and 1 deletions

View file

@ -1,6 +1,6 @@
/*
* Wi-Fi Protected Setup
* Copyright (c) 2007, Jouni Malinen <j@w1.fi>
* Copyright (c) 2007-2008, Jouni Malinen <j@w1.fi>
*
* 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;

View file

@ -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;