brcmfmac: add credit borrowing mechanism
authorArend van Spriel <arend@broadcom.com>
Tue, 23 Apr 2013 10:53:15 +0000 (12:53 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 23 Apr 2013 18:17:05 +0000 (14:17 -0400)
commit1aac1e91171586e4d0981e40484a7c93d9b1f289
tree81f174cf957bc2ae54f36cbc550f1316b17a24be
parenta786b38d542f62e19ffa8adbcbfc82065cd13a11
brcmfmac: add credit borrowing mechanism

The firmware provides credits to the driver per WMM-AC. When
only AC_BE are to be transmitted to the firmware the driver
may use credits from other priorities to send AC_BE packets
towards the firmware.

Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmfmac/fwsignal.c