diff options
Diffstat (limited to 'drivers/net/wireless/mwifiex/pcie.h')
-rw-r--r-- | drivers/net/wireless/mwifiex/pcie.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/wireless/mwifiex/pcie.h b/drivers/net/wireless/mwifiex/pcie.h index d322ab8604ea..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; |
@@ -195,18 +197,21 @@ struct mwifiex_pcie_device { | |||
195 | const char *firmware; | 197 | const char *firmware; |
196 | const struct mwifiex_pcie_card_reg *reg; | 198 | const struct mwifiex_pcie_card_reg *reg; |
197 | u16 blksz_fw_dl; | 199 | u16 blksz_fw_dl; |
200 | u16 tx_buf_size; | ||
198 | }; | 201 | }; |
199 | 202 | ||
200 | static const struct mwifiex_pcie_device mwifiex_pcie8766 = { | 203 | static const struct mwifiex_pcie_device mwifiex_pcie8766 = { |
201 | .firmware = PCIE8766_DEFAULT_FW_NAME, | 204 | .firmware = PCIE8766_DEFAULT_FW_NAME, |
202 | .reg = &mwifiex_reg_8766, | 205 | .reg = &mwifiex_reg_8766, |
203 | .blksz_fw_dl = MWIFIEX_PCIE_BLOCK_SIZE_FW_DNLD, | 206 | .blksz_fw_dl = MWIFIEX_PCIE_BLOCK_SIZE_FW_DNLD, |
207 | .tx_buf_size = MWIFIEX_TX_DATA_BUF_SIZE_2K, | ||
204 | }; | 208 | }; |
205 | 209 | ||
206 | static const struct mwifiex_pcie_device mwifiex_pcie8897 = { | 210 | static const struct mwifiex_pcie_device mwifiex_pcie8897 = { |
207 | .firmware = PCIE8897_DEFAULT_FW_NAME, | 211 | .firmware = PCIE8897_DEFAULT_FW_NAME, |
208 | .reg = &mwifiex_reg_8897, | 212 | .reg = &mwifiex_reg_8897, |
209 | .blksz_fw_dl = MWIFIEX_PCIE_BLOCK_SIZE_FW_DNLD, | 213 | .blksz_fw_dl = MWIFIEX_PCIE_BLOCK_SIZE_FW_DNLD, |
214 | .tx_buf_size = MWIFIEX_TX_DATA_BUF_SIZE_4K, | ||
210 | }; | 215 | }; |
211 | 216 | ||
212 | struct mwifiex_evt_buf_desc { | 217 | struct mwifiex_evt_buf_desc { |