config_ssid.h File Reference

WPA Supplicant / Network configuration structures. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define WPA_CIPHER_NONE   BIT(0)
#define WPA_CIPHER_WEP40   BIT(1)
#define WPA_CIPHER_WEP104   BIT(2)
#define WPA_CIPHER_TKIP   BIT(3)
#define WPA_CIPHER_CCMP   BIT(4)
#define WPA_KEY_MGMT_IEEE8021X   BIT(0)
#define WPA_KEY_MGMT_PSK   BIT(1)
#define WPA_KEY_MGMT_NONE   BIT(2)
#define WPA_KEY_MGMT_IEEE8021X_NO_WPA   BIT(3)
#define WPA_KEY_MGMT_WPA_NONE   BIT(4)
#define WPA_PROTO_WPA   BIT(0)
#define WPA_PROTO_RSN   BIT(1)
#define WPA_AUTH_ALG_OPEN   BIT(0)
#define WPA_AUTH_ALG_SHARED   BIT(1)
#define WPA_AUTH_ALG_LEAP   BIT(2)
#define MAX_SSID_LEN   32
#define PMK_LEN   32
#define EAP_PSK_LEN   16
#define DEFAULT_EAP_WORKAROUND   ((unsigned int) -1)
#define DEFAULT_EAPOL_FLAGS
#define DEFAULT_PROTO   (WPA_PROTO_WPA | WPA_PROTO_RSN)
#define DEFAULT_KEY_MGMT   (WPA_KEY_MGMT_PSK | WPA_KEY_MGMT_IEEE8021X)
#define DEFAULT_PAIRWISE   (WPA_CIPHER_CCMP | WPA_CIPHER_TKIP)
#define DEFAULT_GROUP
#define EAPOL_FLAG_REQUIRE_KEY_UNICAST   BIT(0)
#define EAPOL_FLAG_REQUIRE_KEY_BROADCAST   BIT(1)
#define NUM_WEP_KEYS   4
#define MAX_WEP_KEY_LEN   16

Functions

int wpa_config_allowed_eap_method (struct wpa_ssid *ssid, int method)
 Check whether EAP method is allowed.


Detailed Description

WPA Supplicant / Network configuration structures.

Copyright
Copyright (c) 2003-2005, Jouni Malinen <[email protected]>
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 published by the Free Software Foundation.

Alternatively, this software may be distributed under the terms of BSD license.

See README and COPYING for more details.

Definition in file config_ssid.h.


Define Documentation

#define DEFAULT_EAPOL_FLAGS
 

Value:

(EAPOL_FLAG_REQUIRE_KEY_UNICAST | \
                             EAPOL_FLAG_REQUIRE_KEY_BROADCAST)

Definition at line 44 of file config_ssid.h.

#define DEFAULT_GROUP
 

Value:

(WPA_CIPHER_CCMP | WPA_CIPHER_TKIP | \
                       WPA_CIPHER_WEP104 | WPA_CIPHER_WEP40)

Definition at line 49 of file config_ssid.h.


Function Documentation

int wpa_config_allowed_eap_method struct wpa_ssid ssid,
int  method
 

Check whether EAP method is allowed.

Parameters:
ssid Pointer to configuration data
method EAP type
Returns:
1 = allowed EAP method, 0 = not allowed

Definition at line 1251 of file config.c.


Generated on Sat May 6 21:14:37 2006 for wpa_supplicant by  doxygen 1.4.2