10c8173385e549f95cd80c3fff5aab87b4f881d8dLarry Finger/****************************************************************************** 20c8173385e549f95cd80c3fff5aab87b4f881d8dLarry Finger * 3a8d760668eebc98915383481cb3d9eaf74c2a615Larry Finger * Copyright(c) 2009-2012 Realtek Corporation. 40c8173385e549f95cd80c3fff5aab87b4f881d8dLarry Finger * 538506ecefab911785d5e1aa5889f6eeb462e0954Larry Finger * This program is free software; you can redistribute it and/or modify it 60c8173385e549f95cd80c3fff5aab87b4f881d8dLarry Finger * under the terms of version 2 of the GNU General Public License as 70c8173385e549f95cd80c3fff5aab87b4f881d8dLarry Finger * published by the Free Software Foundation. 80c8173385e549f95cd80c3fff5aab87b4f881d8dLarry Finger * 938506ecefab911785d5e1aa5889f6eeb462e0954Larry Finger * This program is distributed in the hope that it will be useful, but WITHOUT 100c8173385e549f95cd80c3fff5aab87b4f881d8dLarry Finger * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 110c8173385e549f95cd80c3fff5aab87b4f881d8dLarry Finger * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 120c8173385e549f95cd80c3fff5aab87b4f881d8dLarry Finger * more details. 130c8173385e549f95cd80c3fff5aab87b4f881d8dLarry Finger * 1438506ecefab911785d5e1aa5889f6eeb462e0954Larry Finger * The full GNU General Public License is included in this distribution in the 150c8173385e549f95cd80c3fff5aab87b4f881d8dLarry Finger * file called LICENSE. 160c8173385e549f95cd80c3fff5aab87b4f881d8dLarry Finger * 170c8173385e549f95cd80c3fff5aab87b4f881d8dLarry Finger * Contact Information: 180c8173385e549f95cd80c3fff5aab87b4f881d8dLarry Finger * wlanfae <wlanfae@realtek.com> 190c8173385e549f95cd80c3fff5aab87b4f881d8dLarry Finger * Realtek Corporation, No. 2, Innovation Road II, Hsinchu Science Park, 200c8173385e549f95cd80c3fff5aab87b4f881d8dLarry Finger * Hsinchu 300, Taiwan. 210c8173385e549f95cd80c3fff5aab87b4f881d8dLarry Finger * 220c8173385e549f95cd80c3fff5aab87b4f881d8dLarry Finger * Larry Finger <Larry.Finger@lwfinger.net> 230baa0fd76f3f5a134461d6cf30294f6bb1bb824cChaoming_Li * 240c8173385e549f95cd80c3fff5aab87b4f881d8dLarry Finger *****************************************************************************/ 250c8173385e549f95cd80c3fff5aab87b4f881d8dLarry Finger 260c8173385e549f95cd80c3fff5aab87b4f881d8dLarry Finger#ifndef __RTL_CORE_H__ 270c8173385e549f95cd80c3fff5aab87b4f881d8dLarry Finger#define __RTL_CORE_H__ 280c8173385e549f95cd80c3fff5aab87b4f881d8dLarry Finger 290c8173385e549f95cd80c3fff5aab87b4f881d8dLarry Finger#define RTL_SUPPORTED_FILTERS \ 300c8173385e549f95cd80c3fff5aab87b4f881d8dLarry Finger (FIF_PROMISC_IN_BSS | \ 310c8173385e549f95cd80c3fff5aab87b4f881d8dLarry Finger FIF_ALLMULTI | FIF_CONTROL | \ 320c8173385e549f95cd80c3fff5aab87b4f881d8dLarry Finger FIF_OTHER_BSS | \ 330c8173385e549f95cd80c3fff5aab87b4f881d8dLarry Finger FIF_FCSFAIL | \ 340c8173385e549f95cd80c3fff5aab87b4f881d8dLarry Finger FIF_BCN_PRBRESP_PROMISC) 350c8173385e549f95cd80c3fff5aab87b4f881d8dLarry Finger 360c8173385e549f95cd80c3fff5aab87b4f881d8dLarry Finger#define RTL_SUPPORTED_CTRL_FILTER 0xFF 370c8173385e549f95cd80c3fff5aab87b4f881d8dLarry Finger 380c8173385e549f95cd80c3fff5aab87b4f881d8dLarry Fingerextern const struct ieee80211_ops rtl_ops; 39b0302aba812bcc39291cdab9ad7e37008f352a91Larry Fingervoid rtl_fw_cb(const struct firmware *firmware, void *context); 4025b13dbc38a74b76da5746d75867e306b70035bdLarry Fingervoid rtl_addr_delay(u32 addr); 4125b13dbc38a74b76da5746d75867e306b70035bdLarry Fingervoid rtl_rfreg_delay(struct ieee80211_hw *hw, enum radio_path rfpath, u32 addr, 4225b13dbc38a74b76da5746d75867e306b70035bdLarry Finger u32 mask, u32 data); 4325b13dbc38a74b76da5746d75867e306b70035bdLarry Fingervoid rtl_bb_delay(struct ieee80211_hw *hw, u32 addr, u32 data); 44557f933113a42a48ec617b81b5ea53fd7202b1edLarry Fingerbool rtl_cmd_send_packet(struct ieee80211_hw *hw, struct sk_buff *skb); 45c0386f1584127442d0f2aea41bc948056d6b1337Larry Fingerbool rtl_btc_status_false(void); 46b0302aba812bcc39291cdab9ad7e37008f352a91Larry Finger 470c8173385e549f95cd80c3fff5aab87b4f881d8dLarry Finger#endif 48