summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rtlwifi/rtl8192se/def.h
diff options
context:
space:
mode:
authorLarry Finger <Larry.Finger@lwfinger.net>2014-10-30 05:17:10 +0100
committerJohn W. Linville <linville@tuxdriver.com>2014-10-30 20:00:23 +0100
commit30c5ccc6afee39754cff75ad8d775ad39a2ce989 (patch)
tree66e4a0d60d12cb95082b6a8585f0ed20d3924a28 /drivers/net/wireless/rtlwifi/rtl8192se/def.h
parentrtlwifi: rtl8192se: Fix duplicate calls to ieee80211_register_hw() (diff)
downloadlinux-30c5ccc6afee39754cff75ad8d775ad39a2ce989.tar.xz
linux-30c5ccc6afee39754cff75ad8d775ad39a2ce989.zip
rtlwifi: rtl8192se: Add missing section to read descriptor setting
The new version of rtlwifi needs code in rtl92se_get_desc() that returns the buffer address for read operations. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Cc: Murilo Opsfelder Araujo <mopsfelder@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rtlwifi/rtl8192se/def.h')
-rw-r--r--drivers/net/wireless/rtlwifi/rtl8192se/def.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/rtlwifi/rtl8192se/def.h b/drivers/net/wireless/rtlwifi/rtl8192se/def.h
index 83c98674bfd3..6e7a70b43949 100644
--- a/drivers/net/wireless/rtlwifi/rtl8192se/def.h
+++ b/drivers/net/wireless/rtlwifi/rtl8192se/def.h
@@ -446,6 +446,8 @@
/* DWORD 6 */
#define SET_RX_STATUS__DESC_BUFF_ADDR(__pdesc, __val) \
SET_BITS_OFFSET_LE(__pdesc + 24, 0, 32, __val)
+#define GET_RX_STATUS_DESC_BUFF_ADDR(__pdesc) \
+ SHIFT_AND_MASK_LE(__pdesc + 24, 0, 32)
#define SE_RX_HAL_IS_CCK_RATE(_pdesc)\
(GET_RX_STATUS_DESC_RX_MCS(_pdesc) == DESC92_RATE1M || \