Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
tt.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <net/mac80211.h>
#include "iwl-io.h"
#include "iwl-modparams.h"
#include "iwl-debug.h"
#include "agn.h"
#include "dev.h"
#include "commands.h"
#include "tt.h"

Go to the source code of this file.

Macros

#define CT_KILL_EXIT_DURATION   (5) /* 5 seconds duration */
 
#define CT_KILL_WAITING_DURATION   (300) /* 300ms duration */
 
#define IWL_MINIMAL_POWER_THRESHOLD   (CT_KILL_THRESHOLD_LEGACY)
 
#define IWL_REDUCED_PERFORMANCE_THRESHOLD_2   (100)
 
#define IWL_REDUCED_PERFORMANCE_THRESHOLD_1   (90)
 

Functions

bool iwl_tt_is_low_power_state (struct iwl_priv *priv)
 
u8 iwl_tt_current_power_mode (struct iwl_priv *priv)
 
bool iwl_ht_enabled (struct iwl_priv *priv)
 
bool iwl_check_for_ct_kill (struct iwl_priv *priv)
 
enum iwl_antenna_ok iwl_tx_ant_restriction (struct iwl_priv *priv)
 
enum iwl_antenna_ok iwl_rx_ant_restriction (struct iwl_priv *priv)
 
void iwl_tt_enter_ct_kill (struct iwl_priv *priv)
 
void iwl_tt_exit_ct_kill (struct iwl_priv *priv)
 
void iwl_tt_handler (struct iwl_priv *priv)
 
void iwl_tt_initialize (struct iwl_priv *priv)
 
void iwl_tt_exit (struct iwl_priv *priv)
 

Macro Definition Documentation

#define CT_KILL_EXIT_DURATION   (5) /* 5 seconds duration */

Definition at line 157 of file tt.c.

#define CT_KILL_WAITING_DURATION   (300) /* 300ms duration */

Definition at line 158 of file tt.c.

#define IWL_MINIMAL_POWER_THRESHOLD   (CT_KILL_THRESHOLD_LEGACY)

Definition at line 248 of file tt.c.

#define IWL_REDUCED_PERFORMANCE_THRESHOLD_1   (90)

Definition at line 250 of file tt.c.

#define IWL_REDUCED_PERFORMANCE_THRESHOLD_2   (100)

Definition at line 249 of file tt.c.

Function Documentation

bool iwl_check_for_ct_kill ( struct iwl_priv priv)

Definition at line 124 of file tt.c.

bool iwl_ht_enabled ( struct iwl_priv priv)

Definition at line 99 of file tt.c.

enum iwl_antenna_ok iwl_rx_ant_restriction ( struct iwl_priv priv)

Definition at line 146 of file tt.c.

u8 iwl_tt_current_power_mode ( struct iwl_priv priv)

Definition at line 92 of file tt.c.

void iwl_tt_enter_ct_kill ( struct iwl_priv priv)

Definition at line 561 of file tt.c.

void iwl_tt_exit ( struct iwl_priv priv)

Definition at line 674 of file tt.c.

void iwl_tt_exit_ct_kill ( struct iwl_priv priv)

Definition at line 570 of file tt.c.

void iwl_tt_handler ( struct iwl_priv priv)

Definition at line 593 of file tt.c.

void iwl_tt_initialize ( struct iwl_priv priv)

Definition at line 607 of file tt.c.

bool iwl_tt_is_low_power_state ( struct iwl_priv priv)

Definition at line 83 of file tt.c.

enum iwl_antenna_ok iwl_tx_ant_restriction ( struct iwl_priv priv)

Definition at line 135 of file tt.c.