xref: /wlan-driver/fw-api/hw/peach/v2/tx_queue_extension.h (revision 5113495b16420b49004c444715d2daae2066e7dc)
1*5113495bSYour Name /*
2*5113495bSYour Name  * Copyright (c) 2023-2024 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 
18*5113495bSYour Name #ifndef _TX_QUEUE_EXTENSION_H_
19*5113495bSYour Name #define _TX_QUEUE_EXTENSION_H_
20*5113495bSYour Name 
21*5113495bSYour Name #define NUM_OF_DWORDS_TX_QUEUE_EXTENSION 14
22*5113495bSYour Name 
23*5113495bSYour Name struct tx_queue_extension {
24*5113495bSYour Name #ifndef WIFI_BIT_ORDER_BIG_ENDIAN
25*5113495bSYour Name              uint32_t frame_ctl                                               : 16,
26*5113495bSYour Name                       qos_ctl                                                 : 16;
27*5113495bSYour Name              uint32_t ampdu_flag                                              :  1,
28*5113495bSYour Name                       tx_notify_no_htc_override                               :  1,
29*5113495bSYour Name                       reserved_1a                                             :  7,
30*5113495bSYour Name                       checksum_tso_disable_for_frag                           :  1,
31*5113495bSYour Name                       key_id                                                  :  8,
32*5113495bSYour Name                       qos_buf_state_overwrite                                 :  1,
33*5113495bSYour Name                       buf_state_sta_id                                        :  1,
34*5113495bSYour Name                       buf_state_source                                        :  1,
35*5113495bSYour Name                       ht_control_overwrite_enable                             :  1,
36*5113495bSYour Name                       ht_control_overwrite_source                             :  4,
37*5113495bSYour Name                       reserved_1b                                             :  6;
38*5113495bSYour Name              uint32_t ul_headroom_insertion_enable                            :  1,
39*5113495bSYour Name                       ul_headroom_offset                                      :  5,
40*5113495bSYour Name                       bqrp_insertion_enable                                   :  1,
41*5113495bSYour Name                       bqrp_offset                                             :  5,
42*5113495bSYour Name                       ul_headroom_rsvd_7_6                                    :  2,
43*5113495bSYour Name                       bqr_rsvd_9_8                                            :  2,
44*5113495bSYour Name                       base_pn_63_48                                           : 16;
45*5113495bSYour Name              uint32_t base_pn_95_64                                           : 32;
46*5113495bSYour Name              uint32_t base_pn_127_96                                          : 32;
47*5113495bSYour Name              uint32_t ht_control_field_bw20                                   : 32;
48*5113495bSYour Name              uint32_t ht_control_field_bw40                                   : 32;
49*5113495bSYour Name              uint32_t ht_control_field_bw80                                   : 32;
50*5113495bSYour Name              uint32_t ht_control_field_bw160                                  : 32;
51*5113495bSYour Name              uint32_t ht_control_overwrite_mask                               : 32;
52*5113495bSYour Name              uint32_t cas_control_info                                        :  8,
53*5113495bSYour Name                       cas_offset                                              :  5,
54*5113495bSYour Name                       cas_insertion_enable                                    :  1,
55*5113495bSYour Name                       reserved_10a                                            :  2,
56*5113495bSYour Name                       ht_control_overwrite_source_for_srp                     :  4,
57*5113495bSYour Name                       ht_control_overwrite_source_for_bsrp                    :  4,
58*5113495bSYour Name                       reserved_10b                                            :  6,
59*5113495bSYour Name                       mpdu_hdr_len_override_en                                :  1,
60*5113495bSYour Name                       bar_ssn_overwrite_enable                                :  1;
61*5113495bSYour Name              uint32_t bar_ssn_offset                                          : 12,
62*5113495bSYour Name                       mpdu_hdr_len_override_val                               :  9,
63*5113495bSYour Name                       reserved_11a                                            : 11;
64*5113495bSYour Name              uint32_t ht_control_field_bw320                                  : 32;
65*5113495bSYour Name              uint32_t fw2sw_info                                              : 32;
66*5113495bSYour Name #else
67*5113495bSYour Name              uint32_t qos_ctl                                                 : 16,
68*5113495bSYour Name                       frame_ctl                                               : 16;
69*5113495bSYour Name              uint32_t reserved_1b                                             :  6,
70*5113495bSYour Name                       ht_control_overwrite_source                             :  4,
71*5113495bSYour Name                       ht_control_overwrite_enable                             :  1,
72*5113495bSYour Name                       buf_state_source                                        :  1,
73*5113495bSYour Name                       buf_state_sta_id                                        :  1,
74*5113495bSYour Name                       qos_buf_state_overwrite                                 :  1,
75*5113495bSYour Name                       key_id                                                  :  8,
76*5113495bSYour Name                       checksum_tso_disable_for_frag                           :  1,
77*5113495bSYour Name                       reserved_1a                                             :  7,
78*5113495bSYour Name                       tx_notify_no_htc_override                               :  1,
79*5113495bSYour Name                       ampdu_flag                                              :  1;
80*5113495bSYour Name              uint32_t base_pn_63_48                                           : 16,
81*5113495bSYour Name                       bqr_rsvd_9_8                                            :  2,
82*5113495bSYour Name                       ul_headroom_rsvd_7_6                                    :  2,
83*5113495bSYour Name                       bqrp_offset                                             :  5,
84*5113495bSYour Name                       bqrp_insertion_enable                                   :  1,
85*5113495bSYour Name                       ul_headroom_offset                                      :  5,
86*5113495bSYour Name                       ul_headroom_insertion_enable                            :  1;
87*5113495bSYour Name              uint32_t base_pn_95_64                                           : 32;
88*5113495bSYour Name              uint32_t base_pn_127_96                                          : 32;
89*5113495bSYour Name              uint32_t ht_control_field_bw20                                   : 32;
90*5113495bSYour Name              uint32_t ht_control_field_bw40                                   : 32;
91*5113495bSYour Name              uint32_t ht_control_field_bw80                                   : 32;
92*5113495bSYour Name              uint32_t ht_control_field_bw160                                  : 32;
93*5113495bSYour Name              uint32_t ht_control_overwrite_mask                               : 32;
94*5113495bSYour Name              uint32_t bar_ssn_overwrite_enable                                :  1,
95*5113495bSYour Name                       mpdu_hdr_len_override_en                                :  1,
96*5113495bSYour Name                       reserved_10b                                            :  6,
97*5113495bSYour Name                       ht_control_overwrite_source_for_bsrp                    :  4,
98*5113495bSYour Name                       ht_control_overwrite_source_for_srp                     :  4,
99*5113495bSYour Name                       reserved_10a                                            :  2,
100*5113495bSYour Name                       cas_insertion_enable                                    :  1,
101*5113495bSYour Name                       cas_offset                                              :  5,
102*5113495bSYour Name                       cas_control_info                                        :  8;
103*5113495bSYour Name              uint32_t reserved_11a                                            : 11,
104*5113495bSYour Name                       mpdu_hdr_len_override_val                               :  9,
105*5113495bSYour Name                       bar_ssn_offset                                          : 12;
106*5113495bSYour Name              uint32_t ht_control_field_bw320                                  : 32;
107*5113495bSYour Name              uint32_t fw2sw_info                                              : 32;
108*5113495bSYour Name #endif
109*5113495bSYour Name };
110*5113495bSYour Name 
111*5113495bSYour Name #define TX_QUEUE_EXTENSION_FRAME_CTL_OFFSET                                         0x00000000
112*5113495bSYour Name #define TX_QUEUE_EXTENSION_FRAME_CTL_LSB                                            0
113*5113495bSYour Name #define TX_QUEUE_EXTENSION_FRAME_CTL_MSB                                            15
114*5113495bSYour Name #define TX_QUEUE_EXTENSION_FRAME_CTL_MASK                                           0x0000ffff
115*5113495bSYour Name 
116*5113495bSYour Name #define TX_QUEUE_EXTENSION_QOS_CTL_OFFSET                                           0x00000000
117*5113495bSYour Name #define TX_QUEUE_EXTENSION_QOS_CTL_LSB                                              16
118*5113495bSYour Name #define TX_QUEUE_EXTENSION_QOS_CTL_MSB                                              31
119*5113495bSYour Name #define TX_QUEUE_EXTENSION_QOS_CTL_MASK                                             0xffff0000
120*5113495bSYour Name 
121*5113495bSYour Name #define TX_QUEUE_EXTENSION_AMPDU_FLAG_OFFSET                                        0x00000004
122*5113495bSYour Name #define TX_QUEUE_EXTENSION_AMPDU_FLAG_LSB                                           0
123*5113495bSYour Name #define TX_QUEUE_EXTENSION_AMPDU_FLAG_MSB                                           0
124*5113495bSYour Name #define TX_QUEUE_EXTENSION_AMPDU_FLAG_MASK                                          0x00000001
125*5113495bSYour Name 
126*5113495bSYour Name #define TX_QUEUE_EXTENSION_TX_NOTIFY_NO_HTC_OVERRIDE_OFFSET                         0x00000004
127*5113495bSYour Name #define TX_QUEUE_EXTENSION_TX_NOTIFY_NO_HTC_OVERRIDE_LSB                            1
128*5113495bSYour Name #define TX_QUEUE_EXTENSION_TX_NOTIFY_NO_HTC_OVERRIDE_MSB                            1
129*5113495bSYour Name #define TX_QUEUE_EXTENSION_TX_NOTIFY_NO_HTC_OVERRIDE_MASK                           0x00000002
130*5113495bSYour Name 
131*5113495bSYour Name #define TX_QUEUE_EXTENSION_RESERVED_1A_OFFSET                                       0x00000004
132*5113495bSYour Name #define TX_QUEUE_EXTENSION_RESERVED_1A_LSB                                          2
133*5113495bSYour Name #define TX_QUEUE_EXTENSION_RESERVED_1A_MSB                                          8
134*5113495bSYour Name #define TX_QUEUE_EXTENSION_RESERVED_1A_MASK                                         0x000001fc
135*5113495bSYour Name 
136*5113495bSYour Name #define TX_QUEUE_EXTENSION_CHECKSUM_TSO_DISABLE_FOR_FRAG_OFFSET                     0x00000004
137*5113495bSYour Name #define TX_QUEUE_EXTENSION_CHECKSUM_TSO_DISABLE_FOR_FRAG_LSB                        9
138*5113495bSYour Name #define TX_QUEUE_EXTENSION_CHECKSUM_TSO_DISABLE_FOR_FRAG_MSB                        9
139*5113495bSYour Name #define TX_QUEUE_EXTENSION_CHECKSUM_TSO_DISABLE_FOR_FRAG_MASK                       0x00000200
140*5113495bSYour Name 
141*5113495bSYour Name #define TX_QUEUE_EXTENSION_KEY_ID_OFFSET                                            0x00000004
142*5113495bSYour Name #define TX_QUEUE_EXTENSION_KEY_ID_LSB                                               10
143*5113495bSYour Name #define TX_QUEUE_EXTENSION_KEY_ID_MSB                                               17
144*5113495bSYour Name #define TX_QUEUE_EXTENSION_KEY_ID_MASK                                              0x0003fc00
145*5113495bSYour Name 
146*5113495bSYour Name #define TX_QUEUE_EXTENSION_QOS_BUF_STATE_OVERWRITE_OFFSET                           0x00000004
147*5113495bSYour Name #define TX_QUEUE_EXTENSION_QOS_BUF_STATE_OVERWRITE_LSB                              18
148*5113495bSYour Name #define TX_QUEUE_EXTENSION_QOS_BUF_STATE_OVERWRITE_MSB                              18
149*5113495bSYour Name #define TX_QUEUE_EXTENSION_QOS_BUF_STATE_OVERWRITE_MASK                             0x00040000
150*5113495bSYour Name 
151*5113495bSYour Name #define TX_QUEUE_EXTENSION_BUF_STATE_STA_ID_OFFSET                                  0x00000004
152*5113495bSYour Name #define TX_QUEUE_EXTENSION_BUF_STATE_STA_ID_LSB                                     19
153*5113495bSYour Name #define TX_QUEUE_EXTENSION_BUF_STATE_STA_ID_MSB                                     19
154*5113495bSYour Name #define TX_QUEUE_EXTENSION_BUF_STATE_STA_ID_MASK                                    0x00080000
155*5113495bSYour Name 
156*5113495bSYour Name #define TX_QUEUE_EXTENSION_BUF_STATE_SOURCE_OFFSET                                  0x00000004
157*5113495bSYour Name #define TX_QUEUE_EXTENSION_BUF_STATE_SOURCE_LSB                                     20
158*5113495bSYour Name #define TX_QUEUE_EXTENSION_BUF_STATE_SOURCE_MSB                                     20
159*5113495bSYour Name #define TX_QUEUE_EXTENSION_BUF_STATE_SOURCE_MASK                                    0x00100000
160*5113495bSYour Name 
161*5113495bSYour Name #define TX_QUEUE_EXTENSION_HT_CONTROL_OVERWRITE_ENABLE_OFFSET                       0x00000004
162*5113495bSYour Name #define TX_QUEUE_EXTENSION_HT_CONTROL_OVERWRITE_ENABLE_LSB                          21
163*5113495bSYour Name #define TX_QUEUE_EXTENSION_HT_CONTROL_OVERWRITE_ENABLE_MSB                          21
164*5113495bSYour Name #define TX_QUEUE_EXTENSION_HT_CONTROL_OVERWRITE_ENABLE_MASK                         0x00200000
165*5113495bSYour Name 
166*5113495bSYour Name #define TX_QUEUE_EXTENSION_HT_CONTROL_OVERWRITE_SOURCE_OFFSET                       0x00000004
167*5113495bSYour Name #define TX_QUEUE_EXTENSION_HT_CONTROL_OVERWRITE_SOURCE_LSB                          22
168*5113495bSYour Name #define TX_QUEUE_EXTENSION_HT_CONTROL_OVERWRITE_SOURCE_MSB                          25
169*5113495bSYour Name #define TX_QUEUE_EXTENSION_HT_CONTROL_OVERWRITE_SOURCE_MASK                         0x03c00000
170*5113495bSYour Name 
171*5113495bSYour Name #define TX_QUEUE_EXTENSION_RESERVED_1B_OFFSET                                       0x00000004
172*5113495bSYour Name #define TX_QUEUE_EXTENSION_RESERVED_1B_LSB                                          26
173*5113495bSYour Name #define TX_QUEUE_EXTENSION_RESERVED_1B_MSB                                          31
174*5113495bSYour Name #define TX_QUEUE_EXTENSION_RESERVED_1B_MASK                                         0xfc000000
175*5113495bSYour Name 
176*5113495bSYour Name #define TX_QUEUE_EXTENSION_UL_HEADROOM_INSERTION_ENABLE_OFFSET                      0x00000008
177*5113495bSYour Name #define TX_QUEUE_EXTENSION_UL_HEADROOM_INSERTION_ENABLE_LSB                         0
178*5113495bSYour Name #define TX_QUEUE_EXTENSION_UL_HEADROOM_INSERTION_ENABLE_MSB                         0
179*5113495bSYour Name #define TX_QUEUE_EXTENSION_UL_HEADROOM_INSERTION_ENABLE_MASK                        0x00000001
180*5113495bSYour Name 
181*5113495bSYour Name #define TX_QUEUE_EXTENSION_UL_HEADROOM_OFFSET_OFFSET                                0x00000008
182*5113495bSYour Name #define TX_QUEUE_EXTENSION_UL_HEADROOM_OFFSET_LSB                                   1
183*5113495bSYour Name #define TX_QUEUE_EXTENSION_UL_HEADROOM_OFFSET_MSB                                   5
184*5113495bSYour Name #define TX_QUEUE_EXTENSION_UL_HEADROOM_OFFSET_MASK                                  0x0000003e
185*5113495bSYour Name 
186*5113495bSYour Name #define TX_QUEUE_EXTENSION_BQRP_INSERTION_ENABLE_OFFSET                             0x00000008
187*5113495bSYour Name #define TX_QUEUE_EXTENSION_BQRP_INSERTION_ENABLE_LSB                                6
188*5113495bSYour Name #define TX_QUEUE_EXTENSION_BQRP_INSERTION_ENABLE_MSB                                6
189*5113495bSYour Name #define TX_QUEUE_EXTENSION_BQRP_INSERTION_ENABLE_MASK                               0x00000040
190*5113495bSYour Name 
191*5113495bSYour Name #define TX_QUEUE_EXTENSION_BQRP_OFFSET_OFFSET                                       0x00000008
192*5113495bSYour Name #define TX_QUEUE_EXTENSION_BQRP_OFFSET_LSB                                          7
193*5113495bSYour Name #define TX_QUEUE_EXTENSION_BQRP_OFFSET_MSB                                          11
194*5113495bSYour Name #define TX_QUEUE_EXTENSION_BQRP_OFFSET_MASK                                         0x00000f80
195*5113495bSYour Name 
196*5113495bSYour Name #define TX_QUEUE_EXTENSION_UL_HEADROOM_RSVD_7_6_OFFSET                              0x00000008
197*5113495bSYour Name #define TX_QUEUE_EXTENSION_UL_HEADROOM_RSVD_7_6_LSB                                 12
198*5113495bSYour Name #define TX_QUEUE_EXTENSION_UL_HEADROOM_RSVD_7_6_MSB                                 13
199*5113495bSYour Name #define TX_QUEUE_EXTENSION_UL_HEADROOM_RSVD_7_6_MASK                                0x00003000
200*5113495bSYour Name 
201*5113495bSYour Name #define TX_QUEUE_EXTENSION_BQR_RSVD_9_8_OFFSET                                      0x00000008
202*5113495bSYour Name #define TX_QUEUE_EXTENSION_BQR_RSVD_9_8_LSB                                         14
203*5113495bSYour Name #define TX_QUEUE_EXTENSION_BQR_RSVD_9_8_MSB                                         15
204*5113495bSYour Name #define TX_QUEUE_EXTENSION_BQR_RSVD_9_8_MASK                                        0x0000c000
205*5113495bSYour Name 
206*5113495bSYour Name #define TX_QUEUE_EXTENSION_BASE_PN_63_48_OFFSET                                     0x00000008
207*5113495bSYour Name #define TX_QUEUE_EXTENSION_BASE_PN_63_48_LSB                                        16
208*5113495bSYour Name #define TX_QUEUE_EXTENSION_BASE_PN_63_48_MSB                                        31
209*5113495bSYour Name #define TX_QUEUE_EXTENSION_BASE_PN_63_48_MASK                                       0xffff0000
210*5113495bSYour Name 
211*5113495bSYour Name #define TX_QUEUE_EXTENSION_BASE_PN_95_64_OFFSET                                     0x0000000c
212*5113495bSYour Name #define TX_QUEUE_EXTENSION_BASE_PN_95_64_LSB                                        0
213*5113495bSYour Name #define TX_QUEUE_EXTENSION_BASE_PN_95_64_MSB                                        31
214*5113495bSYour Name #define TX_QUEUE_EXTENSION_BASE_PN_95_64_MASK                                       0xffffffff
215*5113495bSYour Name 
216*5113495bSYour Name #define TX_QUEUE_EXTENSION_BASE_PN_127_96_OFFSET                                    0x00000010
217*5113495bSYour Name #define TX_QUEUE_EXTENSION_BASE_PN_127_96_LSB                                       0
218*5113495bSYour Name #define TX_QUEUE_EXTENSION_BASE_PN_127_96_MSB                                       31
219*5113495bSYour Name #define TX_QUEUE_EXTENSION_BASE_PN_127_96_MASK                                      0xffffffff
220*5113495bSYour Name 
221*5113495bSYour Name #define TX_QUEUE_EXTENSION_HT_CONTROL_FIELD_BW20_OFFSET                             0x00000014
222*5113495bSYour Name #define TX_QUEUE_EXTENSION_HT_CONTROL_FIELD_BW20_LSB                                0
223*5113495bSYour Name #define TX_QUEUE_EXTENSION_HT_CONTROL_FIELD_BW20_MSB                                31
224*5113495bSYour Name #define TX_QUEUE_EXTENSION_HT_CONTROL_FIELD_BW20_MASK                               0xffffffff
225*5113495bSYour Name 
226*5113495bSYour Name #define TX_QUEUE_EXTENSION_HT_CONTROL_FIELD_BW40_OFFSET                             0x00000018
227*5113495bSYour Name #define TX_QUEUE_EXTENSION_HT_CONTROL_FIELD_BW40_LSB                                0
228*5113495bSYour Name #define TX_QUEUE_EXTENSION_HT_CONTROL_FIELD_BW40_MSB                                31
229*5113495bSYour Name #define TX_QUEUE_EXTENSION_HT_CONTROL_FIELD_BW40_MASK                               0xffffffff
230*5113495bSYour Name 
231*5113495bSYour Name #define TX_QUEUE_EXTENSION_HT_CONTROL_FIELD_BW80_OFFSET                             0x0000001c
232*5113495bSYour Name #define TX_QUEUE_EXTENSION_HT_CONTROL_FIELD_BW80_LSB                                0
233*5113495bSYour Name #define TX_QUEUE_EXTENSION_HT_CONTROL_FIELD_BW80_MSB                                31
234*5113495bSYour Name #define TX_QUEUE_EXTENSION_HT_CONTROL_FIELD_BW80_MASK                               0xffffffff
235*5113495bSYour Name 
236*5113495bSYour Name #define TX_QUEUE_EXTENSION_HT_CONTROL_FIELD_BW160_OFFSET                            0x00000020
237*5113495bSYour Name #define TX_QUEUE_EXTENSION_HT_CONTROL_FIELD_BW160_LSB                               0
238*5113495bSYour Name #define TX_QUEUE_EXTENSION_HT_CONTROL_FIELD_BW160_MSB                               31
239*5113495bSYour Name #define TX_QUEUE_EXTENSION_HT_CONTROL_FIELD_BW160_MASK                              0xffffffff
240*5113495bSYour Name 
241*5113495bSYour Name #define TX_QUEUE_EXTENSION_HT_CONTROL_OVERWRITE_MASK_OFFSET                         0x00000024
242*5113495bSYour Name #define TX_QUEUE_EXTENSION_HT_CONTROL_OVERWRITE_MASK_LSB                            0
243*5113495bSYour Name #define TX_QUEUE_EXTENSION_HT_CONTROL_OVERWRITE_MASK_MSB                            31
244*5113495bSYour Name #define TX_QUEUE_EXTENSION_HT_CONTROL_OVERWRITE_MASK_MASK                           0xffffffff
245*5113495bSYour Name 
246*5113495bSYour Name #define TX_QUEUE_EXTENSION_CAS_CONTROL_INFO_OFFSET                                  0x00000028
247*5113495bSYour Name #define TX_QUEUE_EXTENSION_CAS_CONTROL_INFO_LSB                                     0
248*5113495bSYour Name #define TX_QUEUE_EXTENSION_CAS_CONTROL_INFO_MSB                                     7
249*5113495bSYour Name #define TX_QUEUE_EXTENSION_CAS_CONTROL_INFO_MASK                                    0x000000ff
250*5113495bSYour Name 
251*5113495bSYour Name #define TX_QUEUE_EXTENSION_CAS_OFFSET_OFFSET                                        0x00000028
252*5113495bSYour Name #define TX_QUEUE_EXTENSION_CAS_OFFSET_LSB                                           8
253*5113495bSYour Name #define TX_QUEUE_EXTENSION_CAS_OFFSET_MSB                                           12
254*5113495bSYour Name #define TX_QUEUE_EXTENSION_CAS_OFFSET_MASK                                          0x00001f00
255*5113495bSYour Name 
256*5113495bSYour Name #define TX_QUEUE_EXTENSION_CAS_INSERTION_ENABLE_OFFSET                              0x00000028
257*5113495bSYour Name #define TX_QUEUE_EXTENSION_CAS_INSERTION_ENABLE_LSB                                 13
258*5113495bSYour Name #define TX_QUEUE_EXTENSION_CAS_INSERTION_ENABLE_MSB                                 13
259*5113495bSYour Name #define TX_QUEUE_EXTENSION_CAS_INSERTION_ENABLE_MASK                                0x00002000
260*5113495bSYour Name 
261*5113495bSYour Name #define TX_QUEUE_EXTENSION_RESERVED_10A_OFFSET                                      0x00000028
262*5113495bSYour Name #define TX_QUEUE_EXTENSION_RESERVED_10A_LSB                                         14
263*5113495bSYour Name #define TX_QUEUE_EXTENSION_RESERVED_10A_MSB                                         15
264*5113495bSYour Name #define TX_QUEUE_EXTENSION_RESERVED_10A_MASK                                        0x0000c000
265*5113495bSYour Name 
266*5113495bSYour Name #define TX_QUEUE_EXTENSION_HT_CONTROL_OVERWRITE_SOURCE_FOR_SRP_OFFSET               0x00000028
267*5113495bSYour Name #define TX_QUEUE_EXTENSION_HT_CONTROL_OVERWRITE_SOURCE_FOR_SRP_LSB                  16
268*5113495bSYour Name #define TX_QUEUE_EXTENSION_HT_CONTROL_OVERWRITE_SOURCE_FOR_SRP_MSB                  19
269*5113495bSYour Name #define TX_QUEUE_EXTENSION_HT_CONTROL_OVERWRITE_SOURCE_FOR_SRP_MASK                 0x000f0000
270*5113495bSYour Name 
271*5113495bSYour Name #define TX_QUEUE_EXTENSION_HT_CONTROL_OVERWRITE_SOURCE_FOR_BSRP_OFFSET              0x00000028
272*5113495bSYour Name #define TX_QUEUE_EXTENSION_HT_CONTROL_OVERWRITE_SOURCE_FOR_BSRP_LSB                 20
273*5113495bSYour Name #define TX_QUEUE_EXTENSION_HT_CONTROL_OVERWRITE_SOURCE_FOR_BSRP_MSB                 23
274*5113495bSYour Name #define TX_QUEUE_EXTENSION_HT_CONTROL_OVERWRITE_SOURCE_FOR_BSRP_MASK                0x00f00000
275*5113495bSYour Name 
276*5113495bSYour Name #define TX_QUEUE_EXTENSION_RESERVED_10B_OFFSET                                      0x00000028
277*5113495bSYour Name #define TX_QUEUE_EXTENSION_RESERVED_10B_LSB                                         24
278*5113495bSYour Name #define TX_QUEUE_EXTENSION_RESERVED_10B_MSB                                         29
279*5113495bSYour Name #define TX_QUEUE_EXTENSION_RESERVED_10B_MASK                                        0x3f000000
280*5113495bSYour Name 
281*5113495bSYour Name #define TX_QUEUE_EXTENSION_MPDU_HDR_LEN_OVERRIDE_EN_OFFSET                          0x00000028
282*5113495bSYour Name #define TX_QUEUE_EXTENSION_MPDU_HDR_LEN_OVERRIDE_EN_LSB                             30
283*5113495bSYour Name #define TX_QUEUE_EXTENSION_MPDU_HDR_LEN_OVERRIDE_EN_MSB                             30
284*5113495bSYour Name #define TX_QUEUE_EXTENSION_MPDU_HDR_LEN_OVERRIDE_EN_MASK                            0x40000000
285*5113495bSYour Name 
286*5113495bSYour Name #define TX_QUEUE_EXTENSION_BAR_SSN_OVERWRITE_ENABLE_OFFSET                          0x00000028
287*5113495bSYour Name #define TX_QUEUE_EXTENSION_BAR_SSN_OVERWRITE_ENABLE_LSB                             31
288*5113495bSYour Name #define TX_QUEUE_EXTENSION_BAR_SSN_OVERWRITE_ENABLE_MSB                             31
289*5113495bSYour Name #define TX_QUEUE_EXTENSION_BAR_SSN_OVERWRITE_ENABLE_MASK                            0x80000000
290*5113495bSYour Name 
291*5113495bSYour Name #define TX_QUEUE_EXTENSION_BAR_SSN_OFFSET_OFFSET                                    0x0000002c
292*5113495bSYour Name #define TX_QUEUE_EXTENSION_BAR_SSN_OFFSET_LSB                                       0
293*5113495bSYour Name #define TX_QUEUE_EXTENSION_BAR_SSN_OFFSET_MSB                                       11
294*5113495bSYour Name #define TX_QUEUE_EXTENSION_BAR_SSN_OFFSET_MASK                                      0x00000fff
295*5113495bSYour Name 
296*5113495bSYour Name #define TX_QUEUE_EXTENSION_MPDU_HDR_LEN_OVERRIDE_VAL_OFFSET                         0x0000002c
297*5113495bSYour Name #define TX_QUEUE_EXTENSION_MPDU_HDR_LEN_OVERRIDE_VAL_LSB                            12
298*5113495bSYour Name #define TX_QUEUE_EXTENSION_MPDU_HDR_LEN_OVERRIDE_VAL_MSB                            20
299*5113495bSYour Name #define TX_QUEUE_EXTENSION_MPDU_HDR_LEN_OVERRIDE_VAL_MASK                           0x001ff000
300*5113495bSYour Name 
301*5113495bSYour Name #define TX_QUEUE_EXTENSION_RESERVED_11A_OFFSET                                      0x0000002c
302*5113495bSYour Name #define TX_QUEUE_EXTENSION_RESERVED_11A_LSB                                         21
303*5113495bSYour Name #define TX_QUEUE_EXTENSION_RESERVED_11A_MSB                                         31
304*5113495bSYour Name #define TX_QUEUE_EXTENSION_RESERVED_11A_MASK                                        0xffe00000
305*5113495bSYour Name 
306*5113495bSYour Name #define TX_QUEUE_EXTENSION_HT_CONTROL_FIELD_BW320_OFFSET                            0x00000030
307*5113495bSYour Name #define TX_QUEUE_EXTENSION_HT_CONTROL_FIELD_BW320_LSB                               0
308*5113495bSYour Name #define TX_QUEUE_EXTENSION_HT_CONTROL_FIELD_BW320_MSB                               31
309*5113495bSYour Name #define TX_QUEUE_EXTENSION_HT_CONTROL_FIELD_BW320_MASK                              0xffffffff
310*5113495bSYour Name 
311*5113495bSYour Name #define TX_QUEUE_EXTENSION_FW2SW_INFO_OFFSET                                        0x00000034
312*5113495bSYour Name #define TX_QUEUE_EXTENSION_FW2SW_INFO_LSB                                           0
313*5113495bSYour Name #define TX_QUEUE_EXTENSION_FW2SW_INFO_MSB                                           31
314*5113495bSYour Name #define TX_QUEUE_EXTENSION_FW2SW_INFO_MASK                                          0xffffffff
315*5113495bSYour Name 
316*5113495bSYour Name #endif
317