summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl1251/wl1251.h
diff options
context:
space:
mode:
authorDavid Gnedt <david.gnedt@davizone.at>2011-01-30 20:10:57 +0100
committerJohn W. Linville <linville@tuxdriver.com>2011-02-03 16:42:44 -0500
commitc3e334d29484423e78009790a3d3fa78da8b43a1 (patch)
treee7625921c13441f17962ba94acabc421d3da2ff6 /drivers/net/wireless/wl1251/wl1251.h
parentbb4793b3c6370a1fed86978c6590241d770cb43e (diff)
downloadblackbird-op-linux-c3e334d29484423e78009790a3d3fa78da8b43a1.tar.gz
blackbird-op-linux-c3e334d29484423e78009790a3d3fa78da8b43a1.zip
wl1251: enable beacon early termination while in power-saving mode
Port the beacon early termination feature from wl1251 driver version included in the Maemo Fremantle kernel. It is enabled when going to power-saving mode and disabled when leaving power-saving mode. Signed-off-by: David Gnedt <david.gnedt@davizone.at> Acked-by: Kalle Valo <kvalo@adurom.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/wl1251/wl1251.h')
-rw-r--r--drivers/net/wireless/wl1251/wl1251.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl1251/wl1251.h b/drivers/net/wireless/wl1251/wl1251.h
index c0ce2c8b43b8..462ac5b20585 100644
--- a/drivers/net/wireless/wl1251/wl1251.h
+++ b/drivers/net/wireless/wl1251/wl1251.h
@@ -410,6 +410,8 @@ void wl1251_disable_interrupts(struct wl1251 *wl);
#define WL1251_DEFAULT_CHANNEL 0
+#define WL1251_DEFAULT_BET_CONSECUTIVE 10
+
#define CHIP_ID_1251_PG10 (0x7010101)
#define CHIP_ID_1251_PG11 (0x7020101)
#define CHIP_ID_1251_PG12 (0x7030101)
OpenPOWER on IntegriCloud