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 30void rtl_btc_init_variables(struct rtl_priv *rtlpriv); 31void rtl_btc_init_hal_vars(struct rtl_priv *rtlpriv); 32void rtl_btc_init_hw_config(struct rtl_priv *rtlpriv); 33void rtl_btc_ips_notify(struct rtl_priv *rtlpriv, u8 type); 34void rtl_btc_lps_notify(struct rtl_priv *rtlpriv, u8 type); 35void rtl_btc_scan_notify(struct rtl_priv *rtlpriv, u8 scantype); 36void rtl_btc_connect_notify(struct rtl_priv *rtlpriv, u8 action); 37void rtl_btc_mediastatus_notify(struct rtl_priv *rtlpriv, 38 enum rt_media_status mstatus); 39void rtl_btc_periodical(struct rtl_priv *rtlpriv); 40void rtl_btc_halt_notify(void); 41void rtl_btc_btinfo_notify(struct rtl_priv *rtlpriv, u8 *tmpbuf, u8 length); 42bool rtl_btc_is_limited_dig(struct rtl_priv *rtlpriv); 43bool rtl_btc_is_disable_edca_turbo(struct rtl_priv *rtlpriv); 44bool rtl_btc_is_bt_disabled(struct rtl_priv *rtlpriv); 45void rtl_btc_special_packet_notify(struct rtl_priv *rtlpriv, u8 pkt_type); 46 47struct rtl_btc_ops *rtl_btc_get_ops_pointer(void); 48 49u8 rtl_get_hwpg_ant_num(struct rtl_priv *rtlpriv); 50u8 rtl_get_hwpg_bt_exist(struct rtl_priv *rtlpriv); 51u8 rtl_get_hwpg_bt_type(struct rtl_priv *rtlpriv); 52enum rt_media_status mgnt_link_status_query(struct ieee80211_hw *hw); 53 54#endif 55