#include <net/mac80211.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/netdevice.h>
#include <linux/types.h>
#include <linux/slab.h>
#include <linux/skbuff.h>
#include <linux/etherdevice.h>
#include <linux/if_arp.h>
#include <linux/rtnetlink.h>
#include <linux/bitmap.h>
#include <linux/pm_qos.h>
#include <linux/inetdevice.h>
#include <net/net_namespace.h>
#include <net/cfg80211.h>
#include "ieee80211_i.h"
#include "driver-ops.h"
#include "rate.h"
#include "mesh.h"
#include "wep.h"
#include "led.h"
#include "cfg.h"
#include "debugfs.h"
Go to the source code of this file.
ieee80211_alloc_hw - Allocate a new hardware device
This must be called once for each hardware device. The returned pointer must be used to refer to this device when calling other functions. mac80211 allocates a private data area for the driver pointed to by in &struct ieee80211_hw, the size of this area is given as .
: length of private data : callbacks for this device
Definition at line 537 of file main.c.
ieee80211_free_hw - free hardware descriptor
This function frees everything that was allocated, including the private data for the driver. You must call ieee80211_unregister_hw() before calling this function.
: the hardware to free
Definition at line 1066 of file main.c.
ieee80211_napi_complete - complete NAPI polling
Use this function to finish NAPI polling on a device.
: the hardware to stop polling
Definition at line 453 of file main.c.
ieee80211_napi_schedule - schedule NAPI poll
Use this function to schedule NAPI polling on a device.
: the hardware to start polling
Definition at line 445 of file main.c.
ieee80211_register_hw - Register hardware device
You must call this function before any other functions in mac80211. Note that before a hardware can be registered, you need to fill the contained wiphy's information.
: the device to register as returned by ieee80211_alloc_hw()
Definition at line 689 of file main.c.
ieee80211_restart_hw - restart hardware completely
Call this function when the hardware was restarted for some reason (hardware error, ...) and the driver is unable to restore its state by itself. mac80211 assumes that at this point the driver/hardware is completely uninitialised and stopped, it starts the process by calling the ->start() operation. The driver will need to reset all internal state that it has prior to calling this function.
: the hardware to restart
Definition at line 338 of file main.c.
ieee80211_unregister_hw - Unregister a hardware device
This function instructs mac80211 to free allocated resources and unregister netdevices from the networking subsystem.
: the hardware to unregister
Definition at line 1013 of file main.c.
MODULE_DESCRIPTION |
( |
"IEEE 802.11 subsystem" |
| ) |
|
module_exit |
( |
ieee80211_exit |
| ) |
|
subsys_initcall |
( |
ieee80211_init |
| ) |
|