diff options
author | Juuso Oikarinen <juuso.oikarinen@nokia.com> | 2009-10-13 05:47:46 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-10-27 16:48:09 -0400 |
commit | 11f70f9715f0d8f99eac42d69689e8df15283fea (patch) | |
tree | 92f5e45ca20e554948800aa3beacab00604e8b74 /drivers/net/wireless/wl12xx/wl1271_conf.h | |
parent | eb5b28d021a1b96050f7af46e9140eb0051cc6d8 (diff) |
wl1271: Implement beacon early termination support
Add support to enable beacon early termination in the firmware. Early
Beacon termination is a feature which allows the radio to be turned off
after TIM IE to save power.
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_conf.h')
-rw-r--r-- | drivers/net/wireless/wl12xx/wl1271_conf.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271_conf.h b/drivers/net/wireless/wl12xx/wl1271_conf.h index 5333a2731254..00ffa6679324 100644 --- a/drivers/net/wireless/wl12xx/wl1271_conf.h +++ b/drivers/net/wireless/wl12xx/wl1271_conf.h | |||
@@ -603,6 +603,11 @@ enum conf_bcn_filt_mode { | |||
603 | CONF_BCN_FILT_MODE_ENABLED = 1 | 603 | CONF_BCN_FILT_MODE_ENABLED = 1 |
604 | }; | 604 | }; |
605 | 605 | ||
606 | enum conf_bet_mode { | ||
607 | CONF_BET_MODE_DISABLE = 0, | ||
608 | CONF_BET_MODE_ENABLE = 1, | ||
609 | }; | ||
610 | |||
606 | struct conf_conn_settings { | 611 | struct conf_conn_settings { |
607 | /* | 612 | /* |
608 | * Firmware wakeup conditions configuration. The host may set only | 613 | * Firmware wakeup conditions configuration. The host may set only |
@@ -689,6 +694,24 @@ struct conf_conn_settings { | |||
689 | * Configuration of signal average weights. | 694 | * Configuration of signal average weights. |
690 | */ | 695 | */ |
691 | struct conf_sig_weights sig_weights; | 696 | struct conf_sig_weights sig_weights; |
697 | |||
698 | /* | ||
699 | * Specifies if beacon early termination procedure is enabled or | ||
700 | * disabled. | ||
701 | * | ||
702 | * Range: CONF_BET_MODE_* | ||
703 | */ | ||
704 | u8 bet_enable; | ||
705 | |||
706 | /* | ||
707 | * Specifies the maximum number of consecutive beacons that may be | ||
708 | * early terminated. After this number is reached at least one full | ||
709 | * beacon must be correctly received in FW before beacon ET | ||
710 | * resumes. | ||
711 | * | ||
712 | * Range 0 - 255 | ||
713 | */ | ||
714 | u8 bet_max_consecutive; | ||
692 | }; | 715 | }; |
693 | 716 | ||
694 | #define CONF_SR_ERR_TBL_MAX_VALUES 14 | 717 | #define CONF_SR_ERR_TBL_MAX_VALUES 14 |