brcmfmac: enable sk_buff queueing when credits deplete
authorArend van Spriel <arend@broadcom.com>
Wed, 3 Apr 2013 10:40:50 +0000 (12:40 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 3 Apr 2013 19:07:09 +0000 (15:07 -0400)
commit84bcc0c3c4b8ca4c0abed2d2dd63b7ce04f8be0e
tree0ba2a202c4454e61d49bf3af6aa0233bfb817f16
parent290fb763a2a7c79c45d09c8523f37e96446a5a91
brcmfmac: enable sk_buff queueing when credits deplete

Firmware provides the driver with credits used to transmit packets
to the firmware. When credits run out the packets should be queued
and dequeued when receiving creditback signals from the firmware.

Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: Hante Meuleman <meuleman@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/dhd_dbg.c
drivers/net/wireless/brcm80211/brcmfmac/dhd_dbg.h
drivers/net/wireless/brcm80211/brcmfmac/fwsignal.c