aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rtlwifi/wifi.h
diff options
context:
space:
mode:
authorLarry Finger <Larry.Finger@lwfinger.net>2014-09-22 10:39:19 -0400
committerJohn W. Linville <linville@tuxdriver.com>2014-09-26 17:22:27 -0400
commit38506ecefab911785d5e1aa5889f6eeb462e0954 (patch)
treee41ef8e6c1283085bb7b8def0810df5fa9f98207 /drivers/net/wireless/rtlwifi/wifi.h
parentfd09ff958777cf583d7541f180991c0fc50bd2f7 (diff)
rtlwifi: rtl_pci: Start modification for new drivers
Future patches will move the drivers for RTL8192EE and RTL8821AE from staging to the regular wireless tree. Here, the necessary features are added to the PCI driver. Other files are touched due to changes in the various data structs. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rtlwifi/wifi.h')
-rw-r--r--drivers/net/wireless/rtlwifi/wifi.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/drivers/net/wireless/rtlwifi/wifi.h b/drivers/net/wireless/rtlwifi/wifi.h
index a943a245d680..9e990be4abb3 100644
--- a/drivers/net/wireless/rtlwifi/wifi.h
+++ b/drivers/net/wireless/rtlwifi/wifi.h
@@ -163,6 +163,12 @@
163#define DEL_SW_IDX_SZ 30 163#define DEL_SW_IDX_SZ 30
164#define BAND_NUM 3 164#define BAND_NUM 3
165 165
166/* For now, it's just for 8192ee
167 * but not OK yet, keep it 0
168 */
169#define DMA_IS_64BIT 0
170#define RTL8192EE_SEG_NUM 1 /* 0:2 seg, 1: 4 seg, 2: 8 seg */
171
166enum rf_tx_num { 172enum rf_tx_num {
167 RF_1TX = 0, 173 RF_1TX = 0,
168 RF_2TX, 174 RF_2TX,
@@ -636,6 +642,7 @@ enum rtl_var_map {
636 RTL_IMR_VIDOK, /*AC_VI DMA OK Interrupt */ 642 RTL_IMR_VIDOK, /*AC_VI DMA OK Interrupt */
637 RTL_IMR_VODOK, /*AC_VO DMA Interrupt */ 643 RTL_IMR_VODOK, /*AC_VO DMA Interrupt */
638 RTL_IMR_ROK, /*Receive DMA OK Interrupt */ 644 RTL_IMR_ROK, /*Receive DMA OK Interrupt */
645 RTL_IMR_HSISR_IND, /*HSISR Interrupt*/
639 RTL_IBSS_INT_MASKS, /*(RTL_IMR_BCNINT | RTL_IMR_TBDOK | 646 RTL_IBSS_INT_MASKS, /*(RTL_IMR_BCNINT | RTL_IMR_TBDOK |
640 * RTL_IMR_TBDER) */ 647 * RTL_IMR_TBDER) */
641 RTL_IMR_C2HCMD, /*fw interrupt*/ 648 RTL_IMR_C2HCMD, /*fw interrupt*/
@@ -2006,7 +2013,7 @@ struct rtl_intf_ops {
2006 struct ieee80211_sta *sta, 2013 struct ieee80211_sta *sta,
2007 struct sk_buff *skb, 2014 struct sk_buff *skb,
2008 struct rtl_tcb_desc *ptcb_desc); 2015 struct rtl_tcb_desc *ptcb_desc);
2009 void (*flush)(struct ieee80211_hw *hw, bool drop); 2016 void (*flush)(struct ieee80211_hw *hw, u32 queues, bool drop);
2010 int (*reset_trx_ring) (struct ieee80211_hw *hw); 2017 int (*reset_trx_ring) (struct ieee80211_hw *hw);
2011 bool (*waitq_insert) (struct ieee80211_hw *hw, 2018 bool (*waitq_insert) (struct ieee80211_hw *hw,
2012 struct ieee80211_sta *sta, 2019 struct ieee80211_sta *sta,