Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
cam.h File Reference

Go to the source code of this file.

Macros

#define CAM_CONTENT_COUNT   8
 
#define CFG_DEFAULT_KEY   BIT(5)
 
#define CFG_VALID   BIT(15)
 
#define PAIRWISE_KEYIDX   0
 
#define CAM_PAIRWISE_KEY_POSITION   4
 
#define CAM_CONFIG_USEDK   1
 
#define CAM_CONFIG_NO_USEDK   0
 

Functions

void rtl_cam_reset_all_entry (struct ieee80211_hw *hw)
 
u8 rtl_cam_add_one_entry (struct ieee80211_hw *hw, u8 *mac_addr, u32 ul_key_id, u32 ul_entry_idx, u32 ul_enc_alg, u32 ul_default_key, u8 *key_content)
 
int rtl_cam_delete_one_entry (struct ieee80211_hw *hw, u8 *mac_addr, u32 ul_key_id)
 
void rtl_cam_mark_invalid (struct ieee80211_hw *hw, u8 uc_index)
 
void rtl_cam_empty_entry (struct ieee80211_hw *hw, u8 uc_index)
 
void rtl_cam_reset_sec_info (struct ieee80211_hw *hw)
 
u8 rtl_cam_get_free_entry (struct ieee80211_hw *hw, u8 *sta_addr)
 
void rtl_cam_del_entry (struct ieee80211_hw *hw, u8 *sta_addr)
 

Macro Definition Documentation

#define CAM_CONFIG_NO_USEDK   0

Definition at line 42 of file cam.h.

#define CAM_CONFIG_USEDK   1

Definition at line 41 of file cam.h.

#define CAM_CONTENT_COUNT   8

Definition at line 33 of file cam.h.

#define CAM_PAIRWISE_KEY_POSITION   4

Definition at line 39 of file cam.h.

#define CFG_DEFAULT_KEY   BIT(5)

Definition at line 35 of file cam.h.

#define CFG_VALID   BIT(15)

Definition at line 36 of file cam.h.

#define PAIRWISE_KEYIDX   0

Definition at line 38 of file cam.h.

Function Documentation

u8 rtl_cam_add_one_entry ( struct ieee80211_hw hw,
u8 mac_addr,
u32  ul_key_id,
u32  ul_entry_idx,
u32  ul_enc_alg,
u32  ul_default_key,
u8 key_content 
)

Definition at line 124 of file cam.c.

void rtl_cam_del_entry ( struct ieee80211_hw hw,
u8 sta_addr 
)

Definition at line 321 of file cam.c.

int rtl_cam_delete_one_entry ( struct ieee80211_hw hw,
u8 mac_addr,
u32  ul_key_id 
)

Definition at line 158 of file cam.c.

void rtl_cam_empty_entry ( struct ieee80211_hw hw,
u8  uc_index 
)

Definition at line 233 of file cam.c.

u8 rtl_cam_get_free_entry ( struct ieee80211_hw hw,
u8 sta_addr 
)

Definition at line 287 of file cam.c.

void rtl_cam_mark_invalid ( struct ieee80211_hw hw,
u8  uc_index 
)

Definition at line 192 of file cam.c.

void rtl_cam_reset_all_entry ( struct ieee80211_hw hw)

Definition at line 182 of file cam.c.

void rtl_cam_reset_sec_info ( struct ieee80211_hw hw)

Definition at line 34 of file cam.c.