xref: /wlan-driver/fw-api/hw/qca5424/rx_frame_bitmap_req.h (revision 5113495b16420b49004c444715d2daae2066e7dc)
1*5113495bSYour Name 
2*5113495bSYour Name /*
3*5113495bSYour Name  * Copyright (c) 2024, Qualcomm Innovation Center, Inc. All rights reserved.
4*5113495bSYour Name  * SPDX-License-Identifier: ISC
5*5113495bSYour Name  */
6*5113495bSYour Name 
7*5113495bSYour Name 
8*5113495bSYour Name 
9*5113495bSYour Name 
10*5113495bSYour Name 
11*5113495bSYour Name 
12*5113495bSYour Name 
13*5113495bSYour Name 
14*5113495bSYour Name 
15*5113495bSYour Name 
16*5113495bSYour Name 
17*5113495bSYour Name 
18*5113495bSYour Name 
19*5113495bSYour Name #ifndef _RX_FRAME_BITMAP_REQ_H_
20*5113495bSYour Name #define _RX_FRAME_BITMAP_REQ_H_
21*5113495bSYour Name #if !defined(__ASSEMBLER__)
22*5113495bSYour Name #endif
23*5113495bSYour Name 
24*5113495bSYour Name #define NUM_OF_DWORDS_RX_FRAME_BITMAP_REQ 2
25*5113495bSYour Name 
26*5113495bSYour Name #define NUM_OF_QWORDS_RX_FRAME_BITMAP_REQ 1
27*5113495bSYour Name 
28*5113495bSYour Name 
29*5113495bSYour Name struct rx_frame_bitmap_req {
30*5113495bSYour Name #ifndef WIFI_BIT_ORDER_BIG_ENDIAN
31*5113495bSYour Name              uint32_t explicit_user_request                                   :  1,
32*5113495bSYour Name                       user_request_type                                       :  1,
33*5113495bSYour Name                       user_number                                             :  6,
34*5113495bSYour Name                       sw_peer_id                                              : 16,
35*5113495bSYour Name                       tid_specific_request                                    :  1,
36*5113495bSYour Name                       requested_tid                                           :  4,
37*5113495bSYour Name                       reserved_0                                              :  3;
38*5113495bSYour Name              uint32_t tlv64_padding                                           : 32;
39*5113495bSYour Name #else
40*5113495bSYour Name              uint32_t reserved_0                                              :  3,
41*5113495bSYour Name                       requested_tid                                           :  4,
42*5113495bSYour Name                       tid_specific_request                                    :  1,
43*5113495bSYour Name                       sw_peer_id                                              : 16,
44*5113495bSYour Name                       user_number                                             :  6,
45*5113495bSYour Name                       user_request_type                                       :  1,
46*5113495bSYour Name                       explicit_user_request                                   :  1;
47*5113495bSYour Name              uint32_t tlv64_padding                                           : 32;
48*5113495bSYour Name #endif
49*5113495bSYour Name };
50*5113495bSYour Name 
51*5113495bSYour Name 
52*5113495bSYour Name 
53*5113495bSYour Name 
54*5113495bSYour Name #define RX_FRAME_BITMAP_REQ_EXPLICIT_USER_REQUEST_OFFSET                            0x0000000000000000
55*5113495bSYour Name #define RX_FRAME_BITMAP_REQ_EXPLICIT_USER_REQUEST_LSB                               0
56*5113495bSYour Name #define RX_FRAME_BITMAP_REQ_EXPLICIT_USER_REQUEST_MSB                               0
57*5113495bSYour Name #define RX_FRAME_BITMAP_REQ_EXPLICIT_USER_REQUEST_MASK                              0x0000000000000001
58*5113495bSYour Name 
59*5113495bSYour Name 
60*5113495bSYour Name 
61*5113495bSYour Name 
62*5113495bSYour Name #define RX_FRAME_BITMAP_REQ_USER_REQUEST_TYPE_OFFSET                                0x0000000000000000
63*5113495bSYour Name #define RX_FRAME_BITMAP_REQ_USER_REQUEST_TYPE_LSB                                   1
64*5113495bSYour Name #define RX_FRAME_BITMAP_REQ_USER_REQUEST_TYPE_MSB                                   1
65*5113495bSYour Name #define RX_FRAME_BITMAP_REQ_USER_REQUEST_TYPE_MASK                                  0x0000000000000002
66*5113495bSYour Name 
67*5113495bSYour Name 
68*5113495bSYour Name 
69*5113495bSYour Name 
70*5113495bSYour Name #define RX_FRAME_BITMAP_REQ_USER_NUMBER_OFFSET                                      0x0000000000000000
71*5113495bSYour Name #define RX_FRAME_BITMAP_REQ_USER_NUMBER_LSB                                         2
72*5113495bSYour Name #define RX_FRAME_BITMAP_REQ_USER_NUMBER_MSB                                         7
73*5113495bSYour Name #define RX_FRAME_BITMAP_REQ_USER_NUMBER_MASK                                        0x00000000000000fc
74*5113495bSYour Name 
75*5113495bSYour Name 
76*5113495bSYour Name 
77*5113495bSYour Name 
78*5113495bSYour Name #define RX_FRAME_BITMAP_REQ_SW_PEER_ID_OFFSET                                       0x0000000000000000
79*5113495bSYour Name #define RX_FRAME_BITMAP_REQ_SW_PEER_ID_LSB                                          8
80*5113495bSYour Name #define RX_FRAME_BITMAP_REQ_SW_PEER_ID_MSB                                          23
81*5113495bSYour Name #define RX_FRAME_BITMAP_REQ_SW_PEER_ID_MASK                                         0x0000000000ffff00
82*5113495bSYour Name 
83*5113495bSYour Name 
84*5113495bSYour Name 
85*5113495bSYour Name 
86*5113495bSYour Name #define RX_FRAME_BITMAP_REQ_TID_SPECIFIC_REQUEST_OFFSET                             0x0000000000000000
87*5113495bSYour Name #define RX_FRAME_BITMAP_REQ_TID_SPECIFIC_REQUEST_LSB                                24
88*5113495bSYour Name #define RX_FRAME_BITMAP_REQ_TID_SPECIFIC_REQUEST_MSB                                24
89*5113495bSYour Name #define RX_FRAME_BITMAP_REQ_TID_SPECIFIC_REQUEST_MASK                               0x0000000001000000
90*5113495bSYour Name 
91*5113495bSYour Name 
92*5113495bSYour Name 
93*5113495bSYour Name 
94*5113495bSYour Name #define RX_FRAME_BITMAP_REQ_REQUESTED_TID_OFFSET                                    0x0000000000000000
95*5113495bSYour Name #define RX_FRAME_BITMAP_REQ_REQUESTED_TID_LSB                                       25
96*5113495bSYour Name #define RX_FRAME_BITMAP_REQ_REQUESTED_TID_MSB                                       28
97*5113495bSYour Name #define RX_FRAME_BITMAP_REQ_REQUESTED_TID_MASK                                      0x000000001e000000
98*5113495bSYour Name 
99*5113495bSYour Name 
100*5113495bSYour Name 
101*5113495bSYour Name 
102*5113495bSYour Name #define RX_FRAME_BITMAP_REQ_RESERVED_0_OFFSET                                       0x0000000000000000
103*5113495bSYour Name #define RX_FRAME_BITMAP_REQ_RESERVED_0_LSB                                          29
104*5113495bSYour Name #define RX_FRAME_BITMAP_REQ_RESERVED_0_MSB                                          31
105*5113495bSYour Name #define RX_FRAME_BITMAP_REQ_RESERVED_0_MASK                                         0x00000000e0000000
106*5113495bSYour Name 
107*5113495bSYour Name 
108*5113495bSYour Name 
109*5113495bSYour Name 
110*5113495bSYour Name #define RX_FRAME_BITMAP_REQ_TLV64_PADDING_OFFSET                                    0x0000000000000000
111*5113495bSYour Name #define RX_FRAME_BITMAP_REQ_TLV64_PADDING_LSB                                       32
112*5113495bSYour Name #define RX_FRAME_BITMAP_REQ_TLV64_PADDING_MSB                                       63
113*5113495bSYour Name #define RX_FRAME_BITMAP_REQ_TLV64_PADDING_MASK                                      0xffffffff00000000
114*5113495bSYour Name 
115*5113495bSYour Name 
116*5113495bSYour Name 
117*5113495bSYour Name #endif
118