Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
lib80211.h File Reference
#include <linux/types.h>
#include <linux/list.h>
#include <linux/atomic.h>
#include <linux/if.h>
#include <linux/skbuff.h>
#include <linux/ieee80211.h>
#include <linux/timer.h>

Go to the source code of this file.

Data Structures

struct  lib80211_crypto_ops
 
struct  lib80211_crypt_data
 
struct  lib80211_crypt_info
 

Macros

#define DECLARE_SSID_BUF(var)   char var[IEEE80211_MAX_SSID_LEN * 4 + 1] __maybe_unused
 
#define NUM_WEP_KEYS   4
 

Enumerations

enum  { IEEE80211_CRYPTO_TKIP_COUNTERMEASURES = (1 << 0) }
 

Functions

const charprint_ssid (char *buf, const char *ssid, u8 ssid_len)
 
int lib80211_crypt_info_init (struct lib80211_crypt_info *info, char *name, spinlock_t *lock)
 
void lib80211_crypt_info_free (struct lib80211_crypt_info *info)
 
int lib80211_register_crypto_ops (struct lib80211_crypto_ops *ops)
 
int lib80211_unregister_crypto_ops (struct lib80211_crypto_ops *ops)
 
struct lib80211_crypto_opslib80211_get_crypto_ops (const char *name)
 
void lib80211_crypt_delayed_deinit (struct lib80211_crypt_info *info, struct lib80211_crypt_data **crypt)
 

Macro Definition Documentation

#define DECLARE_SSID_BUF (   var)    char var[IEEE80211_MAX_SSID_LEN * 4 + 1] __maybe_unused

Definition at line 36 of file lib80211.h.

#define NUM_WEP_KEYS   4

Definition at line 38 of file lib80211.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
IEEE80211_CRYPTO_TKIP_COUNTERMEASURES 

Definition at line 40 of file lib80211.h.

Function Documentation

void lib80211_crypt_delayed_deinit ( struct lib80211_crypt_info info,
struct lib80211_crypt_data **  crypt 
)

Definition at line 168 of file lib80211.c.

void lib80211_crypt_info_free ( struct lib80211_crypt_info info)

Definition at line 97 of file lib80211.c.

int lib80211_crypt_info_init ( struct lib80211_crypt_info info,
char name,
spinlock_t lock 
)

Definition at line 81 of file lib80211.c.

struct lib80211_crypto_ops* lib80211_get_crypto_ops ( const char name)
read

Definition at line 241 of file lib80211.c.

int lib80211_register_crypto_ops ( struct lib80211_crypto_ops ops)

Definition at line 196 of file lib80211.c.

int lib80211_unregister_crypto_ops ( struct lib80211_crypto_ops ops)

Definition at line 218 of file lib80211.c.

const char* print_ssid ( char buf,
const char ssid,
u8  ssid_len 
)

Definition at line 49 of file lib80211.c.