diff options
author | Amitkumar Karwar <akarwar@marvell.com> | 2014-02-27 22:35:13 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-02-28 14:33:40 -0500 |
commit | 828cf2222f05a22e51cdde4fb959d256bf31613b (patch) | |
tree | 8f58a029ce9e8af2d4b3a650d61c0ec2ae6cae35 /drivers/net/wireless/mwifiex/sdio.c | |
parent | fa0ecbb9905d985a77e76801ba1153394ba593e8 (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/sdio.c')
-rw-r--r-- | drivers/net/wireless/mwifiex/sdio.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/mwifiex/sdio.c b/drivers/net/wireless/mwifiex/sdio.c index b44a31523461..d5661a6209be 100644 --- a/drivers/net/wireless/mwifiex/sdio.c +++ b/drivers/net/wireless/mwifiex/sdio.c | |||
@@ -84,6 +84,7 @@ mwifiex_sdio_probe(struct sdio_func *func, const struct sdio_device_id *id) | |||
84 | card->mp_agg_pkt_limit = data->mp_agg_pkt_limit; | 84 | card->mp_agg_pkt_limit = data->mp_agg_pkt_limit; |
85 | card->supports_sdio_new_mode = data->supports_sdio_new_mode; | 85 | card->supports_sdio_new_mode = data->supports_sdio_new_mode; |
86 | card->has_control_mask = data->has_control_mask; | 86 | card->has_control_mask = data->has_control_mask; |
87 | card->tx_buf_size = data->tx_buf_size; | ||
87 | } | 88 | } |
88 | 89 | ||
89 | sdio_claim_host(func); | 90 | sdio_claim_host(func); |
@@ -1760,6 +1761,7 @@ static int mwifiex_register_dev(struct mwifiex_adapter *adapter) | |||
1760 | 1761 | ||
1761 | /* save adapter pointer in card */ | 1762 | /* save adapter pointer in card */ |
1762 | card->adapter = adapter; | 1763 | card->adapter = adapter; |
1764 | adapter->tx_buf_size = card->tx_buf_size; | ||
1763 | 1765 | ||
1764 | sdio_claim_host(func); | 1766 | sdio_claim_host(func); |
1765 | 1767 | ||