wpa_supplicant / hostapd 2.0
Data Structures | Defines | Variables

driver_madwifi.c File Reference

WPA Supplicant - driver interaction with MADWIFI 802.11 driver. More...

#include "includes.h"
#include <sys/ioctl.h>
#include "common.h"
#include "driver.h"
#include "driver_wext.h"
#include "eloop.h"
#include "common/ieee802_11_defs.h"
#include "linux_wext.h"
#include <include/compat.h>
#include <net80211/ieee80211.h>
#include <net80211/ieee80211_crypto.h>
#include <net80211/ieee80211_ioctl.h>
#include "priv_netlink.h"
#include "netlink.h"
#include "linux_ioctl.h"
#include "l2_packet/l2_packet.h"

Data Structures

struct  madwifi_driver_data

Defines

#define WPA_KEY_RSC_LEN   8
#define madwifi_set_ap_wps_ie   NULL

Variables

struct wpa_driver_ops wpa_driver_madwifi_ops

Detailed Description

WPA Supplicant - driver interaction with MADWIFI 802.11 driver.

Copyright
Copyright (c) 2004, Sam Leffler <sam@errno.com> Copyright (c) 2004, Video54 Technologies Copyright (c) 2004-2007, 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 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.

While this driver wrapper supports both AP (hostapd) and station (wpa_supplicant) operations, the station side is deprecated and driver_wext.c should be used instead. This driver wrapper should only be used with hostapd for AP mode functionality.


Variable Documentation

struct wpa_driver_ops wpa_driver_madwifi_ops
Initial value:
 {
        .name                   = "madwifi",
        .desc                   = "MADWIFI 802.11 support (Atheros, etc.)",
        .set_key                = wpa_driver_madwifi_set_key,
        .hapd_init              = madwifi_init,
        .hapd_deinit            = madwifi_deinit,
        .set_ieee8021x          = madwifi_set_ieee8021x,
        .set_privacy            = madwifi_set_privacy,
        .get_seqnum             = madwifi_get_seqnum,
        .flush                  = madwifi_flush,
        .set_generic_elem       = madwifi_set_opt_ie,
        .sta_set_flags          = madwifi_sta_set_flags,
        .read_sta_data          = madwifi_read_sta_driver_data,
        .hapd_send_eapol        = madwifi_send_eapol,
        .sta_disassoc           = madwifi_sta_disassoc,
        .sta_deauth             = madwifi_sta_deauth,
        .hapd_set_ssid          = madwifi_set_ssid,
        .hapd_get_ssid          = madwifi_get_ssid,
        .hapd_set_countermeasures       = madwifi_set_countermeasures,
        .sta_clear_stats        = madwifi_sta_clear_stats,
        .commit                 = madwifi_commit,
        .set_ap_wps_ie          = madwifi_set_ap_wps_ie,
        .set_freq               = madwifi_set_freq,
}
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines