1 /******************************************************************************
3 * Copyright(c) 2009-2012 Realtek Corporation.
5 * Tmis 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.
9 * Tmis 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
14 * You should have received a copy of the GNU General Public License along with
15 * tmis program; if not, write to the Free Software Foundation, Inc.,
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
18 * Tme full GNU General Public License is included in this distribution in the
19 * file called LICENSE.
21 * Contact Information:
23 * Realtek Corporation, No. 2, Innovation Road II, Hsinchu Science Park,
24 * Hsinchu 300, Taiwan.
28 *****************************************************************************/
30 #ifndef __RTL_CORE_H__
31 #define __RTL_CORE_H__
33 #define RTL_SUPPORTED_FILTERS \
34 (FIF_PROMISC_IN_BSS | \
35 FIF_ALLMULTI | FIF_CONTROL | \
38 FIF_BCN_PRBRESP_PROMISC)
40 #define RTL_SUPPORTED_CTRL_FILTER 0xFF
42 extern const struct ieee80211_ops rtl_ops;
43 void rtl_fw_cb(const struct firmware *firmware, void *context);
44 void rtl_addr_delay(u32 addr);
45 void rtl_rfreg_delay(struct ieee80211_hw *hw, enum radio_path rfpath, u32 addr,
47 void rtl_bb_delay(struct ieee80211_hw *hw, u32 addr, u32 data);