Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
cfg.c File Reference
#include <linux/ieee80211.h>
#include <linux/nl80211.h>
#include <linux/rtnetlink.h>
#include <linux/slab.h>
#include <net/net_namespace.h>
#include <linux/rcupdate.h>
#include <linux/if_ether.h>
#include <net/cfg80211.h>
#include "ieee80211_i.h"
#include "driver-ops.h"
#include "cfg.h"
#include "rate.h"
#include "mesh.h"

Go to the source code of this file.

Data Structures

struct  iapp_layer2_update
 

Macros

#define STA_STATS_LEN   ARRAY_SIZE(ieee80211_gstrings_sta_stats)
 
#define STA_STATS_SURVEY_LEN   7
 
#define ADD_STA_STATS(sta)
 
#define ieee80211_suspend   NULL
 
#define ieee80211_resume   NULL
 

Functions

void sta_set_rate_info_tx (struct sta_info *sta, const struct ieee80211_tx_rate *rate, struct rate_info *rinfo)
 
int __ieee80211_request_smps (struct ieee80211_sub_if_data *sdata, enum ieee80211_smps_mode smps_mode)
 

Variables

struct iapp_layer2_update __packed
 
struct cfg80211_ops mac80211_config_ops
 

Macro Definition Documentation

#define ADD_STA_STATS (   sta)
Value:
do { \
data[i++] += sta->rx_packets; \
data[i++] += sta->rx_bytes; \
data[i++] += sta->wep_weak_iv_count; \
data[i++] += sta->num_duplicates; \
data[i++] += sta->rx_fragments; \
data[i++] += sta->rx_dropped; \
\
data[i++] += sta->tx_packets; \
data[i++] += sta->tx_bytes; \
data[i++] += sta->tx_fragments; \
data[i++] += sta->tx_filtered_count; \
data[i++] += sta->tx_retry_failed; \
data[i++] += sta->tx_retry_count; \
data[i++] += sta->beacon_loss_count; \
} while (0)
#define ieee80211_resume   NULL

Definition at line 1806 of file cfg.c.

#define ieee80211_suspend   NULL

Definition at line 1805 of file cfg.c.

#define STA_STATS_LEN   ARRAY_SIZE(ieee80211_gstrings_sta_stats)

Definition at line 510 of file cfg.c.

#define STA_STATS_SURVEY_LEN   7

Function Documentation

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 sta_set_rate_info_tx ( struct sta_info sta,
const struct ieee80211_tx_rate rate,
struct rate_info rinfo 
)

Definition at line 384 of file cfg.c.

Variable Documentation

struct cfg80211_ops mac80211_config_ops

Definition at line 3061 of file cfg.c.