加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
bh.h 1.26 KB
一键复制 编辑 原始数据 按行查看 历史
Andre Przywara 提交于 2016-11-29 20:22 . remove executable flag
/*
* Data Transmission thread for XRadio drivers
*
* Copyright (c) 2013, XRadio
* Author: XRadio
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#ifndef XRADIO_BH_H
#define XRADIO_BH_H
#define XRADIO_BH_THREAD "xradio_bh"
/* extern */ struct xradio_common;
#define SDIO_BLOCK_SIZE (528)
int xradio_register_bh(struct xradio_common *hw_priv);
void xradio_unregister_bh(struct xradio_common *hw_priv);
void xradio_irq_handler(struct xradio_common *hw_priv);
void xradio_bh_wakeup(struct xradio_common *hw_priv);
int xradio_bh_suspend(struct xradio_common *hw_priv);
int xradio_bh_resume(struct xradio_common *hw_priv);
/* Must be called from BH thread. */
void xradio_enable_powersave(struct xradio_vif *priv, bool enable);
int wsm_release_tx_buffer(struct xradio_common *hw_priv, int count);
int wsm_release_vif_tx_buffer(struct xradio_common *hw_priv, int if_id,
int count);
int xradio_init_resv_skb(struct xradio_common *hw_priv);
void xradio_deinit_resv_skb(struct xradio_common *hw_priv);
int xradio_realloc_resv_skb(struct xradio_common *hw_priv,
struct sk_buff *skb);
#endif /* XRADIO_BH_H */
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化