]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blame - drivers/net/wireless/rtlwifi/core.h
Merge remote-tracking branches 'spi/topic/mxs', 'spi/topic/pxa', 'spi/topic/rockchip...
[mirror_ubuntu-eoan-kernel.git] / drivers / net / wireless / rtlwifi / core.h
CommitLineData
0c817338
LF
1/******************************************************************************
2 *
a8d76066 3 * Copyright(c) 2009-2012 Realtek Corporation.
0c817338 4 *
38506ece 5 * This program is free software; you can redistribute it and/or modify it
0c817338
LF
6 * under the terms of version 2 of the GNU General Public License as
7 * published by the Free Software Foundation.
8 *
38506ece 9 * This program is distributed in the hope that it will be useful, but WITHOUT
0c817338
LF
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 *
38506ece 14 * The full GNU General Public License is included in this distribution in the
0c817338
LF
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 *
22 * Larry Finger <Larry.Finger@lwfinger.net>
0baa0fd7 23 *
0c817338
LF
24 *****************************************************************************/
25
26#ifndef __RTL_CORE_H__
27#define __RTL_CORE_H__
28
29#define RTL_SUPPORTED_FILTERS \
30 (FIF_PROMISC_IN_BSS | \
31 FIF_ALLMULTI | FIF_CONTROL | \
32 FIF_OTHER_BSS | \
33 FIF_FCSFAIL | \
34 FIF_BCN_PRBRESP_PROMISC)
35
36#define RTL_SUPPORTED_CTRL_FILTER 0xFF
37
38extern const struct ieee80211_ops rtl_ops;
b0302aba 39void rtl_fw_cb(const struct firmware *firmware, void *context);
25b13dbc
LF
40void rtl_addr_delay(u32 addr);
41void rtl_rfreg_delay(struct ieee80211_hw *hw, enum radio_path rfpath, u32 addr,
42 u32 mask, u32 data);
43void rtl_bb_delay(struct ieee80211_hw *hw, u32 addr, u32 data);
557f9331 44bool rtl_cmd_send_packet(struct ieee80211_hw *hw, struct sk_buff *skb);
c0386f15 45bool rtl_btc_status_false(void);
b0302aba 46
0c817338 47#endif