2019-05-16 12:04:09 +00:00
|
|
|
// SPDX-License-Identifier: ISC
|
2013-11-29 11:25:16 +00:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2013 Broadcom Corporation
|
|
|
|
*/
|
|
|
|
#ifndef BRCMFMAC_BCDC_H
|
|
|
|
#define BRCMFMAC_BCDC_H
|
|
|
|
|
2014-09-11 20:51:31 +00:00
|
|
|
#ifdef CONFIG_BRCMFMAC_PROTO_BCDC
|
2013-11-29 11:25:16 +00:00
|
|
|
int brcmf_proto_bcdc_attach(struct brcmf_pub *drvr);
|
2019-07-11 09:05:06 +00:00
|
|
|
void brcmf_proto_bcdc_detach(struct brcmf_pub *drvr);
|
2017-03-10 21:17:02 +00:00
|
|
|
void brcmf_proto_bcdc_txflowblock(struct device *dev, bool state);
|
2017-03-10 21:17:03 +00:00
|
|
|
void brcmf_proto_bcdc_txcomplete(struct device *dev, struct sk_buff *txp,
|
|
|
|
bool success);
|
2017-04-06 12:14:39 +00:00
|
|
|
struct brcmf_fws_info *drvr_to_fws(struct brcmf_pub *drvr);
|
2014-09-11 20:51:31 +00:00
|
|
|
#else
|
|
|
|
static inline int brcmf_proto_bcdc_attach(struct brcmf_pub *drvr) { return 0; }
|
2019-07-11 09:05:06 +00:00
|
|
|
static inline void brcmf_proto_bcdc_detach(struct brcmf_pub *drvr) {}
|
2014-09-11 20:51:31 +00:00
|
|
|
#endif
|
2013-11-29 11:25:16 +00:00
|
|
|
|
|
|
|
#endif /* BRCMFMAC_BCDC_H */
|