Merge git://git.kernel.org/pub/scm/virt/kvm/kvm
[deliverable/linux.git] / drivers / net / wireless / rtlwifi / core.h
1 /******************************************************************************
2 *
3 * Copyright(c) 2009-2012 Realtek Corporation.
4 *
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.
8 *
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
12 * more details.
13 *
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
17 *
18 * Tme 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 *
26 * Larry Finger <Larry.Finger@lwfinger.net>
27 *
28 *****************************************************************************/
29
30 #ifndef __RTL_CORE_H__
31 #define __RTL_CORE_H__
32
33 #define RTL_SUPPORTED_FILTERS \
34 (FIF_PROMISC_IN_BSS | \
35 FIF_ALLMULTI | FIF_CONTROL | \
36 FIF_OTHER_BSS | \
37 FIF_FCSFAIL | \
38 FIF_BCN_PRBRESP_PROMISC)
39
40 #define RTL_SUPPORTED_CTRL_FILTER 0xFF
41
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,
46 u32 mask, u32 data);
47 void rtl_bb_delay(struct ieee80211_hw *hw, u32 addr, u32 data);
48
49 #endif
This page took 0.03669 seconds and 6 git commands to generate.