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