xref: /wlan-driver/fw-api/hw/qca6750/v1/rxpcu_ppdu_end_info.h (revision 5113495b16420b49004c444715d2daae2066e7dc)
1*5113495bSYour Name /*
2*5113495bSYour Name  * Copyright (c) 2020 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 //
20*5113495bSYour Name // DO NOT EDIT!  This file is automatically generated
21*5113495bSYour Name //               These definitions are tied to a particular hardware layout
22*5113495bSYour Name 
23*5113495bSYour Name 
24*5113495bSYour Name #ifndef _RXPCU_PPDU_END_INFO_H_
25*5113495bSYour Name #define _RXPCU_PPDU_END_INFO_H_
26*5113495bSYour Name #if !defined(__ASSEMBLER__)
27*5113495bSYour Name #endif
28*5113495bSYour Name 
29*5113495bSYour Name #include "phyrx_abort_request_info.h"
30*5113495bSYour Name #include "macrx_abort_request_info.h"
31*5113495bSYour Name 
32*5113495bSYour Name // ################ START SUMMARY #################
33*5113495bSYour Name //
34*5113495bSYour Name //	Dword	Fields
35*5113495bSYour Name //	0	wb_timestamp_lower_32[31:0]
36*5113495bSYour Name //	1	wb_timestamp_upper_32[31:0]
37*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]
38*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], bb_captured_reason[28:26], bb_captured_timeout[29], reserved_3[31:30]
39*5113495bSYour Name //	4	before_mpdu_count_passing_fcs[9:0], before_mpdu_count_failing_fcs[19:10], after_mpdu_count_passing_fcs[29:20], reserved_4[31:30]
40*5113495bSYour Name //	5	after_mpdu_count_failing_fcs[9:0], reserved_5[31:10]
41*5113495bSYour Name //	6	phy_timestamp_tx_lower_32[31:0]
42*5113495bSYour Name //	7	phy_timestamp_tx_upper_32[31:0]
43*5113495bSYour Name //	8	bb_length[15:0], bb_data[16], reserved_8[19:17], first_bt_broadcast_status_details[31:20]
44*5113495bSYour Name //	9	rx_ppdu_duration[23:0], reserved_9[31:24]
45*5113495bSYour Name //	10	ast_index[15:0], ast_index_valid[16], reserved_10[19:17], second_bt_broadcast_status_details[31:20]
46*5113495bSYour Name //	11	struct phyrx_abort_request_info phyrx_abort_request_info_details;
47*5113495bSYour Name //	12	struct macrx_abort_request_info macrx_abort_request_info_details;
48*5113495bSYour Name //	13	rx_ppdu_end_marker[31:0]
49*5113495bSYour Name //
50*5113495bSYour Name // ################ END SUMMARY #################
51*5113495bSYour Name 
52*5113495bSYour Name #define NUM_OF_DWORDS_RXPCU_PPDU_END_INFO 14
53*5113495bSYour Name 
54*5113495bSYour Name struct rxpcu_ppdu_end_info {
55*5113495bSYour Name              uint32_t wb_timestamp_lower_32           : 32; //[31:0]
56*5113495bSYour Name              uint32_t wb_timestamp_upper_32           : 32; //[31:0]
57*5113495bSYour Name              uint32_t rx_antenna                      : 24, //[23:0]
58*5113495bSYour Name                       tx_ht_vht_ack                   :  1, //[24]
59*5113495bSYour Name                       unsupported_mu_nc               :  1, //[25]
60*5113495bSYour Name                       otp_txbf_disable                :  1, //[26]
61*5113495bSYour Name                       previous_tlv_corrupted          :  1, //[27]
62*5113495bSYour Name                       phyrx_abort_request_info_valid  :  1, //[28]
63*5113495bSYour Name                       macrx_abort_request_info_valid  :  1, //[29]
64*5113495bSYour Name                       reserved                        :  2; //[31:30]
65*5113495bSYour Name              uint32_t coex_bt_tx_from_start_of_rx     :  1, //[0]
66*5113495bSYour Name                       coex_bt_tx_after_start_of_rx    :  1, //[1]
67*5113495bSYour Name                       coex_wan_tx_from_start_of_rx    :  1, //[2]
68*5113495bSYour Name                       coex_wan_tx_after_start_of_rx   :  1, //[3]
69*5113495bSYour Name                       coex_wlan_tx_from_start_of_rx   :  1, //[4]
70*5113495bSYour Name                       coex_wlan_tx_after_start_of_rx  :  1, //[5]
71*5113495bSYour Name                       mpdu_delimiter_errors_seen      :  1, //[6]
72*5113495bSYour Name                       ftm_tm                          :  2, //[8:7]
73*5113495bSYour Name                       dialog_token                    :  8, //[16:9]
74*5113495bSYour Name                       follow_up_dialog_token          :  8, //[24:17]
75*5113495bSYour Name                       bb_captured_channel             :  1, //[25]
76*5113495bSYour Name                       bb_captured_reason              :  3, //[28:26]
77*5113495bSYour Name                       bb_captured_timeout             :  1, //[29]
78*5113495bSYour Name                       reserved_3                      :  2; //[31:30]
79*5113495bSYour Name              uint32_t before_mpdu_count_passing_fcs   : 10, //[9:0]
80*5113495bSYour Name                       before_mpdu_count_failing_fcs   : 10, //[19:10]
81*5113495bSYour Name                       after_mpdu_count_passing_fcs    : 10, //[29:20]
82*5113495bSYour Name                       reserved_4                      :  2; //[31:30]
83*5113495bSYour Name              uint32_t after_mpdu_count_failing_fcs    : 10, //[9:0]
84*5113495bSYour Name                       reserved_5                      : 22; //[31:10]
85*5113495bSYour Name              uint32_t phy_timestamp_tx_lower_32       : 32; //[31:0]
86*5113495bSYour Name              uint32_t phy_timestamp_tx_upper_32       : 32; //[31:0]
87*5113495bSYour Name              uint32_t bb_length                       : 16, //[15:0]
88*5113495bSYour Name                       bb_data                         :  1, //[16]
89*5113495bSYour Name                       reserved_8                      :  3, //[19:17]
90*5113495bSYour Name                       first_bt_broadcast_status_details: 12; //[31:20]
91*5113495bSYour Name              uint32_t rx_ppdu_duration                : 24, //[23:0]
92*5113495bSYour Name                       reserved_9                      :  8; //[31:24]
93*5113495bSYour Name              uint32_t ast_index                       : 16, //[15:0]
94*5113495bSYour Name                       ast_index_valid                 :  1, //[16]
95*5113495bSYour Name                       reserved_10                     :  3, //[19:17]
96*5113495bSYour Name                       second_bt_broadcast_status_details: 12; //[31:20]
97*5113495bSYour Name     struct            phyrx_abort_request_info                       phyrx_abort_request_info_details;
98*5113495bSYour Name     struct            macrx_abort_request_info                       macrx_abort_request_info_details;
99*5113495bSYour Name              uint16_t pre_bt_broadcast_status_details : 12, //[27:16]
100*5113495bSYour Name                       reserved_12a                    :  4; //[31:28]
101*5113495bSYour Name              uint32_t rx_ppdu_end_marker              : 32; //[31:0]
102*5113495bSYour Name };
103*5113495bSYour Name 
104*5113495bSYour Name /*
105*5113495bSYour Name 
106*5113495bSYour Name wb_timestamp_lower_32
107*5113495bSYour Name 
108*5113495bSYour Name 			WLAN/BT timestamp is a 1 usec resolution timestamp which
109*5113495bSYour Name 			does not get updated based on receive beacon like TSF.  The
110*5113495bSYour Name 			same rules for capturing tsf_timestamp are used to capture
111*5113495bSYour Name 			the wb_timestamp. This field represents the lower 32 bits of
112*5113495bSYour Name 			the 64-bit timestamp
113*5113495bSYour Name 
114*5113495bSYour Name wb_timestamp_upper_32
115*5113495bSYour Name 
116*5113495bSYour Name 			WLAN/BT timestamp is a 1 usec resolution timestamp which
117*5113495bSYour Name 			does not get updated based on receive beacon like TSF.  The
118*5113495bSYour Name 			same rules for capturing tsf_timestamp are used to capture
119*5113495bSYour Name 			the wb_timestamp. This field represents the upper 32 bits of
120*5113495bSYour Name 			the 64-bit timestamp
121*5113495bSYour Name 
122*5113495bSYour Name rx_antenna
123*5113495bSYour Name 
124*5113495bSYour Name 			Receive antenna value ???
125*5113495bSYour Name 
126*5113495bSYour Name tx_ht_vht_ack
127*5113495bSYour Name 
128*5113495bSYour Name 			Indicates that a HT or VHT Ack/BA frame was transmitted
129*5113495bSYour Name 			in response to this receive packet.
130*5113495bSYour Name 
131*5113495bSYour Name unsupported_mu_nc
132*5113495bSYour Name 
133*5113495bSYour Name 			Set if MU Nc > 2 in received NDPA.
134*5113495bSYour Name 
135*5113495bSYour Name 			If this bit is set, even though AID and BSSID are
136*5113495bSYour Name 			matched, MAC doesn't send tx_expect_ndp to PHY, because MU
137*5113495bSYour Name 			Nc > 2 is not supported in Helium.
138*5113495bSYour Name 
139*5113495bSYour Name otp_txbf_disable
140*5113495bSYour Name 
141*5113495bSYour Name 			Set if either OTP_SUBFEE_DISABLE or OTP_TXBF_DISABLE is
142*5113495bSYour Name 			set and if RXPU receives directed NDPA frame. Then, RXPCU
143*5113495bSYour Name 			should not send TX_EXPECT_NDP TLV to SW but set this bit to
144*5113495bSYour Name 			inform SW.
145*5113495bSYour Name 
146*5113495bSYour Name previous_tlv_corrupted
147*5113495bSYour Name 
148*5113495bSYour Name 			When set, the TLV preceding this RXPCU_END_INFO TLV
149*5113495bSYour Name 			within the RX_PPDU_END TLV, is corrupted. Not the entire TLV
150*5113495bSYour Name 			was received.... Likely due to an abort scenario... If abort
151*5113495bSYour Name 			is to blame, see the abort data datastructure for details.
152*5113495bSYour Name 
153*5113495bSYour Name 			<legal all>
154*5113495bSYour Name 
155*5113495bSYour Name phyrx_abort_request_info_valid
156*5113495bSYour Name 
157*5113495bSYour Name 			When set, the PHY sent an PHYRX_ABORT_REQUEST TLV to
158*5113495bSYour Name 			RXPCU. The abort fields embedded in this TLV contain valid
159*5113495bSYour Name 			info.
160*5113495bSYour Name 
161*5113495bSYour Name 			<legal all>
162*5113495bSYour Name 
163*5113495bSYour Name macrx_abort_request_info_valid
164*5113495bSYour Name 
165*5113495bSYour Name 			When set, the MAC sent an MACRX_ABORT_REQUEST TLV to
166*5113495bSYour Name 			PHYRX. The abort fields embedded in this TLV contain valid
167*5113495bSYour Name 			info.
168*5113495bSYour Name 
169*5113495bSYour Name 			<legal all>
170*5113495bSYour Name 
171*5113495bSYour Name reserved
172*5113495bSYour Name 
173*5113495bSYour Name 			<legal 0>
174*5113495bSYour Name 
175*5113495bSYour Name coex_bt_tx_from_start_of_rx
176*5113495bSYour Name 
177*5113495bSYour Name 			Set when BT TX was ongoing when WLAN RX started
178*5113495bSYour Name 
179*5113495bSYour Name coex_bt_tx_after_start_of_rx
180*5113495bSYour Name 
181*5113495bSYour Name 
182*5113495bSYour Name coex_wan_tx_from_start_of_rx
183*5113495bSYour Name 
184*5113495bSYour Name 			Set when WAN TX was ongoing when WLAN RX started
185*5113495bSYour Name 
186*5113495bSYour Name coex_wan_tx_after_start_of_rx
187*5113495bSYour Name 
188*5113495bSYour Name 			Set when WAN TX started while WLAN RX was already
189*5113495bSYour Name 			ongoing
190*5113495bSYour Name 
191*5113495bSYour Name coex_wlan_tx_from_start_of_rx
192*5113495bSYour Name 
193*5113495bSYour Name 			Set when other WLAN TX was ongoing when WLAN RX started
194*5113495bSYour Name 
195*5113495bSYour Name coex_wlan_tx_after_start_of_rx
196*5113495bSYour Name 
197*5113495bSYour Name 			Set when other WLAN TX started while WLAN RX was already
198*5113495bSYour Name 			ongoing
199*5113495bSYour Name 
200*5113495bSYour Name mpdu_delimiter_errors_seen
201*5113495bSYour Name 
202*5113495bSYour Name 			When set, MPDU delimiter errors have been detected
203*5113495bSYour Name 			during this PPDU reception
204*5113495bSYour Name 
205*5113495bSYour Name ftm_tm
206*5113495bSYour Name 
207*5113495bSYour Name 			Indicate the timestamp is for the FTM or TM frame
208*5113495bSYour Name 
209*5113495bSYour Name 
210*5113495bSYour Name 
211*5113495bSYour Name 			0: non TM or FTM frame
212*5113495bSYour Name 
213*5113495bSYour Name 			1: FTM frame
214*5113495bSYour Name 
215*5113495bSYour Name 			2: TM frame
216*5113495bSYour Name 
217*5113495bSYour Name 			3: reserved
218*5113495bSYour Name 
219*5113495bSYour Name 			<legal all>
220*5113495bSYour Name 
221*5113495bSYour Name dialog_token
222*5113495bSYour Name 
223*5113495bSYour Name 			The dialog token in the FTM or TM frame. Only valid when
224*5113495bSYour Name 			the FTM is set. Clear to 254 for a non-FTM frame
225*5113495bSYour Name 
226*5113495bSYour Name 			<legal all>
227*5113495bSYour Name 
228*5113495bSYour Name follow_up_dialog_token
229*5113495bSYour Name 
230*5113495bSYour Name 			The follow up dialog token in the FTM or TM frame. Only
231*5113495bSYour Name 			valid when the FTM is set. Clear to 0 for a non-FTM frame,
232*5113495bSYour Name 			The follow up dialog token in the FTM frame. Only valid when
233*5113495bSYour Name 			the FTM is set. Clear to 255 for a non-FTM frame<legal all>
234*5113495bSYour Name 
235*5113495bSYour Name bb_captured_channel
236*5113495bSYour Name 
237*5113495bSYour Name 			Set by RXPCU when MACRX_FREEZE_CAPTURE_CHANNEL TLV is
238*5113495bSYour Name 			sent to PHY, FW check it to correlate current PPDU TLVs with
239*5113495bSYour Name 			uploaded channel information.
240*5113495bSYour Name 
241*5113495bSYour Name 
242*5113495bSYour Name 
243*5113495bSYour Name 			<legal all>
244*5113495bSYour Name 
245*5113495bSYour Name bb_captured_reason
246*5113495bSYour Name 
247*5113495bSYour Name 			Copy capture_reason of MACRX_FREEZE_CAPTURE_CHANNEL TLV
248*5113495bSYour Name 			to here for FW usage. Valid when bb_captured_channel or
249*5113495bSYour Name 			bb_captured_timeout is set.
250*5113495bSYour Name 
251*5113495bSYour Name 
252*5113495bSYour Name 
253*5113495bSYour Name 			This field indicates why the MAC asked to capture the
254*5113495bSYour Name 			channel
255*5113495bSYour Name 
256*5113495bSYour Name 			<enum 0 freeze_reason_TM>
257*5113495bSYour Name 
258*5113495bSYour Name 			<enum 1 freeze_reason_FTM>
259*5113495bSYour Name 
260*5113495bSYour Name 			<enum 2 freeze_reason_ACK_resp_to_TM_FTM>
261*5113495bSYour Name 
262*5113495bSYour Name 			<enum 3 freeze_reason_TA_RA_TYPE_FILTER>
263*5113495bSYour Name 
264*5113495bSYour Name 			<enum 4 freeze_reason_NDPA_NDP>
265*5113495bSYour Name 
266*5113495bSYour Name 			<enum 5 freeze_reason_ALL_PACKET>
267*5113495bSYour Name 
268*5113495bSYour Name 
269*5113495bSYour Name 
270*5113495bSYour Name 			<legal 0-5>
271*5113495bSYour Name 
272*5113495bSYour Name bb_captured_timeout
273*5113495bSYour Name 
274*5113495bSYour Name 			Set by RxPCU to indicate channel capture condition is
275*5113495bSYour Name 			meet, but MACRX_FREEZE_CAPTURE_CHANNEL is not sent to PHY
276*5113495bSYour Name 			due to AST long delay, which means the rx_frame_falling edge
277*5113495bSYour Name 			to FREEZE TLV ready time exceed the threshold time defined
278*5113495bSYour Name 			by RXPCU register FREEZE_TLV_DELAY_CNT_THRESH.
279*5113495bSYour Name 
280*5113495bSYour Name 			Bb_captured_reason is still valid in this case.
281*5113495bSYour Name 
282*5113495bSYour Name 
283*5113495bSYour Name 
284*5113495bSYour Name 			<legal all>
285*5113495bSYour Name 
286*5113495bSYour Name reserved_3
287*5113495bSYour Name 
288*5113495bSYour Name 			<legal 0>
289*5113495bSYour Name 
290*5113495bSYour Name before_mpdu_count_passing_fcs
291*5113495bSYour Name 
292*5113495bSYour Name 			Number of MPDUs received in this PPDU that passed the
293*5113495bSYour Name 			FCS check before the Coex TX started
294*5113495bSYour Name 
295*5113495bSYour Name 
296*5113495bSYour Name 
297*5113495bSYour Name 			The counter saturates at 0x3FF.
298*5113495bSYour Name 
299*5113495bSYour Name 			<legal all>
300*5113495bSYour Name 
301*5113495bSYour Name before_mpdu_count_failing_fcs
302*5113495bSYour Name 
303*5113495bSYour Name 			Number of MPDUs received in this PPDU that failed the
304*5113495bSYour Name 			FCS check before the Coex TX started
305*5113495bSYour Name 
306*5113495bSYour Name 
307*5113495bSYour Name 
308*5113495bSYour Name 			The counter saturates at 0x3FF.
309*5113495bSYour Name 
310*5113495bSYour Name 			<legal all>
311*5113495bSYour Name 
312*5113495bSYour Name after_mpdu_count_passing_fcs
313*5113495bSYour Name 
314*5113495bSYour Name 			Number of MPDUs received in this PPDU that passed the
315*5113495bSYour Name 			FCS check after the moment the Coex TX started
316*5113495bSYour Name 
317*5113495bSYour Name 
318*5113495bSYour Name 
319*5113495bSYour Name 			(Note: The partially received MPDU when the COEX tx
320*5113495bSYour Name 			start event came in falls in the after category)
321*5113495bSYour Name 
322*5113495bSYour Name 
323*5113495bSYour Name 
324*5113495bSYour Name 			The counter saturates at 0x3FF.
325*5113495bSYour Name 
326*5113495bSYour Name 			<legal all>
327*5113495bSYour Name 
328*5113495bSYour Name reserved_4
329*5113495bSYour Name 
330*5113495bSYour Name 			<legal 0>
331*5113495bSYour Name 
332*5113495bSYour Name after_mpdu_count_failing_fcs
333*5113495bSYour Name 
334*5113495bSYour Name 			Number of MPDUs received in this PPDU that failed the
335*5113495bSYour Name 			FCS check after the moment the Coex TX started
336*5113495bSYour Name 
337*5113495bSYour Name 
338*5113495bSYour Name 
339*5113495bSYour Name 			(Note: The partially received MPDU when the COEX tx
340*5113495bSYour Name 			start event came in falls in the after category)
341*5113495bSYour Name 
342*5113495bSYour Name 
343*5113495bSYour Name 
344*5113495bSYour Name 			The counter saturates at 0x3FF.
345*5113495bSYour Name 
346*5113495bSYour Name 			<legal all>
347*5113495bSYour Name 
348*5113495bSYour Name reserved_5
349*5113495bSYour Name 
350*5113495bSYour Name 			<legal 0>
351*5113495bSYour Name 
352*5113495bSYour Name phy_timestamp_tx_lower_32
353*5113495bSYour Name 
354*5113495bSYour Name 			The PHY timestamp in the AMPI of the most recent rising
355*5113495bSYour Name 			edge (TODO: of what ???) after the TX_PHY_DESC.  This field
356*5113495bSYour Name 			indicates the lower 32 bits of the timestamp
357*5113495bSYour Name 
358*5113495bSYour Name phy_timestamp_tx_upper_32
359*5113495bSYour Name 
360*5113495bSYour Name 			The PHY timestamp in the AMPI of the most recent rising
361*5113495bSYour Name 			edge (TODO: of what ???) after the TX_PHY_DESC.  This field
362*5113495bSYour Name 			indicates the upper 32 bits of the timestamp
363*5113495bSYour Name 
364*5113495bSYour Name bb_length
365*5113495bSYour Name 
366*5113495bSYour Name 			Indicates the number of bytes of baseband information
367*5113495bSYour Name 			for PPDUs where the BB descriptor preamble type is 0x80 to
368*5113495bSYour Name 			0xFF which indicates that this is not a normal PPDU but
369*5113495bSYour Name 			rather contains baseband debug information.
370*5113495bSYour Name 
371*5113495bSYour Name 			TODO: Is this still needed ???
372*5113495bSYour Name 
373*5113495bSYour Name bb_data
374*5113495bSYour Name 
375*5113495bSYour Name 			Indicates that BB data associated with this PPDU will
376*5113495bSYour Name 			exist in the receive buffer.  The exact contents of this BB
377*5113495bSYour Name 			data can be found by decoding the BB TLV in the buffer
378*5113495bSYour Name 			associated with the BB data.  See vector_fragment in the
379*5113495bSYour Name 			Helium_mac_phy_interface.docx
380*5113495bSYour Name 
381*5113495bSYour Name reserved_8
382*5113495bSYour Name 
383*5113495bSYour Name 			Reserved: HW should fill with 0, FW should ignore.
384*5113495bSYour Name 
385*5113495bSYour Name first_bt_broadcast_status_details
386*5113495bSYour Name 
387*5113495bSYour Name 			Same contents as field bt_broadcast_status_details for
388*5113495bSYour Name 			the first received COEX_STATUS_BROADCAST tlv during this
389*5113495bSYour Name 			PPDU reception.
390*5113495bSYour Name 
391*5113495bSYour Name 
392*5113495bSYour Name 
393*5113495bSYour Name 			If no COEX_STATUS_BROADCAST tlv is received during this
394*5113495bSYour Name 			PPDU reception, this field will be set to 0
395*5113495bSYour Name 
396*5113495bSYour Name 
397*5113495bSYour Name 
398*5113495bSYour Name 
399*5113495bSYour Name 
400*5113495bSYour Name 			For detailed info see doc: TBD
401*5113495bSYour Name 
402*5113495bSYour Name 			<legal all>
403*5113495bSYour Name 
404*5113495bSYour Name rx_ppdu_duration
405*5113495bSYour Name 
406*5113495bSYour Name 			The length of this PPDU reception in us
407*5113495bSYour Name 
408*5113495bSYour Name reserved_9
409*5113495bSYour Name 
410*5113495bSYour Name 			<legal 0>
411*5113495bSYour Name 
412*5113495bSYour Name ast_index
413*5113495bSYour Name 
414*5113495bSYour Name 			The AST index of the receive Ack/BA.  This information
415*5113495bSYour Name 			is provided from the TXPCU to the RXPCU for receive Ack/BA
416*5113495bSYour Name 			for implicit beamforming.
417*5113495bSYour Name 
418*5113495bSYour Name 			<legal all>
419*5113495bSYour Name 
420*5113495bSYour Name ast_index_valid
421*5113495bSYour Name 
422*5113495bSYour Name 			Indicates that ast_index is valid.  Should only be set
423*5113495bSYour Name 			for receive Ack/BA where single stream implicit sounding is
424*5113495bSYour Name 			captured.
425*5113495bSYour Name 
426*5113495bSYour Name reserved_10
427*5113495bSYour Name 
428*5113495bSYour Name 			<legal 0>
429*5113495bSYour Name 
430*5113495bSYour Name second_bt_broadcast_status_details
431*5113495bSYour Name 
432*5113495bSYour Name 			Same contents as field bt_broadcast_status_details for
433*5113495bSYour Name 			the second received COEX_STATUS_BROADCAST tlv during this
434*5113495bSYour Name 			PPDU reception.
435*5113495bSYour Name 
436*5113495bSYour Name 
437*5113495bSYour Name 
438*5113495bSYour Name 			If no second COEX_STATUS_BROADCAST tlv is received
439*5113495bSYour Name 			during this PPDU reception, this field will be set to 0
440*5113495bSYour Name 
441*5113495bSYour Name 
442*5113495bSYour Name 
443*5113495bSYour Name 
444*5113495bSYour Name 
445*5113495bSYour Name 			For detailed info see doc: TBD
446*5113495bSYour Name 
447*5113495bSYour Name 			<legal all>
448*5113495bSYour Name 
449*5113495bSYour Name struct phyrx_abort_request_info phyrx_abort_request_info_details
450*5113495bSYour Name 
451*5113495bSYour Name 			Field only valid when Phyrx_abort_request_info_valid is
452*5113495bSYour Name 			set
453*5113495bSYour Name 
454*5113495bSYour Name 			The reason why PHY generated an abort request
455*5113495bSYour Name 
456*5113495bSYour Name struct macrx_abort_request_info macrx_abort_request_info_details
457*5113495bSYour Name 
458*5113495bSYour Name 			Field only valid when macrx_abort_request_info_valid is
459*5113495bSYour Name 			set
460*5113495bSYour Name 
461*5113495bSYour Name 			The reason why MACRX generated an abort request
462*5113495bSYour Name 
463*5113495bSYour Name rx_ppdu_end_marker
464*5113495bSYour Name 
465*5113495bSYour Name 			Field used by SW to double check that their structure
466*5113495bSYour Name 			alignment is in sync with what HW has done.
467*5113495bSYour Name 
468*5113495bSYour Name 			<legal 0xAABBCCDD>
469*5113495bSYour Name */
470*5113495bSYour Name 
471*5113495bSYour Name 
472*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_0_WB_TIMESTAMP_LOWER_32
473*5113495bSYour Name 
474*5113495bSYour Name 			WLAN/BT timestamp is a 1 usec resolution timestamp which
475*5113495bSYour Name 			does not get updated based on receive beacon like TSF.  The
476*5113495bSYour Name 			same rules for capturing tsf_timestamp are used to capture
477*5113495bSYour Name 			the wb_timestamp. This field represents the lower 32 bits of
478*5113495bSYour Name 			the 64-bit timestamp
479*5113495bSYour Name */
480*5113495bSYour Name #define RXPCU_PPDU_END_INFO_0_WB_TIMESTAMP_LOWER_32_OFFSET           0x00000000
481*5113495bSYour Name #define RXPCU_PPDU_END_INFO_0_WB_TIMESTAMP_LOWER_32_LSB              0
482*5113495bSYour Name #define RXPCU_PPDU_END_INFO_0_WB_TIMESTAMP_LOWER_32_MASK             0xffffffff
483*5113495bSYour Name 
484*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_1_WB_TIMESTAMP_UPPER_32
485*5113495bSYour Name 
486*5113495bSYour Name 			WLAN/BT timestamp is a 1 usec resolution timestamp which
487*5113495bSYour Name 			does not get updated based on receive beacon like TSF.  The
488*5113495bSYour Name 			same rules for capturing tsf_timestamp are used to capture
489*5113495bSYour Name 			the wb_timestamp. This field represents the upper 32 bits of
490*5113495bSYour Name 			the 64-bit timestamp
491*5113495bSYour Name */
492*5113495bSYour Name #define RXPCU_PPDU_END_INFO_1_WB_TIMESTAMP_UPPER_32_OFFSET           0x00000004
493*5113495bSYour Name #define RXPCU_PPDU_END_INFO_1_WB_TIMESTAMP_UPPER_32_LSB              0
494*5113495bSYour Name #define RXPCU_PPDU_END_INFO_1_WB_TIMESTAMP_UPPER_32_MASK             0xffffffff
495*5113495bSYour Name 
496*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_2_RX_ANTENNA
497*5113495bSYour Name 
498*5113495bSYour Name 			Receive antenna value ???
499*5113495bSYour Name */
500*5113495bSYour Name #define RXPCU_PPDU_END_INFO_2_RX_ANTENNA_OFFSET                      0x00000008
501*5113495bSYour Name #define RXPCU_PPDU_END_INFO_2_RX_ANTENNA_LSB                         0
502*5113495bSYour Name #define RXPCU_PPDU_END_INFO_2_RX_ANTENNA_MASK                        0x00ffffff
503*5113495bSYour Name 
504*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_2_TX_HT_VHT_ACK
505*5113495bSYour Name 
506*5113495bSYour Name 			Indicates that a HT or VHT Ack/BA frame was transmitted
507*5113495bSYour Name 			in response to this receive packet.
508*5113495bSYour Name */
509*5113495bSYour Name #define RXPCU_PPDU_END_INFO_2_TX_HT_VHT_ACK_OFFSET                   0x00000008
510*5113495bSYour Name #define RXPCU_PPDU_END_INFO_2_TX_HT_VHT_ACK_LSB                      24
511*5113495bSYour Name #define RXPCU_PPDU_END_INFO_2_TX_HT_VHT_ACK_MASK                     0x01000000
512*5113495bSYour Name 
513*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_2_UNSUPPORTED_MU_NC
514*5113495bSYour Name 
515*5113495bSYour Name 			Set if MU Nc > 2 in received NDPA.
516*5113495bSYour Name 
517*5113495bSYour Name 			If this bit is set, even though AID and BSSID are
518*5113495bSYour Name 			matched, MAC doesn't send tx_expect_ndp to PHY, because MU
519*5113495bSYour Name 			Nc > 2 is not supported in Helium.
520*5113495bSYour Name */
521*5113495bSYour Name #define RXPCU_PPDU_END_INFO_2_UNSUPPORTED_MU_NC_OFFSET               0x00000008
522*5113495bSYour Name #define RXPCU_PPDU_END_INFO_2_UNSUPPORTED_MU_NC_LSB                  25
523*5113495bSYour Name #define RXPCU_PPDU_END_INFO_2_UNSUPPORTED_MU_NC_MASK                 0x02000000
524*5113495bSYour Name 
525*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_2_OTP_TXBF_DISABLE
526*5113495bSYour Name 
527*5113495bSYour Name 			Set if either OTP_SUBFEE_DISABLE or OTP_TXBF_DISABLE is
528*5113495bSYour Name 			set and if RXPU receives directed NDPA frame. Then, RXPCU
529*5113495bSYour Name 			should not send TX_EXPECT_NDP TLV to SW but set this bit to
530*5113495bSYour Name 			inform SW.
531*5113495bSYour Name */
532*5113495bSYour Name #define RXPCU_PPDU_END_INFO_2_OTP_TXBF_DISABLE_OFFSET                0x00000008
533*5113495bSYour Name #define RXPCU_PPDU_END_INFO_2_OTP_TXBF_DISABLE_LSB                   26
534*5113495bSYour Name #define RXPCU_PPDU_END_INFO_2_OTP_TXBF_DISABLE_MASK                  0x04000000
535*5113495bSYour Name 
536*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_2_PREVIOUS_TLV_CORRUPTED
537*5113495bSYour Name 
538*5113495bSYour Name 			When set, the TLV preceding this RXPCU_END_INFO TLV
539*5113495bSYour Name 			within the RX_PPDU_END TLV, is corrupted. Not the entire TLV
540*5113495bSYour Name 			was received.... Likely due to an abort scenario... If abort
541*5113495bSYour Name 			is to blame, see the abort data datastructure for details.
542*5113495bSYour Name 
543*5113495bSYour Name 			<legal all>
544*5113495bSYour Name */
545*5113495bSYour Name #define RXPCU_PPDU_END_INFO_2_PREVIOUS_TLV_CORRUPTED_OFFSET          0x00000008
546*5113495bSYour Name #define RXPCU_PPDU_END_INFO_2_PREVIOUS_TLV_CORRUPTED_LSB             27
547*5113495bSYour Name #define RXPCU_PPDU_END_INFO_2_PREVIOUS_TLV_CORRUPTED_MASK            0x08000000
548*5113495bSYour Name 
549*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_2_PHYRX_ABORT_REQUEST_INFO_VALID
550*5113495bSYour Name 
551*5113495bSYour Name 			When set, the PHY sent an PHYRX_ABORT_REQUEST TLV to
552*5113495bSYour Name 			RXPCU. The abort fields embedded in this TLV contain valid
553*5113495bSYour Name 			info.
554*5113495bSYour Name 
555*5113495bSYour Name 			<legal all>
556*5113495bSYour Name */
557*5113495bSYour Name #define RXPCU_PPDU_END_INFO_2_PHYRX_ABORT_REQUEST_INFO_VALID_OFFSET  0x00000008
558*5113495bSYour Name #define RXPCU_PPDU_END_INFO_2_PHYRX_ABORT_REQUEST_INFO_VALID_LSB     28
559*5113495bSYour Name #define RXPCU_PPDU_END_INFO_2_PHYRX_ABORT_REQUEST_INFO_VALID_MASK    0x10000000
560*5113495bSYour Name 
561*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_2_MACRX_ABORT_REQUEST_INFO_VALID
562*5113495bSYour Name 
563*5113495bSYour Name 			When set, the MAC sent an MACRX_ABORT_REQUEST TLV to
564*5113495bSYour Name 			PHYRX. The abort fields embedded in this TLV contain valid
565*5113495bSYour Name 			info.
566*5113495bSYour Name 
567*5113495bSYour Name 			<legal all>
568*5113495bSYour Name */
569*5113495bSYour Name #define RXPCU_PPDU_END_INFO_2_MACRX_ABORT_REQUEST_INFO_VALID_OFFSET  0x00000008
570*5113495bSYour Name #define RXPCU_PPDU_END_INFO_2_MACRX_ABORT_REQUEST_INFO_VALID_LSB     29
571*5113495bSYour Name #define RXPCU_PPDU_END_INFO_2_MACRX_ABORT_REQUEST_INFO_VALID_MASK    0x20000000
572*5113495bSYour Name 
573*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_2_RESERVED
574*5113495bSYour Name 
575*5113495bSYour Name 			<legal 0>
576*5113495bSYour Name */
577*5113495bSYour Name #define RXPCU_PPDU_END_INFO_2_RESERVED_OFFSET                        0x00000008
578*5113495bSYour Name #define RXPCU_PPDU_END_INFO_2_RESERVED_LSB                           30
579*5113495bSYour Name #define RXPCU_PPDU_END_INFO_2_RESERVED_MASK                          0xc0000000
580*5113495bSYour Name 
581*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_3_COEX_BT_TX_FROM_START_OF_RX
582*5113495bSYour Name 
583*5113495bSYour Name 			Set when BT TX was ongoing when WLAN RX started
584*5113495bSYour Name */
585*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_COEX_BT_TX_FROM_START_OF_RX_OFFSET     0x0000000c
586*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_COEX_BT_TX_FROM_START_OF_RX_LSB        0
587*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_COEX_BT_TX_FROM_START_OF_RX_MASK       0x00000001
588*5113495bSYour Name 
589*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_3_COEX_BT_TX_AFTER_START_OF_RX
590*5113495bSYour Name 
591*5113495bSYour Name */
592*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_COEX_BT_TX_AFTER_START_OF_RX_OFFSET    0x0000000c
593*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_COEX_BT_TX_AFTER_START_OF_RX_LSB       1
594*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_COEX_BT_TX_AFTER_START_OF_RX_MASK      0x00000002
595*5113495bSYour Name 
596*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_3_COEX_WAN_TX_FROM_START_OF_RX
597*5113495bSYour Name 
598*5113495bSYour Name 			Set when WAN TX was ongoing when WLAN RX started
599*5113495bSYour Name */
600*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_COEX_WAN_TX_FROM_START_OF_RX_OFFSET    0x0000000c
601*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_COEX_WAN_TX_FROM_START_OF_RX_LSB       2
602*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_COEX_WAN_TX_FROM_START_OF_RX_MASK      0x00000004
603*5113495bSYour Name 
604*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_3_COEX_WAN_TX_AFTER_START_OF_RX
605*5113495bSYour Name 
606*5113495bSYour Name 			Set when WAN TX started while WLAN RX was already
607*5113495bSYour Name 			ongoing
608*5113495bSYour Name */
609*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_COEX_WAN_TX_AFTER_START_OF_RX_OFFSET   0x0000000c
610*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_COEX_WAN_TX_AFTER_START_OF_RX_LSB      3
611*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_COEX_WAN_TX_AFTER_START_OF_RX_MASK     0x00000008
612*5113495bSYour Name 
613*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_3_COEX_WLAN_TX_FROM_START_OF_RX
614*5113495bSYour Name 
615*5113495bSYour Name 			Set when other WLAN TX was ongoing when WLAN RX started
616*5113495bSYour Name */
617*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_COEX_WLAN_TX_FROM_START_OF_RX_OFFSET   0x0000000c
618*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_COEX_WLAN_TX_FROM_START_OF_RX_LSB      4
619*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_COEX_WLAN_TX_FROM_START_OF_RX_MASK     0x00000010
620*5113495bSYour Name 
621*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_3_COEX_WLAN_TX_AFTER_START_OF_RX
622*5113495bSYour Name 
623*5113495bSYour Name 			Set when other WLAN TX started while WLAN RX was already
624*5113495bSYour Name 			ongoing
625*5113495bSYour Name */
626*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_COEX_WLAN_TX_AFTER_START_OF_RX_OFFSET  0x0000000c
627*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_COEX_WLAN_TX_AFTER_START_OF_RX_LSB     5
628*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_COEX_WLAN_TX_AFTER_START_OF_RX_MASK    0x00000020
629*5113495bSYour Name 
630*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_3_MPDU_DELIMITER_ERRORS_SEEN
631*5113495bSYour Name 
632*5113495bSYour Name 			When set, MPDU delimiter errors have been detected
633*5113495bSYour Name 			during this PPDU reception
634*5113495bSYour Name */
635*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_MPDU_DELIMITER_ERRORS_SEEN_OFFSET      0x0000000c
636*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_MPDU_DELIMITER_ERRORS_SEEN_LSB         6
637*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_MPDU_DELIMITER_ERRORS_SEEN_MASK        0x00000040
638*5113495bSYour Name 
639*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_3_FTM_TM
640*5113495bSYour Name 
641*5113495bSYour Name 			Indicate the timestamp is for the FTM or TM frame
642*5113495bSYour Name 
643*5113495bSYour Name 
644*5113495bSYour Name 
645*5113495bSYour Name 			0: non TM or FTM frame
646*5113495bSYour Name 
647*5113495bSYour Name 			1: FTM frame
648*5113495bSYour Name 
649*5113495bSYour Name 			2: TM frame
650*5113495bSYour Name 
651*5113495bSYour Name 			3: reserved
652*5113495bSYour Name 
653*5113495bSYour Name 			<legal all>
654*5113495bSYour Name */
655*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_FTM_TM_OFFSET                          0x0000000c
656*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_FTM_TM_LSB                             7
657*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_FTM_TM_MASK                            0x00000180
658*5113495bSYour Name 
659*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_3_DIALOG_TOKEN
660*5113495bSYour Name 
661*5113495bSYour Name 			The dialog token in the FTM or TM frame. Only valid when
662*5113495bSYour Name 			the FTM is set. Clear to 254 for a non-FTM frame
663*5113495bSYour Name 
664*5113495bSYour Name 			<legal all>
665*5113495bSYour Name */
666*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_DIALOG_TOKEN_OFFSET                    0x0000000c
667*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_DIALOG_TOKEN_LSB                       9
668*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_DIALOG_TOKEN_MASK                      0x0001fe00
669*5113495bSYour Name 
670*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_3_FOLLOW_UP_DIALOG_TOKEN
671*5113495bSYour Name 
672*5113495bSYour Name 			The follow up dialog token in the FTM or TM frame. Only
673*5113495bSYour Name 			valid when the FTM is set. Clear to 0 for a non-FTM frame,
674*5113495bSYour Name 			The follow up dialog token in the FTM frame. Only valid when
675*5113495bSYour Name 			the FTM is set. Clear to 255 for a non-FTM frame<legal all>
676*5113495bSYour Name */
677*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_FOLLOW_UP_DIALOG_TOKEN_OFFSET          0x0000000c
678*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_FOLLOW_UP_DIALOG_TOKEN_LSB             17
679*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_FOLLOW_UP_DIALOG_TOKEN_MASK            0x01fe0000
680*5113495bSYour Name 
681*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_3_BB_CAPTURED_CHANNEL
682*5113495bSYour Name 
683*5113495bSYour Name 			Set by RXPCU when MACRX_FREEZE_CAPTURE_CHANNEL TLV is
684*5113495bSYour Name 			sent to PHY, FW check it to correlate current PPDU TLVs with
685*5113495bSYour Name 			uploaded channel information.
686*5113495bSYour Name 
687*5113495bSYour Name 
688*5113495bSYour Name 
689*5113495bSYour Name 			<legal all>
690*5113495bSYour Name */
691*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_BB_CAPTURED_CHANNEL_OFFSET             0x0000000c
692*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_BB_CAPTURED_CHANNEL_LSB                25
693*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_BB_CAPTURED_CHANNEL_MASK               0x02000000
694*5113495bSYour Name 
695*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_3_BB_CAPTURED_REASON
696*5113495bSYour Name 
697*5113495bSYour Name 			Copy capture_reason of MACRX_FREEZE_CAPTURE_CHANNEL TLV
698*5113495bSYour Name 			to here for FW usage. Valid when bb_captured_channel or
699*5113495bSYour Name 			bb_captured_timeout is set.
700*5113495bSYour Name 
701*5113495bSYour Name 
702*5113495bSYour Name 
703*5113495bSYour Name 			This field indicates why the MAC asked to capture the
704*5113495bSYour Name 			channel
705*5113495bSYour Name 
706*5113495bSYour Name 			<enum 0 freeze_reason_TM>
707*5113495bSYour Name 
708*5113495bSYour Name 			<enum 1 freeze_reason_FTM>
709*5113495bSYour Name 
710*5113495bSYour Name 			<enum 2 freeze_reason_ACK_resp_to_TM_FTM>
711*5113495bSYour Name 
712*5113495bSYour Name 			<enum 3 freeze_reason_TA_RA_TYPE_FILTER>
713*5113495bSYour Name 
714*5113495bSYour Name 			<enum 4 freeze_reason_NDPA_NDP>
715*5113495bSYour Name 
716*5113495bSYour Name 			<enum 5 freeze_reason_ALL_PACKET>
717*5113495bSYour Name 
718*5113495bSYour Name 
719*5113495bSYour Name 
720*5113495bSYour Name 			<legal 0-5>
721*5113495bSYour Name */
722*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_BB_CAPTURED_REASON_OFFSET              0x0000000c
723*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_BB_CAPTURED_REASON_LSB                 26
724*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_BB_CAPTURED_REASON_MASK                0x1c000000
725*5113495bSYour Name 
726*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_3_BB_CAPTURED_TIMEOUT
727*5113495bSYour Name 
728*5113495bSYour Name 			Set by RxPCU to indicate channel capture condition is
729*5113495bSYour Name 			meet, but MACRX_FREEZE_CAPTURE_CHANNEL is not sent to PHY
730*5113495bSYour Name 			due to AST long delay, which means the rx_frame_falling edge
731*5113495bSYour Name 			to FREEZE TLV ready time exceed the threshold time defined
732*5113495bSYour Name 			by RXPCU register FREEZE_TLV_DELAY_CNT_THRESH.
733*5113495bSYour Name 
734*5113495bSYour Name 			Bb_captured_reason is still valid in this case.
735*5113495bSYour Name 
736*5113495bSYour Name 
737*5113495bSYour Name 
738*5113495bSYour Name 			<legal all>
739*5113495bSYour Name */
740*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_BB_CAPTURED_TIMEOUT_OFFSET             0x0000000c
741*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_BB_CAPTURED_TIMEOUT_LSB                29
742*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_BB_CAPTURED_TIMEOUT_MASK               0x20000000
743*5113495bSYour Name 
744*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_3_RESERVED_3
745*5113495bSYour Name 
746*5113495bSYour Name 			<legal 0>
747*5113495bSYour Name */
748*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_RESERVED_3_OFFSET                      0x0000000c
749*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_RESERVED_3_LSB                         30
750*5113495bSYour Name #define RXPCU_PPDU_END_INFO_3_RESERVED_3_MASK                        0xc0000000
751*5113495bSYour Name 
752*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_4_BEFORE_MPDU_COUNT_PASSING_FCS
753*5113495bSYour Name 
754*5113495bSYour Name 			Number of MPDUs received in this PPDU that passed the
755*5113495bSYour Name 			FCS check before the Coex TX started
756*5113495bSYour Name 
757*5113495bSYour Name 
758*5113495bSYour Name 
759*5113495bSYour Name 			The counter saturates at 0x3FF.
760*5113495bSYour Name 
761*5113495bSYour Name 			<legal all>
762*5113495bSYour Name */
763*5113495bSYour Name #define RXPCU_PPDU_END_INFO_4_BEFORE_MPDU_COUNT_PASSING_FCS_OFFSET   0x00000010
764*5113495bSYour Name #define RXPCU_PPDU_END_INFO_4_BEFORE_MPDU_COUNT_PASSING_FCS_LSB      0
765*5113495bSYour Name #define RXPCU_PPDU_END_INFO_4_BEFORE_MPDU_COUNT_PASSING_FCS_MASK     0x000003ff
766*5113495bSYour Name 
767*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_4_BEFORE_MPDU_COUNT_FAILING_FCS
768*5113495bSYour Name 
769*5113495bSYour Name 			Number of MPDUs received in this PPDU that failed the
770*5113495bSYour Name 			FCS check before the Coex TX started
771*5113495bSYour Name 
772*5113495bSYour Name 
773*5113495bSYour Name 
774*5113495bSYour Name 			The counter saturates at 0x3FF.
775*5113495bSYour Name 
776*5113495bSYour Name 			<legal all>
777*5113495bSYour Name */
778*5113495bSYour Name #define RXPCU_PPDU_END_INFO_4_BEFORE_MPDU_COUNT_FAILING_FCS_OFFSET   0x00000010
779*5113495bSYour Name #define RXPCU_PPDU_END_INFO_4_BEFORE_MPDU_COUNT_FAILING_FCS_LSB      10
780*5113495bSYour Name #define RXPCU_PPDU_END_INFO_4_BEFORE_MPDU_COUNT_FAILING_FCS_MASK     0x000ffc00
781*5113495bSYour Name 
782*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_4_AFTER_MPDU_COUNT_PASSING_FCS
783*5113495bSYour Name 
784*5113495bSYour Name 			Number of MPDUs received in this PPDU that passed the
785*5113495bSYour Name 			FCS check after the moment the Coex TX started
786*5113495bSYour Name 
787*5113495bSYour Name 
788*5113495bSYour Name 
789*5113495bSYour Name 			(Note: The partially received MPDU when the COEX tx
790*5113495bSYour Name 			start event came in falls in the after category)
791*5113495bSYour Name 
792*5113495bSYour Name 
793*5113495bSYour Name 
794*5113495bSYour Name 			The counter saturates at 0x3FF.
795*5113495bSYour Name 
796*5113495bSYour Name 			<legal all>
797*5113495bSYour Name */
798*5113495bSYour Name #define RXPCU_PPDU_END_INFO_4_AFTER_MPDU_COUNT_PASSING_FCS_OFFSET    0x00000010
799*5113495bSYour Name #define RXPCU_PPDU_END_INFO_4_AFTER_MPDU_COUNT_PASSING_FCS_LSB       20
800*5113495bSYour Name #define RXPCU_PPDU_END_INFO_4_AFTER_MPDU_COUNT_PASSING_FCS_MASK      0x3ff00000
801*5113495bSYour Name 
802*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_4_RESERVED_4
803*5113495bSYour Name 
804*5113495bSYour Name 			<legal 0>
805*5113495bSYour Name */
806*5113495bSYour Name #define RXPCU_PPDU_END_INFO_4_RESERVED_4_OFFSET                      0x00000010
807*5113495bSYour Name #define RXPCU_PPDU_END_INFO_4_RESERVED_4_LSB                         30
808*5113495bSYour Name #define RXPCU_PPDU_END_INFO_4_RESERVED_4_MASK                        0xc0000000
809*5113495bSYour Name 
810*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_5_AFTER_MPDU_COUNT_FAILING_FCS
811*5113495bSYour Name 
812*5113495bSYour Name 			Number of MPDUs received in this PPDU that failed the
813*5113495bSYour Name 			FCS check after the moment the Coex TX started
814*5113495bSYour Name 
815*5113495bSYour Name 
816*5113495bSYour Name 
817*5113495bSYour Name 			(Note: The partially received MPDU when the COEX tx
818*5113495bSYour Name 			start event came in falls in the after category)
819*5113495bSYour Name 
820*5113495bSYour Name 
821*5113495bSYour Name 
822*5113495bSYour Name 			The counter saturates at 0x3FF.
823*5113495bSYour Name 
824*5113495bSYour Name 			<legal all>
825*5113495bSYour Name */
826*5113495bSYour Name #define RXPCU_PPDU_END_INFO_5_AFTER_MPDU_COUNT_FAILING_FCS_OFFSET    0x00000014
827*5113495bSYour Name #define RXPCU_PPDU_END_INFO_5_AFTER_MPDU_COUNT_FAILING_FCS_LSB       0
828*5113495bSYour Name #define RXPCU_PPDU_END_INFO_5_AFTER_MPDU_COUNT_FAILING_FCS_MASK      0x000003ff
829*5113495bSYour Name 
830*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_5_RESERVED_5
831*5113495bSYour Name 
832*5113495bSYour Name 			<legal 0>
833*5113495bSYour Name */
834*5113495bSYour Name #define RXPCU_PPDU_END_INFO_5_RESERVED_5_OFFSET                      0x00000014
835*5113495bSYour Name #define RXPCU_PPDU_END_INFO_5_RESERVED_5_LSB                         10
836*5113495bSYour Name #define RXPCU_PPDU_END_INFO_5_RESERVED_5_MASK                        0xfffffc00
837*5113495bSYour Name 
838*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_6_PHY_TIMESTAMP_TX_LOWER_32
839*5113495bSYour Name 
840*5113495bSYour Name 			The PHY timestamp in the AMPI of the most recent rising
841*5113495bSYour Name 			edge (TODO: of what ???) after the TX_PHY_DESC.  This field
842*5113495bSYour Name 			indicates the lower 32 bits of the timestamp
843*5113495bSYour Name */
844*5113495bSYour Name #define RXPCU_PPDU_END_INFO_6_PHY_TIMESTAMP_TX_LOWER_32_OFFSET       0x00000018
845*5113495bSYour Name #define RXPCU_PPDU_END_INFO_6_PHY_TIMESTAMP_TX_LOWER_32_LSB          0
846*5113495bSYour Name #define RXPCU_PPDU_END_INFO_6_PHY_TIMESTAMP_TX_LOWER_32_MASK         0xffffffff
847*5113495bSYour Name 
848*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_7_PHY_TIMESTAMP_TX_UPPER_32
849*5113495bSYour Name 
850*5113495bSYour Name 			The PHY timestamp in the AMPI of the most recent rising
851*5113495bSYour Name 			edge (TODO: of what ???) after the TX_PHY_DESC.  This field
852*5113495bSYour Name 			indicates the upper 32 bits of the timestamp
853*5113495bSYour Name */
854*5113495bSYour Name #define RXPCU_PPDU_END_INFO_7_PHY_TIMESTAMP_TX_UPPER_32_OFFSET       0x0000001c
855*5113495bSYour Name #define RXPCU_PPDU_END_INFO_7_PHY_TIMESTAMP_TX_UPPER_32_LSB          0
856*5113495bSYour Name #define RXPCU_PPDU_END_INFO_7_PHY_TIMESTAMP_TX_UPPER_32_MASK         0xffffffff
857*5113495bSYour Name 
858*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_8_BB_LENGTH
859*5113495bSYour Name 
860*5113495bSYour Name 			Indicates the number of bytes of baseband information
861*5113495bSYour Name 			for PPDUs where the BB descriptor preamble type is 0x80 to
862*5113495bSYour Name 			0xFF which indicates that this is not a normal PPDU but
863*5113495bSYour Name 			rather contains baseband debug information.
864*5113495bSYour Name 
865*5113495bSYour Name 			TODO: Is this still needed ???
866*5113495bSYour Name */
867*5113495bSYour Name #define RXPCU_PPDU_END_INFO_8_BB_LENGTH_OFFSET                       0x00000020
868*5113495bSYour Name #define RXPCU_PPDU_END_INFO_8_BB_LENGTH_LSB                          0
869*5113495bSYour Name #define RXPCU_PPDU_END_INFO_8_BB_LENGTH_MASK                         0x0000ffff
870*5113495bSYour Name 
871*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_8_BB_DATA
872*5113495bSYour Name 
873*5113495bSYour Name 			Indicates that BB data associated with this PPDU will
874*5113495bSYour Name 			exist in the receive buffer.  The exact contents of this BB
875*5113495bSYour Name 			data can be found by decoding the BB TLV in the buffer
876*5113495bSYour Name 			associated with the BB data.  See vector_fragment in the
877*5113495bSYour Name 			Helium_mac_phy_interface.docx
878*5113495bSYour Name */
879*5113495bSYour Name #define RXPCU_PPDU_END_INFO_8_BB_DATA_OFFSET                         0x00000020
880*5113495bSYour Name #define RXPCU_PPDU_END_INFO_8_BB_DATA_LSB                            16
881*5113495bSYour Name #define RXPCU_PPDU_END_INFO_8_BB_DATA_MASK                           0x00010000
882*5113495bSYour Name 
883*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_8_RESERVED_8
884*5113495bSYour Name 
885*5113495bSYour Name 			Reserved: HW should fill with 0, FW should ignore.
886*5113495bSYour Name */
887*5113495bSYour Name #define RXPCU_PPDU_END_INFO_8_RESERVED_8_OFFSET                      0x00000020
888*5113495bSYour Name #define RXPCU_PPDU_END_INFO_8_RESERVED_8_LSB                         17
889*5113495bSYour Name #define RXPCU_PPDU_END_INFO_8_RESERVED_8_MASK                        0x000e0000
890*5113495bSYour Name 
891*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_8_FIRST_BT_BROADCAST_STATUS_DETAILS
892*5113495bSYour Name 
893*5113495bSYour Name 			Same contents as field bt_broadcast_status_details for
894*5113495bSYour Name 			the first received COEX_STATUS_BROADCAST tlv during this
895*5113495bSYour Name 			PPDU reception.
896*5113495bSYour Name 
897*5113495bSYour Name 
898*5113495bSYour Name 
899*5113495bSYour Name 			If no COEX_STATUS_BROADCAST tlv is received during this
900*5113495bSYour Name 			PPDU reception, this field will be set to 0
901*5113495bSYour Name 
902*5113495bSYour Name 
903*5113495bSYour Name 
904*5113495bSYour Name 
905*5113495bSYour Name 
906*5113495bSYour Name 			For detailed info see doc: TBD
907*5113495bSYour Name 
908*5113495bSYour Name 			<legal all>
909*5113495bSYour Name */
910*5113495bSYour Name #define RXPCU_PPDU_END_INFO_8_FIRST_BT_BROADCAST_STATUS_DETAILS_OFFSET 0x00000020
911*5113495bSYour Name #define RXPCU_PPDU_END_INFO_8_FIRST_BT_BROADCAST_STATUS_DETAILS_LSB  20
912*5113495bSYour Name #define RXPCU_PPDU_END_INFO_8_FIRST_BT_BROADCAST_STATUS_DETAILS_MASK 0xfff00000
913*5113495bSYour Name 
914*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_9_RX_PPDU_DURATION
915*5113495bSYour Name 
916*5113495bSYour Name 			The length of this PPDU reception in us
917*5113495bSYour Name */
918*5113495bSYour Name #define RXPCU_PPDU_END_INFO_9_RX_PPDU_DURATION_OFFSET                0x00000024
919*5113495bSYour Name #define RXPCU_PPDU_END_INFO_9_RX_PPDU_DURATION_LSB                   0
920*5113495bSYour Name #define RXPCU_PPDU_END_INFO_9_RX_PPDU_DURATION_MASK                  0x00ffffff
921*5113495bSYour Name 
922*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_9_RESERVED_9
923*5113495bSYour Name 
924*5113495bSYour Name 			<legal 0>
925*5113495bSYour Name */
926*5113495bSYour Name #define RXPCU_PPDU_END_INFO_9_RESERVED_9_OFFSET                      0x00000024
927*5113495bSYour Name #define RXPCU_PPDU_END_INFO_9_RESERVED_9_LSB                         24
928*5113495bSYour Name #define RXPCU_PPDU_END_INFO_9_RESERVED_9_MASK                        0xff000000
929*5113495bSYour Name 
930*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_10_AST_INDEX
931*5113495bSYour Name 
932*5113495bSYour Name 			The AST index of the receive Ack/BA.  This information
933*5113495bSYour Name 			is provided from the TXPCU to the RXPCU for receive Ack/BA
934*5113495bSYour Name 			for implicit beamforming.
935*5113495bSYour Name 
936*5113495bSYour Name 			<legal all>
937*5113495bSYour Name */
938*5113495bSYour Name #define RXPCU_PPDU_END_INFO_10_AST_INDEX_OFFSET                      0x00000028
939*5113495bSYour Name #define RXPCU_PPDU_END_INFO_10_AST_INDEX_LSB                         0
940*5113495bSYour Name #define RXPCU_PPDU_END_INFO_10_AST_INDEX_MASK                        0x0000ffff
941*5113495bSYour Name 
942*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_10_AST_INDEX_VALID
943*5113495bSYour Name 
944*5113495bSYour Name 			Indicates that ast_index is valid.  Should only be set
945*5113495bSYour Name 			for receive Ack/BA where single stream implicit sounding is
946*5113495bSYour Name 			captured.
947*5113495bSYour Name */
948*5113495bSYour Name #define RXPCU_PPDU_END_INFO_10_AST_INDEX_VALID_OFFSET                0x00000028
949*5113495bSYour Name #define RXPCU_PPDU_END_INFO_10_AST_INDEX_VALID_LSB                   16
950*5113495bSYour Name #define RXPCU_PPDU_END_INFO_10_AST_INDEX_VALID_MASK                  0x00010000
951*5113495bSYour Name 
952*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_10_RESERVED_10
953*5113495bSYour Name 
954*5113495bSYour Name 			<legal 0>
955*5113495bSYour Name */
956*5113495bSYour Name #define RXPCU_PPDU_END_INFO_10_RESERVED_10_OFFSET                    0x00000028
957*5113495bSYour Name #define RXPCU_PPDU_END_INFO_10_RESERVED_10_LSB                       17
958*5113495bSYour Name #define RXPCU_PPDU_END_INFO_10_RESERVED_10_MASK                      0x000e0000
959*5113495bSYour Name 
960*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_10_SECOND_BT_BROADCAST_STATUS_DETAILS
961*5113495bSYour Name 
962*5113495bSYour Name 			Same contents as field bt_broadcast_status_details for
963*5113495bSYour Name 			the second received COEX_STATUS_BROADCAST tlv during this
964*5113495bSYour Name 			PPDU reception.
965*5113495bSYour Name 
966*5113495bSYour Name 
967*5113495bSYour Name 
968*5113495bSYour Name 			If no second COEX_STATUS_BROADCAST tlv is received
969*5113495bSYour Name 			during this PPDU reception, this field will be set to 0
970*5113495bSYour Name 
971*5113495bSYour Name 
972*5113495bSYour Name 
973*5113495bSYour Name 
974*5113495bSYour Name 
975*5113495bSYour Name 			For detailed info see doc: TBD
976*5113495bSYour Name 
977*5113495bSYour Name 			<legal all>
978*5113495bSYour Name */
979*5113495bSYour Name #define RXPCU_PPDU_END_INFO_10_SECOND_BT_BROADCAST_STATUS_DETAILS_OFFSET 0x00000028
980*5113495bSYour Name #define RXPCU_PPDU_END_INFO_10_SECOND_BT_BROADCAST_STATUS_DETAILS_LSB 20
981*5113495bSYour Name #define RXPCU_PPDU_END_INFO_10_SECOND_BT_BROADCAST_STATUS_DETAILS_MASK 0xfff00000
982*5113495bSYour Name 
983*5113495bSYour Name  /* EXTERNAL REFERENCE : struct phyrx_abort_request_info phyrx_abort_request_info_details */
984*5113495bSYour Name 
985*5113495bSYour Name 
986*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_11_PHYRX_ABORT_REQUEST_INFO_DETAILS_PHYRX_ABORT_REASON
987*5113495bSYour Name 
988*5113495bSYour Name 			<enum 0 phyrx_err_phy_off> Reception aborted due to
989*5113495bSYour Name 			receiving a PHY_OFF TLV
990*5113495bSYour Name 
991*5113495bSYour Name 			<enum 1 phyrx_err_synth_off>
992*5113495bSYour Name 
993*5113495bSYour Name 			<enum 2 phyrx_err_ofdma_timing>
994*5113495bSYour Name 
995*5113495bSYour Name 			<enum 3 phyrx_err_ofdma_signal_parity>
996*5113495bSYour Name 
997*5113495bSYour Name 			<enum 4 phyrx_err_ofdma_rate_illegal>
998*5113495bSYour Name 
999*5113495bSYour Name 			<enum 5 phyrx_err_ofdma_length_illegal>
1000*5113495bSYour Name 
1001*5113495bSYour Name 			<enum 6 phyrx_err_ofdma_restart>
1002*5113495bSYour Name 
1003*5113495bSYour Name 			<enum 7 phyrx_err_ofdma_service>
1004*5113495bSYour Name 
1005*5113495bSYour Name 			<enum 8 phyrx_err_ppdu_ofdma_power_drop>
1006*5113495bSYour Name 
1007*5113495bSYour Name 
1008*5113495bSYour Name 
1009*5113495bSYour Name 			<enum 9 phyrx_err_cck_blokker>
1010*5113495bSYour Name 
1011*5113495bSYour Name 			<enum 10 phyrx_err_cck_timing>
1012*5113495bSYour Name 
1013*5113495bSYour Name 			<enum 11 phyrx_err_cck_header_crc>
1014*5113495bSYour Name 
1015*5113495bSYour Name 			<enum 12 phyrx_err_cck_rate_illegal>
1016*5113495bSYour Name 
1017*5113495bSYour Name 			<enum 13 phyrx_err_cck_length_illegal>
1018*5113495bSYour Name 
1019*5113495bSYour Name 			<enum 14 phyrx_err_cck_restart>
1020*5113495bSYour Name 
1021*5113495bSYour Name 			<enum 15 phyrx_err_cck_service>
1022*5113495bSYour Name 
1023*5113495bSYour Name 			<enum 16 phyrx_err_cck_power_drop>
1024*5113495bSYour Name 
1025*5113495bSYour Name 
1026*5113495bSYour Name 
1027*5113495bSYour Name 			<enum 17 phyrx_err_ht_crc_err>
1028*5113495bSYour Name 
1029*5113495bSYour Name 			<enum 18 phyrx_err_ht_length_illegal>
1030*5113495bSYour Name 
1031*5113495bSYour Name 			<enum 19 phyrx_err_ht_rate_illegal>
1032*5113495bSYour Name 
1033*5113495bSYour Name 			<enum 20 phyrx_err_ht_zlf>
1034*5113495bSYour Name 
1035*5113495bSYour Name 			<enum 21 phyrx_err_false_radar_ext>
1036*5113495bSYour Name 
1037*5113495bSYour Name 
1038*5113495bSYour Name 
1039*5113495bSYour Name 			<enum 22 phyrx_err_green_field>
1040*5113495bSYour Name 
1041*5113495bSYour Name 
1042*5113495bSYour Name 
1043*5113495bSYour Name 			<enum 23 phyrx_err_bw_gt_dyn_bw>
1044*5113495bSYour Name 
1045*5113495bSYour Name 			<enum 24 phyrx_err_leg_ht_mismatch>
1046*5113495bSYour Name 
1047*5113495bSYour Name 			<enum 25 phyrx_err_vht_crc_error>
1048*5113495bSYour Name 
1049*5113495bSYour Name 			<enum 26 phyrx_err_vht_siga_unsupported>
1050*5113495bSYour Name 
1051*5113495bSYour Name 			<enum 27 phyrx_err_vht_lsig_len_invalid>
1052*5113495bSYour Name 
1053*5113495bSYour Name 			<enum 28 phyrx_err_vht_ndp_or_zlf>
1054*5113495bSYour Name 
1055*5113495bSYour Name 			<enum 29 phyrx_err_vht_nsym_lt_zero>
1056*5113495bSYour Name 
1057*5113495bSYour Name 			<enum 30 phyrx_err_vht_rx_extra_symbol_mismatch>
1058*5113495bSYour Name 
1059*5113495bSYour Name 			<enum 31 phyrx_err_vht_rx_skip_group_id0>
1060*5113495bSYour Name 
1061*5113495bSYour Name 			<enum 32 phyrx_err_vht_rx_skip_group_id1to62>
1062*5113495bSYour Name 
1063*5113495bSYour Name 			<enum 33 phyrx_err_vht_rx_skip_group_id63>
1064*5113495bSYour Name 
1065*5113495bSYour Name 			<enum 34 phyrx_err_ofdm_ldpc_decoder_disabled>
1066*5113495bSYour Name 
1067*5113495bSYour Name 			<enum 35 phyrx_err_defer_nap>
1068*5113495bSYour Name 
1069*5113495bSYour Name 			<enum 36 phyrx_err_fdomain_timeout>
1070*5113495bSYour Name 
1071*5113495bSYour Name 			<enum 37 phyrx_err_lsig_rel_check>
1072*5113495bSYour Name 
1073*5113495bSYour Name 			<enum 38 phyrx_err_bt_collision>
1074*5113495bSYour Name 
1075*5113495bSYour Name 			<enum 39 phyrx_err_unsupported_mu_feedback>
1076*5113495bSYour Name 
1077*5113495bSYour Name 			<enum 40 phyrx_err_ppdu_tx_interrupt_rx>
1078*5113495bSYour Name 
1079*5113495bSYour Name 			<enum 41 phyrx_err_unsupported_cbf>
1080*5113495bSYour Name 
1081*5113495bSYour Name 
1082*5113495bSYour Name 
1083*5113495bSYour Name 			<enum 42 phyrx_err_other>  Should not really be used. If
1084*5113495bSYour Name 			needed, ask for documentation update
1085*5113495bSYour Name 
1086*5113495bSYour Name 
1087*5113495bSYour Name 
1088*5113495bSYour Name 			<enum 43 phyrx_err_he_siga_unsupported > <enum 44
1089*5113495bSYour Name 			phyrx_err_he_crc_error > <enum 45
1090*5113495bSYour Name 			phyrx_err_he_sigb_unsupported > <enum 46
1091*5113495bSYour Name 			phyrx_err_he_mu_mode_unsupported > <enum 47
1092*5113495bSYour Name 			phyrx_err_he_ndp_or_zlf > <enum 48 phyrx_err_he_nsym_lt_zero
1093*5113495bSYour Name 			> <enum 49 phyrx_err_he_ru_params_unsupported > <enum 50
1094*5113495bSYour Name 			phyrx_err_he_num_users_unsupported ><enum 51
1095*5113495bSYour Name 			phyrx_err_he_sounding_params_unsupported >
1096*5113495bSYour Name 
1097*5113495bSYour Name 
1098*5113495bSYour Name 
1099*5113495bSYour Name 			<enum 52 phyrx_err_MU_UL_no_power_detected>
1100*5113495bSYour Name 
1101*5113495bSYour Name 			<enum 53 phyrx_err_MU_UL_not_for_me>
1102*5113495bSYour Name 
1103*5113495bSYour Name 
1104*5113495bSYour Name 
1105*5113495bSYour Name 			<legal 0 - 53>
1106*5113495bSYour Name */
1107*5113495bSYour Name #define RXPCU_PPDU_END_INFO_11_PHYRX_ABORT_REQUEST_INFO_DETAILS_PHYRX_ABORT_REASON_OFFSET 0x0000002c
1108*5113495bSYour Name #define RXPCU_PPDU_END_INFO_11_PHYRX_ABORT_REQUEST_INFO_DETAILS_PHYRX_ABORT_REASON_LSB 0
1109*5113495bSYour Name #define RXPCU_PPDU_END_INFO_11_PHYRX_ABORT_REQUEST_INFO_DETAILS_PHYRX_ABORT_REASON_MASK 0x000000ff
1110*5113495bSYour Name 
1111*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_11_PHYRX_ABORT_REQUEST_INFO_DETAILS_PHY_ENTERS_NAP_STATE
1112*5113495bSYour Name 
1113*5113495bSYour Name 			When set, PHY enters PHY NAP state after sending this
1114*5113495bSYour Name 			abort
1115*5113495bSYour Name 
1116*5113495bSYour Name 
1117*5113495bSYour Name 
1118*5113495bSYour Name 			Note that nap and defer state are mutually exclusive.
1119*5113495bSYour Name 
1120*5113495bSYour Name 
1121*5113495bSYour Name 
1122*5113495bSYour Name 			Field put pro-actively in place....usage still to be
1123*5113495bSYour Name 			agreed upon.
1124*5113495bSYour Name 
1125*5113495bSYour Name 			<legal all>
1126*5113495bSYour Name */
1127*5113495bSYour Name #define RXPCU_PPDU_END_INFO_11_PHYRX_ABORT_REQUEST_INFO_DETAILS_PHY_ENTERS_NAP_STATE_OFFSET 0x0000002c
1128*5113495bSYour Name #define RXPCU_PPDU_END_INFO_11_PHYRX_ABORT_REQUEST_INFO_DETAILS_PHY_ENTERS_NAP_STATE_LSB 8
1129*5113495bSYour Name #define RXPCU_PPDU_END_INFO_11_PHYRX_ABORT_REQUEST_INFO_DETAILS_PHY_ENTERS_NAP_STATE_MASK 0x00000100
1130*5113495bSYour Name 
1131*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_11_PHYRX_ABORT_REQUEST_INFO_DETAILS_PHY_ENTERS_DEFER_STATE
1132*5113495bSYour Name 
1133*5113495bSYour Name 			When set, PHY enters PHY defer state after sending this
1134*5113495bSYour Name 			abort
1135*5113495bSYour Name 
1136*5113495bSYour Name 
1137*5113495bSYour Name 
1138*5113495bSYour Name 			Note that nap and defer state are mutually exclusive.
1139*5113495bSYour Name 
1140*5113495bSYour Name 
1141*5113495bSYour Name 
1142*5113495bSYour Name 			Field put pro-actively in place....usage still to be
1143*5113495bSYour Name 			agreed upon.
1144*5113495bSYour Name 
1145*5113495bSYour Name 			<legal all>
1146*5113495bSYour Name */
1147*5113495bSYour Name #define RXPCU_PPDU_END_INFO_11_PHYRX_ABORT_REQUEST_INFO_DETAILS_PHY_ENTERS_DEFER_STATE_OFFSET 0x0000002c
1148*5113495bSYour Name #define RXPCU_PPDU_END_INFO_11_PHYRX_ABORT_REQUEST_INFO_DETAILS_PHY_ENTERS_DEFER_STATE_LSB 9
1149*5113495bSYour Name #define RXPCU_PPDU_END_INFO_11_PHYRX_ABORT_REQUEST_INFO_DETAILS_PHY_ENTERS_DEFER_STATE_MASK 0x00000200
1150*5113495bSYour Name 
1151*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_11_PHYRX_ABORT_REQUEST_INFO_DETAILS_RESERVED_0
1152*5113495bSYour Name 
1153*5113495bSYour Name 			<legal 0>
1154*5113495bSYour Name */
1155*5113495bSYour Name #define RXPCU_PPDU_END_INFO_11_PHYRX_ABORT_REQUEST_INFO_DETAILS_RESERVED_0_OFFSET 0x0000002c
1156*5113495bSYour Name #define RXPCU_PPDU_END_INFO_11_PHYRX_ABORT_REQUEST_INFO_DETAILS_RESERVED_0_LSB 10
1157*5113495bSYour Name #define RXPCU_PPDU_END_INFO_11_PHYRX_ABORT_REQUEST_INFO_DETAILS_RESERVED_0_MASK 0x0000fc00
1158*5113495bSYour Name 
1159*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_11_PHYRX_ABORT_REQUEST_INFO_DETAILS_RECEIVE_DURATION
1160*5113495bSYour Name 
1161*5113495bSYour Name 			The remaining receive duration of this PPDU in the
1162*5113495bSYour Name 			medium (in us). When PHY does not know this duration when
1163*5113495bSYour Name 			this TLV is generated, the field will be set to 0.
1164*5113495bSYour Name 
1165*5113495bSYour Name 			The timing reference point is the reception by the MAC
1166*5113495bSYour Name 			of this TLV. The value shall be accurate to within 2us.
1167*5113495bSYour Name 
1168*5113495bSYour Name 
1169*5113495bSYour Name 
1170*5113495bSYour Name 			In case Phy_enters_nap_state and/or
1171*5113495bSYour Name 			Phy_enters_defer_state is set, there is a possibility that
1172*5113495bSYour Name 			MAC PMM can also decide to go into a low(er) power state.
1173*5113495bSYour Name 
1174*5113495bSYour Name 			<legal all>
1175*5113495bSYour Name */
1176*5113495bSYour Name #define RXPCU_PPDU_END_INFO_11_PHYRX_ABORT_REQUEST_INFO_DETAILS_RECEIVE_DURATION_OFFSET 0x0000002c
1177*5113495bSYour Name #define RXPCU_PPDU_END_INFO_11_PHYRX_ABORT_REQUEST_INFO_DETAILS_RECEIVE_DURATION_LSB 16
1178*5113495bSYour Name #define RXPCU_PPDU_END_INFO_11_PHYRX_ABORT_REQUEST_INFO_DETAILS_RECEIVE_DURATION_MASK 0xffff0000
1179*5113495bSYour Name 
1180*5113495bSYour Name  /* EXTERNAL REFERENCE : struct macrx_abort_request_info macrx_abort_request_info_details */
1181*5113495bSYour Name 
1182*5113495bSYour Name 
1183*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_12_MACRX_ABORT_REQUEST_INFO_DETAILS_MACRX_ABORT_REASON
1184*5113495bSYour Name 
1185*5113495bSYour Name 			<enum 0 macrx_abort_sw_initiated>
1186*5113495bSYour Name 
1187*5113495bSYour Name 			<enum 1 macrx_abort_obss_reception> Upon receiving this
1188*5113495bSYour Name 			abort reason, PHY should stop reception of the current frame
1189*5113495bSYour Name 			and go back into a search mode
1190*5113495bSYour Name 
1191*5113495bSYour Name 			<enum 2 macrx_abort_other>
1192*5113495bSYour Name 
1193*5113495bSYour Name 			<enum 3 macrx_abort_sw_initiated_channel_switch > MAC FW
1194*5113495bSYour Name 			issued an abort for channel switch reasons
1195*5113495bSYour Name 
1196*5113495bSYour Name 			<enum 4 macrx_abort_sw_initiated_power_save > MAC FW
1197*5113495bSYour Name 			issued an abort power save reasons
1198*5113495bSYour Name 
1199*5113495bSYour Name 			<enum 5 macrx_abort_too_much_bad_data > RXPCU is
1200*5113495bSYour Name 			terminating the current ongoing reception, as the data that
1201*5113495bSYour Name 			MAC is receiving seems to be all garbage... The PER is too
1202*5113495bSYour Name 			high, or in case of MU UL, Likely the trigger frame never
1203*5113495bSYour Name 			got properly received by any of the targeted MU UL devices.
1204*5113495bSYour Name 			After the abort, PHYRX can resume a normal search mode.
1205*5113495bSYour Name 
1206*5113495bSYour Name 
1207*5113495bSYour Name 
1208*5113495bSYour Name 			<legal 0-5>
1209*5113495bSYour Name */
1210*5113495bSYour Name #define RXPCU_PPDU_END_INFO_12_MACRX_ABORT_REQUEST_INFO_DETAILS_MACRX_ABORT_REASON_OFFSET 0x00000030
1211*5113495bSYour Name #define RXPCU_PPDU_END_INFO_12_MACRX_ABORT_REQUEST_INFO_DETAILS_MACRX_ABORT_REASON_LSB 0
1212*5113495bSYour Name #define RXPCU_PPDU_END_INFO_12_MACRX_ABORT_REQUEST_INFO_DETAILS_MACRX_ABORT_REASON_MASK 0x000000ff
1213*5113495bSYour Name 
1214*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_12_MACRX_ABORT_REQUEST_INFO_DETAILS_RESERVED_0
1215*5113495bSYour Name 
1216*5113495bSYour Name 			<legal 0>
1217*5113495bSYour Name */
1218*5113495bSYour Name #define RXPCU_PPDU_END_INFO_12_MACRX_ABORT_REQUEST_INFO_DETAILS_RESERVED_0_OFFSET 0x00000030
1219*5113495bSYour Name #define RXPCU_PPDU_END_INFO_12_MACRX_ABORT_REQUEST_INFO_DETAILS_RESERVED_0_LSB 8
1220*5113495bSYour Name #define RXPCU_PPDU_END_INFO_12_MACRX_ABORT_REQUEST_INFO_DETAILS_RESERVED_0_MASK 0x0000ff00
1221*5113495bSYour Name 
1222*5113495bSYour Name /* Description		RXPCU_PPDU_END_INFO_13_RX_PPDU_END_MARKER
1223*5113495bSYour Name 
1224*5113495bSYour Name 			Field used by SW to double check that their structure
1225*5113495bSYour Name 			alignment is in sync with what HW has done.
1226*5113495bSYour Name 
1227*5113495bSYour Name 			<legal 0xAABBCCDD>
1228*5113495bSYour Name */
1229*5113495bSYour Name #define RXPCU_PPDU_END_INFO_13_RX_PPDU_END_MARKER_OFFSET             0x00000034
1230*5113495bSYour Name #define RXPCU_PPDU_END_INFO_13_RX_PPDU_END_MARKER_LSB                0
1231*5113495bSYour Name #define RXPCU_PPDU_END_INFO_13_RX_PPDU_END_MARKER_MASK               0xffffffff
1232*5113495bSYour Name 
1233*5113495bSYour Name 
1234*5113495bSYour Name #endif // _RXPCU_PPDU_END_INFO_H_
1235