Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
cfg80211.c File Reference
#include <linux/moduleparam.h>
#include <linux/inetdevice.h>
#include <linux/export.h>
#include "core.h"
#include "cfg80211.h"
#include "debug.h"
#include "hif-ops.h"
#include "testmode.h"

Go to the source code of this file.

Data Structures

struct  ath6kl_cfg80211_match_probe_ssid
 

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 
#define RATETAB_ENT(_rate, _rateid, _flags)
 
#define CHAN2G(_channel, _freq, _flags)
 
#define CHAN5G(_channel, _flags)
 
#define DEFAULT_BG_SCAN_PERIOD   60
 
#define ath6kl_a_rates   (ath6kl_rates + 4)
 
#define ath6kl_a_rates_size   8
 
#define ath6kl_g_rates   (ath6kl_rates + 0)
 
#define ath6kl_g_rates_size   12
 
#define ath6kl_g_htcap   IEEE80211_HT_CAP_SGI_20
 
#define ath6kl_a_htcap
 
#define CCKM_KRK_CIPHER_SUITE   0x004096ff /* use for KRK */
 

Functions

void ath6kl_cfg80211_connect_event (struct ath6kl_vif *vif, u16 channel, u8 *bssid, u16 listen_intvl, u16 beacon_intvl, enum network_type nw_type, u8 beacon_ie_len, u8 assoc_req_len, u8 assoc_resp_len, u8 *assoc_info)
 
void ath6kl_cfg80211_disconnect_event (struct ath6kl_vif *vif, u8 reason, u8 *bssid, u8 assoc_resp_len, u8 *assoc_info, u16 proto_reason)
 
void ath6kl_cfg80211_scan_complete_event (struct ath6kl_vif *vif, bool aborted)
 
void ath6kl_cfg80211_ch_switch_notify (struct ath6kl_vif *vif, int freq, enum wmi_phy_mode mode)
 
void ath6kl_cfg80211_tkip_micerr_event (struct ath6kl_vif *vif, u8 keyid, bool ismcast)
 
int ath6kl_cfg80211_suspend (struct ath6kl *ar, enum ath6kl_cfg_suspend_mode mode, struct cfg80211_wowlan *wow)
 
 EXPORT_SYMBOL (ath6kl_cfg80211_suspend)
 
int ath6kl_cfg80211_resume (struct ath6kl *ar)
 
 EXPORT_SYMBOL (ath6kl_cfg80211_resume)
 
void ath6kl_check_wow_status (struct ath6kl *ar)
 
void ath6kl_cfg80211_sta_bmiss_enhance (struct ath6kl_vif *vif, bool enable)
 
void ath6kl_cfg80211_stop (struct ath6kl_vif *vif)
 
void ath6kl_cfg80211_stop_all (struct ath6kl *ar)
 
void ath6kl_cfg80211_vif_cleanup (struct ath6kl_vif *vif)
 
struct wireless_devath6kl_interface_add (struct ath6kl *ar, const char *name, enum nl80211_iftype type, u8 fw_vif_idx, u8 nw_type)
 
int ath6kl_cfg80211_init (struct ath6kl *ar)
 
void ath6kl_cfg80211_cleanup (struct ath6kl *ar)
 
struct ath6klath6kl_cfg80211_create (void)
 
void ath6kl_cfg80211_destroy (struct ath6kl *ar)
 

Macro Definition Documentation

#define ath6kl_a_htcap
Value:
IEEE80211_HT_CAP_SGI_20 | \
IEEE80211_HT_CAP_SGI_40)

Definition at line 82 of file cfg80211.c.

#define ath6kl_a_rates   (ath6kl_rates + 4)

Definition at line 76 of file cfg80211.c.

#define ath6kl_a_rates_size   8

Definition at line 77 of file cfg80211.c.

#define ath6kl_g_htcap   IEEE80211_HT_CAP_SGI_20

Definition at line 81 of file cfg80211.c.

#define ath6kl_g_rates   (ath6kl_rates + 0)

Definition at line 78 of file cfg80211.c.

#define ath6kl_g_rates_size   12

Definition at line 79 of file cfg80211.c.

#define CCKM_KRK_CIPHER_SUITE   0x004096ff /* use for KRK */

Definition at line 143 of file cfg80211.c.

#define CHAN2G (   _channel,
  _freq,
  _flags 
)
Value:
{ \
.hw_value = (_channel), \
.center_freq = (_freq), \
.flags = (_flags), \
.max_antenna_gain = 0, \
.max_power = 30, \
}

Definition at line 36 of file cfg80211.c.

#define CHAN5G (   _channel,
  _flags 
)
Value:
{ \
.hw_value = (_channel), \
.center_freq = 5000 + (5 * (_channel)), \
.flags = (_flags), \
.max_antenna_gain = 0, \
.max_power = 30, \
}

Definition at line 45 of file cfg80211.c.

#define DEFAULT_BG_SCAN_PERIOD   60

Definition at line 54 of file cfg80211.c.

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 18 of file cfg80211.c.

#define RATETAB_ENT (   _rate,
  _rateid,
  _flags 
)
Value:
{ \
.bitrate = (_rate), \
.flags = (_flags), \
.hw_value = (_rateid), \
}

Definition at line 30 of file cfg80211.c.

Function Documentation

void ath6kl_cfg80211_ch_switch_notify ( struct ath6kl_vif vif,
int  freq,
enum wmi_phy_mode  mode 
)

Definition at line 1093 of file cfg80211.c.

void ath6kl_cfg80211_cleanup ( struct ath6kl ar)

Definition at line 3672 of file cfg80211.c.

void ath6kl_cfg80211_connect_event ( struct ath6kl_vif vif,
u16  channel,
u8 bssid,
u16  listen_intvl,
u16  beacon_intvl,
enum network_type  nw_type,
u8  beacon_ie_len,
u8  assoc_req_len,
u8  assoc_resp_len,
u8 assoc_info 
)

Definition at line 713 of file cfg80211.c.

struct ath6kl* ath6kl_cfg80211_create ( void  )
read

Definition at line 3679 of file cfg80211.c.

void ath6kl_cfg80211_destroy ( struct ath6kl ar)

Definition at line 3699 of file cfg80211.c.

void ath6kl_cfg80211_disconnect_event ( struct ath6kl_vif vif,
u8  reason,
u8 bssid,
u8  assoc_resp_len,
u8 assoc_info,
u16  proto_reason 
)

Definition at line 832 of file cfg80211.c.

int ath6kl_cfg80211_init ( struct ath6kl ar)

Definition at line 3544 of file cfg80211.c.

int ath6kl_cfg80211_resume ( struct ath6kl ar)

Definition at line 2443 of file cfg80211.c.

void ath6kl_cfg80211_scan_complete_event ( struct ath6kl_vif vif,
bool  aborted 
)

Definition at line 1066 of file cfg80211.c.

void ath6kl_cfg80211_sta_bmiss_enhance ( struct ath6kl_vif vif,
bool  enable 
)

Definition at line 2653 of file cfg80211.c.

void ath6kl_cfg80211_stop ( struct ath6kl_vif vif)

Definition at line 3380 of file cfg80211.c.

void ath6kl_cfg80211_stop_all ( struct ath6kl ar)

Definition at line 3414 of file cfg80211.c.

int ath6kl_cfg80211_suspend ( struct ath6kl ar,
enum ath6kl_cfg_suspend_mode  mode,
struct cfg80211_wowlan wow 
)

Definition at line 2362 of file cfg80211.c.

void ath6kl_cfg80211_tkip_micerr_event ( struct ath6kl_vif vif,
u8  keyid,
bool  ismcast 
)

Definition at line 1348 of file cfg80211.c.

void ath6kl_cfg80211_vif_cleanup ( struct ath6kl_vif vif)

Definition at line 3458 of file cfg80211.c.

void ath6kl_check_wow_status ( struct ath6kl ar)

Definition at line 2535 of file cfg80211.c.

struct wireless_dev* ath6kl_interface_add ( struct ath6kl ar,
const char name,
enum nl80211_iftype  type,
u8  fw_vif_idx,
u8  nw_type 
)
read

Definition at line 3480 of file cfg80211.c.

EXPORT_SYMBOL ( ath6kl_cfg80211_suspend  )
EXPORT_SYMBOL ( ath6kl_cfg80211_resume  )