aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/wl1271_acx.h
diff options
context:
space:
mode:
authorJuuso Oikarinen <juuso.oikarinen@nokia.com>2009-10-12 08:08:52 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-10-27 16:48:05 -0400
commit3cfd6cf960b2b030ccae1144a5c0dcd91c7c56a8 (patch)
tree54d0ff7c915701d12fdf891f5131e44c0efd6682 /drivers/net/wireless/wl12xx/wl1271_acx.h
parent5d0af498c08b43566733d5c5fb8293ce3b109eab (diff)
wl1271: Enable smart reflex
Enable and configure smart reflex. This should have a reducing impact on power consumption. Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com> Reviewed-by: Luciano Coelho <luciano.coelho@nokia.com> Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl1271_acx.h')
-rw-r--r--drivers/net/wireless/wl12xx/wl1271_acx.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271_acx.h b/drivers/net/wireless/wl12xx/wl1271_acx.h
index 07256d280e5..0c704af1953 100644
--- a/drivers/net/wireless/wl12xx/wl1271_acx.h
+++ b/drivers/net/wireless/wl12xx/wl1271_acx.h
@@ -445,6 +445,25 @@ struct acx_bt_wlan_coex {
445 u8 pad[3]; 445 u8 pad[3];
446} __attribute__ ((packed)); 446} __attribute__ ((packed));
447 447
448struct acx_smart_reflex_state {
449 struct acx_header header;
450
451 u8 enable;
452 u8 padding[3];
453};
454
455struct smart_reflex_err_table {
456 u8 len;
457 s8 upper_limit;
458 s8 values[14];
459};
460
461struct acx_smart_reflex_config_params {
462 struct acx_header header;
463
464 struct smart_reflex_err_table error_table[3];
465};
466
448#define PTA_ANTENNA_TYPE_DEF (0) 467#define PTA_ANTENNA_TYPE_DEF (0)
449#define PTA_BT_HP_MAXTIME_DEF (2000) 468#define PTA_BT_HP_MAXTIME_DEF (2000)
450#define PTA_WLAN_HP_MAX_TIME_DEF (5000) 469#define PTA_WLAN_HP_MAX_TIME_DEF (5000)
@@ -1184,6 +1203,9 @@ enum {
1184 ACX_PEER_HT_CAP = 0x0057, 1203 ACX_PEER_HT_CAP = 0x0057,
1185 ACX_HT_BSS_OPERATION = 0x0058, 1204 ACX_HT_BSS_OPERATION = 0x0058,
1186 ACX_COEX_ACTIVITY = 0x0059, 1205 ACX_COEX_ACTIVITY = 0x0059,
1206 ACX_SET_SMART_REFLEX_DEBUG = 0x005A,
1207 ACX_SET_SMART_REFLEX_STATE = 0x005B,
1208 ACX_SET_SMART_REFLEX_PARAMS = 0x005F,
1187 DOT11_RX_MSDU_LIFE_TIME = 0x1004, 1209 DOT11_RX_MSDU_LIFE_TIME = 0x1004,
1188 DOT11_CUR_TX_PWR = 0x100D, 1210 DOT11_CUR_TX_PWR = 0x100D,
1189 DOT11_RX_DOT11_MODE = 0x1012, 1211 DOT11_RX_DOT11_MODE = 0x1012,
@@ -1233,5 +1255,6 @@ int wl1271_acx_tx_config_options(struct wl1271 *wl);
1233int wl1271_acx_mem_cfg(struct wl1271 *wl); 1255int wl1271_acx_mem_cfg(struct wl1271 *wl);
1234int wl1271_acx_init_mem_config(struct wl1271 *wl); 1256int wl1271_acx_init_mem_config(struct wl1271 *wl);
1235int wl1271_acx_init_rx_interrupt(struct wl1271 *wl); 1257int wl1271_acx_init_rx_interrupt(struct wl1271 *wl);
1258int wl1271_acx_smart_reflex(struct wl1271 *wl);
1236 1259
1237#endif /* __WL1271_ACX_H__ */ 1260#endif /* __WL1271_ACX_H__ */