OSDN Git Service

brcmfmac: allow credit borrowing for all access categories
authorRaveendran Somu <raveendran.somu@cypress.com>
Wed, 10 Jun 2020 15:21:01 +0000 (10:21 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 14 Jul 2020 09:46:41 +0000 (12:46 +0300)
commit683608bde0308b1a2143e4fce579c744e18ae229
tree724963a8eb998c0d3ff03faba42c07bcba279cb4
parentfa3266541b13f390eb35bdbc38ff4a03368be004
brcmfmac: allow credit borrowing for all access categories

Current credit borrowing allows only the access category BE to
borrow the credits. This change is to fix the credit borrowing
logic, to make borrowing available for all access categories
and also to borrow only from the lower categories. This fixes WFA
802.11n certs 5.2.27 failures.

Signed-off-by: Raveendran Somu <raveendran.somu@cypress.com>
Signed-off-by: Jia-Shyr Chuang <joseph.chuang@cypress.com>
Signed-off-by: Chung-Hsien Hsu <stanley.hsu@cypress.com>
Signed-off-by: Chi-hsien Lin <chi-hsien.lin@cypress.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200610152106.175257-2-chi-hsien.lin@cypress.com
drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c