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