mwifiex: modify SDIO aggregation Tx/Rx buffer size
authorAmitkumar Karwar <akarwar@marvell.com>
Wed, 6 Jul 2011 01:01:11 +0000 (18:01 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 6 Jul 2011 19:05:44 +0000 (15:05 -0400)
The SDIO aggregation buffer size has been modified to an optimum
value which gives good throughput results.

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>
drivers/net/wireless/mwifiex/sdio.h

index c925376..524f78f 100644 (file)
 
 #define SDIO_MP_AGGR_DEF_PKT_LIMIT     8
 
-#define SDIO_MP_TX_AGGR_DEF_BUF_SIZE        (4096)     /* 4K */
+#define SDIO_MP_TX_AGGR_DEF_BUF_SIZE        (8192)     /* 8K */
 
 /* Multi port RX aggregation buffer size */
-#define SDIO_MP_RX_AGGR_DEF_BUF_SIZE        (4096)     /* 4K */
+#define SDIO_MP_RX_AGGR_DEF_BUF_SIZE        (16384)    /* 16K */
 
 /* Misc. Config Register : Auto Re-enable interrupts */
 #define AUTO_RE_ENABLE_INT              BIT(4)