wlcore: increase aggregation buffer size by one page
authorLuciano Coelho <coelho@ti.com>
Thu, 10 May 2012 09:14:20 +0000 (12:14 +0300)
committerLuciano Coelho <coelho@ti.com>
Tue, 5 Jun 2012 12:59:02 +0000 (15:59 +0300)
With 4 pages (16Kb), we can't fit 10 frames in the aggregation buffer
during iperf.  This is the optimal for the firmware.  Thus, increase
the buffer size by one page.

Signed-off-by: Luciano Coelho <coelho@ti.com>
Signed-off-by: Arik Nemtsov <arik@wizery.com>
drivers/net/wireless/ti/wlcore/wlcore_i.h

index 45c07dc0df5d2be0933240f36e9a3ec1a6b36a66..83c9869105c38b951d7c0f0abddacde6eb870ea2 100644 (file)
@@ -89,7 +89,7 @@
 #define WL1271_AP_BSS_INDEX        0
 #define WL1271_AP_DEF_BEACON_EXP   20
 
-#define WL1271_AGGR_BUFFER_SIZE (4 * PAGE_SIZE)
+#define WL1271_AGGR_BUFFER_SIZE (5 * PAGE_SIZE)
 
 enum wl1271_state {
        WL1271_STATE_OFF,