]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - drivers/net/wireless/rtlwifi/btcoexist/rtl_btc.h
Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
[karo-tx-linux.git] / drivers / net / wireless / rtlwifi / btcoexist / rtl_btc.h
1 /******************************************************************************
2  *
3  * Copyright(c) 2009-2010  Realtek Corporation.
4  *
5  * This program is free software; you can redistribute it and/or modify it
6  * under the terms of version 2 of the GNU General Public License as
7  * published by the Free Software Foundation.
8  *
9  * This program is distributed in the hope that it will be useful, but WITHOUT
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
12  * more details.
13  *
14  * The full GNU General Public License is included in this distribution in the
15  * file called LICENSE.
16  *
17  * Contact Information:
18  * wlanfae <wlanfae@realtek.com>
19  * Realtek Corporation, No. 2, Innovation Road II, Hsinchu Science Park,
20  * Hsinchu 300, Taiwan.
21  * Larry Finger <Larry.Finger@lwfinger.net>
22  *
23  *****************************************************************************/
24
25 #ifndef __RTL_BTC_H__
26 #define __RTL_BTC_H__
27
28 #include "halbt_precomp.h"
29
30 void rtl_btc_init_variables(struct rtl_priv *rtlpriv);
31 void rtl_btc_init_hal_vars(struct rtl_priv *rtlpriv);
32 void rtl_btc_init_hw_config(struct rtl_priv *rtlpriv);
33 void rtl_btc_ips_notify(struct rtl_priv *rtlpriv, u8 type);
34 void rtl_btc_lps_notify(struct rtl_priv *rtlpriv, u8 type);
35 void rtl_btc_scan_notify(struct rtl_priv *rtlpriv, u8 scantype);
36 void rtl_btc_connect_notify(struct rtl_priv *rtlpriv, u8 action);
37 void rtl_btc_mediastatus_notify(struct rtl_priv *rtlpriv,
38                                 enum rt_media_status mstatus);
39 void rtl_btc_periodical(struct rtl_priv *rtlpriv);
40 void rtl_btc_halt_notify(void);
41 void rtl_btc_btinfo_notify(struct rtl_priv *rtlpriv, u8 *tmpbuf, u8 length);
42 bool rtl_btc_is_limited_dig(struct rtl_priv *rtlpriv);
43 bool rtl_btc_is_disable_edca_turbo(struct rtl_priv *rtlpriv);
44 bool rtl_btc_is_bt_disabled(struct rtl_priv *rtlpriv);
45 void rtl_btc_special_packet_notify(struct rtl_priv *rtlpriv, u8 pkt_type);
46
47 struct rtl_btc_ops *rtl_btc_get_ops_pointer(void);
48
49 u8 rtl_get_hwpg_ant_num(struct rtl_priv *rtlpriv);
50 u8 rtl_get_hwpg_bt_exist(struct rtl_priv *rtlpriv);
51 u8 rtl_get_hwpg_bt_type(struct rtl_priv *rtlpriv);
52 enum rt_media_status mgnt_link_status_query(struct ieee80211_hw *hw);
53
54 #endif