Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
key.c File Reference
#include <linux/export.h>
#include <asm/unaligned.h>
#include <net/mac80211.h>
#include "ath.h"
#include "reg.h"

Go to the source code of this file.

Macros

#define REG_READ   (common->ops->read)
 
#define REG_WRITE(_ah, _reg, _val)   (common->ops->write)(_ah, _val, _reg)
 
#define ENABLE_REGWRITE_BUFFER(_ah)
 
#define REGWRITE_BUFFER_FLUSH(_ah)
 
#define IEEE80211_WEP_NKID   4 /* number of key ids */
 

Functions

bool ath_hw_keyreset (struct ath_common *common, u16 entry)
 
 EXPORT_SYMBOL (ath_hw_keyreset)
 
int ath_key_config (struct ath_common *common, struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct ieee80211_key_conf *key)
 
 EXPORT_SYMBOL (ath_key_config)
 
void ath_key_delete (struct ath_common *common, struct ieee80211_key_conf *key)
 
 EXPORT_SYMBOL (ath_key_delete)
 

Macro Definition Documentation

#define ENABLE_REGWRITE_BUFFER (   _ah)
Value:
if (common->ops->enable_write_buffer) \
common->ops->enable_write_buffer((_ah));

Definition at line 27 of file key.c.

#define IEEE80211_WEP_NKID   4 /* number of key ids */

Definition at line 36 of file key.c.

#define REG_READ   (common->ops->read)

Definition at line 25 of file key.c.

#define REG_WRITE (   _ah,
  _reg,
  _val 
)    (common->ops->write)(_ah, _val, _reg)

Definition at line 26 of file key.c.

#define REGWRITE_BUFFER_FLUSH (   _ah)
Value:
if (common->ops->write_flush) \
common->ops->write_flush((_ah));

Definition at line 31 of file key.c.

Function Documentation

bool ath_hw_keyreset ( struct ath_common common,
u16  entry 
)

Definition at line 42 of file key.c.

int ath_key_config ( struct ath_common common,
struct ieee80211_vif vif,
struct ieee80211_sta sta,
struct ieee80211_key_conf key 
)

Definition at line 470 of file key.c.

void ath_key_delete ( struct ath_common common,
struct ieee80211_key_conf key 
)

Definition at line 581 of file key.c.

EXPORT_SYMBOL ( ath_hw_keyreset  )
EXPORT_SYMBOL ( ath_key_config  )
EXPORT_SYMBOL ( ath_key_delete  )