Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: ISC
0002 /*
0003  * Copyright (c) 2013 Broadcom Corporation
0004  */
0005 #ifndef BRCMFMAC_BCDC_H
0006 #define BRCMFMAC_BCDC_H
0007 
0008 #ifdef CONFIG_BRCMFMAC_PROTO_BCDC
0009 int brcmf_proto_bcdc_attach(struct brcmf_pub *drvr);
0010 void brcmf_proto_bcdc_detach(struct brcmf_pub *drvr);
0011 void brcmf_proto_bcdc_txflowblock(struct device *dev, bool state);
0012 void brcmf_proto_bcdc_txcomplete(struct device *dev, struct sk_buff *txp,
0013                  bool success);
0014 struct brcmf_fws_info *drvr_to_fws(struct brcmf_pub *drvr);
0015 #else
0016 static inline int brcmf_proto_bcdc_attach(struct brcmf_pub *drvr) { return 0; }
0017 static inline void brcmf_proto_bcdc_detach(struct brcmf_pub *drvr) {}
0018 #endif
0019 
0020 #endif /* BRCMFMAC_BCDC_H */