summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/ini.h
diff options
context:
space:
mode:
authorShahar Levi <shahar_levi@ti.com>2011-06-12 10:34:43 +0300
committerLuciano Coelho <coelho@ti.com>2011-06-27 12:50:33 +0300
commit0c005048aa3cd3ac7bfdd3c6fcc20ea4f0ab667d (patch)
tree6f38eff04a8eef84d12e42d67810bda6f8104e0f /drivers/net/wireless/wl12xx/ini.h
parent86046da4afe068991b77e0a4c4b79b99ad961bda (diff)
wl12xx: Add Support for Low Power DRPw (LPD) Mode
The Low Power DRPw (LPD) mode contains several optimizations that designed to reduce power consumption. The purpose is to save current consumption in RX and Listen mode. LPD setting apply only for wl127x AP mode (not wl128x) Signed-off-by: Shahar Levi <shahar_levi@ti.com> Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/ini.h')
-rw-r--r--drivers/net/wireless/wl12xx/ini.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/ini.h b/drivers/net/wireless/wl12xx/ini.h
index 1420c842b8f..4cf9ecc5621 100644
--- a/drivers/net/wireless/wl12xx/ini.h
+++ b/drivers/net/wireless/wl12xx/ini.h
@@ -24,6 +24,9 @@
#ifndef __INI_H__
#define __INI_H__
+#define GENERAL_SETTINGS_DRPW_LPD 0xc0
+#define SCRATCH_ENABLE_LPD BIT(25)
+
#define WL1271_INI_MAX_SMART_REFLEX_PARAM 16
struct wl1271_ini_general_params {