Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[linux-btrfs-devel.git] / drivers / staging / rtl8192e / r8192E_dev.h
blobb9b3b52f9120a24df1a9516de5f973ddd0123fa8
1 /******************************************************************************
2 * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved.
4 * Based on the r8180 driver, which is:
5 * Copyright 2004-2005 Andrea Merello <andreamrl@tiscali.it>, et al.
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of version 2 of the GNU General Public License as
8 * published by the Free Software Foundation.
10 * This program is distributed in the hope that it will be useful, but WITHOUT
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13 * more details.
15 * You should have received a copy of the GNU General Public License along with
16 * this program; if not, write to the Free Software Foundation, Inc.,
17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
19 * The full GNU General Public License is included in this distribution in the
20 * file called LICENSE.
22 * Contact Information:
23 * wlanfae <wlanfae@realtek.com>
24 ******************************************************************************/
25 #ifndef _RTL8192E_H
26 #define _RTL8192E_H
28 #include "r8190P_def.h"
30 u8 rtl8192_QueryIsShort(u8 TxHT, u8 TxRate, struct cb_desc *tcb_desc);
31 bool rtl8192_GetHalfNmodeSupportByAPs(struct net_device *dev);
32 bool rtl8192_GetNmodeSupportBySecCfg(struct net_device *dev);
33 bool rtl8192_HalTxCheckStuck(struct net_device *dev);
34 bool rtl8192_HalRxCheckStuck(struct net_device *dev);
35 void rtl8192_interrupt_recognized(struct net_device *dev, u32 *p_inta,
36 u32 *p_intb);
37 void rtl8192_enable_rx(struct net_device *dev);
38 void rtl8192_enable_tx(struct net_device *dev);
39 void rtl8192_EnableInterrupt(struct net_device *dev);
40 void rtl8192_DisableInterrupt(struct net_device *dev);
41 void rtl8192_ClearInterrupt(struct net_device *dev);
42 void rtl8192_InitializeVariables(struct net_device *dev);
43 void rtl8192e_start_beacon(struct net_device *dev);
44 void rtl8192e_SetHwReg(struct net_device *dev, u8 variable, u8 *val);
45 void rtl8192_get_eeprom_size(struct net_device *dev);
46 bool rtl8192_adapter_start(struct net_device *dev);
47 void rtl8192_link_change(struct net_device *dev);
48 void rtl8192_AllowAllDestAddr(struct net_device *dev, bool bAllowAllDA,
49 bool WriteIntoReg);
50 void rtl8192_tx_fill_desc(struct net_device *dev, struct tx_desc *pdesc,
51 struct cb_desc *cb_desc,
52 struct sk_buff *skb);
53 void rtl8192_tx_fill_cmd_desc(struct net_device *dev,
54 struct tx_desc_cmd *entry,
55 struct cb_desc *cb_desc, struct sk_buff *skb);
56 bool rtl8192_rx_query_status_desc(struct net_device *dev,
57 struct rtllib_rx_stats *stats,
58 struct rx_desc *pdesc,
59 struct sk_buff *skb);
60 void rtl8192_halt_adapter(struct net_device *dev, bool reset);
61 void rtl8192_update_ratr_table(struct net_device *dev);
62 #endif