config.h File Reference

hostapd / Configuration file More...

#include "config_types.h"

Include dependency graph for config.h:

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

Go to the source code of this file.

Defines

#define HOSTAPD_MAX_SSID_LEN   32
#define NUM_WEP_KEYS   4
#define DYNAMIC_VLAN_DISABLED   0
#define DYNAMIC_VLAN_OPTIONAL   1
#define DYNAMIC_VLAN_REQUIRED   2
#define VLAN_ID_WILDCARD   -1
#define PMK_LEN   32
#define EAP_USER_MAX_METHODS   8
#define NUM_TX_QUEUES   8
#define HOSTAPD_MODULE_IEEE80211   BIT(0)
#define HOSTAPD_MODULE_IEEE8021X   BIT(1)
#define HOSTAPD_MODULE_RADIUS   BIT(2)
#define HOSTAPD_MODULE_WPA   BIT(3)
#define HOSTAPD_MODULE_DRIVER   BIT(4)
#define HOSTAPD_MODULE_IAPP   BIT(5)
#define HOSTAPD_MODULE_MLME   BIT(6)
#define HOSTAPD_AUTH_OPEN   BIT(0)
#define HOSTAPD_AUTH_SHARED_KEY   BIT(1)
#define HOSTAPD_WPA_VERSION_WPA   BIT(0)
#define HOSTAPD_WPA_VERSION_WPA2   BIT(1)
#define WPA_KEY_MGMT_IEEE8021X   BIT(0)
#define WPA_KEY_MGMT_PSK   BIT(1)
#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)

Typedefs

typedef u8 macaddr [ETH_ALEN]
typedef enum hostap_security_policy secpolicy

Enumerations

enum  hostap_security_policy {
  SECURITY_PLAINTEXT = 0, SECURITY_STATIC_WEP = 1, SECURITY_IEEE_802_1X = 2, SECURITY_WPA_PSK = 3,
  SECURITY_WPA = 4
}
enum  hostapd_hw_mode { HOSTAPD_MODE_IEEE80211B, HOSTAPD_MODE_IEEE80211G, HOSTAPD_MODE_IEEE80211A, NUM_HOSTAPD_MODES }

Functions

int hostapd_mac_comp (const void *a, const void *b)
int hostapd_mac_comp_empty (const void *a)
hostapd_confighostapd_config_read (const char *fname)
void hostapd_config_free (struct hostapd_config *conf)
int hostapd_maclist_found (macaddr *list, int num_entries, const u8 *addr)
int hostapd_rate_found (int *list, int rate)
int hostapd_wep_key_cmp (struct hostapd_wep_keys *a, struct hostapd_wep_keys *b)
const u8 * hostapd_get_psk (const struct hostapd_bss_config *conf, const u8 *addr, const u8 *prev_psk)
int hostapd_setup_wpa_psk (struct hostapd_bss_config *conf)
const char * hostapd_get_vlan_id_ifname (struct hostapd_vlan *vlan, int vlan_id)
const struct hostapd_eap_user * hostapd_get_eap_user (const struct hostapd_bss_config *conf, const u8 *identity, size_t identity_len, int phase2)


Detailed Description

hostapd / Configuration file

Copyright
Copyright (c) 2003-2006, 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.h.


Generated on Sun Dec 31 13:43:50 2006 for hostapd by  doxygen 1.4.2