xref: /wlan-driver/fw-api/hw/qca8074/v1/rxpcu_ppdu_end_info.h (revision 5113495b16420b49004c444715d2daae2066e7dc)
1*5113495bSYour Name /*
2*5113495bSYour Name  * Copyright (c) 2018 The Linux Foundation. All rights reserved.
3*5113495bSYour Name  *
4*5113495bSYour Name  * Permission to use, copy, modify, and/or distribute this software for
5*5113495bSYour Name  * any purpose with or without fee is hereby granted, provided that the
6*5113495bSYour Name  * above copyright notice and this permission notice appear in all
7*5113495bSYour Name  * copies.
8*5113495bSYour Name  *
9*5113495bSYour Name  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
10*5113495bSYour Name  * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
11*5113495bSYour Name  * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
12*5113495bSYour Name  * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
13*5113495bSYour Name  * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
14*5113495bSYour Name  * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
15*5113495bSYour Name  * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
16*5113495bSYour Name  * PERFORMANCE OF THIS SOFTWARE.
17*5113495bSYour Name  */
18*5113495bSYour Name 
19*5113495bSYour Name // $ATH_LICENSE_HW_HDR_C$
20*5113495bSYour Name //
21*5113495bSYour Name // DO NOT EDIT!  This file is automatically generated
22*5113495bSYour Name //               These definitions are tied to a particular hardware layout
23*5113495bSYour Name 
24*5113495bSYour Name 
25*5113495bSYour Name #ifndef _RXPCU_PPDU_END_INFO_H_
26*5113495bSYour Name #define _RXPCU_PPDU_END_INFO_H_
27*5113495bSYour Name #if !defined(__ASSEMBLER__)
28*5113495bSYour Name #endif
29*5113495bSYour Name 
30*5113495bSYour Name #include "phyrx_abort_request_info.h"
31*5113495bSYour Name #include "macrx_abort_request_info.h"
32*5113495bSYour Name 
33*5113495bSYour Name // ################ START SUMMARY #################
34*5113495bSYour Name //
35*5113495bSYour Name //	Dword	Fields
36*5113495bSYour Name //	0	wb_timestamp_lower_32[31:0]
37*5113495bSYour Name //	1	wb_timestamp_upper_32[31:0]
38*5113495bSYour Name //	2	rx_antenna[23:0], tx_ht_vht_ack[24], unsupported_mu_nc[25], otp_txbf_disable[26], previous_tlv_corrupted[27], phyrx_abort_request_info_valid[28], macrx_abort_request_info_valid[29], reserved[31:30]
39*5113495bSYour Name //	3	coex_bt_tx_from_start_of_rx[0], coex_bt_tx_after_start_of_rx[1], coex_wan_tx_from_start_of_rx[2], coex_wan_tx_after_start_of_rx[3], coex_wlan_tx_from_start_of_rx[4], coex_wlan_tx_after_start_of_rx[5], mpdu_delimiter_errors_seen[6], ftm_tm[8:7], dialog_token[16:9], follow_up_dialog_token[24:17], bb_captured_channel[25], reserved_3[31:26]
40*5113495bSYour Name //	4	before_mpdu_count_passing_fcs[7:0], before_mpdu_count_failing_fcs[15:8], after_mpdu_count_passing_fcs[23:16], after_mpdu_count_failing_fcs[31:24]
41*5113495bSYour Name //	5	phy_timestamp_tx_lower_32[31:0]
42*5113495bSYour Name //	6	phy_timestamp_tx_upper_32[31:0]
43*5113495bSYour Name //	7	bb_length[15:0], bb_data[16], reserved_7[31:17]
44*5113495bSYour Name //	8	rx_ppdu_duration[23:0], reserved_8[31:24]
45*5113495bSYour Name //	9	ast_index[15:0], ast_index_valid[16], reserved_9[31:17]
46*5113495bSYour Name //	10	struct phyrx_abort_request_info phyrx_abort_request_info_details;
47*5113495bSYour Name //	11	struct macrx_abort_request_info macrx_abort_request_info_details;
48*5113495bSYour Name //	12	rx_ppdu_end_marker[31:0]
49*5113495bSYour Name //
50*5113495bSYour Name // ################ END SUMMARY #################
51*5113495bSYour Name 
52*5113495bSYour Name #define NUM_OF_DWORDS_RXPCU_PPDU_END_INFO 13
53*5113495bSYour Name 
54*5113495bSYour Name struct rxpcu_ppdu_end_info {
55*5113495bSYour Name              uint32_t wb_timestamp_lower_32           : 32; //[31:0]
56*5113495bSYour Name              uint32_t wb_timestamp_upper_32           : 32; //[31:0]
57*5113495bSYour Name              uint32_t rx_antenna                      : 24, //[23:0]
58*5113495bSYour Name                       tx_ht_vht_ack                   :  1, //[24]
59*5113495bSYour Name                       unsupported_mu_nc               :  1, //[25]
60*5113495bSYour Name                       otp_txbf_disable                :  1, //[26]
61*5113495bSYour Name                       previous_tlv_corrupted          :  1, //[27]
62*5113495bSYour Name                       phyrx_abort_request_info_valid  :  1, //[28]
63*5113495bSYour Name                       macrx_abort_request_info_valid  :  1, //[29]
64*5113495bSYour Name                       reserved                        :  2; //[31:30]
65*5113495bSYour Name              uint32_t coex_bt_tx_from_start_of_rx     :  1, //[0]
66*5113495bSYour Name                       coex_bt_tx_after_start_of_rx    :  1, //[1]
67*5113495bSYour Name                       coex_wan_tx_from_start_of_rx    :  1, //[2]
68*5113495bSYour Name                       coex_wan_tx_after_start_of_rx   :  1, //[3]
69*5113495bSYour Name                       coex_wlan_tx_from_start_of_rx   :  1, //[4]
70*5113495bSYour Name                       coex_wlan_tx_after_start_of_rx  :  1, //[5]
71*5113495bSYour Name                       mpdu_delimiter_errors_seen      :  1, //[6]
72*5113495bSYour Name                       ftm_tm                          :  2, //[8:7]
73*5113495bSYour Name                       dialog_token                    :  8, //[16:9]
74*5113495bSYour Name                       follow_up_dialog_token          :  8, //[24:17]
75*5113495bSYour Name                       bb_captured_channel             :  1, //[25]
76*5113495bSYour Name                       reserved_3                      :  6; //[31:26]
77*5113495bSYour Name              uint32_t before_mpdu_count_passing_fcs   :  8, //[7:0]
78*5113495bSYour Name                       before_mpdu_count_failing_fcs   :  8, //[15:8]
79*5113495bSYour Name                       after_mpdu_count_passing_fcs    :  8, //[23:16]
80*5113495bSYour Name                       after_mpdu_count_failing_fcs    :  8; //[31:24]
81*5113495bSYour Name              uint32_t phy_timestamp_tx_lower_32       : 32; //[31:0]
82*5113495bSYour Name              uint32_t phy_timestamp_tx_upper_32       : 32; //[31:0]
83*5113495bSYour Name              uint32_t bb_length                       : 16, //[15:0]
84*5113495bSYour Name                       bb_data                         :  1, //[16]
85*5113495bSYour Name                       reserved_7                      : 15; //[31:17]
86*5113495bSYour Name              uint32_t rx_ppdu_duration                : 24, //[23:0]
87*5113495bSYour Name                       reserved_8                      :  8; //[31:24]
88*5113495bSYour Name              uint32_t ast_index                       : 16, //[15:0]
89*5113495bSYour Name                       ast_index_valid                 :  1, //[16]
90*5113495bSYour Name                       reserved_9                      : 15; //[31:17]
91*5113495bSYour Name     struct            phyrx_abort_request_info                       phyrx_abort_request_info_details;
92*5113495bSYour Name     struct            macrx_abort_request_info                       macrx_abort_request_info_details;
93*5113495bSYour Name              uint16_t reserved_after_struct16         : 16; //[31:16]
94*5113495bSYour Name              uint32_t rx_ppdu_end_marker              : 32; //[31:0]
95*5113495bSYour Name };
96*5113495bSYour Name 
97*5113495bSYour Name /*
98*5113495bSYour Name 
99*5113495bSYour Name wb_timestamp_lower_32
100*5113495bSYour Name 
101*5113495bSYour Name 			WLAN/BT timestamp is a 1 usec resolution timestamp which
102*5113495bSYour Name 			does not get updated based on receive beacon like TSF.  The
103*5113495bSYour Name 			same rules for capturing tsf_timestamp are used to capture
104*5113495bSYour Name 			the wb_timestamp. This field represents the lower 32 bits of
105*5113495bSYour Name 			the 64-bit timestamp
106*5113495bSYour Name 
107*5113495bSYour Name wb_timestamp_upper_32
108*5113495bSYour Name 
109*5113495bSYour Name 			WLAN/BT timestamp is a 1 usec resolution timestamp which
110*5113495bSYour Name 			does not get updated based on receive beacon like TSF.  The
111*5113495bSYour Name 			same rules for capturing tsf_timestamp are used to capture
112*5113495bSYour Name 			the wb_timestamp. This field represents the upper 32 bits of
113*5113495bSYour Name 			the 64-bit timestamp
114*5113495bSYour Name 
115*5113495bSYour Name rx_antenna
116*5113495bSYour Name 
117*5113495bSYour Name 			Receive antenna value ???
118*5113495bSYour Name 
119*5113495bSYour Name tx_ht_vht_ack
120*5113495bSYour Name 
121*5113495bSYour Name 			Indicates that a HT or VHT Ack/BA frame was transmitted
122*5113495bSYour Name 			in response to this receive packet.
123*5113495bSYour Name 
124*5113495bSYour Name unsupported_mu_nc
125*5113495bSYour Name 
126*5113495bSYour Name 			Set if MU Nc > 2 in received NDPA.
127*5113495bSYour Name 
128*5113495bSYour Name 			If this bit is set, even though AID and BSSID are
129*5113495bSYour Name 			matched, MAC doesn't send tx_expect_ndp to PHY, because MU
130*5113495bSYour Name 			Nc > 2 is not supported in Helium.
131*5113495bSYour Name 
132*5113495bSYour Name otp_txbf_disable
133*5113495bSYour Name 
134*5113495bSYour Name 			Set if either OTP_SUBFEE_DISABLE or OTP_TXBF_DISABLE is
135*5113495bSYour Name 			set and if RXPU receives directed NDPA frame. Then, RXPCU
136*5113495bSYour Name 			should not send TX_EXPECT_NDP TLV to SW but set this bit to
137*5113495bSYour Name 			inform SW.
138*5113495bSYour Name 
139*5113495bSYour Name previous_tlv_corrupted
140*5113495bSYour Name 
141*5113495bSYour Name 			When set, the TLV preceding this RXPCU_END_INFO TLV
142*5113495bSYour Name 			within the RX_PPDU_END TLV, is corrupted. Not the entire TLV
143*5113495bSYour Name 			was received.... Likely due to an abort scenario... If abort
144*5113495bSYour Name 			is to blame, see the abort data datastructure for details.
145*5113495bSYour Name 
146*5113495bSYour Name 			<legal all>
147*5113495bSYour Name 
148*5113495bSYour Name phyrx_abort_request_info_valid
149*5113495bSYour Name 
150*5113495bSYour Name 			When set, the PHY sent an PHYRX_ABORT_REQUEST TLV to
151*5113495bSYour Name 			RXPCU. The abort fields embedded in this TLV contain valid
152*5113495bSYour Name 			info.
153*5113495bSYour Name 
154*5113495bSYour Name 			<legal all>
155*5113495bSYour Name 
156*5113495bSYour Name macrx_abort_request_info_valid
157*5113495bSYour Name 
158*5113495bSYour Name 			When set, the PHY sent an PHYRX_ABORT_REQUEST TLV to
159*5113495bSYour Name 			RXPCU. The abort fields embedded in this TLV contain valid
160*5113495bSYour Name 			info.
161*5113495bSYour Name 
162*5113495bSYour Name 			<legal all>
163*5113495bSYour Name 
164*5113495bSYour Name reserved
165*5113495bSYour Name 
166*5113495bSYour Name 			<legal 0>
167*5113495bSYour Name 
168*5113495bSYour Name coex_bt_tx_from_start_of_rx
169*5113495bSYour Name 
170*5113495bSYour Name 			Set when BT TX was ongoing when WLAN RX started
171*5113495bSYour Name 
172*5113495bSYour Name coex_bt_tx_after_start_of_rx
173*5113495bSYour Name 
174*5113495bSYour Name 
175*5113495bSYour Name coex_wan_tx_from_start_of_rx
176*5113495bSYour Name 
177*5113495bSYour Name 			Set when WAN TX was ongoing when WLAN RX started
178*5113495bSYour Name 
179*5113495bSYour Name coex_wan_tx_after_start_of_rx
180*5113495bSYour Name 
181*5113495bSYour Name 			Set when WAN TX started while WLAN RX was already
182*5113495bSYour Name 			ongoing
183*5113495bSYour Name 
184*5113495bSYour Name coex_wlan_tx_from_start_of_rx
185*5113495bSYour Name 
186*5113495bSYour Name 			Set when other WLAN TX was ongoing when WLAN RX started
187*5113495bSYour Name 
188*5113495bSYour Name coex_wlan_tx_after_start_of_rx
189*5113495bSYour Name 
190*5113495bSYour Name 			Set when other WLAN TX started while WLAN RX was already
191*5113495bSYour Name 			ongoing
192*5113495bSYour Name 
193*5113495bSYour Name mpdu_delimiter_errors_seen
194*5113495bSYour Name 
195*5113495bSYour Name 			When set, MPDU delimiter errors have been detected
196*5113495bSYour Name 			during this PPDU reception
197*5113495bSYour Name 
198*5113495bSYour Name ftm_tm
199*5113495bSYour Name 
200*5113495bSYour Name 			Indicate the timestamp is for the FTM or TM frame
201*5113495bSYour Name 
202*5113495bSYour Name 
203*5113495bSYour Name 
204*5113495bSYour Name 			0: non TM or FTM frame
205*5113495bSYour Name 
206*5113495bSYour Name 			1: FTM frame
207*5113495bSYour Name 
208*5113495bSYour Name 			2: TM frame
209*5113495bSYour Name 
210*5113495bSYour Name 			3: reserved
211*5113495bSYour Name 
212*5113495bSYour Name 			<legal all>
213*5113495bSYour Name 
214*5113495bSYour Name dialog_token
215*5113495bSYour Name 
216*5113495bSYour Name 			The dialog token in the FTM or TM frame. Only valid when
217*5113495bSYour Name 			the FTM is set. Clear to 254 for a non-FTM frame
218*5113495bSYour Name 
219*5113495bSYour Name 			<legal all>
220*5113495bSYour Name 
221*5113495bSYour Name follow_up_dialog_token
222*5113495bSYour Name 
223*5113495bSYour Name 			The follow up dialog token in the FTM or TM frame. Only
224*5113495bSYour Name 			valid when the FTM is set. Clear to 0 for a non-FTM frame,
225*5113495bSYour Name 			The follow up dialog token in the FTM frame. Only valid when
226*5113495bSYour Name 			the FTM is set. Clear to 255 for a non-FTM frame<legal all>
227*5113495bSYour Name 
228*5113495bSYour Name bb_captured_channel
229*5113495bSYour Name 
230*5113495bSYour Name 			Set by RXPCU when the following conditions are met:
231*5113495bSYour Name 
232*5113495bSYour Name 
233*5113495bSYour Name 
234*5113495bSYour Name 			Directed (=> unicast) TM or FTM frame has been received
235*5113495bSYour Name 			with passing FCS
236*5113495bSYour Name 
237*5113495bSYour Name 			PHYRX_PKT_END. Location_info_valid is set
238*5113495bSYour Name 
239*5113495bSYour Name 
240*5113495bSYour Name 
241*5113495bSYour Name 			<legal all>
242*5113495bSYour Name 
243*5113495bSYour Name reserved_3
244*5113495bSYour Name 
245*5113495bSYour Name 			<legal 0>
246*5113495bSYour Name 
247*5113495bSYour Name before_mpdu_count_passing_fcs
248*5113495bSYour Name 
249*5113495bSYour Name 			Number of MPDUs received in this PPDU that passed the
250*5113495bSYour Name 			FCS check before the Coex TX started
251*5113495bSYour Name 
252*5113495bSYour Name before_mpdu_count_failing_fcs
253*5113495bSYour Name 
254*5113495bSYour Name 			Number of MPDUs received in this PPDU that failed the
255*5113495bSYour Name 			FCS check before the Coex TX started
256*5113495bSYour Name 
257*5113495bSYour Name after_mpdu_count_passing_fcs
258*5113495bSYour Name 
259*5113495bSYour Name 			Number of MPDUs received in this PPDU that passed the
260*5113495bSYour Name 			FCS check after the moment the Coex TX started
261*5113495bSYour Name 
262*5113495bSYour Name 
263*5113495bSYour Name 
264*5113495bSYour Name 			(Note: The partially received MPDU when the COEX tx
265*5113495bSYour Name 			start event came in falls in the after category)
266*5113495bSYour Name 
267*5113495bSYour Name after_mpdu_count_failing_fcs
268*5113495bSYour Name 
269*5113495bSYour Name 			Number of MPDUs received in this PPDU that failed the
270*5113495bSYour Name 			FCS check after the moment the Coex TX started
271*5113495bSYour Name 
272*5113495bSYour Name 
273*5113495bSYour Name 
274*5113495bSYour Name 			(Note: The partially received MPDU when the COEX tx
275*5113495bSYour Name 			start event came in falls in the after category)
276*5113495bSYour Name 
277*5113495bSYour Name phy_timestamp_tx_lower_32
278*5113495bSYour Name 
279*5113495bSYour Name 			The PHY timestamp in the AMPI of the most recent rising
280*5113495bSYour Name 			edge (TODO: of what ???) after the TX_PHY_DESC.  This field
281*5113495bSYour Name 			indicates the lower 32 bits of the timestamp
282*5113495bSYour Name 
283*5113495bSYour Name phy_timestamp_tx_upper_32
284*5113495bSYour Name 
285*5113495bSYour Name 			The PHY timestamp in the AMPI of the most recent rising
286*5113495bSYour Name 			edge (TODO: of what ???) after the TX_PHY_DESC.  This field
287*5113495bSYour Name 			indicates the upper 32 bits of the timestamp
288*5113495bSYour Name 
289*5113495bSYour Name bb_length
290*5113495bSYour Name 
291*5113495bSYour Name 			Indicates the number of bytes of baseband information
292*5113495bSYour Name 			for PPDUs where the BB descriptor preamble type is 0x80 to
293*5113495bSYour Name 			0xFF which indicates that this is not a normal PPDU but
294*5113495bSYour Name 			rather contains baseband debug information.
295*5113495bSYour Name 
296*5113495bSYour Name 			TODO: Is this still needed ???
297*5113495bSYour Name 
298*5113495bSYour Name bb_data
299*5113495bSYour Name 
300*5113495bSYour Name 			Indicates that BB data associated with this PPDU will
301*5113495bSYour Name 			exist in the receive buffer.  The exact contents of this BB
302*5113495bSYour Name 			data can be found by decoding the BB TLV in the buffer
303*5113495bSYour Name 			associated with the BB data.  See vector_fragment in the
304*5113495bSYour Name 			Helium_mac_phy_interface.docx
305*5113495bSYour Name 
306*5113495bSYour Name reserved_7
307*5113495bSYour Name 
308*5113495bSYour Name 			Reserved: HW should fill with 0, FW should ignore.
309*5113495bSYour Name 
310*5113495bSYour Name rx_ppdu_duration
311*5113495bSYour Name 
312*5113495bSYour Name 			The length of this PPDU reception in us
313*5113495bSYour Name 
314*5113495bSYour Name reserved_8
315*5113495bSYour Name 
316*5113495bSYour Name 			<legal 0>
317*5113495bSYour Name 
318*5113495bSYour Name ast_index
319*5113495bSYour Name 
320*5113495bSYour Name 			The AST index of the receive Ack/BA.  This information
321*5113495bSYour Name 			is provided from the TXPCU to the RXPCU for receive Ack/BA
322*5113495bSYour Name 			for implicit beamforming.
323*5113495bSYour Name 
324*5113495bSYour Name 			<legal all>
325*5113495bSYour Name 
326*5113495bSYour Name ast_index_valid
327*5113495bSYour Name 
328*5113495bSYour Name 			Indicates that ast_index is valid.  Should only be set
329*5113495bSYour Name 			for receive Ack/BA where single stream implicit sounding is
330*5113495bSYour Name 			captured.
331*5113495bSYour Name 
332*5113495bSYour Name reserved_9
333*5113495bSYour Name 
334*5113495bSYour Name 			<legal 0>
335*5113495bSYour Name 
336*5113495bSYour Name struct phyrx_abort_request_info phyrx_abort_request_info_details
337*5113495bSYour Name 
338*5113495bSYour Name 			Field only valid when Phyrx_abort_request_info_valid is
339*5113495bSYour Name 			set
340*5113495bSYour Name 
341*5113495bSYour Name 			The reason why PHY generated an abort request
342*5113495bSYour Name 
343*5113495bSYour Name struct macrx_abort_request_info macrx_abort_request_info_details
344*5113495bSYour Name 
345*5113495bSYour Name 			Field only valid when macrx_abort_request_info_valid is
346*5113495bSYour Name 			set
347*5113495bSYour Name 
348*5113495bSYour Name 			The reason why MACRX generated an abort request
349*5113495bSYour Name 
350*5113495bSYour Name rx_ppdu_end_marker
351*5113495bSYour Name 
352*5113495bSYour Name 			Field used by SW to double check that their structure
353*5113495bSYour Name 			alignment is in sync with what HW has done.
354*5113495bSYour Name 
355*5113495bSYour Name 			<legal 0xAABBCCDD>
356*5113495bSYour Name */
357*5113495bSYour Name 
358*5113495bSYour Name 
359*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_0_WB_TIMESTAMP_LOWER_32
360*5113495bSYour Name 
361*5113495bSYour Name 			WLAN/BT timestamp is a 1 usec resolution timestamp which
362*5113495bSYour Name 			does not get updated based on receive beacon like TSF.  The
363*5113495bSYour Name 			same rules for capturing tsf_timestamp are used to capture
364*5113495bSYour Name 			the wb_timestamp. This field represents the lower 32 bits of
365*5113495bSYour Name 			the 64-bit timestamp
366*5113495bSYour Name */
367*5113495bSYour Name #define RXPCU_PPDU_END_INFO_0_WB_TIMESTAMP_LOWER_32_OFFSET           0x00000000
368*5113495bSYour Name #define RXPCU_PPDU_END_INFO_0_WB_TIMESTAMP_LOWER_32_LSB              0
369*5113495bSYour Name #define RXPCU_PPDU_END_INFO_0_WB_TIMESTAMP_LOWER_32_MASK             0xffffffff
370*5113495bSYour Name 
371*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_1_WB_TIMESTAMP_UPPER_32
372*5113495bSYour Name 
373*5113495bSYour Name 			WLAN/BT timestamp is a 1 usec resolution timestamp which
374*5113495bSYour Name 			does not get updated based on receive beacon like TSF.  The
375*5113495bSYour Name 			same rules for capturing tsf_timestamp are used to capture
376*5113495bSYour Name 			the wb_timestamp. This field represents the upper 32 bits of
377*5113495bSYour Name 			the 64-bit timestamp
378*5113495bSYour Name */
379*5113495bSYour Name #define RXPCU_PPDU_END_INFO_1_WB_TIMESTAMP_UPPER_32_OFFSET           0x00000004
380*5113495bSYour Name #define RXPCU_PPDU_END_INFO_1_WB_TIMESTAMP_UPPER_32_LSB              0
381*5113495bSYour Name #define RXPCU_PPDU_END_INFO_1_WB_TIMESTAMP_UPPER_32_MASK             0xffffffff
382*5113495bSYour Name 
383*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_2_RX_ANTENNA
384*5113495bSYour Name 
385*5113495bSYour Name 			Receive antenna value ???
386*5113495bSYour Name */
387*5113495bSYour Name #define RXPCU_PPDU_END_INFO_2_RX_ANTENNA_OFFSET                      0x00000008
388*5113495bSYour Name #define RXPCU_PPDU_END_INFO_2_RX_ANTENNA_LSB                         0
389*5113495bSYour Name #define RXPCU_PPDU_END_INFO_2_RX_ANTENNA_MASK                        0x00ffffff
390*5113495bSYour Name 
391*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_2_TX_HT_VHT_ACK
392*5113495bSYour Name 
393*5113495bSYour Name 			Indicates that a HT or VHT Ack/BA frame was transmitted
394*5113495bSYour Name 			in response to this receive packet.
395*5113495bSYour Name */
396*5113495bSYour Name #define RXPCU_PPDU_END_INFO_2_TX_HT_VHT_ACK_OFFSET                   0x00000008
397*5113495bSYour Name #define RXPCU_PPDU_END_INFO_2_TX_HT_VHT_ACK_LSB                      24
398*5113495bSYour Name #define RXPCU_PPDU_END_INFO_2_TX_HT_VHT_ACK_MASK                     0x01000000
399*5113495bSYour Name 
400*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_2_UNSUPPORTED_MU_NC
401*5113495bSYour Name 
402*5113495bSYour Name 			Set if MU Nc > 2 in received NDPA.
403*5113495bSYour Name 
404*5113495bSYour Name 			If this bit is set, even though AID and BSSID are
405*5113495bSYour Name 			matched, MAC doesn't send tx_expect_ndp to PHY, because MU
406*5113495bSYour Name 			Nc > 2 is not supported in Helium.
407*5113495bSYour Name */
408*5113495bSYour Name #define RXPCU_PPDU_END_INFO_2_UNSUPPORTED_MU_NC_OFFSET               0x00000008
409*5113495bSYour Name #define RXPCU_PPDU_END_INFO_2_UNSUPPORTED_MU_NC_LSB                  25
410*5113495bSYour Name #define RXPCU_PPDU_END_INFO_2_UNSUPPORTED_MU_NC_MASK                 0x02000000
411*5113495bSYour Name 
412*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_2_OTP_TXBF_DISABLE
413*5113495bSYour Name 
414*5113495bSYour Name 			Set if either OTP_SUBFEE_DISABLE or OTP_TXBF_DISABLE is
415*5113495bSYour Name 			set and if RXPU receives directed NDPA frame. Then, RXPCU
416*5113495bSYour Name 			should not send TX_EXPECT_NDP TLV to SW but set this bit to
417*5113495bSYour Name 			inform SW.
418*5113495bSYour Name */
419*5113495bSYour Name #define RXPCU_PPDU_END_INFO_2_OTP_TXBF_DISABLE_OFFSET                0x00000008
420*5113495bSYour Name #define RXPCU_PPDU_END_INFO_2_OTP_TXBF_DISABLE_LSB                   26
421*5113495bSYour Name #define RXPCU_PPDU_END_INFO_2_OTP_TXBF_DISABLE_MASK                  0x04000000
422*5113495bSYour Name 
423*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_2_PREVIOUS_TLV_CORRUPTED
424*5113495bSYour Name 
425*5113495bSYour Name 			When set, the TLV preceding this RXPCU_END_INFO TLV
426*5113495bSYour Name 			within the RX_PPDU_END TLV, is corrupted. Not the entire TLV
427*5113495bSYour Name 			was received.... Likely due to an abort scenario... If abort
428*5113495bSYour Name 			is to blame, see the abort data datastructure for details.
429*5113495bSYour Name 
430*5113495bSYour Name 			<legal all>
431*5113495bSYour Name */
432*5113495bSYour Name #define RXPCU_PPDU_END_INFO_2_PREVIOUS_TLV_CORRUPTED_OFFSET          0x00000008
433*5113495bSYour Name #define RXPCU_PPDU_END_INFO_2_PREVIOUS_TLV_CORRUPTED_LSB             27
434*5113495bSYour Name #define RXPCU_PPDU_END_INFO_2_PREVIOUS_TLV_CORRUPTED_MASK            0x08000000
435*5113495bSYour Name 
436*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_2_PHYRX_ABORT_REQUEST_INFO_VALID
437*5113495bSYour Name 
438*5113495bSYour Name 			When set, the PHY sent an PHYRX_ABORT_REQUEST TLV to
439*5113495bSYour Name 			RXPCU. The abort fields embedded in this TLV contain valid
440*5113495bSYour Name 			info.
441*5113495bSYour Name 
442*5113495bSYour Name 			<legal all>
443*5113495bSYour Name */
444*5113495bSYour Name #define RXPCU_PPDU_END_INFO_2_PHYRX_ABORT_REQUEST_INFO_VALID_OFFSET  0x00000008
445*5113495bSYour Name #define RXPCU_PPDU_END_INFO_2_PHYRX_ABORT_REQUEST_INFO_VALID_LSB     28
446*5113495bSYour Name #define RXPCU_PPDU_END_INFO_2_PHYRX_ABORT_REQUEST_INFO_VALID_MASK    0x10000000
447*5113495bSYour Name 
448*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_2_MACRX_ABORT_REQUEST_INFO_VALID
449*5113495bSYour Name 
450*5113495bSYour Name 			When set, the PHY sent an PHYRX_ABORT_REQUEST TLV to
451*5113495bSYour Name 			RXPCU. The abort fields embedded in this TLV contain valid
452*5113495bSYour Name 			info.
453*5113495bSYour Name 
454*5113495bSYour Name 			<legal all>
455*5113495bSYour Name */
456*5113495bSYour Name #define RXPCU_PPDU_END_INFO_2_MACRX_ABORT_REQUEST_INFO_VALID_OFFSET  0x00000008
457*5113495bSYour Name #define RXPCU_PPDU_END_INFO_2_MACRX_ABORT_REQUEST_INFO_VALID_LSB     29
458*5113495bSYour Name #define RXPCU_PPDU_END_INFO_2_MACRX_ABORT_REQUEST_INFO_VALID_MASK    0x20000000
459*5113495bSYour Name 
460*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_2_RESERVED
461*5113495bSYour Name 
462*5113495bSYour Name 			<legal 0>
463*5113495bSYour Name */
464*5113495bSYour Name #define RXPCU_PPDU_END_INFO_2_RESERVED_OFFSET                        0x00000008
465*5113495bSYour Name #define RXPCU_PPDU_END_INFO_2_RESERVED_LSB                           30
466*5113495bSYour Name #define RXPCU_PPDU_END_INFO_2_RESERVED_MASK                          0xc0000000
467*5113495bSYour Name 
468*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_3_COEX_BT_TX_FROM_START_OF_RX
469*5113495bSYour Name 
470*5113495bSYour Name 			Set when BT TX was ongoing when WLAN RX started
471*5113495bSYour Name */
472*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_COEX_BT_TX_FROM_START_OF_RX_OFFSET     0x0000000c
473*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_COEX_BT_TX_FROM_START_OF_RX_LSB        0
474*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_COEX_BT_TX_FROM_START_OF_RX_MASK       0x00000001
475*5113495bSYour Name 
476*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_3_COEX_BT_TX_AFTER_START_OF_RX
477*5113495bSYour Name 
478*5113495bSYour Name */
479*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_COEX_BT_TX_AFTER_START_OF_RX_OFFSET    0x0000000c
480*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_COEX_BT_TX_AFTER_START_OF_RX_LSB       1
481*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_COEX_BT_TX_AFTER_START_OF_RX_MASK      0x00000002
482*5113495bSYour Name 
483*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_3_COEX_WAN_TX_FROM_START_OF_RX
484*5113495bSYour Name 
485*5113495bSYour Name 			Set when WAN TX was ongoing when WLAN RX started
486*5113495bSYour Name */
487*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_COEX_WAN_TX_FROM_START_OF_RX_OFFSET    0x0000000c
488*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_COEX_WAN_TX_FROM_START_OF_RX_LSB       2
489*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_COEX_WAN_TX_FROM_START_OF_RX_MASK      0x00000004
490*5113495bSYour Name 
491*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_3_COEX_WAN_TX_AFTER_START_OF_RX
492*5113495bSYour Name 
493*5113495bSYour Name 			Set when WAN TX started while WLAN RX was already
494*5113495bSYour Name 			ongoing
495*5113495bSYour Name */
496*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_COEX_WAN_TX_AFTER_START_OF_RX_OFFSET   0x0000000c
497*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_COEX_WAN_TX_AFTER_START_OF_RX_LSB      3
498*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_COEX_WAN_TX_AFTER_START_OF_RX_MASK     0x00000008
499*5113495bSYour Name 
500*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_3_COEX_WLAN_TX_FROM_START_OF_RX
501*5113495bSYour Name 
502*5113495bSYour Name 			Set when other WLAN TX was ongoing when WLAN RX started
503*5113495bSYour Name */
504*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_COEX_WLAN_TX_FROM_START_OF_RX_OFFSET   0x0000000c
505*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_COEX_WLAN_TX_FROM_START_OF_RX_LSB      4
506*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_COEX_WLAN_TX_FROM_START_OF_RX_MASK     0x00000010
507*5113495bSYour Name 
508*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_3_COEX_WLAN_TX_AFTER_START_OF_RX
509*5113495bSYour Name 
510*5113495bSYour Name 			Set when other WLAN TX started while WLAN RX was already
511*5113495bSYour Name 			ongoing
512*5113495bSYour Name */
513*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_COEX_WLAN_TX_AFTER_START_OF_RX_OFFSET  0x0000000c
514*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_COEX_WLAN_TX_AFTER_START_OF_RX_LSB     5
515*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_COEX_WLAN_TX_AFTER_START_OF_RX_MASK    0x00000020
516*5113495bSYour Name 
517*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_3_MPDU_DELIMITER_ERRORS_SEEN
518*5113495bSYour Name 
519*5113495bSYour Name 			When set, MPDU delimiter errors have been detected
520*5113495bSYour Name 			during this PPDU reception
521*5113495bSYour Name */
522*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_MPDU_DELIMITER_ERRORS_SEEN_OFFSET      0x0000000c
523*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_MPDU_DELIMITER_ERRORS_SEEN_LSB         6
524*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_MPDU_DELIMITER_ERRORS_SEEN_MASK        0x00000040
525*5113495bSYour Name 
526*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_3_FTM_TM
527*5113495bSYour Name 
528*5113495bSYour Name 			Indicate the timestamp is for the FTM or TM frame
529*5113495bSYour Name 
530*5113495bSYour Name 
531*5113495bSYour Name 
532*5113495bSYour Name 			0: non TM or FTM frame
533*5113495bSYour Name 
534*5113495bSYour Name 			1: FTM frame
535*5113495bSYour Name 
536*5113495bSYour Name 			2: TM frame
537*5113495bSYour Name 
538*5113495bSYour Name 			3: reserved
539*5113495bSYour Name 
540*5113495bSYour Name 			<legal all>
541*5113495bSYour Name */
542*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_FTM_TM_OFFSET                          0x0000000c
543*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_FTM_TM_LSB                             7
544*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_FTM_TM_MASK                            0x00000180
545*5113495bSYour Name 
546*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_3_DIALOG_TOKEN
547*5113495bSYour Name 
548*5113495bSYour Name 			The dialog token in the FTM or TM frame. Only valid when
549*5113495bSYour Name 			the FTM is set. Clear to 254 for a non-FTM frame
550*5113495bSYour Name 
551*5113495bSYour Name 			<legal all>
552*5113495bSYour Name */
553*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_DIALOG_TOKEN_OFFSET                    0x0000000c
554*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_DIALOG_TOKEN_LSB                       9
555*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_DIALOG_TOKEN_MASK                      0x0001fe00
556*5113495bSYour Name 
557*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_3_FOLLOW_UP_DIALOG_TOKEN
558*5113495bSYour Name 
559*5113495bSYour Name 			The follow up dialog token in the FTM or TM frame. Only
560*5113495bSYour Name 			valid when the FTM is set. Clear to 0 for a non-FTM frame,
561*5113495bSYour Name 			The follow up dialog token in the FTM frame. Only valid when
562*5113495bSYour Name 			the FTM is set. Clear to 255 for a non-FTM frame<legal all>
563*5113495bSYour Name */
564*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_FOLLOW_UP_DIALOG_TOKEN_OFFSET          0x0000000c
565*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_FOLLOW_UP_DIALOG_TOKEN_LSB             17
566*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_FOLLOW_UP_DIALOG_TOKEN_MASK            0x01fe0000
567*5113495bSYour Name 
568*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_3_BB_CAPTURED_CHANNEL
569*5113495bSYour Name 
570*5113495bSYour Name 			Set by RXPCU when the following conditions are met:
571*5113495bSYour Name 
572*5113495bSYour Name 
573*5113495bSYour Name 
574*5113495bSYour Name 			Directed (=> unicast) TM or FTM frame has been received
575*5113495bSYour Name 			with passing FCS
576*5113495bSYour Name 
577*5113495bSYour Name 			PHYRX_PKT_END. Location_info_valid is set
578*5113495bSYour Name 
579*5113495bSYour Name 
580*5113495bSYour Name 
581*5113495bSYour Name 			<legal all>
582*5113495bSYour Name */
583*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_BB_CAPTURED_CHANNEL_OFFSET             0x0000000c
584*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_BB_CAPTURED_CHANNEL_LSB                25
585*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_BB_CAPTURED_CHANNEL_MASK               0x02000000
586*5113495bSYour Name 
587*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_3_RESERVED_3
588*5113495bSYour Name 
589*5113495bSYour Name 			<legal 0>
590*5113495bSYour Name */
591*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_RESERVED_3_OFFSET                      0x0000000c
592*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_RESERVED_3_LSB                         26
593*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_RESERVED_3_MASK                        0xfc000000
594*5113495bSYour Name 
595*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_4_BEFORE_MPDU_COUNT_PASSING_FCS
596*5113495bSYour Name 
597*5113495bSYour Name 			Number of MPDUs received in this PPDU that passed the
598*5113495bSYour Name 			FCS check before the Coex TX started
599*5113495bSYour Name */
600*5113495bSYour Name #define RXPCU_PPDU_END_INFO_4_BEFORE_MPDU_COUNT_PASSING_FCS_OFFSET   0x00000010
601*5113495bSYour Name #define RXPCU_PPDU_END_INFO_4_BEFORE_MPDU_COUNT_PASSING_FCS_LSB      0
602*5113495bSYour Name #define RXPCU_PPDU_END_INFO_4_BEFORE_MPDU_COUNT_PASSING_FCS_MASK     0x000000ff
603*5113495bSYour Name 
604*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_4_BEFORE_MPDU_COUNT_FAILING_FCS
605*5113495bSYour Name 
606*5113495bSYour Name 			Number of MPDUs received in this PPDU that failed the
607*5113495bSYour Name 			FCS check before the Coex TX started
608*5113495bSYour Name */
609*5113495bSYour Name #define RXPCU_PPDU_END_INFO_4_BEFORE_MPDU_COUNT_FAILING_FCS_OFFSET   0x00000010
610*5113495bSYour Name #define RXPCU_PPDU_END_INFO_4_BEFORE_MPDU_COUNT_FAILING_FCS_LSB      8
611*5113495bSYour Name #define RXPCU_PPDU_END_INFO_4_BEFORE_MPDU_COUNT_FAILING_FCS_MASK     0x0000ff00
612*5113495bSYour Name 
613*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_4_AFTER_MPDU_COUNT_PASSING_FCS
614*5113495bSYour Name 
615*5113495bSYour Name 			Number of MPDUs received in this PPDU that passed the
616*5113495bSYour Name 			FCS check after the moment the Coex TX started
617*5113495bSYour Name 
618*5113495bSYour Name 
619*5113495bSYour Name 
620*5113495bSYour Name 			(Note: The partially received MPDU when the COEX tx
621*5113495bSYour Name 			start event came in falls in the after category)
622*5113495bSYour Name */
623*5113495bSYour Name #define RXPCU_PPDU_END_INFO_4_AFTER_MPDU_COUNT_PASSING_FCS_OFFSET    0x00000010
624*5113495bSYour Name #define RXPCU_PPDU_END_INFO_4_AFTER_MPDU_COUNT_PASSING_FCS_LSB       16
625*5113495bSYour Name #define RXPCU_PPDU_END_INFO_4_AFTER_MPDU_COUNT_PASSING_FCS_MASK      0x00ff0000
626*5113495bSYour Name 
627*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_4_AFTER_MPDU_COUNT_FAILING_FCS
628*5113495bSYour Name 
629*5113495bSYour Name 			Number of MPDUs received in this PPDU that failed the
630*5113495bSYour Name 			FCS check after the moment the Coex TX started
631*5113495bSYour Name 
632*5113495bSYour Name 
633*5113495bSYour Name 
634*5113495bSYour Name 			(Note: The partially received MPDU when the COEX tx
635*5113495bSYour Name 			start event came in falls in the after category)
636*5113495bSYour Name */
637*5113495bSYour Name #define RXPCU_PPDU_END_INFO_4_AFTER_MPDU_COUNT_FAILING_FCS_OFFSET    0x00000010
638*5113495bSYour Name #define RXPCU_PPDU_END_INFO_4_AFTER_MPDU_COUNT_FAILING_FCS_LSB       24
639*5113495bSYour Name #define RXPCU_PPDU_END_INFO_4_AFTER_MPDU_COUNT_FAILING_FCS_MASK      0xff000000
640*5113495bSYour Name 
641*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_5_PHY_TIMESTAMP_TX_LOWER_32
642*5113495bSYour Name 
643*5113495bSYour Name 			The PHY timestamp in the AMPI of the most recent rising
644*5113495bSYour Name 			edge (TODO: of what ???) after the TX_PHY_DESC.  This field
645*5113495bSYour Name 			indicates the lower 32 bits of the timestamp
646*5113495bSYour Name */
647*5113495bSYour Name #define RXPCU_PPDU_END_INFO_5_PHY_TIMESTAMP_TX_LOWER_32_OFFSET       0x00000014
648*5113495bSYour Name #define RXPCU_PPDU_END_INFO_5_PHY_TIMESTAMP_TX_LOWER_32_LSB          0
649*5113495bSYour Name #define RXPCU_PPDU_END_INFO_5_PHY_TIMESTAMP_TX_LOWER_32_MASK         0xffffffff
650*5113495bSYour Name 
651*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_6_PHY_TIMESTAMP_TX_UPPER_32
652*5113495bSYour Name 
653*5113495bSYour Name 			The PHY timestamp in the AMPI of the most recent rising
654*5113495bSYour Name 			edge (TODO: of what ???) after the TX_PHY_DESC.  This field
655*5113495bSYour Name 			indicates the upper 32 bits of the timestamp
656*5113495bSYour Name */
657*5113495bSYour Name #define RXPCU_PPDU_END_INFO_6_PHY_TIMESTAMP_TX_UPPER_32_OFFSET       0x00000018
658*5113495bSYour Name #define RXPCU_PPDU_END_INFO_6_PHY_TIMESTAMP_TX_UPPER_32_LSB          0
659*5113495bSYour Name #define RXPCU_PPDU_END_INFO_6_PHY_TIMESTAMP_TX_UPPER_32_MASK         0xffffffff
660*5113495bSYour Name 
661*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_7_BB_LENGTH
662*5113495bSYour Name 
663*5113495bSYour Name 			Indicates the number of bytes of baseband information
664*5113495bSYour Name 			for PPDUs where the BB descriptor preamble type is 0x80 to
665*5113495bSYour Name 			0xFF which indicates that this is not a normal PPDU but
666*5113495bSYour Name 			rather contains baseband debug information.
667*5113495bSYour Name 
668*5113495bSYour Name 			TODO: Is this still needed ???
669*5113495bSYour Name */
670*5113495bSYour Name #define RXPCU_PPDU_END_INFO_7_BB_LENGTH_OFFSET                       0x0000001c
671*5113495bSYour Name #define RXPCU_PPDU_END_INFO_7_BB_LENGTH_LSB                          0
672*5113495bSYour Name #define RXPCU_PPDU_END_INFO_7_BB_LENGTH_MASK                         0x0000ffff
673*5113495bSYour Name 
674*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_7_BB_DATA
675*5113495bSYour Name 
676*5113495bSYour Name 			Indicates that BB data associated with this PPDU will
677*5113495bSYour Name 			exist in the receive buffer.  The exact contents of this BB
678*5113495bSYour Name 			data can be found by decoding the BB TLV in the buffer
679*5113495bSYour Name 			associated with the BB data.  See vector_fragment in the
680*5113495bSYour Name 			Helium_mac_phy_interface.docx
681*5113495bSYour Name */
682*5113495bSYour Name #define RXPCU_PPDU_END_INFO_7_BB_DATA_OFFSET                         0x0000001c
683*5113495bSYour Name #define RXPCU_PPDU_END_INFO_7_BB_DATA_LSB                            16
684*5113495bSYour Name #define RXPCU_PPDU_END_INFO_7_BB_DATA_MASK                           0x00010000
685*5113495bSYour Name 
686*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_7_RESERVED_7
687*5113495bSYour Name 
688*5113495bSYour Name 			Reserved: HW should fill with 0, FW should ignore.
689*5113495bSYour Name */
690*5113495bSYour Name #define RXPCU_PPDU_END_INFO_7_RESERVED_7_OFFSET                      0x0000001c
691*5113495bSYour Name #define RXPCU_PPDU_END_INFO_7_RESERVED_7_LSB                         17
692*5113495bSYour Name #define RXPCU_PPDU_END_INFO_7_RESERVED_7_MASK                        0xfffe0000
693*5113495bSYour Name 
694*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_8_RX_PPDU_DURATION
695*5113495bSYour Name 
696*5113495bSYour Name 			The length of this PPDU reception in us
697*5113495bSYour Name */
698*5113495bSYour Name #define RXPCU_PPDU_END_INFO_8_RX_PPDU_DURATION_OFFSET                0x00000020
699*5113495bSYour Name #define RXPCU_PPDU_END_INFO_8_RX_PPDU_DURATION_LSB                   0
700*5113495bSYour Name #define RXPCU_PPDU_END_INFO_8_RX_PPDU_DURATION_MASK                  0x00ffffff
701*5113495bSYour Name 
702*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_8_RESERVED_8
703*5113495bSYour Name 
704*5113495bSYour Name 			<legal 0>
705*5113495bSYour Name */
706*5113495bSYour Name #define RXPCU_PPDU_END_INFO_8_RESERVED_8_OFFSET                      0x00000020
707*5113495bSYour Name #define RXPCU_PPDU_END_INFO_8_RESERVED_8_LSB                         24
708*5113495bSYour Name #define RXPCU_PPDU_END_INFO_8_RESERVED_8_MASK                        0xff000000
709*5113495bSYour Name 
710*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_9_AST_INDEX
711*5113495bSYour Name 
712*5113495bSYour Name 			The AST index of the receive Ack/BA.  This information
713*5113495bSYour Name 			is provided from the TXPCU to the RXPCU for receive Ack/BA
714*5113495bSYour Name 			for implicit beamforming.
715*5113495bSYour Name 
716*5113495bSYour Name 			<legal all>
717*5113495bSYour Name */
718*5113495bSYour Name #define RXPCU_PPDU_END_INFO_9_AST_INDEX_OFFSET                       0x00000024
719*5113495bSYour Name #define RXPCU_PPDU_END_INFO_9_AST_INDEX_LSB                          0
720*5113495bSYour Name #define RXPCU_PPDU_END_INFO_9_AST_INDEX_MASK                         0x0000ffff
721*5113495bSYour Name 
722*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_9_AST_INDEX_VALID
723*5113495bSYour Name 
724*5113495bSYour Name 			Indicates that ast_index is valid.  Should only be set
725*5113495bSYour Name 			for receive Ack/BA where single stream implicit sounding is
726*5113495bSYour Name 			captured.
727*5113495bSYour Name */
728*5113495bSYour Name #define RXPCU_PPDU_END_INFO_9_AST_INDEX_VALID_OFFSET                 0x00000024
729*5113495bSYour Name #define RXPCU_PPDU_END_INFO_9_AST_INDEX_VALID_LSB                    16
730*5113495bSYour Name #define RXPCU_PPDU_END_INFO_9_AST_INDEX_VALID_MASK                   0x00010000
731*5113495bSYour Name 
732*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_9_RESERVED_9
733*5113495bSYour Name 
734*5113495bSYour Name 			<legal 0>
735*5113495bSYour Name */
736*5113495bSYour Name #define RXPCU_PPDU_END_INFO_9_RESERVED_9_OFFSET                      0x00000024
737*5113495bSYour Name #define RXPCU_PPDU_END_INFO_9_RESERVED_9_LSB                         17
738*5113495bSYour Name #define RXPCU_PPDU_END_INFO_9_RESERVED_9_MASK                        0xfffe0000
739*5113495bSYour Name #define RXPCU_PPDU_END_INFO_10_PHYRX_ABORT_REQUEST_INFO_PHYRX_ABORT_REQUEST_INFO_DETAILS_OFFSET 0x00000028
740*5113495bSYour Name #define RXPCU_PPDU_END_INFO_10_PHYRX_ABORT_REQUEST_INFO_PHYRX_ABORT_REQUEST_INFO_DETAILS_LSB 17
741*5113495bSYour Name #define RXPCU_PPDU_END_INFO_10_PHYRX_ABORT_REQUEST_INFO_PHYRX_ABORT_REQUEST_INFO_DETAILS_MASK 0xffffffff
742*5113495bSYour Name #define RXPCU_PPDU_END_INFO_11_MACRX_ABORT_REQUEST_INFO_MACRX_ABORT_REQUEST_INFO_DETAILS_OFFSET 0x0000002c
743*5113495bSYour Name #define RXPCU_PPDU_END_INFO_11_MACRX_ABORT_REQUEST_INFO_MACRX_ABORT_REQUEST_INFO_DETAILS_LSB 17
744*5113495bSYour Name #define RXPCU_PPDU_END_INFO_11_MACRX_ABORT_REQUEST_INFO_MACRX_ABORT_REQUEST_INFO_DETAILS_MASK 0xffffffff
745*5113495bSYour Name 
746*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_12_RX_PPDU_END_MARKER
747*5113495bSYour Name 
748*5113495bSYour Name 			Field used by SW to double check that their structure
749*5113495bSYour Name 			alignment is in sync with what HW has done.
750*5113495bSYour Name 
751*5113495bSYour Name 			<legal 0xAABBCCDD>
752*5113495bSYour Name */
753*5113495bSYour Name #define RXPCU_PPDU_END_INFO_12_RX_PPDU_END_MARKER_OFFSET             0x00000030
754*5113495bSYour Name #define RXPCU_PPDU_END_INFO_12_RX_PPDU_END_MARKER_LSB                0
755*5113495bSYour Name #define RXPCU_PPDU_END_INFO_12_RX_PPDU_END_MARKER_MASK               0xffffffff
756*5113495bSYour Name 
757*5113495bSYour Name 
758*5113495bSYour Name #endif // _RXPCU_PPDU_END_INFO_H_
759