xref: /wlan-driver/fw-api/hw/qcn6432/coex_tx_req.h (revision 5113495b16420b49004c444715d2daae2066e7dc)
1*5113495bSYour Name /*
2*5113495bSYour Name  * Copyright (c) 2023 Qualcomm Innovation Center, Inc. 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 _COEX_TX_REQ_H_
18*5113495bSYour Name #define _COEX_TX_REQ_H_
19*5113495bSYour Name #if !defined(__ASSEMBLER__)
20*5113495bSYour Name #endif
21*5113495bSYour Name 
22*5113495bSYour Name #define NUM_OF_DWORDS_COEX_TX_REQ 4
23*5113495bSYour Name 
24*5113495bSYour Name #define NUM_OF_QWORDS_COEX_TX_REQ 2
25*5113495bSYour Name 
26*5113495bSYour Name 
27*5113495bSYour Name struct coex_tx_req {
28*5113495bSYour Name #ifndef WIFI_BIT_ORDER_BIG_ENDIAN
29*5113495bSYour Name              uint32_t tx_pwr                                                  :  8, // [7:0]
30*5113495bSYour Name                       min_tx_pwr                                              :  8, // [15:8]
31*5113495bSYour Name                       nss                                                     :  3, // [18:16]
32*5113495bSYour Name                       tx_chain_mask                                           :  8, // [26:19]
33*5113495bSYour Name                       bw                                                      :  3, // [29:27]
34*5113495bSYour Name                       reserved_0                                              :  2; // [31:30]
35*5113495bSYour Name              uint32_t alt_tx_pwr                                              :  8, // [7:0]
36*5113495bSYour Name                       alt_min_tx_pwr                                          :  8, // [15:8]
37*5113495bSYour Name                       alt_nss                                                 :  3, // [18:16]
38*5113495bSYour Name                       alt_tx_chain_mask                                       :  8, // [26:19]
39*5113495bSYour Name                       alt_bw                                                  :  3, // [29:27]
40*5113495bSYour Name                       reserved_1                                              :  2; // [31:30]
41*5113495bSYour Name              uint32_t tx_pwr_1                                                :  8, // [7:0]
42*5113495bSYour Name                       alt_tx_pwr_1                                            :  8, // [15:8]
43*5113495bSYour Name                       wlan_request_duration                                   : 16; // [31:16]
44*5113495bSYour Name              uint32_t wlan_pkt_type                                           :  4, // [3:0]
45*5113495bSYour Name                       coex_tx_reason                                          :  2, // [5:4]
46*5113495bSYour Name                       response_frame_type                                     :  5, // [10:6]
47*5113495bSYour Name                       wlan_low_priority_slicing_allowed                       :  1, // [11:11]
48*5113495bSYour Name                       wlan_high_priority_slicing_allowed                      :  1, // [12:12]
49*5113495bSYour Name                       sch_tx_burst_ongoing                                    :  1, // [13:13]
50*5113495bSYour Name                       coex_tx_priority                                        :  4, // [17:14]
51*5113495bSYour Name                       reserved_3a                                             : 14; // [31:18]
52*5113495bSYour Name #else
53*5113495bSYour Name              uint32_t reserved_0                                              :  2, // [31:30]
54*5113495bSYour Name                       bw                                                      :  3, // [29:27]
55*5113495bSYour Name                       tx_chain_mask                                           :  8, // [26:19]
56*5113495bSYour Name                       nss                                                     :  3, // [18:16]
57*5113495bSYour Name                       min_tx_pwr                                              :  8, // [15:8]
58*5113495bSYour Name                       tx_pwr                                                  :  8; // [7:0]
59*5113495bSYour Name              uint32_t reserved_1                                              :  2, // [31:30]
60*5113495bSYour Name                       alt_bw                                                  :  3, // [29:27]
61*5113495bSYour Name                       alt_tx_chain_mask                                       :  8, // [26:19]
62*5113495bSYour Name                       alt_nss                                                 :  3, // [18:16]
63*5113495bSYour Name                       alt_min_tx_pwr                                          :  8, // [15:8]
64*5113495bSYour Name                       alt_tx_pwr                                              :  8; // [7:0]
65*5113495bSYour Name              uint32_t wlan_request_duration                                   : 16, // [31:16]
66*5113495bSYour Name                       alt_tx_pwr_1                                            :  8, // [15:8]
67*5113495bSYour Name                       tx_pwr_1                                                :  8; // [7:0]
68*5113495bSYour Name              uint32_t reserved_3a                                             : 14, // [31:18]
69*5113495bSYour Name                       coex_tx_priority                                        :  4, // [17:14]
70*5113495bSYour Name                       sch_tx_burst_ongoing                                    :  1, // [13:13]
71*5113495bSYour Name                       wlan_high_priority_slicing_allowed                      :  1, // [12:12]
72*5113495bSYour Name                       wlan_low_priority_slicing_allowed                       :  1, // [11:11]
73*5113495bSYour Name                       response_frame_type                                     :  5, // [10:6]
74*5113495bSYour Name                       coex_tx_reason                                          :  2, // [5:4]
75*5113495bSYour Name                       wlan_pkt_type                                           :  4; // [3:0]
76*5113495bSYour Name #endif
77*5113495bSYour Name };
78*5113495bSYour Name 
79*5113495bSYour Name 
80*5113495bSYour Name /* Description		TX_PWR
81*5113495bSYour Name 
82*5113495bSYour Name 			Default (desired) transmit parameter
83*5113495bSYour Name 
84*5113495bSYour Name 			Transmit Power in s6.2 format.
85*5113495bSYour Name 			In units of 0.25 dBm
86*5113495bSYour Name 			<legal all>
87*5113495bSYour Name */
88*5113495bSYour Name 
89*5113495bSYour Name #define COEX_TX_REQ_TX_PWR_OFFSET                                                   0x0000000000000000
90*5113495bSYour Name #define COEX_TX_REQ_TX_PWR_LSB                                                      0
91*5113495bSYour Name #define COEX_TX_REQ_TX_PWR_MSB                                                      7
92*5113495bSYour Name #define COEX_TX_REQ_TX_PWR_MASK                                                     0x00000000000000ff
93*5113495bSYour Name 
94*5113495bSYour Name 
95*5113495bSYour Name /* Description		MIN_TX_PWR
96*5113495bSYour Name 
97*5113495bSYour Name 			Default (desired) transmit parameter
98*5113495bSYour Name 
99*5113495bSYour Name 
100*5113495bSYour Name 			Minimum allowed Transmit Power in s6.2 format.
101*5113495bSYour Name 			In units of 0.25 dBm
102*5113495bSYour Name 			<legal all>
103*5113495bSYour Name */
104*5113495bSYour Name 
105*5113495bSYour Name #define COEX_TX_REQ_MIN_TX_PWR_OFFSET                                               0x0000000000000000
106*5113495bSYour Name #define COEX_TX_REQ_MIN_TX_PWR_LSB                                                  8
107*5113495bSYour Name #define COEX_TX_REQ_MIN_TX_PWR_MSB                                                  15
108*5113495bSYour Name #define COEX_TX_REQ_MIN_TX_PWR_MASK                                                 0x000000000000ff00
109*5113495bSYour Name 
110*5113495bSYour Name 
111*5113495bSYour Name /* Description		NSS
112*5113495bSYour Name 
113*5113495bSYour Name 			Default (desired) transmit parameter
114*5113495bSYour Name 
115*5113495bSYour Name 			Number of spatial streams.
116*5113495bSYour Name 
117*5113495bSYour Name 			<enum 0 1_spatial_stream>Single spatial stream
118*5113495bSYour Name 			<enum 1 2_spatial_streams>2 spatial streams
119*5113495bSYour Name 			<enum 2 3_spatial_streams>3 spatial streams
120*5113495bSYour Name 			<enum 3 4_spatial_streams>4 spatial streams
121*5113495bSYour Name 			<enum 4 5_spatial_streams>5 spatial streams
122*5113495bSYour Name 			<enum 5 6_spatial_streams>6 spatial streams
123*5113495bSYour Name 			<enum 6 7_spatial_streams>7 spatial streams
124*5113495bSYour Name 			<enum 7 8_spatial_streams>8 spatial streams
125*5113495bSYour Name */
126*5113495bSYour Name 
127*5113495bSYour Name #define COEX_TX_REQ_NSS_OFFSET                                                      0x0000000000000000
128*5113495bSYour Name #define COEX_TX_REQ_NSS_LSB                                                         16
129*5113495bSYour Name #define COEX_TX_REQ_NSS_MSB                                                         18
130*5113495bSYour Name #define COEX_TX_REQ_NSS_MASK                                                        0x0000000000070000
131*5113495bSYour Name 
132*5113495bSYour Name 
133*5113495bSYour Name /* Description		TX_CHAIN_MASK
134*5113495bSYour Name 
135*5113495bSYour Name 			Default (desired) transmit parameter
136*5113495bSYour Name 
137*5113495bSYour Name 
138*5113495bSYour Name 			Chain mask to support up to 8 antennas.
139*5113495bSYour Name 			<legal 1-255>
140*5113495bSYour Name */
141*5113495bSYour Name 
142*5113495bSYour Name #define COEX_TX_REQ_TX_CHAIN_MASK_OFFSET                                            0x0000000000000000
143*5113495bSYour Name #define COEX_TX_REQ_TX_CHAIN_MASK_LSB                                               19
144*5113495bSYour Name #define COEX_TX_REQ_TX_CHAIN_MASK_MSB                                               26
145*5113495bSYour Name #define COEX_TX_REQ_TX_CHAIN_MASK_MASK                                              0x0000000007f80000
146*5113495bSYour Name 
147*5113495bSYour Name 
148*5113495bSYour Name /* Description		BW
149*5113495bSYour Name 
150*5113495bSYour Name 			Default (desired) transmit parameter
151*5113495bSYour Name 
152*5113495bSYour Name 			The BW of the upcoming transmission.
153*5113495bSYour Name 
154*5113495bSYour Name 			<enum 0 20_mhz>20 Mhz BW
155*5113495bSYour Name 			<enum 1 40_mhz>40 Mhz BW
156*5113495bSYour Name 			<enum 2 80_mhz>80 Mhz BW
157*5113495bSYour Name 			<enum 3 160_mhz>160 Mhz BW
158*5113495bSYour Name 			<enum 4 320_mhz>320 Mhz BW
159*5113495bSYour Name 			<enum 5 240_mhz>240 Mhz BW
160*5113495bSYour Name */
161*5113495bSYour Name 
162*5113495bSYour Name #define COEX_TX_REQ_BW_OFFSET                                                       0x0000000000000000
163*5113495bSYour Name #define COEX_TX_REQ_BW_LSB                                                          27
164*5113495bSYour Name #define COEX_TX_REQ_BW_MSB                                                          29
165*5113495bSYour Name #define COEX_TX_REQ_BW_MASK                                                         0x0000000038000000
166*5113495bSYour Name 
167*5113495bSYour Name 
168*5113495bSYour Name /* Description		RESERVED_0
169*5113495bSYour Name 
170*5113495bSYour Name 			<legal 0>
171*5113495bSYour Name */
172*5113495bSYour Name 
173*5113495bSYour Name #define COEX_TX_REQ_RESERVED_0_OFFSET                                               0x0000000000000000
174*5113495bSYour Name #define COEX_TX_REQ_RESERVED_0_LSB                                                  30
175*5113495bSYour Name #define COEX_TX_REQ_RESERVED_0_MSB                                                  31
176*5113495bSYour Name #define COEX_TX_REQ_RESERVED_0_MASK                                                 0x00000000c0000000
177*5113495bSYour Name 
178*5113495bSYour Name 
179*5113495bSYour Name /* Description		ALT_TX_PWR
180*5113495bSYour Name 
181*5113495bSYour Name 			Coex related AlternativeTransmit parameter
182*5113495bSYour Name 
183*5113495bSYour Name 			Transmit Power in s6.2 format.
184*5113495bSYour Name 			In units of 0.25 dBm
185*5113495bSYour Name 			<legal all>
186*5113495bSYour Name */
187*5113495bSYour Name 
188*5113495bSYour Name #define COEX_TX_REQ_ALT_TX_PWR_OFFSET                                               0x0000000000000000
189*5113495bSYour Name #define COEX_TX_REQ_ALT_TX_PWR_LSB                                                  32
190*5113495bSYour Name #define COEX_TX_REQ_ALT_TX_PWR_MSB                                                  39
191*5113495bSYour Name #define COEX_TX_REQ_ALT_TX_PWR_MASK                                                 0x000000ff00000000
192*5113495bSYour Name 
193*5113495bSYour Name 
194*5113495bSYour Name /* Description		ALT_MIN_TX_PWR
195*5113495bSYour Name 
196*5113495bSYour Name 			Coex related Alternative Transmit parameter
197*5113495bSYour Name 
198*5113495bSYour Name 			Minimum allowed Transmit Power in s6.2 format.
199*5113495bSYour Name 			In units of 0.25 dBm
200*5113495bSYour Name 			<legal all>
201*5113495bSYour Name */
202*5113495bSYour Name 
203*5113495bSYour Name #define COEX_TX_REQ_ALT_MIN_TX_PWR_OFFSET                                           0x0000000000000000
204*5113495bSYour Name #define COEX_TX_REQ_ALT_MIN_TX_PWR_LSB                                              40
205*5113495bSYour Name #define COEX_TX_REQ_ALT_MIN_TX_PWR_MSB                                              47
206*5113495bSYour Name #define COEX_TX_REQ_ALT_MIN_TX_PWR_MASK                                             0x0000ff0000000000
207*5113495bSYour Name 
208*5113495bSYour Name 
209*5113495bSYour Name /* Description		ALT_NSS
210*5113495bSYour Name 
211*5113495bSYour Name 			Coex related Alternative Transmit parameter
212*5113495bSYour Name 
213*5113495bSYour Name 			Number of spatial streams.
214*5113495bSYour Name 
215*5113495bSYour Name 			<enum 0 1_spatial_stream>Single spatial stream
216*5113495bSYour Name 			<enum 1 2_spatial_streams>2 spatial streams
217*5113495bSYour Name 			<enum 2 3_spatial_streams>3 spatial streams
218*5113495bSYour Name 			<enum 3 4_spatial_streams>4 spatial streams
219*5113495bSYour Name 			<enum 4 5_spatial_streams>5 spatial streams
220*5113495bSYour Name 			<enum 5 6_spatial_streams>6 spatial streams
221*5113495bSYour Name 			<enum 6 7_spatial_streams>7 spatial streams
222*5113495bSYour Name 			<enum 7 8_spatial_streams>8 spatial streams
223*5113495bSYour Name */
224*5113495bSYour Name 
225*5113495bSYour Name #define COEX_TX_REQ_ALT_NSS_OFFSET                                                  0x0000000000000000
226*5113495bSYour Name #define COEX_TX_REQ_ALT_NSS_LSB                                                     48
227*5113495bSYour Name #define COEX_TX_REQ_ALT_NSS_MSB                                                     50
228*5113495bSYour Name #define COEX_TX_REQ_ALT_NSS_MASK                                                    0x0007000000000000
229*5113495bSYour Name 
230*5113495bSYour Name 
231*5113495bSYour Name /* Description		ALT_TX_CHAIN_MASK
232*5113495bSYour Name 
233*5113495bSYour Name 			Coex related Alternative Transmit parameter
234*5113495bSYour Name 
235*5113495bSYour Name 			Chain mask to support up to 8 antennas.
236*5113495bSYour Name 
237*5113495bSYour Name 			<legal 1-255>
238*5113495bSYour Name */
239*5113495bSYour Name 
240*5113495bSYour Name #define COEX_TX_REQ_ALT_TX_CHAIN_MASK_OFFSET                                        0x0000000000000000
241*5113495bSYour Name #define COEX_TX_REQ_ALT_TX_CHAIN_MASK_LSB                                           51
242*5113495bSYour Name #define COEX_TX_REQ_ALT_TX_CHAIN_MASK_MSB                                           58
243*5113495bSYour Name #define COEX_TX_REQ_ALT_TX_CHAIN_MASK_MASK                                          0x07f8000000000000
244*5113495bSYour Name 
245*5113495bSYour Name 
246*5113495bSYour Name /* Description		ALT_BW
247*5113495bSYour Name 
248*5113495bSYour Name 			Coex related Alternative Transmit parameter.
249*5113495bSYour Name 
250*5113495bSYour Name 			The BW of the upcoming transmission.
251*5113495bSYour Name 
252*5113495bSYour Name 			<enum 0 20_mhz>20 Mhz BW
253*5113495bSYour Name 			<enum 1 40_mhz>40 Mhz BW
254*5113495bSYour Name 			<enum 2 80_mhz>80 Mhz BW
255*5113495bSYour Name 			<enum 3 160_mhz>160 Mhz BW
256*5113495bSYour Name 			<enum 4 320_mhz>320 Mhz BW
257*5113495bSYour Name 			<enum 5 240_mhz>240 Mhz BW
258*5113495bSYour Name */
259*5113495bSYour Name 
260*5113495bSYour Name #define COEX_TX_REQ_ALT_BW_OFFSET                                                   0x0000000000000000
261*5113495bSYour Name #define COEX_TX_REQ_ALT_BW_LSB                                                      59
262*5113495bSYour Name #define COEX_TX_REQ_ALT_BW_MSB                                                      61
263*5113495bSYour Name #define COEX_TX_REQ_ALT_BW_MASK                                                     0x3800000000000000
264*5113495bSYour Name 
265*5113495bSYour Name 
266*5113495bSYour Name /* Description		RESERVED_1
267*5113495bSYour Name 
268*5113495bSYour Name 			<legal 0>
269*5113495bSYour Name */
270*5113495bSYour Name 
271*5113495bSYour Name #define COEX_TX_REQ_RESERVED_1_OFFSET                                               0x0000000000000000
272*5113495bSYour Name #define COEX_TX_REQ_RESERVED_1_LSB                                                  62
273*5113495bSYour Name #define COEX_TX_REQ_RESERVED_1_MSB                                                  63
274*5113495bSYour Name #define COEX_TX_REQ_RESERVED_1_MASK                                                 0xc000000000000000
275*5113495bSYour Name 
276*5113495bSYour Name 
277*5113495bSYour Name /* Description		TX_PWR_1
278*5113495bSYour Name 
279*5113495bSYour Name 			Default (desired) transmit parameter for the second chain
280*5113495bSYour Name 
281*5113495bSYour Name 
282*5113495bSYour Name 			Transmit Power in s6.2 format.
283*5113495bSYour Name 			In units of 0.25 dBm
284*5113495bSYour Name 
285*5113495bSYour Name 			Note that there is no Min value for this
286*5113495bSYour Name 			<legal all>
287*5113495bSYour Name */
288*5113495bSYour Name 
289*5113495bSYour Name #define COEX_TX_REQ_TX_PWR_1_OFFSET                                                 0x0000000000000008
290*5113495bSYour Name #define COEX_TX_REQ_TX_PWR_1_LSB                                                    0
291*5113495bSYour Name #define COEX_TX_REQ_TX_PWR_1_MSB                                                    7
292*5113495bSYour Name #define COEX_TX_REQ_TX_PWR_1_MASK                                                   0x00000000000000ff
293*5113495bSYour Name 
294*5113495bSYour Name 
295*5113495bSYour Name /* Description		ALT_TX_PWR_1
296*5113495bSYour Name 
297*5113495bSYour Name 			Alternate (desired) transmit parameter for the second chain
298*5113495bSYour Name 
299*5113495bSYour Name 
300*5113495bSYour Name 			Transmit Power in s6.2 format.
301*5113495bSYour Name 			In units of 0.25 dBm
302*5113495bSYour Name 
303*5113495bSYour Name 			Note that there is no Min value for this
304*5113495bSYour Name 			<legal all>
305*5113495bSYour Name */
306*5113495bSYour Name 
307*5113495bSYour Name #define COEX_TX_REQ_ALT_TX_PWR_1_OFFSET                                             0x0000000000000008
308*5113495bSYour Name #define COEX_TX_REQ_ALT_TX_PWR_1_LSB                                                8
309*5113495bSYour Name #define COEX_TX_REQ_ALT_TX_PWR_1_MSB                                                15
310*5113495bSYour Name #define COEX_TX_REQ_ALT_TX_PWR_1_MASK                                               0x000000000000ff00
311*5113495bSYour Name 
312*5113495bSYour Name 
313*5113495bSYour Name /* Description		WLAN_REQUEST_DURATION
314*5113495bSYour Name 
315*5113495bSYour Name 			The amount of time PDG might use for the upcoming transmission
316*5113495bSYour Name 			 and corresponding reception if there is one...
317*5113495bSYour Name 			<legal all>
318*5113495bSYour Name */
319*5113495bSYour Name 
320*5113495bSYour Name #define COEX_TX_REQ_WLAN_REQUEST_DURATION_OFFSET                                    0x0000000000000008
321*5113495bSYour Name #define COEX_TX_REQ_WLAN_REQUEST_DURATION_LSB                                       16
322*5113495bSYour Name #define COEX_TX_REQ_WLAN_REQUEST_DURATION_MSB                                       31
323*5113495bSYour Name #define COEX_TX_REQ_WLAN_REQUEST_DURATION_MASK                                      0x00000000ffff0000
324*5113495bSYour Name 
325*5113495bSYour Name 
326*5113495bSYour Name /* Description		WLAN_PKT_TYPE
327*5113495bSYour Name 
328*5113495bSYour Name 			Packet type:
329*5113495bSYour Name 			<enum 0 dot11a>802.11a PPDU type
330*5113495bSYour Name 			<enum 1 dot11b>802.11b PPDU type
331*5113495bSYour Name 			<enum 2 dot11n_mm>802.11n Mixed Mode PPDU type
332*5113495bSYour Name 			<enum 3 dot11ac>802.11ac PPDU type
333*5113495bSYour Name 			<enum 4 dot11ax>802.11ax PPDU type
334*5113495bSYour Name 			<enum 5 dot11ba>802.11ba (WUR) PPDU type
335*5113495bSYour Name 			<enum 6 dot11be>802.11be PPDU type
336*5113495bSYour Name 			<enum 7 dot11az>802.11az (ranging) PPDU type
337*5113495bSYour Name 			<enum 8 dot11n_gf>802.11n Green Field PPDU type (unsupported
338*5113495bSYour Name 			 & aborted)
339*5113495bSYour Name */
340*5113495bSYour Name 
341*5113495bSYour Name #define COEX_TX_REQ_WLAN_PKT_TYPE_OFFSET                                            0x0000000000000008
342*5113495bSYour Name #define COEX_TX_REQ_WLAN_PKT_TYPE_LSB                                               32
343*5113495bSYour Name #define COEX_TX_REQ_WLAN_PKT_TYPE_MSB                                               35
344*5113495bSYour Name #define COEX_TX_REQ_WLAN_PKT_TYPE_MASK                                              0x0000000f00000000
345*5113495bSYour Name 
346*5113495bSYour Name 
347*5113495bSYour Name /* Description		COEX_TX_REASON
348*5113495bSYour Name 
349*5113495bSYour Name 			<enum 0     cxc_fes_protection_frame>  RTS, CTS2Self or
350*5113495bSYour Name 			11h protection type transmission preceding the regular PPDU
351*5113495bSYour Name 			 portion of the coming FES.
352*5113495bSYour Name 			<enum 1     cxc_fes_after_protection >  Regular PPDU transmission
353*5113495bSYour Name 			 that follows the transmission of medium protection frames:.
354*5113495bSYour Name 
355*5113495bSYour Name 			<enum 2     cxc_fes_only>  Regular PPDU transmission without
356*5113495bSYour Name 			 preceding medium protection frame exchanges.
357*5113495bSYour Name 
358*5113495bSYour Name 			<enum 3 cxc_response_frame>
359*5113495bSYour Name 			HW generated response frame.
360*5113495bSYour Name 			Details of the response frame type provided in field: Response_frame_type
361*5113495bSYour Name 
362*5113495bSYour Name 
363*5113495bSYour Name 			<legal 0-3>
364*5113495bSYour Name */
365*5113495bSYour Name 
366*5113495bSYour Name #define COEX_TX_REQ_COEX_TX_REASON_OFFSET                                           0x0000000000000008
367*5113495bSYour Name #define COEX_TX_REQ_COEX_TX_REASON_LSB                                              36
368*5113495bSYour Name #define COEX_TX_REQ_COEX_TX_REASON_MSB                                              37
369*5113495bSYour Name #define COEX_TX_REQ_COEX_TX_REASON_MASK                                             0x0000003000000000
370*5113495bSYour Name 
371*5113495bSYour Name 
372*5113495bSYour Name /* Description		RESPONSE_FRAME_TYPE
373*5113495bSYour Name 
374*5113495bSYour Name 			Coex related field
375*5113495bSYour Name 			<enum 0 Resp_Non_11ah_ACK >
376*5113495bSYour Name 			<enum 1 Resp_Non_11ah_BA >
377*5113495bSYour Name 			<enum 2 Resp_Non_11ah_CTS >
378*5113495bSYour Name 			<enum 3 Resp_AH_NDP_CTS>
379*5113495bSYour Name 			<enum 4 Resp_AH_NDP_ACK>
380*5113495bSYour Name 			<enum 5 Resp_AH_NDP_BA>
381*5113495bSYour Name 			<enum 6 Resp_AH_NDP_MOD_ACK>
382*5113495bSYour Name 			<enum 7 Resp_AH_Normal_ACK>
383*5113495bSYour Name 			<enum 8 Resp_AH_Normal_BA>
384*5113495bSYour Name 			<enum 9  Resp_RTT_ACK>
385*5113495bSYour Name 			<enum 10 Resp_CBF_RESPONSE>
386*5113495bSYour Name 			<enum 11 Resp_MBA>
387*5113495bSYour Name 			<enum 12 Resp_Ranging_NDP>
388*5113495bSYour Name 			<enum 13 Resp_LMR_RESPONSE>
389*5113495bSYour Name 			<enum 14 Resp_TRIGGER_RESPONSE_BASIC>
390*5113495bSYour Name 			<enum 15 Resp_TRIGGER_RESPONSE_BUF_SIZE>
391*5113495bSYour Name 			<enum 16 Resp_TRIGGER_RESPONSE_BRPOLL>
392*5113495bSYour Name 			<enum 17 Resp_TRIGGER_RESPONSE_CTS>
393*5113495bSYour Name 			<enum 18 Resp_TRIGGER_RESPONSE_OTHER>
394*5113495bSYour Name 
395*5113495bSYour Name 			<legal 0-18>
396*5113495bSYour Name */
397*5113495bSYour Name 
398*5113495bSYour Name #define COEX_TX_REQ_RESPONSE_FRAME_TYPE_OFFSET                                      0x0000000000000008
399*5113495bSYour Name #define COEX_TX_REQ_RESPONSE_FRAME_TYPE_LSB                                         38
400*5113495bSYour Name #define COEX_TX_REQ_RESPONSE_FRAME_TYPE_MSB                                         42
401*5113495bSYour Name #define COEX_TX_REQ_RESPONSE_FRAME_TYPE_MASK                                        0x000007c000000000
402*5113495bSYour Name 
403*5113495bSYour Name 
404*5113495bSYour Name /* Description		WLAN_LOW_PRIORITY_SLICING_ALLOWED
405*5113495bSYour Name 
406*5113495bSYour Name 			When set, COEX is allowed to invoke 'tx slicing' algorithms
407*5113495bSYour Name 			 when WLAN tx is low priority when compared to BT activity,
408*5113495bSYour Name 			to get to more optimal throughput. Value 0 will disable
409*5113495bSYour Name 			this feature
410*5113495bSYour Name 			<legal all>
411*5113495bSYour Name */
412*5113495bSYour Name 
413*5113495bSYour Name #define COEX_TX_REQ_WLAN_LOW_PRIORITY_SLICING_ALLOWED_OFFSET                        0x0000000000000008
414*5113495bSYour Name #define COEX_TX_REQ_WLAN_LOW_PRIORITY_SLICING_ALLOWED_LSB                           43
415*5113495bSYour Name #define COEX_TX_REQ_WLAN_LOW_PRIORITY_SLICING_ALLOWED_MSB                           43
416*5113495bSYour Name #define COEX_TX_REQ_WLAN_LOW_PRIORITY_SLICING_ALLOWED_MASK                          0x0000080000000000
417*5113495bSYour Name 
418*5113495bSYour Name 
419*5113495bSYour Name /* Description		WLAN_HIGH_PRIORITY_SLICING_ALLOWED
420*5113495bSYour Name 
421*5113495bSYour Name 			When set, COEX is allowed to invoke 'tx slicing' algorithms
422*5113495bSYour Name 			 when WLAN tx is high priority when compared to BT activity,
423*5113495bSYour Name 			to get to more optimal throughput. Value 0 will disable
424*5113495bSYour Name 			this feature.
425*5113495bSYour Name 			<legal all>
426*5113495bSYour Name */
427*5113495bSYour Name 
428*5113495bSYour Name #define COEX_TX_REQ_WLAN_HIGH_PRIORITY_SLICING_ALLOWED_OFFSET                       0x0000000000000008
429*5113495bSYour Name #define COEX_TX_REQ_WLAN_HIGH_PRIORITY_SLICING_ALLOWED_LSB                          44
430*5113495bSYour Name #define COEX_TX_REQ_WLAN_HIGH_PRIORITY_SLICING_ALLOWED_MSB                          44
431*5113495bSYour Name #define COEX_TX_REQ_WLAN_HIGH_PRIORITY_SLICING_ALLOWED_MASK                         0x0000100000000000
432*5113495bSYour Name 
433*5113495bSYour Name 
434*5113495bSYour Name /* Description		SCH_TX_BURST_ONGOING
435*5113495bSYour Name 
436*5113495bSYour Name 			0: No action
437*5113495bSYour Name 			1: The next scheduling command needs to start at SIFS time
438*5113495bSYour Name 			 after finishing the frame transmissions in this command.
439*5113495bSYour Name 			This allows for SIFS based bursting
440*5113495bSYour Name 			<legal all>
441*5113495bSYour Name */
442*5113495bSYour Name 
443*5113495bSYour Name #define COEX_TX_REQ_SCH_TX_BURST_ONGOING_OFFSET                                     0x0000000000000008
444*5113495bSYour Name #define COEX_TX_REQ_SCH_TX_BURST_ONGOING_LSB                                        45
445*5113495bSYour Name #define COEX_TX_REQ_SCH_TX_BURST_ONGOING_MSB                                        45
446*5113495bSYour Name #define COEX_TX_REQ_SCH_TX_BURST_ONGOING_MASK                                       0x0000200000000000
447*5113495bSYour Name 
448*5113495bSYour Name 
449*5113495bSYour Name /* Description		COEX_TX_PRIORITY
450*5113495bSYour Name 
451*5113495bSYour Name 			Transmit priority. Used for Coex weight table look up in
452*5113495bSYour Name 			 case of regular FES transmission. This value is typically
453*5113495bSYour Name 			 programmed in relationship to the backoff engine. In case
454*5113495bSYour Name 			 of self_gen tx,  the value comes from a programmable register
455*5113495bSYour Name 			 in the TXPCU. For BA and ACK packets, this is related to
456*5113495bSYour Name 			 AC of the incoming frame. .
457*5113495bSYour Name 
458*5113495bSYour Name 			For a request type of "fes", the field is copied over from
459*5113495bSYour Name 			 the scheduling command TLV.
460*5113495bSYour Name 			<legal all>
461*5113495bSYour Name */
462*5113495bSYour Name 
463*5113495bSYour Name #define COEX_TX_REQ_COEX_TX_PRIORITY_OFFSET                                         0x0000000000000008
464*5113495bSYour Name #define COEX_TX_REQ_COEX_TX_PRIORITY_LSB                                            46
465*5113495bSYour Name #define COEX_TX_REQ_COEX_TX_PRIORITY_MSB                                            49
466*5113495bSYour Name #define COEX_TX_REQ_COEX_TX_PRIORITY_MASK                                           0x0003c00000000000
467*5113495bSYour Name 
468*5113495bSYour Name 
469*5113495bSYour Name /* Description		RESERVED_3A
470*5113495bSYour Name 
471*5113495bSYour Name 			<legal 0>
472*5113495bSYour Name */
473*5113495bSYour Name 
474*5113495bSYour Name #define COEX_TX_REQ_RESERVED_3A_OFFSET                                              0x0000000000000008
475*5113495bSYour Name #define COEX_TX_REQ_RESERVED_3A_LSB                                                 50
476*5113495bSYour Name #define COEX_TX_REQ_RESERVED_3A_MSB                                                 63
477*5113495bSYour Name #define COEX_TX_REQ_RESERVED_3A_MASK                                                0xfffc000000000000
478*5113495bSYour Name 
479*5113495bSYour Name 
480*5113495bSYour Name 
481*5113495bSYour Name #endif   // COEX_TX_REQ
482