1 /******************************************************************************
3 * Copyright(c) 2016 Realtek Corporation.
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of version 2 of the GNU General Public License as
7 * published by the Free Software Foundation.
9 * This program is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14 * The full GNU General Public License is included in this distribution in the
15 * file called LICENSE.
17 * Contact Information:
18 * wlanfae <wlanfae@realtek.com>
19 * Realtek Corporation, No. 2, Innovation Road II, Hsinchu Science Park,
20 * Hsinchu 300, Taiwan.
22 * Larry Finger <Larry.Finger@lwfinger.net>
24 *****************************************************************************/
25 #ifndef _HALMAC_RX_DESC_CHIP_H_
26 #define _HALMAC_RX_DESC_CHIP_H_
30 #define GET_RX_DESC_EOR_8822B(__rx_desc) GET_RX_DESC_EOR(__rx_desc)
31 #define GET_RX_DESC_PHYPKTIDC_8822B(__rx_desc) GET_RX_DESC_PHYPKTIDC(__rx_desc)
32 #define GET_RX_DESC_SWDEC_8822B(__rx_desc) GET_RX_DESC_SWDEC(__rx_desc)
33 #define GET_RX_DESC_PHYST_8822B(__rx_desc) GET_RX_DESC_PHYST(__rx_desc)
34 #define GET_RX_DESC_SHIFT_8822B(__rx_desc) GET_RX_DESC_SHIFT(__rx_desc)
35 #define GET_RX_DESC_QOS_8822B(__rx_desc) GET_RX_DESC_QOS(__rx_desc)
36 #define GET_RX_DESC_SECURITY_8822B(__rx_desc) GET_RX_DESC_SECURITY(__rx_desc)
37 #define GET_RX_DESC_DRV_INFO_SIZE_8822B(__rx_desc) \
38 GET_RX_DESC_DRV_INFO_SIZE(__rx_desc)
39 #define GET_RX_DESC_ICV_ERR_8822B(__rx_desc) GET_RX_DESC_ICV_ERR(__rx_desc)
40 #define GET_RX_DESC_CRC32_8822B(__rx_desc) GET_RX_DESC_CRC32(__rx_desc)
41 #define GET_RX_DESC_PKT_LEN_8822B(__rx_desc) GET_RX_DESC_PKT_LEN(__rx_desc)
45 #define GET_RX_DESC_BC_8822B(__rx_desc) GET_RX_DESC_BC(__rx_desc)
46 #define GET_RX_DESC_MC_8822B(__rx_desc) GET_RX_DESC_MC(__rx_desc)
47 #define GET_RX_DESC_TY_PE_8822B(__rx_desc) GET_RX_DESC_TY_PE(__rx_desc)
48 #define GET_RX_DESC_MF_8822B(__rx_desc) GET_RX_DESC_MF(__rx_desc)
49 #define GET_RX_DESC_MD_8822B(__rx_desc) GET_RX_DESC_MD(__rx_desc)
50 #define GET_RX_DESC_PWR_8822B(__rx_desc) GET_RX_DESC_PWR(__rx_desc)
51 #define GET_RX_DESC_PAM_8822B(__rx_desc) GET_RX_DESC_PAM(__rx_desc)
52 #define GET_RX_DESC_CHK_VLD_8822B(__rx_desc) GET_RX_DESC_CHK_VLD(__rx_desc)
53 #define GET_RX_DESC_RX_IS_TCP_UDP_8822B(__rx_desc) \
54 GET_RX_DESC_RX_IS_TCP_UDP(__rx_desc)
55 #define GET_RX_DESC_RX_IPV_8822B(__rx_desc) GET_RX_DESC_RX_IPV(__rx_desc)
56 #define GET_RX_DESC_CHKERR_8822B(__rx_desc) GET_RX_DESC_CHKERR(__rx_desc)
57 #define GET_RX_DESC_PAGGR_8822B(__rx_desc) GET_RX_DESC_PAGGR(__rx_desc)
58 #define GET_RX_DESC_RXID_MATCH_8822B(__rx_desc) \
59 GET_RX_DESC_RXID_MATCH(__rx_desc)
60 #define GET_RX_DESC_AMSDU_8822B(__rx_desc) GET_RX_DESC_AMSDU(__rx_desc)
61 #define GET_RX_DESC_MACID_VLD_8822B(__rx_desc) GET_RX_DESC_MACID_VLD(__rx_desc)
62 #define GET_RX_DESC_TID_8822B(__rx_desc) GET_RX_DESC_TID(__rx_desc)
63 #define GET_RX_DESC_EXT_SECTYPE_8822B(__rx_desc) \
64 GET_RX_DESC_EXT_SECTYPE(__rx_desc)
65 #define GET_RX_DESC_MACID_8822B(__rx_desc) GET_RX_DESC_MACID(__rx_desc)
69 #define GET_RX_DESC_FCS_OK_8822B(__rx_desc) GET_RX_DESC_FCS_OK(__rx_desc)
70 #define GET_RX_DESC_PPDU_CNT_8822B(__rx_desc) GET_RX_DESC_PPDU_CNT(__rx_desc)
71 #define GET_RX_DESC_C2H_8822B(__rx_desc) GET_RX_DESC_C2H(__rx_desc)
72 #define GET_RX_DESC_HWRSVD_8822B(__rx_desc) GET_RX_DESC_HWRSVD(__rx_desc)
73 #define GET_RX_DESC_WLANHD_IV_LEN_8822B(__rx_desc) \
74 GET_RX_DESC_WLANHD_IV_LEN(__rx_desc)
75 #define GET_RX_DESC_RX_IS_QOS_8822B(__rx_desc) GET_RX_DESC_RX_IS_QOS(__rx_desc)
76 #define GET_RX_DESC_FRAG_8822B(__rx_desc) GET_RX_DESC_FRAG(__rx_desc)
77 #define GET_RX_DESC_SEQ_8822B(__rx_desc) GET_RX_DESC_SEQ(__rx_desc)
81 #define GET_RX_DESC_MAGIC_WAKE_8822B(__rx_desc) \
82 GET_RX_DESC_MAGIC_WAKE(__rx_desc)
83 #define GET_RX_DESC_UNICAST_WAKE_8822B(__rx_desc) \
84 GET_RX_DESC_UNICAST_WAKE(__rx_desc)
85 #define GET_RX_DESC_PATTERN_MATCH_8822B(__rx_desc) \
86 GET_RX_DESC_PATTERN_MATCH(__rx_desc)
87 #define GET_RX_DESC_RXPAYLOAD_MATCH_8822B(__rx_desc) \
88 GET_RX_DESC_RXPAYLOAD_MATCH(__rx_desc)
89 #define GET_RX_DESC_RXPAYLOAD_ID_8822B(__rx_desc) \
90 GET_RX_DESC_RXPAYLOAD_ID(__rx_desc)
91 #define GET_RX_DESC_DMA_AGG_NUM_8822B(__rx_desc) \
92 GET_RX_DESC_DMA_AGG_NUM(__rx_desc)
93 #define GET_RX_DESC_BSSID_FIT_1_0_8822B(__rx_desc) \
94 GET_RX_DESC_BSSID_FIT_1_0(__rx_desc)
95 #define GET_RX_DESC_EOSP_8822B(__rx_desc) GET_RX_DESC_EOSP(__rx_desc)
96 #define GET_RX_DESC_HTC_8822B(__rx_desc) GET_RX_DESC_HTC(__rx_desc)
97 #define GET_RX_DESC_BSSID_FIT_4_2_8822B(__rx_desc) \
98 GET_RX_DESC_BSSID_FIT_4_2(__rx_desc)
99 #define GET_RX_DESC_RX_RATE_8822B(__rx_desc) GET_RX_DESC_RX_RATE(__rx_desc)
103 #define GET_RX_DESC_A1_FIT_8822B(__rx_desc) GET_RX_DESC_A1_FIT(__rx_desc)
104 #define GET_RX_DESC_MACID_RPT_BUFF_8822B(__rx_desc) \
105 GET_RX_DESC_MACID_RPT_BUFF(__rx_desc)
106 #define GET_RX_DESC_RX_PRE_NDP_VLD_8822B(__rx_desc) \
107 GET_RX_DESC_RX_PRE_NDP_VLD(__rx_desc)
108 #define GET_RX_DESC_RX_SCRAMBLER_8822B(__rx_desc) \
109 GET_RX_DESC_RX_SCRAMBLER(__rx_desc)
110 #define GET_RX_DESC_RX_EOF_8822B(__rx_desc) GET_RX_DESC_RX_EOF(__rx_desc)
111 #define GET_RX_DESC_PATTERN_IDX_8822B(__rx_desc) \
112 GET_RX_DESC_PATTERN_IDX(__rx_desc)
116 #define GET_RX_DESC_TSFL_8822B(__rx_desc) GET_RX_DESC_TSFL(__rx_desc)