Linux Kernel
3.7.1
|
#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-debug.h"
#include "iwl-trans.h"
#include "iwl-modparams.h"
#include "dev.h"
#include "agn.h"
#include "commands.h"
#include "power.h"
Go to the source code of this file.
Data Structures | |
struct | iwl_power_vec_entry |
Macros | |
#define | IWL_DTIM_RANGE_0_MAX 2 |
#define | IWL_DTIM_RANGE_1_MAX 10 |
#define | NOSLP cpu_to_le16(0), 0, 0 |
#define | SLP IWL_POWER_DRIVER_ALLOW_SLEEP_MSK, 0, 0 |
#define | ASLP |
#define | ASLP_TOUT(T) cpu_to_le32(T) |
#define | TU_TO_USEC 1024 |
#define | SLP_TOUT(T) cpu_to_le32((T) * TU_TO_USEC) |
#define | SLP_VEC(X0, X1, X2, X3, X4) |
Functions | |
int | iwl_power_set_mode (struct iwl_priv *priv, struct iwl_powertable_cmd *cmd, bool force) |
int | iwl_power_update_mode (struct iwl_priv *priv, bool force) |
void | iwl_power_initialize (struct iwl_priv *priv) |
#define ASLP |
#define ASLP_TOUT | ( | T | ) | cpu_to_le32(T) |
#define NOSLP cpu_to_le16(0), 0, 0 |
#define SLP IWL_POWER_DRIVER_ALLOW_SLEEP_MSK, 0, 0 |
#define SLP_TOUT | ( | T | ) | cpu_to_le32((T) * TU_TO_USEC) |