Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Enumerations | Functions | Variables
ieee80211_i.h File Reference
#include <linux/kernel.h>
#include <linux/device.h>
#include <linux/if_ether.h>
#include <linux/interrupt.h>
#include <linux/list.h>
#include <linux/netdevice.h>
#include <linux/skbuff.h>
#include <linux/workqueue.h>
#include <linux/types.h>
#include <linux/spinlock.h>
#include <linux/etherdevice.h>
#include <linux/leds.h>
#include <linux/idr.h>
#include <net/ieee80211_radiotap.h>
#include <net/cfg80211.h>
#include <net/mac80211.h>
#include "key.h"
#include "sta_info.h"
#include "debug.h"

Go to the source code of this file.

Data Structures

struct  ieee80211_fragment_entry
 
struct  ieee80211_bss
 
struct  ieee80211_tx_data
 
struct  ieee80211_rx_data
 
struct  beacon_data
 
struct  probe_resp
 
struct  ieee80211_if_ap
 
struct  ieee80211_if_wds
 
struct  ieee80211_if_vlan
 
struct  mesh_stats
 
struct  mesh_preq_queue
 
struct  ieee80211_roc_work
 
struct  ieee80211_mgd_auth_data
 
struct  ieee80211_mgd_assoc_data
 
struct  ieee80211_if_managed
 
struct  ieee80211_if_ibss
 
struct  ieee80211_mesh_sync_ops
 
struct  ieee80211_if_mesh
 
struct  ieee80211_sub_if_data
 
struct  skb_eosp_msg_data
 
struct  ieee80211_local
 
struct  ieee80211_ra_tid
 
struct  ieee802_11_elems
 

Macros

#define AP_MAX_BC_BUFFER   128
 
#define TOTAL_MAX_TX_BUFFER   512
 
#define IEEE80211_ENCRYPT_HEADROOM   8
 
#define IEEE80211_ENCRYPT_TAILROOM   18
 
#define IEEE80211_FRAGMENT_MAX   4
 
#define TU_TO_JIFFIES(x)   (usecs_to_jiffies((x) * 1024))
 
#define TU_TO_EXP_TIME(x)   (jiffies + TU_TO_JIFFIES(x))
 
#define IEEE80211_DEFAULT_UAPSD_QUEUES   IEEE80211_WMM_IE_STA_QOSINFO_AC_VO
 
#define IEEE80211_DEFAULT_MAX_SP_LEN   IEEE80211_WMM_IE_STA_QOSINFO_SP_ALL
 
#define IEEE80211_DEAUTH_FRAME_LEN   (24 /* hdr */ + 2 /* reason */)
 
#define IEEE80211_MAX_SUPP_RATES   32
 
#define TX_CONTINUE   ((__force ieee80211_tx_result) 0u)
 
#define TX_DROP   ((__force ieee80211_tx_result) 1u)
 
#define TX_QUEUED   ((__force ieee80211_tx_result) 2u)
 
#define IEEE80211_TX_UNICAST   BIT(1)
 
#define IEEE80211_TX_PS_BUFFERED   BIT(2)
 
#define RX_CONTINUE   ((__force ieee80211_rx_result) 0u)
 
#define RX_DROP_UNUSABLE   ((__force ieee80211_rx_result) 1u)
 
#define RX_DROP_MONITOR   ((__force ieee80211_rx_result) 2u)
 
#define RX_QUEUED   ((__force ieee80211_rx_result) 3u)
 
#define PREQ_Q_F_START   0x1
 
#define PREQ_Q_F_REFRESH   0x2
 
#define IEEE80211_ROC_MIN_LEFT   1
 
#define IEEE80211_IFSTA_MESH_CTR_INC(msh, name)   do { } while (0)
 
#define IEEE80211_IRQSAFE_QUEUE_LIMIT   128
 
#define I802_DEBUG_INC(c)   do { } while (0)
 
#define debug_noinline
 

Typedefs

typedef unsigned __bitwise__ ieee80211_tx_result
 
typedef unsigned __bitwise__ ieee80211_rx_result
 

Enumerations

enum  ieee80211_bss_corrupt_data_flags { IEEE80211_BSS_CORRUPT_BEACON = BIT(0), IEEE80211_BSS_CORRUPT_PROBE_RESP = BIT(1) }
 
enum  ieee80211_bss_valid_data_flags { IEEE80211_BSS_VALID_DTIM = BIT(0), IEEE80211_BSS_VALID_WMM = BIT(1), IEEE80211_BSS_VALID_RATES = BIT(2), IEEE80211_BSS_VALID_ERP = BIT(3) }
 
enum  ieee80211_packet_rx_flags {
  IEEE80211_RX_RA_MATCH = BIT(1), IEEE80211_RX_FRAGMENTED = BIT(2), IEEE80211_RX_AMSDU = BIT(3), IEEE80211_RX_MALFORMED_ACTION_FRM = BIT(4),
  IEEE80211_RX_DEFERRED_RELEASE = BIT(5)
}
 
enum  ieee80211_rx_flags { IEEE80211_RX_CMNTR = BIT(0), IEEE80211_RX_BEACON_REPORTED = BIT(1) }
 
enum  ieee80211_sta_flags {
  IEEE80211_STA_BEACON_POLL = BIT(0), IEEE80211_STA_CONNECTION_POLL = BIT(1), IEEE80211_STA_CONTROL_PORT = BIT(2), IEEE80211_STA_DISABLE_11N = BIT(4),
  IEEE80211_STA_CSA_RECEIVED = BIT(5), IEEE80211_STA_MFP_ENABLED = BIT(6), IEEE80211_STA_UAPSD_ENABLED = BIT(7), IEEE80211_STA_NULLFUNC_ACKED = BIT(8),
  IEEE80211_STA_RESET_SIGNAL_AVE = BIT(9), IEEE80211_STA_DISABLE_40MHZ = BIT(10), IEEE80211_STA_DISABLE_VHT = BIT(11)
}
 
enum  ieee80211_sub_if_data_flags {
  IEEE80211_SDATA_ALLMULTI = BIT(0), IEEE80211_SDATA_PROMISC = BIT(1), IEEE80211_SDATA_OPERATING_GMODE = BIT(2), IEEE80211_SDATA_DONT_BRIDGE_PACKETS = BIT(3),
  IEEE80211_SDATA_DISCONNECT_RESUME = BIT(4), IEEE80211_SDATA_IN_DRIVER = BIT(5)
}
 
enum  ieee80211_sdata_state_bits { SDATA_STATE_RUNNING, SDATA_STATE_OFFCHANNEL }
 
enum  sdata_queue_type { IEEE80211_SDATA_QUEUE_TYPE_FRAME = 0, IEEE80211_SDATA_QUEUE_AGG_START = 1, IEEE80211_SDATA_QUEUE_AGG_STOP = 2 }
 
enum  { IEEE80211_RX_MSG = 1, IEEE80211_TX_STATUS_MSG = 2, IEEE80211_EOSP_MSG = 3 }
 
enum  queue_stop_reason {
  IEEE80211_QUEUE_STOP_REASON_DRIVER, IEEE80211_QUEUE_STOP_REASON_PS, IEEE80211_QUEUE_STOP_REASON_CSA, IEEE80211_QUEUE_STOP_REASON_AGGREGATION,
  IEEE80211_QUEUE_STOP_REASON_SUSPEND, IEEE80211_QUEUE_STOP_REASON_SKB_ADD
}
 
enum  {
  SCAN_SW_SCANNING, SCAN_HW_SCANNING, SCAN_ONCHANNEL_SCANNING, SCAN_COMPLETED,
  SCAN_ABORTED
}
 
enum  mac80211_scan_state {
  SCAN_DECISION, SCAN_SET_CHANNEL, SCAN_SEND_PROBE, SCAN_SUSPEND,
  SCAN_RESUME
}
 
enum  ieee80211_chan_mode { CHAN_MODE_UNDEFINED, CHAN_MODE_HOPPING, CHAN_MODE_FIXED }
 

Functions

int ieee80211_hw_config (struct ieee80211_local *local, u32 changed)
 
void ieee80211_tx_set_protected (struct ieee80211_tx_data *tx)
 
void ieee80211_bss_info_change_notify (struct ieee80211_sub_if_data *sdata, u32 changed)
 
void ieee80211_configure_filter (struct ieee80211_local *local)
 
u32 ieee80211_reset_erp_info (struct ieee80211_sub_if_data *sdata)
 
void ieee80211_sta_setup_sdata (struct ieee80211_sub_if_data *sdata)
 
int ieee80211_mgd_auth (struct ieee80211_sub_if_data *sdata, struct cfg80211_auth_request *req)
 
int ieee80211_mgd_assoc (struct ieee80211_sub_if_data *sdata, struct cfg80211_assoc_request *req)
 
int ieee80211_mgd_deauth (struct ieee80211_sub_if_data *sdata, struct cfg80211_deauth_request *req)
 
int ieee80211_mgd_disassoc (struct ieee80211_sub_if_data *sdata, struct cfg80211_disassoc_request *req)
 
void ieee80211_send_pspoll (struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata)
 
void ieee80211_recalc_ps (struct ieee80211_local *local, s32 latency)
 
void ieee80211_recalc_ps_vif (struct ieee80211_sub_if_data *sdata)
 
int ieee80211_max_network_latency (struct notifier_block *nb, unsigned long data, void *dummy)
 
int ieee80211_set_arp_filter (struct ieee80211_sub_if_data *sdata)
 
void ieee80211_sta_process_chanswitch (struct ieee80211_sub_if_data *sdata, struct ieee80211_channel_sw_ie *sw_elem, struct ieee80211_bss *bss, u64 timestamp)
 
void ieee80211_sta_quiesce (struct ieee80211_sub_if_data *sdata)
 
void ieee80211_sta_restart (struct ieee80211_sub_if_data *sdata)
 
void ieee80211_sta_work (struct ieee80211_sub_if_data *sdata)
 
void ieee80211_sta_rx_queued_mgmt (struct ieee80211_sub_if_data *sdata, struct sk_buff *skb)
 
void ieee80211_sta_reset_beacon_monitor (struct ieee80211_sub_if_data *sdata)
 
void ieee80211_sta_reset_conn_monitor (struct ieee80211_sub_if_data *sdata)
 
void ieee80211_mgd_stop (struct ieee80211_sub_if_data *sdata)
 
void ieee80211_ibss_notify_scan_completed (struct ieee80211_local *local)
 
void ieee80211_ibss_setup_sdata (struct ieee80211_sub_if_data *sdata)
 
void ieee80211_ibss_rx_no_sta (struct ieee80211_sub_if_data *sdata, const u8 *bssid, const u8 *addr, u32 supp_rates)
 
int ieee80211_ibss_join (struct ieee80211_sub_if_data *sdata, struct cfg80211_ibss_params *params)
 
int ieee80211_ibss_leave (struct ieee80211_sub_if_data *sdata)
 
void ieee80211_ibss_quiesce (struct ieee80211_sub_if_data *sdata)
 
void ieee80211_ibss_restart (struct ieee80211_sub_if_data *sdata)
 
void ieee80211_ibss_work (struct ieee80211_sub_if_data *sdata)
 
void ieee80211_ibss_rx_queued_mgmt (struct ieee80211_sub_if_data *sdata, struct sk_buff *skb)
 
void ieee80211_mesh_work (struct ieee80211_sub_if_data *sdata)
 
void ieee80211_mesh_rx_queued_mgmt (struct ieee80211_sub_if_data *sdata, struct sk_buff *skb)
 
void ieee80211_scan_work (struct work_struct *work)
 
int ieee80211_request_internal_scan (struct ieee80211_sub_if_data *sdata, const u8 *ssid, u8 ssid_len, struct ieee80211_channel *chan)
 
int ieee80211_request_scan (struct ieee80211_sub_if_data *sdata, struct cfg80211_scan_request *req)
 
void ieee80211_scan_cancel (struct ieee80211_local *local)
 
void ieee80211_run_deferred_scan (struct ieee80211_local *local)
 
void ieee80211_scan_rx (struct ieee80211_local *local, struct sk_buff *skb)
 
void ieee80211_mlme_notify_scan_completed (struct ieee80211_local *local)
 
struct ieee80211_bssieee80211_bss_info_update (struct ieee80211_local *local, struct ieee80211_rx_status *rx_status, struct ieee80211_mgmt *mgmt, size_t len, struct ieee802_11_elems *elems, struct ieee80211_channel *channel, bool beacon)
 
void ieee80211_rx_bss_put (struct ieee80211_local *local, struct ieee80211_bss *bss)
 
int ieee80211_request_sched_scan_start (struct ieee80211_sub_if_data *sdata, struct cfg80211_sched_scan_request *req)
 
int ieee80211_request_sched_scan_stop (struct ieee80211_sub_if_data *sdata)
 
void ieee80211_sched_scan_stopped_work (struct work_struct *work)
 
void ieee80211_offchannel_stop_vifs (struct ieee80211_local *local, bool offchannel_ps_enable)
 
void ieee80211_offchannel_return (struct ieee80211_local *local, bool offchannel_ps_disable)
 
void ieee80211_roc_setup (struct ieee80211_local *local)
 
void ieee80211_start_next_roc (struct ieee80211_local *local)
 
void ieee80211_roc_purge (struct ieee80211_sub_if_data *sdata)
 
void ieee80211_roc_notify_destroy (struct ieee80211_roc_work *roc)
 
void ieee80211_sw_roc_work (struct work_struct *work)
 
void ieee80211_handle_roc_started (struct ieee80211_roc_work *roc)
 
int ieee80211_iface_init (void)
 
void ieee80211_iface_exit (void)
 
int ieee80211_if_add (struct ieee80211_local *local, const char *name, struct wireless_dev **new_wdev, enum nl80211_iftype type, struct vif_params *params)
 
int ieee80211_if_change_type (struct ieee80211_sub_if_data *sdata, enum nl80211_iftype type)
 
void ieee80211_if_remove (struct ieee80211_sub_if_data *sdata)
 
void ieee80211_remove_interfaces (struct ieee80211_local *local)
 
void ieee80211_recalc_idle (struct ieee80211_local *local)
 
void ieee80211_adjust_monitor_flags (struct ieee80211_sub_if_data *sdata, const int offset)
 
int ieee80211_do_open (struct wireless_dev *wdev, bool coming_up)
 
void ieee80211_sdata_stop (struct ieee80211_sub_if_data *sdata)
 
void ieee80211_clear_tx_pending (struct ieee80211_local *local)
 
void ieee80211_tx_pending (unsigned long data)
 
netdev_tx_t ieee80211_monitor_start_xmit (struct sk_buff *skb, struct net_device *dev)
 
netdev_tx_t ieee80211_subif_start_xmit (struct sk_buff *skb, struct net_device *dev)
 
void ieee80211_purge_tx_queue (struct ieee80211_hw *hw, struct sk_buff_head *skbs)
 
void ieee80211_apply_htcap_overrides (struct ieee80211_sub_if_data *sdata, struct ieee80211_sta_ht_cap *ht_cap)
 
void ieee80211_ht_cap_ie_to_sta_ht_cap (struct ieee80211_sub_if_data *sdata, struct ieee80211_supported_band *sband, struct ieee80211_ht_cap *ht_cap_ie, struct ieee80211_sta_ht_cap *ht_cap)
 
void ieee80211_send_delba (struct ieee80211_sub_if_data *sdata, const u8 *da, u16 tid, u16 initiator, u16 reason_code)
 
int ieee80211_send_smps_action (struct ieee80211_sub_if_data *sdata, enum ieee80211_smps_mode smps, const u8 *da, const u8 *bssid)
 
void ieee80211_request_smps_work (struct work_struct *work)
 
void ___ieee80211_stop_rx_ba_session (struct sta_info *sta, u16 tid, u16 initiator, u16 reason, bool stop)
 
void __ieee80211_stop_rx_ba_session (struct sta_info *sta, u16 tid, u16 initiator, u16 reason, bool stop)
 
void ieee80211_sta_tear_down_BA_sessions (struct sta_info *sta, bool tx)
 
void ieee80211_process_delba (struct ieee80211_sub_if_data *sdata, struct sta_info *sta, struct ieee80211_mgmt *mgmt, size_t len)
 
void ieee80211_process_addba_resp (struct ieee80211_local *local, struct sta_info *sta, struct ieee80211_mgmt *mgmt, size_t len)
 
void ieee80211_process_addba_request (struct ieee80211_local *local, struct sta_info *sta, struct ieee80211_mgmt *mgmt, size_t len)
 
int __ieee80211_stop_tx_ba_session (struct sta_info *sta, u16 tid, enum ieee80211_back_parties initiator, bool tx)
 
int ___ieee80211_stop_tx_ba_session (struct sta_info *sta, u16 tid, enum ieee80211_back_parties initiator, bool tx)
 
void ieee80211_start_tx_ba_cb (struct ieee80211_vif *vif, u8 *ra, u16 tid)
 
void ieee80211_stop_tx_ba_cb (struct ieee80211_vif *vif, u8 *ra, u8 tid)
 
void ieee80211_ba_session_work (struct work_struct *work)
 
void ieee80211_tx_ba_session_handle_start (struct sta_info *sta, int tid)
 
void ieee80211_release_reorder_timeout (struct sta_info *sta, int tid)
 
void ieee80211_process_measurement_req (struct ieee80211_sub_if_data *sdata, struct ieee80211_mgmt *mgmt, size_t len)
 
int ieee80211_reconfig (struct ieee80211_local *local)
 
void ieee80211_stop_device (struct ieee80211_local *local)
 
int __ieee80211_suspend (struct ieee80211_hw *hw, struct cfg80211_wowlan *wowlan)
 
u8ieee80211_get_bssid (struct ieee80211_hdr *hdr, size_t len, enum nl80211_iftype type)
 
int ieee80211_frame_duration (enum ieee80211_band band, size_t len, int rate, int erp, int short_preamble)
 
void mac80211_ev_michael_mic_failure (struct ieee80211_sub_if_data *sdata, int keyidx, struct ieee80211_hdr *hdr, const u8 *tsc, gfp_t gfp)
 
void ieee80211_set_wmm_default (struct ieee80211_sub_if_data *sdata, bool bss_notify)
 
void ieee80211_xmit (struct ieee80211_sub_if_data *sdata, struct sk_buff *skb)
 
void ieee80211_tx_skb_tid (struct ieee80211_sub_if_data *sdata, struct sk_buff *skb, int tid)
 
void ieee802_11_parse_elems (u8 *start, size_t len, struct ieee802_11_elems *elems)
 
u32 ieee802_11_parse_elems_crc (u8 *start, size_t len, struct ieee802_11_elems *elems, u64 filter, u32 crc)
 
u32 ieee80211_mandatory_rates (struct ieee80211_local *local, enum ieee80211_band band)
 
void ieee80211_dynamic_ps_enable_work (struct work_struct *work)
 
void ieee80211_dynamic_ps_disable_work (struct work_struct *work)
 
void ieee80211_dynamic_ps_timer (unsigned long data)
 
void ieee80211_send_nullfunc (struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, int powersave)
 
void ieee80211_sta_rx_notify (struct ieee80211_sub_if_data *sdata, struct ieee80211_hdr *hdr)
 
void ieee80211_sta_tx_notify (struct ieee80211_sub_if_data *sdata, struct ieee80211_hdr *hdr, bool ack)
 
void ieee80211_wake_queues_by_reason (struct ieee80211_hw *hw, enum queue_stop_reason reason)
 
void ieee80211_stop_queues_by_reason (struct ieee80211_hw *hw, enum queue_stop_reason reason)
 
void ieee80211_wake_queue_by_reason (struct ieee80211_hw *hw, int queue, enum queue_stop_reason reason)
 
void ieee80211_stop_queue_by_reason (struct ieee80211_hw *hw, int queue, enum queue_stop_reason reason)
 
void ieee80211_propagate_queue_wake (struct ieee80211_local *local, int queue)
 
void ieee80211_add_pending_skb (struct ieee80211_local *local, struct sk_buff *skb)
 
void ieee80211_add_pending_skbs_fn (struct ieee80211_local *local, struct sk_buff_head *skbs, void(*fn)(void *data), void *data)
 
void ieee80211_send_auth (struct ieee80211_sub_if_data *sdata, u16 transaction, u16 auth_alg, u8 *extra, size_t extra_len, const u8 *bssid, const u8 *da, const u8 *key, u8 key_len, u8 key_idx)
 
void ieee80211_send_deauth_disassoc (struct ieee80211_sub_if_data *sdata, const u8 *bssid, u16 stype, u16 reason, bool send_frame, u8 *frame_buf)
 
int ieee80211_build_preq_ies (struct ieee80211_local *local, u8 *buffer, const u8 *ie, size_t ie_len, enum ieee80211_band band, u32 rate_mask, u8 channel)
 
struct sk_buffieee80211_build_probe_req (struct ieee80211_sub_if_data *sdata, u8 *dst, u32 ratemask, struct ieee80211_channel *chan, const u8 *ssid, size_t ssid_len, const u8 *ie, size_t ie_len, bool directed)
 
void ieee80211_send_probe_req (struct ieee80211_sub_if_data *sdata, u8 *dst, const u8 *ssid, size_t ssid_len, const u8 *ie, size_t ie_len, u32 ratemask, bool directed, bool no_cck, struct ieee80211_channel *channel)
 
void ieee80211_sta_def_wmm_params (struct ieee80211_sub_if_data *sdata, const size_t supp_rates_len, const u8 *supp_rates)
 
u32 ieee80211_sta_get_rates (struct ieee80211_local *local, struct ieee802_11_elems *elems, enum ieee80211_band band, u32 *basic_rates)
 
int __ieee80211_request_smps (struct ieee80211_sub_if_data *sdata, enum ieee80211_smps_mode smps_mode)
 
void ieee80211_recalc_smps (struct ieee80211_local *local)
 
size_t ieee80211_ie_split (const u8 *ies, size_t ielen, const u8 *ids, int n_ids, size_t offset)
 
size_t ieee80211_ie_split_vendor (const u8 *ies, size_t ielen, size_t offset)
 
u8ieee80211_ie_build_ht_cap (u8 *pos, struct ieee80211_sta_ht_cap *ht_cap, u16 cap)
 
u8ieee80211_ie_build_ht_oper (u8 *pos, struct ieee80211_sta_ht_cap *ht_cap, struct ieee80211_channel *channel, enum nl80211_channel_type channel_type, u16 prot_mode)
 
u8ieee80211_ie_build_vht_cap (u8 *pos, struct ieee80211_sta_vht_cap *vht_cap, u32 cap)
 
int ieee80211_add_srates_ie (struct ieee80211_sub_if_data *sdata, struct sk_buff *skb, bool need_basic, enum ieee80211_band band)
 
int ieee80211_add_ext_srates_ie (struct ieee80211_sub_if_data *sdata, struct sk_buff *skb, bool need_basic, enum ieee80211_band band)
 
enum ieee80211_chan_mode ieee80211_get_channel_mode (struct ieee80211_local *local, struct ieee80211_sub_if_data *ignore)
 
bool ieee80211_set_channel_type (struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, enum nl80211_channel_type chantype)
 
enum nl80211_channel_type ieee80211_ht_oper_to_channel_type (struct ieee80211_ht_operation *ht_oper)
 

Variables

voidmac80211_wiphy_privid
 

Macro Definition Documentation

#define AP_MAX_BC_BUFFER   128

Definition at line 39 of file ieee80211_i.h.

#define debug_noinline

Definition at line 1518 of file ieee80211_i.h.

#define I802_DEBUG_INC (   c)    do { } while (0)

Definition at line 1032 of file ieee80211_i.h.

#define IEEE80211_DEAUTH_FRAME_LEN   (24 /* hdr */ + 2 /* reason */)

Definition at line 71 of file ieee80211_i.h.

#define IEEE80211_DEFAULT_MAX_SP_LEN   IEEE80211_WMM_IE_STA_QOSINFO_SP_ALL

Definition at line 68 of file ieee80211_i.h.

#define IEEE80211_DEFAULT_UAPSD_QUEUES   IEEE80211_WMM_IE_STA_QOSINFO_AC_VO

Definition at line 65 of file ieee80211_i.h.

#define IEEE80211_ENCRYPT_HEADROOM   8

Definition at line 47 of file ieee80211_i.h.

#define IEEE80211_ENCRYPT_TAILROOM   18

Definition at line 48 of file ieee80211_i.h.

#define IEEE80211_FRAGMENT_MAX   4

Definition at line 54 of file ieee80211_i.h.

#define IEEE80211_IFSTA_MESH_CTR_INC (   msh,
  name 
)    do { } while (0)

Definition at line 623 of file ieee80211_i.h.

#define IEEE80211_IRQSAFE_QUEUE_LIMIT   128

Definition at line 912 of file ieee80211_i.h.

#define IEEE80211_MAX_SUPP_RATES   32

Definition at line 105 of file ieee80211_i.h.

#define IEEE80211_ROC_MIN_LEFT   1

Definition at line 331 of file ieee80211_i.h.

#define IEEE80211_TX_PS_BUFFERED   BIT(2)

Definition at line 188 of file ieee80211_i.h.

#define IEEE80211_TX_UNICAST   BIT(1)

Definition at line 187 of file ieee80211_i.h.

#define PREQ_Q_F_REFRESH   0x2

Definition at line 323 of file ieee80211_i.h.

#define PREQ_Q_F_START   0x1

Definition at line 322 of file ieee80211_i.h.

#define RX_CONTINUE   ((__force ieee80211_rx_result) 0u)

Definition at line 203 of file ieee80211_i.h.

#define RX_DROP_MONITOR   ((__force ieee80211_rx_result) 2u)

Definition at line 205 of file ieee80211_i.h.

#define RX_DROP_UNUSABLE   ((__force ieee80211_rx_result) 1u)

Definition at line 204 of file ieee80211_i.h.

#define RX_QUEUED   ((__force ieee80211_rx_result) 3u)

Definition at line 206 of file ieee80211_i.h.

#define TOTAL_MAX_TX_BUFFER   512

Definition at line 44 of file ieee80211_i.h.

#define TU_TO_EXP_TIME (   x)    (jiffies + TU_TO_JIFFIES(x))

Definition at line 57 of file ieee80211_i.h.

#define TU_TO_JIFFIES (   x)    (usecs_to_jiffies((x) * 1024))

Definition at line 56 of file ieee80211_i.h.

#define TX_CONTINUE   ((__force ieee80211_tx_result) 0u)

Definition at line 183 of file ieee80211_i.h.

#define TX_DROP   ((__force ieee80211_tx_result) 1u)

Definition at line 184 of file ieee80211_i.h.

#define TX_QUEUED   ((__force ieee80211_tx_result) 2u)

Definition at line 185 of file ieee80211_i.h.

Typedef Documentation

typedef unsigned __bitwise__ ieee80211_rx_result

Definition at line 202 of file ieee80211_i.h.

typedef unsigned __bitwise__ ieee80211_tx_result

Definition at line 182 of file ieee80211_i.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
IEEE80211_RX_MSG 
IEEE80211_TX_STATUS_MSG 
IEEE80211_EOSP_MSG 

Definition at line 758 of file ieee80211_i.h.

anonymous enum

mac80211 scan flags - currently active scan mode

: We're currently in the process of scanning but may as well be on the operating channel : The hardware is scanning for us, we have no way to determine if we are on the operating channel or not : Do a software scan on only the current operating channel. This should not interrupt normal traffic. : Set for our scan work function when the driver reported that the scan completed. : Set for our scan work function when the driver reported a scan complete for an aborted scan.

Enumerator:
SCAN_SW_SCANNING 
SCAN_HW_SCANNING 
SCAN_ONCHANNEL_SCANNING 
SCAN_COMPLETED 
SCAN_ABORTED 

Definition at line 805 of file ieee80211_i.h.

enum ieee80211_corrupt_data_flags - BSS data corruption flags : last beacon frame received was corrupted : last probe response received was corrupted

These are bss flags that are attached to a bss in the field of &struct ieee80211_bss.

Enumerator:
IEEE80211_BSS_CORRUPT_BEACON 
IEEE80211_BSS_CORRUPT_PROBE_RESP 

Definition at line 133 of file ieee80211_i.h.

enum ieee80211_valid_data_flags - BSS valid data flags : DTIM data was gathered from non-corrupt IE : WMM/UAPSD data was gathered from non-corrupt IE : Supported rates were gathered from non-corrupt IE : ERP flag was gathered from non-corrupt IE

These are bss flags that are attached to a bss in the field of &struct ieee80211_bss. They show which parts of the data structure were recieved as a result of an un-corrupted beacon/probe response.

Enumerator:
IEEE80211_BSS_VALID_DTIM 
IEEE80211_BSS_VALID_WMM 
IEEE80211_BSS_VALID_RATES 
IEEE80211_BSS_VALID_ERP 

Definition at line 150 of file ieee80211_i.h.

Enumerator:
CHAN_MODE_UNDEFINED 
CHAN_MODE_HOPPING 
CHAN_MODE_FIXED 

Definition at line 1500 of file ieee80211_i.h.

enum ieee80211_packet_rx_flags - packet RX flags : frame is destined to interface currently processed (incl. multicast frames) : fragmented frame : a-MSDU packet : action frame is malformed : frame was subjected to receive reordering

These are per-frame flags that are attached to a frame in the field of &struct ieee80211_rx_status.

Enumerator:
IEEE80211_RX_RA_MATCH 
IEEE80211_RX_FRAGMENTED 
IEEE80211_RX_AMSDU 
IEEE80211_RX_MALFORMED_ACTION_FRM 
IEEE80211_RX_DEFERRED_RELEASE 

Definition at line 220 of file ieee80211_i.h.

enum ieee80211_rx_flags - RX data flags

: received on cooked monitor already : This frame was already reported to cfg80211_report_obss_beacon().

These flags are used across handling multiple interfaces for a single frame.

Enumerator:
IEEE80211_RX_CMNTR 
IEEE80211_RX_BEACON_REPORTED 

Definition at line 238 of file ieee80211_i.h.

enum ieee80211_sdata_state_bits - virtual interface state bits : virtual interface is up & running; this mirrors netif_running() but is separate for interface type change handling while the interface is up : This interface is currently in offchannel mode, so queues are stopped

Enumerator:
SDATA_STATE_RUNNING 
SDATA_STATE_OFFCHANNEL 

Definition at line 656 of file ieee80211_i.h.

Enumerator:
IEEE80211_STA_BEACON_POLL 
IEEE80211_STA_CONNECTION_POLL 
IEEE80211_STA_CONTROL_PORT 
IEEE80211_STA_DISABLE_11N 
IEEE80211_STA_CSA_RECEIVED 
IEEE80211_STA_MFP_ENABLED 
IEEE80211_STA_UAPSD_ENABLED 
IEEE80211_STA_NULLFUNC_ACKED 
IEEE80211_STA_RESET_SIGNAL_AVE 
IEEE80211_STA_DISABLE_40MHZ 
IEEE80211_STA_DISABLE_VHT 

Definition at line 357 of file ieee80211_i.h.

enum ieee80211_sub_if_data_flags - virtual interface flags

: interface wants all multicast packets : interface is promisc : operating in G-only mode : bridge packets between associated stations and deliver multicast frames both back to wireless media and to the local net stack. : Disconnect after resume. : indicates interface was added to driver

Enumerator:
IEEE80211_SDATA_ALLMULTI 
IEEE80211_SDATA_PROMISC 
IEEE80211_SDATA_OPERATING_GMODE 
IEEE80211_SDATA_DONT_BRIDGE_PACKETS 
IEEE80211_SDATA_DISCONNECT_RESUME 
IEEE80211_SDATA_IN_DRIVER 

Definition at line 639 of file ieee80211_i.h.

enum mac80211_scan_state - scan state machine states

: Main entry point to the scan state machine, this state determines if we should keep on scanning or switch back to the operating channel : Set the next channel to be scanned : Send probe requests and wait for probe responses : Suspend the scan and go back to operating channel to send out data : Resume the scan and scan the next channel

Enumerator:
SCAN_DECISION 
SCAN_SET_CHANNEL 
SCAN_SEND_PROBE 
SCAN_SUSPEND 
SCAN_RESUME 

Definition at line 825 of file ieee80211_i.h.

Enumerator:
IEEE80211_QUEUE_STOP_REASON_DRIVER 
IEEE80211_QUEUE_STOP_REASON_PS 
IEEE80211_QUEUE_STOP_REASON_CSA 
IEEE80211_QUEUE_STOP_REASON_AGGREGATION 
IEEE80211_QUEUE_STOP_REASON_SUSPEND 
IEEE80211_QUEUE_STOP_REASON_SKB_ADD 

Definition at line 768 of file ieee80211_i.h.

Enumerator:
IEEE80211_SDATA_QUEUE_TYPE_FRAME 
IEEE80211_SDATA_QUEUE_AGG_START 
IEEE80211_SDATA_QUEUE_AGG_STOP 

Definition at line 752 of file ieee80211_i.h.

Function Documentation

void ___ieee80211_stop_rx_ba_session ( struct sta_info sta,
u16  tid,
u16  initiator,
u16  reason,
bool  stop 
)

Definition at line 61 of file agg-rx.c.

int ___ieee80211_stop_tx_ba_session ( struct sta_info sta,
u16  tid,
enum ieee80211_back_parties  initiator,
bool  tx 
)

Definition at line 152 of file agg-tx.c.

int __ieee80211_request_smps ( struct ieee80211_sub_if_data sdata,
enum ieee80211_smps_mode  smps_mode 
)

Definition at line 2052 of file cfg.c.

void __ieee80211_stop_rx_ba_session ( struct sta_info sta,
u16  tid,
u16  initiator,
u16  reason,
bool  stop 
)

Definition at line 99 of file agg-rx.c.

int __ieee80211_stop_tx_ba_session ( struct sta_info sta,
u16  tid,
enum ieee80211_back_parties  initiator,
bool  tx 
)

Definition at line 662 of file agg-tx.c.

int __ieee80211_suspend ( struct ieee80211_hw hw,
struct cfg80211_wowlan wowlan 
)

Definition at line 31 of file pm.c.

int ieee80211_add_ext_srates_ie ( struct ieee80211_sub_if_data sdata,
struct sk_buff skb,
bool  need_basic,
enum ieee80211_band  band 
)

Definition at line 1933 of file util.c.

void ieee80211_add_pending_skb ( struct ieee80211_local local,
struct sk_buff skb 
)

Definition at line 400 of file util.c.

void ieee80211_add_pending_skbs_fn ( struct ieee80211_local local,
struct sk_buff_head skbs,
void(*)(void *data fn,
void data 
)

Definition at line 420 of file util.c.

int ieee80211_add_srates_ie ( struct ieee80211_sub_if_data sdata,
struct sk_buff skb,
bool  need_basic,
enum ieee80211_band  band 
)

Definition at line 1901 of file util.c.

void ieee80211_adjust_monitor_flags ( struct ieee80211_sub_if_data sdata,
const int  offset 
)

Definition at line 307 of file iface.c.

void ieee80211_apply_htcap_overrides ( struct ieee80211_sub_if_data sdata,
struct ieee80211_sta_ht_cap ht_cap 
)

Definition at line 33 of file ht.c.

void ieee80211_ba_session_work ( struct work_struct work)

Definition at line 195 of file ht.c.

void ieee80211_bss_info_change_notify ( struct ieee80211_sub_if_data sdata,
u32  changed 
)

Definition at line 189 of file main.c.

struct ieee80211_bss* ieee80211_bss_info_update ( struct ieee80211_local local,
struct ieee80211_rx_status rx_status,
struct ieee80211_mgmt mgmt,
size_t  len,
struct ieee802_11_elems elems,
struct ieee80211_channel channel,
bool  beacon 
)
read

Definition at line 66 of file scan.c.

int ieee80211_build_preq_ies ( struct ieee80211_local local,
u8 buffer,
const u8 ie,
size_t  ie_len,
enum ieee80211_band  band,
u32  rate_mask,
u8  channel 
)

Definition at line 1077 of file util.c.

struct sk_buff* ieee80211_build_probe_req ( struct ieee80211_sub_if_data sdata,
u8 dst,
u32  ratemask,
struct ieee80211_channel chan,
const u8 ssid,
size_t  ssid_len,
const u8 ie,
size_t  ie_len,
bool  directed 
)
read

Definition at line 1181 of file util.c.

void ieee80211_clear_tx_pending ( struct ieee80211_local local)

Definition at line 2121 of file tx.c.

void ieee80211_configure_filter ( struct ieee80211_local local)

Definition at line 38 of file main.c.

int ieee80211_do_open ( struct wireless_dev wdev,
bool  coming_up 
)

Definition at line 418 of file iface.c.

void ieee80211_dynamic_ps_disable_work ( struct work_struct work)

Definition at line 1051 of file mlme.c.

void ieee80211_dynamic_ps_enable_work ( struct work_struct work)

Definition at line 1066 of file mlme.c.

void ieee80211_dynamic_ps_timer ( unsigned long  data)

Definition at line 1141 of file mlme.c.

int ieee80211_frame_duration ( enum ieee80211_band  band,
size_t  len,
int  rate,
int  erp,
int  short_preamble 
)

Definition at line 109 of file util.c.

u8* ieee80211_get_bssid ( struct ieee80211_hdr hdr,
size_t  len,
enum nl80211_iftype  type 
)

Definition at line 49 of file util.c.

enum ieee80211_chan_mode ieee80211_get_channel_mode ( struct ieee80211_local local,
struct ieee80211_sub_if_data ignore 
)

Definition at line 59 of file chan.c.

void ieee80211_handle_roc_started ( struct ieee80211_roc_work roc)

Definition at line 189 of file offchannel.c.

void ieee80211_ht_cap_ie_to_sta_ht_cap ( struct ieee80211_sub_if_data sdata,
struct ieee80211_supported_band sband,
struct ieee80211_ht_cap ht_cap_ie,
struct ieee80211_sta_ht_cap ht_cap 
)

Definition at line 89 of file ht.c.

enum nl80211_channel_type ieee80211_ht_oper_to_channel_type ( struct ieee80211_ht_operation ht_oper)

Definition at line 1877 of file util.c.

int ieee80211_hw_config ( struct ieee80211_local local,
u32  changed 
)

Definition at line 96 of file main.c.

int ieee80211_ibss_join ( struct ieee80211_sub_if_data sdata,
struct cfg80211_ibss_params params 
)

Definition at line 1049 of file ibss.c.

int ieee80211_ibss_leave ( struct ieee80211_sub_if_data sdata)

Definition at line 1142 of file ibss.c.

void ieee80211_ibss_notify_scan_completed ( struct ieee80211_local local)

Definition at line 1033 of file ibss.c.

void ieee80211_ibss_quiesce ( struct ieee80211_sub_if_data sdata)
void ieee80211_ibss_restart ( struct ieee80211_sub_if_data sdata)
void ieee80211_ibss_rx_no_sta ( struct ieee80211_sub_if_data sdata,
const u8 bssid,
const u8 addr,
u32  supp_rates 
)

Definition at line 588 of file ibss.c.

void ieee80211_ibss_rx_queued_mgmt ( struct ieee80211_sub_if_data sdata,
struct sk_buff skb 
)

Definition at line 902 of file ibss.c.

void ieee80211_ibss_setup_sdata ( struct ieee80211_sub_if_data sdata)

Definition at line 1021 of file ibss.c.

void ieee80211_ibss_work ( struct ieee80211_sub_if_data sdata)

Definition at line 942 of file ibss.c.

u8* ieee80211_ie_build_ht_cap ( u8 pos,
struct ieee80211_sta_ht_cap ht_cap,
u16  cap 
)

Definition at line 1780 of file util.c.

u8* ieee80211_ie_build_ht_oper ( u8 pos,
struct ieee80211_sta_ht_cap ht_cap,
struct ieee80211_channel channel,
enum nl80211_channel_type  channel_type,
u16  prot_mode 
)

Definition at line 1836 of file util.c.

u8* ieee80211_ie_build_vht_cap ( u8 pos,
struct ieee80211_sta_vht_cap vht_cap,
u32  cap 
)

Definition at line 1815 of file util.c.

size_t ieee80211_ie_split ( const u8 ies,
size_t  ielen,
const u8 ids,
int  n_ids,
size_t  offset 
)

ieee80211_ie_split - split an IE buffer according to ordering

: the IE buffer : the length of the IE buffer : an array with element IDs that are allowed before the split : the size of the element ID array : offset where to start splitting in the buffer

This function splits an IE buffer by updating the variable to point to the location where the buffer should be split.

It assumes that the given IE buffer is well-formed, this has to be guaranteed by the caller!

It also assumes that the IEs in the buffer are ordered correctly, if not the result of using this function will not be ordered correctly either, i.e. it does no reordering.

The function returns the offset where the next part of the buffer starts, which may be if the entire (remainder) of the buffer should be used.

Definition at line 1719 of file util.c.

size_t ieee80211_ie_split_vendor ( const u8 ies,
size_t  ielen,
size_t  offset 
)

Definition at line 1730 of file util.c.

int ieee80211_if_add ( struct ieee80211_local local,
const char name,
struct wireless_dev **  new_wdev,
enum nl80211_iftype  type,
struct vif_params params 
)

Definition at line 1435 of file iface.c.

int ieee80211_if_change_type ( struct ieee80211_sub_if_data sdata,
enum nl80211_iftype  type 
)

Definition at line 1275 of file iface.c.

void ieee80211_if_remove ( struct ieee80211_sub_if_data sdata)

Definition at line 1555 of file iface.c.

void ieee80211_iface_exit ( void  )

Definition at line 1646 of file iface.c.

int ieee80211_iface_init ( void  )

Definition at line 1641 of file iface.c.

u32 ieee80211_mandatory_rates ( struct ieee80211_local local,
enum ieee80211_band  band 
)

Definition at line 972 of file util.c.

int ieee80211_max_network_latency ( struct notifier_block nb,
unsigned long  data,
void dummy 
)

Definition at line 3046 of file mlme.c.

void ieee80211_mesh_rx_queued_mgmt ( struct ieee80211_sub_if_data sdata,
struct sk_buff skb 
)

Definition at line 728 of file mesh.c.

void ieee80211_mesh_work ( struct ieee80211_sub_if_data sdata)

Definition at line 751 of file mesh.c.

int ieee80211_mgd_assoc ( struct ieee80211_sub_if_data sdata,
struct cfg80211_assoc_request req 
)

Definition at line 3347 of file mlme.c.

int ieee80211_mgd_auth ( struct ieee80211_sub_if_data sdata,
struct cfg80211_auth_request req 
)

Definition at line 3250 of file mlme.c.

int ieee80211_mgd_deauth ( struct ieee80211_sub_if_data sdata,
struct cfg80211_deauth_request req 
)

Definition at line 3557 of file mlme.c.

int ieee80211_mgd_disassoc ( struct ieee80211_sub_if_data sdata,
struct cfg80211_disassoc_request req 
)

Definition at line 3600 of file mlme.c.

void ieee80211_mgd_stop ( struct ieee80211_sub_if_data sdata)

Definition at line 3640 of file mlme.c.

void ieee80211_mlme_notify_scan_completed ( struct ieee80211_local local)

Definition at line 3035 of file mlme.c.

netdev_tx_t ieee80211_monitor_start_xmit ( struct sk_buff skb,
struct net_device dev 
)

Definition at line 1573 of file tx.c.

void ieee80211_offchannel_return ( struct ieee80211_local local,
bool  offchannel_ps_disable 
)

Definition at line 143 of file offchannel.c.

void ieee80211_offchannel_stop_vifs ( struct ieee80211_local local,
bool  offchannel_ps_enable 
)

Definition at line 105 of file offchannel.c.

void ieee80211_process_addba_request ( struct ieee80211_local local,
struct sta_info sta,
struct ieee80211_mgmt mgmt,
size_t  len 
)

Definition at line 226 of file agg-rx.c.

void ieee80211_process_addba_resp ( struct ieee80211_local local,
struct sta_info sta,
struct ieee80211_mgmt mgmt,
size_t  len 
)

Definition at line 802 of file agg-tx.c.

void ieee80211_process_delba ( struct ieee80211_sub_if_data sdata,
struct sta_info sta,
struct ieee80211_mgmt mgmt,
size_t  len 
)

Definition at line 297 of file ht.c.

void ieee80211_process_measurement_req ( struct ieee80211_sub_if_data sdata,
struct ieee80211_mgmt mgmt,
size_t  len 
)

Definition at line 67 of file spectmgmt.c.

void ieee80211_propagate_queue_wake ( struct ieee80211_local local,
int  queue 
)

Definition at line 268 of file util.c.

void ieee80211_purge_tx_queue ( struct ieee80211_hw hw,
struct sk_buff_head skbs 
)

Definition at line 672 of file status.c.

void ieee80211_recalc_idle ( struct ieee80211_local local)

Definition at line 162 of file iface.c.

void ieee80211_recalc_ps ( struct ieee80211_local local,
s32  latency 
)

Definition at line 955 of file mlme.c.

void ieee80211_recalc_ps_vif ( struct ieee80211_sub_if_data sdata)

Definition at line 1041 of file mlme.c.

void ieee80211_recalc_smps ( struct ieee80211_local local)

Definition at line 1639 of file util.c.

int ieee80211_reconfig ( struct ieee80211_local local)

Definition at line 1307 of file util.c.

void ieee80211_release_reorder_timeout ( struct sta_info sta,
int  tid 
)

Definition at line 2765 of file rx.c.

void ieee80211_remove_interfaces ( struct ieee80211_local local)

Definition at line 1585 of file iface.c.

int ieee80211_request_internal_scan ( struct ieee80211_sub_if_data sdata,
const u8 ssid,
u8  ssid_len,
struct ieee80211_channel chan 
)

Definition at line 822 of file scan.c.

int ieee80211_request_scan ( struct ieee80211_sub_if_data sdata,
struct cfg80211_scan_request req 
)

Definition at line 810 of file scan.c.

int ieee80211_request_sched_scan_start ( struct ieee80211_sub_if_data sdata,
struct cfg80211_sched_scan_request req 
)

Definition at line 916 of file scan.c.

int ieee80211_request_sched_scan_stop ( struct ieee80211_sub_if_data sdata)

Definition at line 966 of file scan.c.

void ieee80211_request_smps_work ( struct work_struct work)

Definition at line 368 of file ht.c.

u32 ieee80211_reset_erp_info ( struct ieee80211_sub_if_data sdata)

Definition at line 266 of file main.c.

void ieee80211_roc_notify_destroy ( struct ieee80211_roc_work roc)

Definition at line 301 of file offchannel.c.

void ieee80211_roc_purge ( struct ieee80211_sub_if_data sdata)

Definition at line 442 of file offchannel.c.

void ieee80211_roc_setup ( struct ieee80211_local local)

Definition at line 435 of file offchannel.c.

void ieee80211_run_deferred_scan ( struct ieee80211_local local)

Definition at line 385 of file scan.c.

void ieee80211_rx_bss_put ( struct ieee80211_local local,
struct ieee80211_bss bss 
)

Definition at line 40 of file scan.c.

void ieee80211_scan_cancel ( struct ieee80211_local local)

Definition at line 872 of file scan.c.

void ieee80211_scan_rx ( struct ieee80211_local local,
struct sk_buff skb 
)

Definition at line 168 of file scan.c.

void ieee80211_scan_work ( struct work_struct work)

Definition at line 714 of file scan.c.

void ieee80211_sched_scan_stopped_work ( struct work_struct work)

Definition at line 997 of file scan.c.

void ieee80211_sdata_stop ( struct ieee80211_sub_if_data sdata)

Definition at line 1573 of file iface.c.

void ieee80211_send_auth ( struct ieee80211_sub_if_data sdata,
u16  transaction,
u16  auth_alg,
u8 extra,
size_t  extra_len,
const u8 bssid,
const u8 da,
const u8 key,
u8  key_len,
u8  key_idx 
)

Definition at line 998 of file util.c.

void ieee80211_send_deauth_disassoc ( struct ieee80211_sub_if_data sdata,
const u8 bssid,
u16  stype,
u16  reason,
bool  send_frame,
u8 frame_buf 
)

Definition at line 1038 of file util.c.

void ieee80211_send_delba ( struct ieee80211_sub_if_data sdata,
const u8 da,
u16  tid,
u16  initiator,
u16  reason_code 
)

Definition at line 254 of file ht.c.

void ieee80211_send_nullfunc ( struct ieee80211_local local,
struct ieee80211_sub_if_data sdata,
int  powersave 
)

Definition at line 592 of file mlme.c.

void ieee80211_send_probe_req ( struct ieee80211_sub_if_data sdata,
u8 dst,
const u8 ssid,
size_t  ssid_len,
const u8 ie,
size_t  ie_len,
u32  ratemask,
bool  directed,
bool  no_cck,
struct ieee80211_channel channel 
)

Definition at line 1233 of file util.c.

void ieee80211_send_pspoll ( struct ieee80211_local local,
struct ieee80211_sub_if_data sdata 
)

Definition at line 575 of file mlme.c.

int ieee80211_send_smps_action ( struct ieee80211_sub_if_data sdata,
enum ieee80211_smps_mode  smps,
const u8 da,
const u8 bssid 
)

Definition at line 321 of file ht.c.

int ieee80211_set_arp_filter ( struct ieee80211_sub_if_data sdata)
bool ieee80211_set_channel_type ( struct ieee80211_local local,
struct ieee80211_sub_if_data sdata,
enum nl80211_channel_type  chantype 
)

Definition at line 151 of file chan.c.

void ieee80211_set_wmm_default ( struct ieee80211_sub_if_data sdata,
bool  bss_notify 
)

Definition at line 858 of file util.c.

void ieee80211_sta_def_wmm_params ( struct ieee80211_sub_if_data sdata,
const size_t  supp_rates_len,
const u8 supp_rates 
)

Definition at line 951 of file util.c.

u32 ieee80211_sta_get_rates ( struct ieee80211_local local,
struct ieee802_11_elems elems,
enum ieee80211_band  band,
u32 basic_rates 
)

Definition at line 1252 of file util.c.

void ieee80211_sta_process_chanswitch ( struct ieee80211_sub_if_data sdata,
struct ieee80211_channel_sw_ie sw_elem,
struct ieee80211_bss bss,
u64  timestamp 
)

Definition at line 715 of file mlme.c.

void ieee80211_sta_quiesce ( struct ieee80211_sub_if_data sdata)
void ieee80211_sta_reset_beacon_monitor ( struct ieee80211_sub_if_data sdata)

Definition at line 142 of file mlme.c.

void ieee80211_sta_reset_conn_monitor ( struct ieee80211_sub_if_data sdata)

Definition at line 154 of file mlme.c.

void ieee80211_sta_restart ( struct ieee80211_sub_if_data sdata)
void ieee80211_sta_rx_notify ( struct ieee80211_sub_if_data sdata,
struct ieee80211_hdr hdr 
)

Definition at line 1483 of file mlme.c.

void ieee80211_sta_rx_queued_mgmt ( struct ieee80211_sub_if_data sdata,
struct sk_buff skb 
)

Definition at line 2566 of file mlme.c.

void ieee80211_sta_setup_sdata ( struct ieee80211_sub_if_data sdata)

Definition at line 3000 of file mlme.c.

void ieee80211_sta_tear_down_BA_sessions ( struct sta_info sta,
bool  tx 
)

Definition at line 182 of file ht.c.

void ieee80211_sta_tx_notify ( struct ieee80211_sub_if_data sdata,
struct ieee80211_hdr hdr,
bool  ack 
)

Definition at line 1535 of file mlme.c.

void ieee80211_sta_work ( struct ieee80211_sub_if_data sdata)

Definition at line 2772 of file mlme.c.

void ieee80211_start_next_roc ( struct ieee80211_local local)

Definition at line 255 of file offchannel.c.

void ieee80211_start_tx_ba_cb ( struct ieee80211_vif vif,
u8 ra,
u16  tid 
)

Definition at line 599 of file agg-tx.c.

void ieee80211_stop_device ( struct ieee80211_local local)

Definition at line 1296 of file util.c.

void ieee80211_stop_queue_by_reason ( struct ieee80211_hw hw,
int  queue,
enum queue_stop_reason  reason 
)

Definition at line 382 of file util.c.

void ieee80211_stop_queues_by_reason ( struct ieee80211_hw hw,
enum queue_stop_reason  reason 
)

Definition at line 455 of file util.c.

void ieee80211_stop_tx_ba_cb ( struct ieee80211_vif vif,
u8 ra,
u8  tid 
)

Definition at line 716 of file agg-tx.c.

netdev_tx_t ieee80211_subif_start_xmit ( struct sk_buff skb,
struct net_device dev 
)

ieee80211_subif_start_xmit - netif start_xmit function for Ethernet-type subinterfaces (wlan#, WDS, and VLAN interfaces) : packet to be sent : incoming interface

Returns: 0 on success (and frees skb in this case) or 1 on failure (skb will not be freed, and caller is responsible for either retrying later or freeing skb).

This function takes in an Ethernet header and encapsulates it with suitable IEEE 802.11 header based on which interface the packet is coming in. The encapsulated packet will then be passed to master interface, wlan#.11, for transmission (through low-level driver).

Definition at line 1716 of file tx.c.

void ieee80211_sw_roc_work ( struct work_struct work)

Definition at line 326 of file offchannel.c.

void ieee80211_tx_ba_session_handle_start ( struct sta_info sta,
int  tid 
)

Definition at line 341 of file agg-tx.c.

void ieee80211_tx_pending ( unsigned long  data)

Definition at line 2168 of file tx.c.

void ieee80211_tx_set_protected ( struct ieee80211_tx_data tx)

Definition at line 98 of file util.c.

void ieee80211_tx_skb_tid ( struct ieee80211_sub_if_data sdata,
struct sk_buff skb,
int  tid 
)

Definition at line 2710 of file tx.c.

void ieee80211_wake_queue_by_reason ( struct ieee80211_hw hw,
int  queue,
enum queue_stop_reason  reason 
)

Definition at line 328 of file util.c.

void ieee80211_wake_queues_by_reason ( struct ieee80211_hw hw,
enum queue_stop_reason  reason 
)

Definition at line 493 of file util.c.

void ieee80211_xmit ( struct ieee80211_sub_if_data sdata,
struct sk_buff skb 
)

Definition at line 1449 of file tx.c.

void ieee802_11_parse_elems ( u8 start,
size_t  len,
struct ieee802_11_elems elems 
)

Definition at line 852 of file util.c.

u32 ieee802_11_parse_elems_crc ( u8 start,
size_t  len,
struct ieee802_11_elems elems,
u64  filter,
u32  crc 
)

Definition at line 619 of file util.c.

void mac80211_ev_michael_mic_failure ( struct ieee80211_sub_if_data sdata,
int  keyidx,
struct ieee80211_hdr hdr,
const u8 tsc,
gfp_t  gfp 
)

Definition at line 18 of file event.c.

Variable Documentation

void* mac80211_wiphy_privid

Definition at line 37 of file util.c.