brcmfmac: Update msgbuf commonring size for improved throughput.
authorHante Meuleman <meuleman@broadcom.com>
Wed, 18 Mar 2015 12:25:23 +0000 (13:25 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 20 Mar 2015 07:03:39 +0000 (09:03 +0200)
Reviewed-by: Arend Van Spriel <arend@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Hante Meuleman <meuleman@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/brcm80211/brcmfmac/msgbuf.h

index 77a51b8c1e120824a4eb6d0b336d3875d3c16fe5..3d513e407e3d5db610792a6bea0d1d843cd15a63 100644 (file)
 
 #ifdef CONFIG_BRCMFMAC_PROTO_MSGBUF
 
-#define BRCMF_H2D_MSGRING_CONTROL_SUBMIT_MAX_ITEM      20
-#define BRCMF_H2D_MSGRING_RXPOST_SUBMIT_MAX_ITEM       256
-#define BRCMF_D2H_MSGRING_CONTROL_COMPLETE_MAX_ITEM    20
+#define BRCMF_H2D_MSGRING_CONTROL_SUBMIT_MAX_ITEM      64
+#define BRCMF_H2D_MSGRING_RXPOST_SUBMIT_MAX_ITEM       512
+#define BRCMF_D2H_MSGRING_CONTROL_COMPLETE_MAX_ITEM    64
 #define BRCMF_D2H_MSGRING_TX_COMPLETE_MAX_ITEM         1024
-#define BRCMF_D2H_MSGRING_RX_COMPLETE_MAX_ITEM         256
+#define BRCMF_D2H_MSGRING_RX_COMPLETE_MAX_ITEM         512
 #define BRCMF_H2D_TXFLOWRING_MAX_ITEM                  512
 
 #define BRCMF_H2D_MSGRING_CONTROL_SUBMIT_ITEMSIZE      40