aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwifiex/pcie.h
diff options
context:
space:
mode:
authorAmitkumar Karwar <akarwar@marvell.com>2014-02-27 22:35:13 -0500
committerJohn W. Linville <linville@tuxdriver.com>2014-02-28 14:33:40 -0500
commit828cf2222f05a22e51cdde4fb959d256bf31613b (patch)
tree8f58a029ce9e8af2d4b3a650d61c0ec2ae6cae35 /drivers/net/wireless/mwifiex/pcie.h
parentfa0ecbb9905d985a77e76801ba1153394ba593e8 (diff)
mwifiex: change transmit buffer size for 8897
Currently default Tx buffer size configured to firmware is 2K for all chipsets. This patch changes it to 4K for SD/PCIe/USB 8897 chipsets as per firmware requirements. Signed-off-by: Amitkumar Karwar <akarwar@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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/mwifiex/pcie.h b/drivers/net/wireless/mwifiex/pcie.h
index d322ab8604ea..193af75bf582 100644
--- a/drivers/net/wireless/mwifiex/pcie.h
+++ b/drivers/net/wireless/mwifiex/pcie.h
@@ -195,18 +195,21 @@ struct mwifiex_pcie_device {
195 const char *firmware; 195 const char *firmware;
196 const struct mwifiex_pcie_card_reg *reg; 196 const struct mwifiex_pcie_card_reg *reg;
197 u16 blksz_fw_dl; 197 u16 blksz_fw_dl;
198 u16 tx_buf_size;
198}; 199};
199 200
200static const struct mwifiex_pcie_device mwifiex_pcie8766 = { 201static const struct mwifiex_pcie_device mwifiex_pcie8766 = {
201 .firmware = PCIE8766_DEFAULT_FW_NAME, 202 .firmware = PCIE8766_DEFAULT_FW_NAME,
202 .reg = &mwifiex_reg_8766, 203 .reg = &mwifiex_reg_8766,
203 .blksz_fw_dl = MWIFIEX_PCIE_BLOCK_SIZE_FW_DNLD, 204 .blksz_fw_dl = MWIFIEX_PCIE_BLOCK_SIZE_FW_DNLD,
205 .tx_buf_size = MWIFIEX_TX_DATA_BUF_SIZE_2K,
204}; 206};
205 207
206static const struct mwifiex_pcie_device mwifiex_pcie8897 = { 208static const struct mwifiex_pcie_device mwifiex_pcie8897 = {
207 .firmware = PCIE8897_DEFAULT_FW_NAME, 209 .firmware = PCIE8897_DEFAULT_FW_NAME,
208 .reg = &mwifiex_reg_8897, 210 .reg = &mwifiex_reg_8897,
209 .blksz_fw_dl = MWIFIEX_PCIE_BLOCK_SIZE_FW_DNLD, 211 .blksz_fw_dl = MWIFIEX_PCIE_BLOCK_SIZE_FW_DNLD,
212 .tx_buf_size = MWIFIEX_TX_DATA_BUF_SIZE_4K,
210}; 213};
211 214
212struct mwifiex_evt_buf_desc { 215struct mwifiex_evt_buf_desc {