brcmfmac: Improve throughput by scheduling msbug flow worker.
authorHante Meuleman <meuleman@broadcom.com>
Wed, 20 May 2015 12:09:48 +0000 (14:09 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 26 May 2015 11:09:54 +0000 (14:09 +0300)
commit464a5f3f0429c5a6d38d3b4899d38c4b66b18f02
tree940c1af6c5cef5063f953296bb8216fc9c676050
parentf58001fa95703ac275efe7d53fb7ca8613618b09
brcmfmac: Improve throughput by scheduling msbug flow worker.

The tx flow worker in msgbuf gets scheduled at tx till a certain
threshold has been reached. Then the tx completes will take over
the scheduling. When amsdu and ampdu is used the frames are
transferred wireless in a very bulky fashion, in combination
with this scheduling algorithm and buffer limiters in the stack
this can result in limited throughput. This change causes the
flow worker to be scheduled more frequently from tx.

Reviewed-by: Arend Van Spriel <arend@broadcom.com>
Reviewed-by: Franky (Zhenhui) Lin <frankyl@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: Daniel (Deognyoun) Kim <dekim@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/flowring.c
drivers/net/wireless/brcm80211/brcmfmac/flowring.h
drivers/net/wireless/brcm80211/brcmfmac/msgbuf.c