Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
ani.c File Reference
#include <linux/kernel.h>
#include <linux/export.h>
#include "hw.h"
#include "hw-ops.h"

Go to the source code of this file.

Data Structures

struct  ani_ofdm_level_entry
 
struct  ani_cck_level_entry
 

Macros

#define ATH9K_ANI_OFDM_NUM_LEVEL   ARRAY_SIZE(ofdm_level_table)
 
#define ATH9K_ANI_OFDM_MAX_LEVEL   (ATH9K_ANI_OFDM_NUM_LEVEL-1)
 
#define ATH9K_ANI_OFDM_DEF_LEVEL   3 /* default level - matches the INI settings */
 
#define ATH9K_ANI_CCK_NUM_LEVEL   ARRAY_SIZE(cck_level_table)
 
#define ATH9K_ANI_CCK_MAX_LEVEL   (ATH9K_ANI_CCK_NUM_LEVEL-1)
 
#define ATH9K_ANI_CCK_MAX_LEVEL_LOW_RSSI   (ATH9K_ANI_CCK_NUM_LEVEL-3)
 
#define ATH9K_ANI_CCK_DEF_LEVEL   2 /* default level - matches the INI settings */
 

Functions

void ath9k_ani_reset (struct ath_hw *ah, bool is_scanning)
 
void ath9k_hw_ani_monitor (struct ath_hw *ah, struct ath9k_channel *chan)
 
 EXPORT_SYMBOL (ath9k_hw_ani_monitor)
 
void ath9k_enable_mib_counters (struct ath_hw *ah)
 
void ath9k_hw_disable_mib_counters (struct ath_hw *ah)
 
 EXPORT_SYMBOL (ath9k_hw_disable_mib_counters)
 
void ath9k_hw_ani_setup (struct ath_hw *ah)
 
void ath9k_hw_ani_init (struct ath_hw *ah)
 

Macro Definition Documentation

#define ATH9K_ANI_CCK_DEF_LEVEL   2 /* default level - matches the INI settings */

Definition at line 104 of file ani.c.

#define ATH9K_ANI_CCK_MAX_LEVEL   (ATH9K_ANI_CCK_NUM_LEVEL-1)

Definition at line 100 of file ani.c.

#define ATH9K_ANI_CCK_MAX_LEVEL_LOW_RSSI   (ATH9K_ANI_CCK_NUM_LEVEL-3)

Definition at line 102 of file ani.c.

#define ATH9K_ANI_CCK_NUM_LEVEL   ARRAY_SIZE(cck_level_table)

Definition at line 98 of file ani.c.

#define ATH9K_ANI_OFDM_DEF_LEVEL   3 /* default level - matches the INI settings */

Definition at line 56 of file ani.c.

#define ATH9K_ANI_OFDM_MAX_LEVEL   (ATH9K_ANI_OFDM_NUM_LEVEL-1)

Definition at line 54 of file ani.c.

#define ATH9K_ANI_OFDM_NUM_LEVEL   ARRAY_SIZE(ofdm_level_table)

Definition at line 52 of file ani.c.

Function Documentation

void ath9k_ani_reset ( struct ath_hw ah,
bool  is_scanning 
)

Definition at line 292 of file ani.c.

void ath9k_enable_mib_counters ( struct ath_hw ah)

Definition at line 456 of file ani.c.

void ath9k_hw_ani_init ( struct ath_hw ah)

Definition at line 509 of file ani.c.

void ath9k_hw_ani_monitor ( struct ath_hw ah,
struct ath9k_channel chan 
)

Definition at line 411 of file ani.c.

void ath9k_hw_ani_setup ( struct ath_hw ah)

Definition at line 492 of file ani.c.

void ath9k_hw_disable_mib_counters ( struct ath_hw ah)

Definition at line 478 of file ani.c.

EXPORT_SYMBOL ( ath9k_hw_ani_monitor  )
EXPORT_SYMBOL ( ath9k_hw_disable_mib_counters  )