wl1251: decrease bt coex before beacon time
authorYuri Ershov <ext-yuri.ershov@nokia.com>
Wed, 27 Oct 2010 10:48:55 +0000 (14:48 +0400)
committerGrazvydas Ignotas <notasas@gmail.com>
Sun, 31 Oct 2010 20:10:34 +0000 (22:10 +0200)
With the current setup bluetooth coexistance consumes too much power
because firmware wakes up for beacon really early. As a workaround reduce
the wakeup time to 500 us to save power. This patch will be reverted when
a proper solution for bluetooth coexistance high power consumption is
implemented.

This decreases wlan idle power consumption from ~22 mA to ~14 mA.

Signed-off-by: Kalle Valo <kalle.valo@nokia.com>
Reviewed-by: Vidhya Govindan <vidhya.govindan@nokia.com>
Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>
Signed-off-by: Yuri Ershov <ext-yuri.ershov@nokia.com>
drivers/net/wireless/wl12xx/wl1251_acx.h

index a8845b8..c1af763 100644 (file)
@@ -517,7 +517,7 @@ struct acx_bt_wlan_coex {
 #define PTA_ANTI_STARVE_PERIOD_DEF       (500)
 #define PTA_ANTI_STARVE_NUM_CYCLE_DEF    (4)
 #define PTA_ALLOW_PA_SD_DEF              (1)
-#define PTA_TIME_BEFORE_BEACON_DEF       (6300)
+#define PTA_TIME_BEFORE_BEACON_DEF       (500)
 #define PTA_HPDM_MAX_TIME_DEF            (1600)
 #define PTA_TIME_OUT_NEXT_WLAN_DEF       (2550)
 #define PTA_AUTO_MODE_NO_CTS_DEF         (0)