Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /*
0003  * Device handling thread interface for mac80211 ST-Ericsson CW1200 drivers
0004  *
0005  * Copyright (c) 2010, ST-Ericsson
0006  * Author: Dmitry Tarnyagin <dmitry.tarnyagin@lockless.no>
0007  */
0008 
0009 #ifndef CW1200_BH_H
0010 #define CW1200_BH_H
0011 
0012 /* extern */ struct cw1200_common;
0013 
0014 int cw1200_register_bh(struct cw1200_common *priv);
0015 void cw1200_unregister_bh(struct cw1200_common *priv);
0016 void cw1200_irq_handler(struct cw1200_common *priv);
0017 void cw1200_bh_wakeup(struct cw1200_common *priv);
0018 int cw1200_bh_suspend(struct cw1200_common *priv);
0019 int cw1200_bh_resume(struct cw1200_common *priv);
0020 /* Must be called from BH thread. */
0021 void cw1200_enable_powersave(struct cw1200_common *priv,
0022                  bool enable);
0023 int wsm_release_tx_buffer(struct cw1200_common *priv, int count);
0024 
0025 #endif /* CW1200_BH_H */