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