WIP FPC-III support
[linux/fpc-iii.git] / drivers / net / wireless / broadcom / brcm80211 / brcmfmac / bcdc.h
blobb051d2860cd106e49536ec24077d4bc1d1f36970
1 // SPDX-License-Identifier: ISC
2 /*
3 * Copyright (c) 2013 Broadcom Corporation
4 */
5 #ifndef BRCMFMAC_BCDC_H
6 #define BRCMFMAC_BCDC_H
8 #ifdef CONFIG_BRCMFMAC_PROTO_BCDC
9 int brcmf_proto_bcdc_attach(struct brcmf_pub *drvr);
10 void brcmf_proto_bcdc_detach(struct brcmf_pub *drvr);
11 void brcmf_proto_bcdc_txflowblock(struct device *dev, bool state);
12 void brcmf_proto_bcdc_txcomplete(struct device *dev, struct sk_buff *txp,
13 bool success);
14 struct brcmf_fws_info *drvr_to_fws(struct brcmf_pub *drvr);
15 #else
16 static inline int brcmf_proto_bcdc_attach(struct brcmf_pub *drvr) { return 0; }
17 static inline void brcmf_proto_bcdc_detach(struct brcmf_pub *drvr) {}
18 #endif
20 #endif /* BRCMFMAC_BCDC_H */