wpa.h revision fb91fd8a302dfb13e250bbefb6a3970c2edc3ae3
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/*
* Macro and data structures defined for 802.11i.
*/
#ifndef __WPA_H
#define __WPA_H
#pragma ident "%Z%%M% %I% %E% SMI"
#include <inet/wifi_ioctl.h>
#include <sys/net80211_crypto.h>
#ifdef __cplusplus
extern "C" {
#endif
#define SERVICE_NAME "network/wpa"
#define SVC_METHOD "/usr/lib/inet/wpad"
/*
* Parameters.
*/
typedef struct wl_wpa_ie {
} wl_wpa_ie_t;
typedef struct wl_wpa {
} wl_wpa_t;
typedef struct wl_capability {
/*
* ik_keyix : should be between 0 and 3, 0 will be used as default key.
* ik_keylen: key length in bytes.
* ik_keydata and ik_keylen include the DATA key and MIC key.
*/
#pragma pack(1)
typedef struct wl_key {
} wl_key_t;
#pragma pack()
typedef struct wl_del_key {
} wl_del_key_t;
struct wpa_ess {
int freq;
};
typedef struct wl_wpa_ess {
} wl_wpa_ess_t;
/*
* structure for WL_MLME state manipulation request.
* im_reason: 802.11 reason code
*/
typedef struct wl_mlme {
} wl_mlme_t;
/*
* State machine events
*/
typedef enum {
typedef struct wl_events {
} wl_events_t;
#ifdef __cplusplus
}
#endif
#endif /* __WPA_H */