diff options
author | Avinash Patil <patila@marvell.com> | 2014-03-19 01:19:17 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-03-19 15:15:47 -0400 |
commit | c4bc980f1b34a8c172b3812e8c946368c730bddd (patch) | |
tree | 8b2f9f13675f262ecf5168e19cfc475fdec5199b /drivers/net/wireless/mwifiex/pcie.h | |
parent | cc5c1afb1ed6318cdb3f92b7aa936564c4427f28 (diff) |
mwifiex: add support for sleep cookie in PCIe
This patch adds support to read sleep cookie for command
response before accessing buffer.
Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/mwifiex/pcie.h')
-rw-r--r-- | drivers/net/wireless/mwifiex/pcie.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/mwifiex/pcie.h b/drivers/net/wireless/mwifiex/pcie.h index 193af75bf582..e8ec561f8a64 100644 --- a/drivers/net/wireless/mwifiex/pcie.h +++ b/drivers/net/wireless/mwifiex/pcie.h | |||
@@ -97,6 +97,8 @@ | |||
97 | #define MWIFIEX_PCIE_BLOCK_SIZE_FW_DNLD 256 | 97 | #define MWIFIEX_PCIE_BLOCK_SIZE_FW_DNLD 256 |
98 | /* FW awake cookie after FW ready */ | 98 | /* FW awake cookie after FW ready */ |
99 | #define FW_AWAKE_COOKIE (0xAA55AA55) | 99 | #define FW_AWAKE_COOKIE (0xAA55AA55) |
100 | #define MWIFIEX_DEF_SLEEP_COOKIE 0xBEEFBEEF | ||
101 | #define MWIFIEX_MAX_DELAY_COUNT 5 | ||
100 | 102 | ||
101 | struct mwifiex_pcie_card_reg { | 103 | struct mwifiex_pcie_card_reg { |
102 | u16 cmd_addr_lo; | 104 | u16 cmd_addr_lo; |