diff options
author | Hante Meuleman <meuleman@broadcom.com> | 2013-06-06 07:17:48 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-06-12 15:02:16 -0400 |
commit | df50f756966cc07addaae5449a6fd45a17bdb06c (patch) | |
tree | e0a8ac79d0241bd1293e61d2bf061753bbf8deaf /drivers/net/wireless/brcm80211/brcmfmac/fwsignal.h | |
parent | 51f6dd9da27359d9218046ed0003f71e05a673c1 (diff) |
brcmfmac: Take bus flowcontrol at credit mgmt into account.
On bus flow control (no more host bus resources to send packets
to device) the netif flow control was toggled, however credit
management should also take this status into account. Since there
are multiple sources handling this flow control necessary spinlocks
were added to protect flow control related data/states.
Reviewed-by: Arend Van Spriel <arend@broadcom.com>
Reviewed-by: Franky (Zhenhui) Lin <frankyl@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: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/brcm80211/brcmfmac/fwsignal.h')
-rw-r--r-- | drivers/net/wireless/brcm80211/brcmfmac/fwsignal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/brcm80211/brcmfmac/fwsignal.h b/drivers/net/wireless/brcm80211/brcmfmac/fwsignal.h index fbe483d23752..9fc860910bd8 100644 --- a/drivers/net/wireless/brcm80211/brcmfmac/fwsignal.h +++ b/drivers/net/wireless/brcm80211/brcmfmac/fwsignal.h | |||
@@ -29,5 +29,6 @@ void brcmf_fws_reset_interface(struct brcmf_if *ifp); | |||
29 | void brcmf_fws_add_interface(struct brcmf_if *ifp); | 29 | void brcmf_fws_add_interface(struct brcmf_if *ifp); |
30 | void brcmf_fws_del_interface(struct brcmf_if *ifp); | 30 | void brcmf_fws_del_interface(struct brcmf_if *ifp); |
31 | void brcmf_fws_bustxfail(struct brcmf_fws_info *fws, struct sk_buff *skb); | 31 | void brcmf_fws_bustxfail(struct brcmf_fws_info *fws, struct sk_buff *skb); |
32 | void brcmf_fws_bus_blocked(struct brcmf_pub *drvr, bool flow_blocked); | ||
32 | 33 | ||
33 | #endif /* FWSIGNAL_H_ */ | 34 | #endif /* FWSIGNAL_H_ */ |