Linux Kernel
3.7.1
|
#include <linux/export.h>
#include <linux/bitops.h>
#include <linux/etherdevice.h>
#include <linux/slab.h>
#include <net/cfg80211.h>
#include <net/ip.h>
#include <net/dsfield.h>
#include "core.h"
Go to the source code of this file.
const unsigned char rfc1042_header [] __aligned | ( | 2 | ) |
|
read |
int cfg80211_can_use_iftype_chan | ( | struct cfg80211_registered_device * | rdev, |
struct wireless_dev * | wdev, | ||
enum nl80211_iftype | iftype, | ||
struct ieee80211_channel * | chan, | ||
enum cfg80211_chan_mode | chanmode | ||
) |
int cfg80211_change_iface | ( | struct cfg80211_registered_device * | rdev, |
struct net_device * | dev, | ||
enum nl80211_iftype | ntype, | ||
u32 * | flags, | ||
struct vif_params * | params | ||
) |
void cfg80211_process_rdev_events | ( | struct cfg80211_registered_device * | rdev | ) |
void cfg80211_process_wdev_events | ( | struct wireless_dev * | wdev | ) |
void cfg80211_upload_connect_keys | ( | struct wireless_dev * | wdev | ) |
int cfg80211_validate_beacon_int | ( | struct cfg80211_registered_device * | rdev, |
u32 | beacon_int | ||
) |
int cfg80211_validate_key_settings | ( | struct cfg80211_registered_device * | rdev, |
struct key_params * | params, | ||
int | key_idx, | ||
bool | pairwise, | ||
const u8 * | mac_addr | ||
) |
EXPORT_SYMBOL | ( | ieee80211_get_response_rate | ) |
EXPORT_SYMBOL | ( | ieee80211_channel_to_frequency | ) |
EXPORT_SYMBOL | ( | ieee80211_frequency_to_channel | ) |
EXPORT_SYMBOL | ( | __ieee80211_get_channel | ) |
EXPORT_SYMBOL | ( | ieee80211_hdrlen | ) |
EXPORT_SYMBOL | ( | ieee80211_get_hdrlen_from_skb | ) |
EXPORT_SYMBOL | ( | ieee80211_get_mesh_hdrlen | ) |
EXPORT_SYMBOL | ( | ieee80211_data_to_8023 | ) |
EXPORT_SYMBOL | ( | ieee80211_data_from_8023 | ) |
EXPORT_SYMBOL | ( | ieee80211_amsdu_to_8023s | ) |
EXPORT_SYMBOL | ( | cfg80211_classify8021d | ) |
EXPORT_SYMBOL | ( | ieee80211_bss_get_ie | ) |
EXPORT_SYMBOL | ( | cfg80211_calculate_bitrate | ) |
EXPORT_SYMBOL | ( | rfc1042_header | ) |
EXPORT_SYMBOL | ( | bridge_tunnel_header | ) |
void ieee80211_amsdu_to_8023s | ( | struct sk_buff * | skb, |
struct sk_buff_head * | list, | ||
const u8 * | addr, | ||
enum nl80211_iftype | iftype, | ||
const unsigned int | extra_headroom, | ||
bool | has_80211_header | ||
) |
ieee80211_amsdu_to_8023s - decode an IEEE 802.11n A-MSDU frame
Decode an IEEE 802.11n A-MSDU frame and convert it to a list of 802.3 frames. The will be empty if the decode fails. The is consumed after the function returns.
: The input IEEE 802.11n A-MSDU frame. : The output list of 802.3 frames. It must be allocated and initialized by by the caller. : The device MAC address. : The device interface type. : The hardware extra headroom for SKBs in the . : Set it true if SKB is with IEEE 802.11 header.
const u8* ieee80211_bss_get_ie | ( | struct cfg80211_bss * | bss, |
u8 | ie | ||
) |
int ieee80211_channel_to_frequency | ( | int | chan, |
enum ieee80211_band | band | ||
) |
DOC: Data path helpers
In addition to generic utilities, cfg80211 also offers functions that help implement the data path for devices that do not do the 802.11/802.3 conversion on the device. ieee80211_data_to_8023 - convert an 802.11 data frame to 802.3 : the 802.11 data frame : the device MAC address : the virtual interface type
ieee80211_get_hdrlen_from_skb - get header length from data
Given an skb with a raw 802.11 header at the data pointer this function returns the 802.11 header length in bytes (not including encryption headers). If the data in the sk_buff is too short to contain a valid 802.11 header the function returns 0.
: the frame
unsigned int ieee80211_get_mesh_hdrlen | ( | struct ieee80211s_hdr * | meshhdr | ) |
|
read |
ieee80211_get_response_rate - get basic rate for a given rate
: the band to look for rates in : bitmap of basic rates : the bitrate for which to find the basic rate
This function returns the basic rate corresponding to a given bitrate, that is the next lower bitrate contained in the basic rate map, which is, for this function, given as a bitmap of indices of rates in the band's bitrate table.
unsigned int __attribute_const__ ieee80211_hdrlen | ( | __le16 | fc | ) |