blob: 452fbf1e6d1e459e0242563f0266ae8062075d97 [file] [log] [blame]
Greg Kroah-Hartman3c05bed2014-01-21 11:20:45 -08001/******************************************************************************
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 * You should have received a copy of the GNU General Public License along with
15 * this program; if not, write to the Free Software Foundation, Inc.,
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
17 *
18 * The full GNU General Public License is included in this distribution in the
19 * file called LICENSE.
20 *
21 * Contact Information:
22 * wlanfae <wlanfae@realtek.com>
23 * Realtek Corporation, No. 2, Innovation Road II, Hsinchu Science Park,
24 * Hsinchu 300, Taiwan.
25 * Larry Finger <Larry.Finger@lwfinger.net>
26 *
27 *****************************************************************************/
28
29#ifndef __RTL_BTC_H__
30#define __RTL_BTC_H__
31
32#include "halbt_precomp.h"
33
34
35
36void rtl_btc_init_variables(struct rtl_priv *rtlpriv);
37void rtl_btc_init_hal_vars(struct rtl_priv *rtlpriv);
38void rtl_btc_init_hw_config(struct rtl_priv *rtlpriv);
39void rtl_btc_ips_notify(struct rtl_priv *rtlpriv, u8 type);
40void rtl_btc_scan_notify(struct rtl_priv *rtlpriv, u8 scantype);
41void rtl_btc_connect_notify(struct rtl_priv *rtlpriv, u8 action);
42void rtl_btc_mediastatus_notify(struct rtl_priv *rtlpriv, enum rt_media_status mstatus);
43void rtl_btc_periodical(struct rtl_priv *rtlpriv);
44void rtl_btc_halt_notify(void);
45void rtl_btc_btinfo_notify(struct rtl_priv *rtlpriv, u8 * tmpBuf, u8 length);
46bool rtl_btc_is_limited_dig(struct rtl_priv *rtlpriv);
47bool rtl_btc_is_disable_edca_turbo(struct rtl_priv *rtlpriv);
48bool rtl_btc_is_bt_disabled(struct rtl_priv *rtlpriv);
49
50
51//extern struct rtl_btc_ops rtl_btc_operation;
52extern struct rtl_btc_ops *rtl_btc_get_ops_pointer(void);
53
54u8 rtl_get_hwpg_ant_num(struct rtl_priv *rtlpriv);
55u8 rtl_get_hwpg_bt_exist(struct rtl_priv *rtlpriv);
56u8 rtl_get_hwpg_bt_type(struct rtl_priv *rtlpriv);
57//enum rt_media_status mgnt_link_status_query(struct ieee80211_hw *hw);
58
59
60
61
62
63
64
65
66#endif