diff options
Diffstat (limited to 'drivers/net/wireless/mwifiex/sdio.h')
| -rw-r--r-- | drivers/net/wireless/mwifiex/sdio.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/drivers/net/wireless/mwifiex/sdio.h b/drivers/net/wireless/mwifiex/sdio.h index 6eea30b43ed7..6b8835ec88f1 100644 --- a/drivers/net/wireless/mwifiex/sdio.h +++ b/drivers/net/wireless/mwifiex/sdio.h | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * Marvell Wireless LAN device driver: SDIO specific definitions | 2 | * Marvell Wireless LAN device driver: SDIO specific definitions |
| 3 | * | 3 | * |
| 4 | * Copyright (C) 2011, Marvell International Ltd. | 4 | * Copyright (C) 2011-2014, Marvell International Ltd. |
| 5 | * | 5 | * |
| 6 | * This software file (the "File") is distributed by Marvell International | 6 | * This software file (the "File") is distributed by Marvell International |
| 7 | * Ltd. under the terms of the GNU General Public License Version 2, June 1991 | 7 | * Ltd. under the terms of the GNU General Public License Version 2, June 1991 |
| @@ -219,6 +219,9 @@ struct mwifiex_sdio_card_reg { | |||
| 219 | u8 rd_len_p0_l; | 219 | u8 rd_len_p0_l; |
| 220 | u8 rd_len_p0_u; | 220 | u8 rd_len_p0_u; |
| 221 | u8 card_misc_cfg_reg; | 221 | u8 card_misc_cfg_reg; |
| 222 | u8 fw_dump_ctrl; | ||
| 223 | u8 fw_dump_start; | ||
| 224 | u8 fw_dump_end; | ||
| 222 | }; | 225 | }; |
| 223 | 226 | ||
| 224 | struct sdio_mmc_card { | 227 | struct sdio_mmc_card { |
| @@ -231,6 +234,7 @@ struct sdio_mmc_card { | |||
| 231 | u8 mp_agg_pkt_limit; | 234 | u8 mp_agg_pkt_limit; |
| 232 | bool supports_sdio_new_mode; | 235 | bool supports_sdio_new_mode; |
| 233 | bool has_control_mask; | 236 | bool has_control_mask; |
| 237 | bool supports_fw_dump; | ||
| 234 | u16 tx_buf_size; | 238 | u16 tx_buf_size; |
| 235 | u32 mp_tx_agg_buf_size; | 239 | u32 mp_tx_agg_buf_size; |
| 236 | u32 mp_rx_agg_buf_size; | 240 | u32 mp_rx_agg_buf_size; |
| @@ -257,6 +261,7 @@ struct mwifiex_sdio_device { | |||
| 257 | u8 mp_agg_pkt_limit; | 261 | u8 mp_agg_pkt_limit; |
| 258 | bool supports_sdio_new_mode; | 262 | bool supports_sdio_new_mode; |
| 259 | bool has_control_mask; | 263 | bool has_control_mask; |
| 264 | bool supports_fw_dump; | ||
| 260 | u16 tx_buf_size; | 265 | u16 tx_buf_size; |
| 261 | u32 mp_tx_agg_buf_size; | 266 | u32 mp_tx_agg_buf_size; |
| 262 | u32 mp_rx_agg_buf_size; | 267 | u32 mp_rx_agg_buf_size; |
| @@ -307,6 +312,9 @@ static const struct mwifiex_sdio_card_reg mwifiex_reg_sd8897 = { | |||
| 307 | .rd_len_p0_l = 0x0c, | 312 | .rd_len_p0_l = 0x0c, |
| 308 | .rd_len_p0_u = 0x0d, | 313 | .rd_len_p0_u = 0x0d, |
| 309 | .card_misc_cfg_reg = 0xcc, | 314 | .card_misc_cfg_reg = 0xcc, |
| 315 | .fw_dump_ctrl = 0xe2, | ||
| 316 | .fw_dump_start = 0xe3, | ||
| 317 | .fw_dump_end = 0xea, | ||
| 310 | }; | 318 | }; |
| 311 | 319 | ||
| 312 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8786 = { | 320 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8786 = { |
| @@ -319,6 +327,7 @@ static const struct mwifiex_sdio_device mwifiex_sdio_sd8786 = { | |||
| 319 | .tx_buf_size = MWIFIEX_TX_DATA_BUF_SIZE_2K, | 327 | .tx_buf_size = MWIFIEX_TX_DATA_BUF_SIZE_2K, |
| 320 | .mp_tx_agg_buf_size = MWIFIEX_MP_AGGR_BUF_SIZE_16K, | 328 | .mp_tx_agg_buf_size = MWIFIEX_MP_AGGR_BUF_SIZE_16K, |
| 321 | .mp_rx_agg_buf_size = MWIFIEX_MP_AGGR_BUF_SIZE_16K, | 329 | .mp_rx_agg_buf_size = MWIFIEX_MP_AGGR_BUF_SIZE_16K, |
| 330 | .supports_fw_dump = false, | ||
| 322 | }; | 331 | }; |
| 323 | 332 | ||
| 324 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8787 = { | 333 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8787 = { |
| @@ -331,6 +340,7 @@ static const struct mwifiex_sdio_device mwifiex_sdio_sd8787 = { | |||
| 331 | .tx_buf_size = MWIFIEX_TX_DATA_BUF_SIZE_2K, | 340 | .tx_buf_size = MWIFIEX_TX_DATA_BUF_SIZE_2K, |
| 332 | .mp_tx_agg_buf_size = MWIFIEX_MP_AGGR_BUF_SIZE_16K, | 341 | .mp_tx_agg_buf_size = MWIFIEX_MP_AGGR_BUF_SIZE_16K, |
| 333 | .mp_rx_agg_buf_size = MWIFIEX_MP_AGGR_BUF_SIZE_16K, | 342 | .mp_rx_agg_buf_size = MWIFIEX_MP_AGGR_BUF_SIZE_16K, |
| 343 | .supports_fw_dump = false, | ||
| 334 | }; | 344 | }; |
| 335 | 345 | ||
| 336 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8797 = { | 346 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8797 = { |
| @@ -343,6 +353,7 @@ static const struct mwifiex_sdio_device mwifiex_sdio_sd8797 = { | |||
| 343 | .tx_buf_size = MWIFIEX_TX_DATA_BUF_SIZE_2K, | 353 | .tx_buf_size = MWIFIEX_TX_DATA_BUF_SIZE_2K, |
| 344 | .mp_tx_agg_buf_size = MWIFIEX_MP_AGGR_BUF_SIZE_16K, | 354 | .mp_tx_agg_buf_size = MWIFIEX_MP_AGGR_BUF_SIZE_16K, |
| 345 | .mp_rx_agg_buf_size = MWIFIEX_MP_AGGR_BUF_SIZE_16K, | 355 | .mp_rx_agg_buf_size = MWIFIEX_MP_AGGR_BUF_SIZE_16K, |
| 356 | .supports_fw_dump = false, | ||
| 346 | }; | 357 | }; |
| 347 | 358 | ||
| 348 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8897 = { | 359 | static const struct mwifiex_sdio_device mwifiex_sdio_sd8897 = { |
| @@ -355,6 +366,7 @@ static const struct mwifiex_sdio_device mwifiex_sdio_sd8897 = { | |||
| 355 | .tx_buf_size = MWIFIEX_TX_DATA_BUF_SIZE_4K, | 366 | .tx_buf_size = MWIFIEX_TX_DATA_BUF_SIZE_4K, |
| 356 | .mp_tx_agg_buf_size = MWIFIEX_MP_AGGR_BUF_SIZE_32K, | 367 | .mp_tx_agg_buf_size = MWIFIEX_MP_AGGR_BUF_SIZE_32K, |
| 357 | .mp_rx_agg_buf_size = MWIFIEX_MP_AGGR_BUF_SIZE_32K, | 368 | .mp_rx_agg_buf_size = MWIFIEX_MP_AGGR_BUF_SIZE_32K, |
| 369 | .supports_fw_dump = true, | ||
| 358 | }; | 370 | }; |
| 359 | 371 | ||
| 360 | /* | 372 | /* |
