1*5113495bSYour Name /* 2*5113495bSYour Name * Copyright (c) 2020 The Linux Foundation. All rights reserved. 3*5113495bSYour Name * 4*5113495bSYour Name * Permission to use, copy, modify, and/or distribute this software for 5*5113495bSYour Name * any purpose with or without fee is hereby granted, provided that the 6*5113495bSYour Name * above copyright notice and this permission notice appear in all 7*5113495bSYour Name * copies. 8*5113495bSYour Name * 9*5113495bSYour Name * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL 10*5113495bSYour Name * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED 11*5113495bSYour Name * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE 12*5113495bSYour Name * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL 13*5113495bSYour Name * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR 14*5113495bSYour Name * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 15*5113495bSYour Name * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 16*5113495bSYour Name * PERFORMANCE OF THIS SOFTWARE. 17*5113495bSYour Name */ 18*5113495bSYour Name 19*5113495bSYour Name // 20*5113495bSYour Name // DO NOT EDIT! This file is automatically generated 21*5113495bSYour Name // These definitions are tied to a particular hardware layout 22*5113495bSYour Name 23*5113495bSYour Name 24*5113495bSYour Name #ifndef _RX_MPDU_DETAILS_H_ 25*5113495bSYour Name #define _RX_MPDU_DETAILS_H_ 26*5113495bSYour Name #if !defined(__ASSEMBLER__) 27*5113495bSYour Name #endif 28*5113495bSYour Name 29*5113495bSYour Name #include "buffer_addr_info.h" 30*5113495bSYour Name #include "rx_mpdu_desc_info.h" 31*5113495bSYour Name 32*5113495bSYour Name // ################ START SUMMARY ################# 33*5113495bSYour Name // 34*5113495bSYour Name // Dword Fields 35*5113495bSYour Name // 0-1 struct buffer_addr_info msdu_link_desc_addr_info; 36*5113495bSYour Name // 2-3 struct rx_mpdu_desc_info rx_mpdu_desc_info_details; 37*5113495bSYour Name // 38*5113495bSYour Name // ################ END SUMMARY ################# 39*5113495bSYour Name 40*5113495bSYour Name #define NUM_OF_DWORDS_RX_MPDU_DETAILS 4 41*5113495bSYour Name 42*5113495bSYour Name struct rx_mpdu_details { 43*5113495bSYour Name struct buffer_addr_info msdu_link_desc_addr_info; 44*5113495bSYour Name struct rx_mpdu_desc_info rx_mpdu_desc_info_details; 45*5113495bSYour Name }; 46*5113495bSYour Name 47*5113495bSYour Name /* 48*5113495bSYour Name 49*5113495bSYour Name struct buffer_addr_info msdu_link_desc_addr_info 50*5113495bSYour Name 51*5113495bSYour Name Consumer: REO/SW/FW 52*5113495bSYour Name 53*5113495bSYour Name Producer: RXDMA 54*5113495bSYour Name 55*5113495bSYour Name 56*5113495bSYour Name 57*5113495bSYour Name Details of the physical address of the MSDU link 58*5113495bSYour Name descriptor that contains pointers to MSDUs related to this 59*5113495bSYour Name MPDU 60*5113495bSYour Name 61*5113495bSYour Name struct rx_mpdu_desc_info rx_mpdu_desc_info_details 62*5113495bSYour Name 63*5113495bSYour Name Consumer: REO/SW/FW 64*5113495bSYour Name 65*5113495bSYour Name Producer: RXDMA 66*5113495bSYour Name 67*5113495bSYour Name 68*5113495bSYour Name 69*5113495bSYour Name General information related to the MPDU that should be 70*5113495bSYour Name */ 71*5113495bSYour Name 72*5113495bSYour Name 73*5113495bSYour Name /* EXTERNAL REFERENCE : struct buffer_addr_info msdu_link_desc_addr_info */ 74*5113495bSYour Name 75*5113495bSYour Name 76*5113495bSYour Name /* Description RX_MPDU_DETAILS_0_MSDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0 77*5113495bSYour Name 78*5113495bSYour Name Address (lower 32 bits) of the MSDU buffer OR 79*5113495bSYour Name MSDU_EXTENSION descriptor OR Link Descriptor 80*5113495bSYour Name 81*5113495bSYour Name 82*5113495bSYour Name 83*5113495bSYour Name In case of 'NULL' pointer, this field is set to 0 84*5113495bSYour Name 85*5113495bSYour Name <legal all> 86*5113495bSYour Name */ 87*5113495bSYour Name #define RX_MPDU_DETAILS_0_MSDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0_OFFSET 0x00000000 88*5113495bSYour Name #define RX_MPDU_DETAILS_0_MSDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0_LSB 0 89*5113495bSYour Name #define RX_MPDU_DETAILS_0_MSDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0_MASK 0xffffffff 90*5113495bSYour Name 91*5113495bSYour Name /* Description RX_MPDU_DETAILS_1_MSDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32 92*5113495bSYour Name 93*5113495bSYour Name Address (upper 8 bits) of the MSDU buffer OR 94*5113495bSYour Name MSDU_EXTENSION descriptor OR Link Descriptor 95*5113495bSYour Name 96*5113495bSYour Name 97*5113495bSYour Name 98*5113495bSYour Name In case of 'NULL' pointer, this field is set to 0 99*5113495bSYour Name 100*5113495bSYour Name <legal all> 101*5113495bSYour Name */ 102*5113495bSYour Name #define RX_MPDU_DETAILS_1_MSDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32_OFFSET 0x00000004 103*5113495bSYour Name #define RX_MPDU_DETAILS_1_MSDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32_LSB 0 104*5113495bSYour Name #define RX_MPDU_DETAILS_1_MSDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32_MASK 0x000000ff 105*5113495bSYour Name 106*5113495bSYour Name /* Description RX_MPDU_DETAILS_1_MSDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER 107*5113495bSYour Name 108*5113495bSYour Name Consumer: WBM 109*5113495bSYour Name 110*5113495bSYour Name Producer: SW/FW 111*5113495bSYour Name 112*5113495bSYour Name 113*5113495bSYour Name 114*5113495bSYour Name In case of 'NULL' pointer, this field is set to 0 115*5113495bSYour Name 116*5113495bSYour Name 117*5113495bSYour Name 118*5113495bSYour Name Indicates to which buffer manager the buffer OR 119*5113495bSYour Name MSDU_EXTENSION descriptor OR link descriptor that is being 120*5113495bSYour Name pointed to shall be returned after the frame has been 121*5113495bSYour Name processed. It is used by WBM for routing purposes. 122*5113495bSYour Name 123*5113495bSYour Name 124*5113495bSYour Name 125*5113495bSYour Name <enum 0 WBM_IDLE_BUF_LIST> This buffer shall be returned 126*5113495bSYour Name to the WMB buffer idle list 127*5113495bSYour Name 128*5113495bSYour Name <enum 1 WBM_IDLE_DESC_LIST> This buffer shall be 129*5113495bSYour Name returned to the WMB idle link descriptor idle list 130*5113495bSYour Name 131*5113495bSYour Name <enum 2 FW_BM> This buffer shall be returned to the FW 132*5113495bSYour Name 133*5113495bSYour Name <enum 3 SW0_BM> This buffer shall be returned to the SW, 134*5113495bSYour Name ring 0 135*5113495bSYour Name 136*5113495bSYour Name <enum 4 SW1_BM> This buffer shall be returned to the SW, 137*5113495bSYour Name ring 1 138*5113495bSYour Name 139*5113495bSYour Name <enum 5 SW2_BM> This buffer shall be returned to the SW, 140*5113495bSYour Name ring 2 141*5113495bSYour Name 142*5113495bSYour Name <enum 6 SW3_BM> This buffer shall be returned to the SW, 143*5113495bSYour Name ring 3 144*5113495bSYour Name 145*5113495bSYour Name <enum 7 SW4_BM> This buffer shall be returned to the SW, 146*5113495bSYour Name ring 4 147*5113495bSYour Name 148*5113495bSYour Name 149*5113495bSYour Name 150*5113495bSYour Name <legal all> 151*5113495bSYour Name */ 152*5113495bSYour Name #define RX_MPDU_DETAILS_1_MSDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_OFFSET 0x00000004 153*5113495bSYour Name #define RX_MPDU_DETAILS_1_MSDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_LSB 8 154*5113495bSYour Name #define RX_MPDU_DETAILS_1_MSDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_MASK 0x00000700 155*5113495bSYour Name 156*5113495bSYour Name /* Description RX_MPDU_DETAILS_1_MSDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE 157*5113495bSYour Name 158*5113495bSYour Name Cookie field exclusively used by SW. 159*5113495bSYour Name 160*5113495bSYour Name 161*5113495bSYour Name 162*5113495bSYour Name In case of 'NULL' pointer, this field is set to 0 163*5113495bSYour Name 164*5113495bSYour Name 165*5113495bSYour Name 166*5113495bSYour Name HW ignores the contents, accept that it passes the 167*5113495bSYour Name programmed value on to other descriptors together with the 168*5113495bSYour Name physical address 169*5113495bSYour Name 170*5113495bSYour Name 171*5113495bSYour Name 172*5113495bSYour Name Field can be used by SW to for example associate the 173*5113495bSYour Name buffers physical address with the virtual address 174*5113495bSYour Name 175*5113495bSYour Name The bit definitions as used by SW are within SW HLD 176*5113495bSYour Name specification 177*5113495bSYour Name 178*5113495bSYour Name 179*5113495bSYour Name 180*5113495bSYour Name NOTE: 181*5113495bSYour Name 182*5113495bSYour Name The three most significant bits can have a special 183*5113495bSYour Name meaning in case this struct is embedded in a TX_MPDU_DETAILS 184*5113495bSYour Name STRUCT, and field transmit_bw_restriction is set 185*5113495bSYour Name 186*5113495bSYour Name 187*5113495bSYour Name 188*5113495bSYour Name In case of NON punctured transmission: 189*5113495bSYour Name 190*5113495bSYour Name Sw_buffer_cookie[20:19] = 2'b00: 20 MHz TX only 191*5113495bSYour Name 192*5113495bSYour Name Sw_buffer_cookie[20:19] = 2'b01: 40 MHz TX only 193*5113495bSYour Name 194*5113495bSYour Name Sw_buffer_cookie[20:19] = 2'b10: 80 MHz TX only 195*5113495bSYour Name 196*5113495bSYour Name Sw_buffer_cookie[20:19] = 2'b11: 160 MHz TX only 197*5113495bSYour Name 198*5113495bSYour Name 199*5113495bSYour Name 200*5113495bSYour Name In case of punctured transmission: 201*5113495bSYour Name 202*5113495bSYour Name Sw_buffer_cookie[20:18] = 3'b000: pattern 0 only 203*5113495bSYour Name 204*5113495bSYour Name Sw_buffer_cookie[20:18] = 3'b001: pattern 1 only 205*5113495bSYour Name 206*5113495bSYour Name Sw_buffer_cookie[20:18] = 3'b010: pattern 2 only 207*5113495bSYour Name 208*5113495bSYour Name Sw_buffer_cookie[20:18] = 3'b011: pattern 3 only 209*5113495bSYour Name 210*5113495bSYour Name Sw_buffer_cookie[20:18] = 3'b100: pattern 4 only 211*5113495bSYour Name 212*5113495bSYour Name Sw_buffer_cookie[20:18] = 3'b101: pattern 5 only 213*5113495bSYour Name 214*5113495bSYour Name Sw_buffer_cookie[20:18] = 3'b110: pattern 6 only 215*5113495bSYour Name 216*5113495bSYour Name Sw_buffer_cookie[20:18] = 3'b111: pattern 7 only 217*5113495bSYour Name 218*5113495bSYour Name 219*5113495bSYour Name 220*5113495bSYour Name Note: a punctured transmission is indicated by the 221*5113495bSYour Name presence of TLV TX_PUNCTURE_SETUP embedded in the scheduler 222*5113495bSYour Name TLV 223*5113495bSYour Name 224*5113495bSYour Name 225*5113495bSYour Name 226*5113495bSYour Name <legal all> 227*5113495bSYour Name */ 228*5113495bSYour Name #define RX_MPDU_DETAILS_1_MSDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE_OFFSET 0x00000004 229*5113495bSYour Name #define RX_MPDU_DETAILS_1_MSDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE_LSB 11 230*5113495bSYour Name #define RX_MPDU_DETAILS_1_MSDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE_MASK 0xfffff800 231*5113495bSYour Name 232*5113495bSYour Name /* EXTERNAL REFERENCE : struct rx_mpdu_desc_info rx_mpdu_desc_info_details */ 233*5113495bSYour Name 234*5113495bSYour Name 235*5113495bSYour Name /* Description RX_MPDU_DETAILS_2_RX_MPDU_DESC_INFO_DETAILS_MSDU_COUNT 236*5113495bSYour Name 237*5113495bSYour Name Consumer: REO/SW/FW 238*5113495bSYour Name 239*5113495bSYour Name Producer: RXDMA 240*5113495bSYour Name 241*5113495bSYour Name 242*5113495bSYour Name 243*5113495bSYour Name The number of MSDUs within the MPDU 244*5113495bSYour Name 245*5113495bSYour Name <legal all> 246*5113495bSYour Name */ 247*5113495bSYour Name #define RX_MPDU_DETAILS_2_RX_MPDU_DESC_INFO_DETAILS_MSDU_COUNT_OFFSET 0x00000008 248*5113495bSYour Name #define RX_MPDU_DETAILS_2_RX_MPDU_DESC_INFO_DETAILS_MSDU_COUNT_LSB 0 249*5113495bSYour Name #define RX_MPDU_DETAILS_2_RX_MPDU_DESC_INFO_DETAILS_MSDU_COUNT_MASK 0x000000ff 250*5113495bSYour Name 251*5113495bSYour Name /* Description RX_MPDU_DETAILS_2_RX_MPDU_DESC_INFO_DETAILS_MPDU_SEQUENCE_NUMBER 252*5113495bSYour Name 253*5113495bSYour Name Consumer: REO/SW/FW 254*5113495bSYour Name 255*5113495bSYour Name Producer: RXDMA 256*5113495bSYour Name 257*5113495bSYour Name 258*5113495bSYour Name 259*5113495bSYour Name The field can have two different meanings based on the 260*5113495bSYour Name setting of field 'BAR_frame': 261*5113495bSYour Name 262*5113495bSYour Name 263*5113495bSYour Name 264*5113495bSYour Name 'BAR_frame' is NOT set: 265*5113495bSYour Name 266*5113495bSYour Name The MPDU sequence number of the received frame. 267*5113495bSYour Name 268*5113495bSYour Name 269*5113495bSYour Name 270*5113495bSYour Name 'BAR_frame' is set. 271*5113495bSYour Name 272*5113495bSYour Name The MPDU Start sequence number from the BAR frame 273*5113495bSYour Name 274*5113495bSYour Name <legal all> 275*5113495bSYour Name */ 276*5113495bSYour Name #define RX_MPDU_DETAILS_2_RX_MPDU_DESC_INFO_DETAILS_MPDU_SEQUENCE_NUMBER_OFFSET 0x00000008 277*5113495bSYour Name #define RX_MPDU_DETAILS_2_RX_MPDU_DESC_INFO_DETAILS_MPDU_SEQUENCE_NUMBER_LSB 8 278*5113495bSYour Name #define RX_MPDU_DETAILS_2_RX_MPDU_DESC_INFO_DETAILS_MPDU_SEQUENCE_NUMBER_MASK 0x000fff00 279*5113495bSYour Name 280*5113495bSYour Name /* Description RX_MPDU_DETAILS_2_RX_MPDU_DESC_INFO_DETAILS_FRAGMENT_FLAG 281*5113495bSYour Name 282*5113495bSYour Name Consumer: REO/SW/FW 283*5113495bSYour Name 284*5113495bSYour Name Producer: RXDMA 285*5113495bSYour Name 286*5113495bSYour Name 287*5113495bSYour Name 288*5113495bSYour Name When set, this MPDU is a fragment and REO should forward 289*5113495bSYour Name this fragment MPDU to the REO destination ring without any 290*5113495bSYour Name reorder checks, pn checks or bitmap update. This implies 291*5113495bSYour Name that REO is forwarding the pointer to the MSDU link 292*5113495bSYour Name descriptor. The destination ring is coming from a 293*5113495bSYour Name programmable register setting in REO 294*5113495bSYour Name 295*5113495bSYour Name 296*5113495bSYour Name 297*5113495bSYour Name <legal all> 298*5113495bSYour Name */ 299*5113495bSYour Name #define RX_MPDU_DETAILS_2_RX_MPDU_DESC_INFO_DETAILS_FRAGMENT_FLAG_OFFSET 0x00000008 300*5113495bSYour Name #define RX_MPDU_DETAILS_2_RX_MPDU_DESC_INFO_DETAILS_FRAGMENT_FLAG_LSB 20 301*5113495bSYour Name #define RX_MPDU_DETAILS_2_RX_MPDU_DESC_INFO_DETAILS_FRAGMENT_FLAG_MASK 0x00100000 302*5113495bSYour Name 303*5113495bSYour Name /* Description RX_MPDU_DETAILS_2_RX_MPDU_DESC_INFO_DETAILS_MPDU_RETRY_BIT 304*5113495bSYour Name 305*5113495bSYour Name Consumer: REO/SW/FW 306*5113495bSYour Name 307*5113495bSYour Name Producer: RXDMA 308*5113495bSYour Name 309*5113495bSYour Name 310*5113495bSYour Name 311*5113495bSYour Name The retry bit setting from the MPDU header of the 312*5113495bSYour Name received frame 313*5113495bSYour Name 314*5113495bSYour Name <legal all> 315*5113495bSYour Name */ 316*5113495bSYour Name #define RX_MPDU_DETAILS_2_RX_MPDU_DESC_INFO_DETAILS_MPDU_RETRY_BIT_OFFSET 0x00000008 317*5113495bSYour Name #define RX_MPDU_DETAILS_2_RX_MPDU_DESC_INFO_DETAILS_MPDU_RETRY_BIT_LSB 21 318*5113495bSYour Name #define RX_MPDU_DETAILS_2_RX_MPDU_DESC_INFO_DETAILS_MPDU_RETRY_BIT_MASK 0x00200000 319*5113495bSYour Name 320*5113495bSYour Name /* Description RX_MPDU_DETAILS_2_RX_MPDU_DESC_INFO_DETAILS_AMPDU_FLAG 321*5113495bSYour Name 322*5113495bSYour Name Consumer: REO/SW/FW 323*5113495bSYour Name 324*5113495bSYour Name Producer: RXDMA 325*5113495bSYour Name 326*5113495bSYour Name 327*5113495bSYour Name 328*5113495bSYour Name When set, the MPDU was received as part of an A-MPDU. 329*5113495bSYour Name 330*5113495bSYour Name <legal all> 331*5113495bSYour Name */ 332*5113495bSYour Name #define RX_MPDU_DETAILS_2_RX_MPDU_DESC_INFO_DETAILS_AMPDU_FLAG_OFFSET 0x00000008 333*5113495bSYour Name #define RX_MPDU_DETAILS_2_RX_MPDU_DESC_INFO_DETAILS_AMPDU_FLAG_LSB 22 334*5113495bSYour Name #define RX_MPDU_DETAILS_2_RX_MPDU_DESC_INFO_DETAILS_AMPDU_FLAG_MASK 0x00400000 335*5113495bSYour Name 336*5113495bSYour Name /* Description RX_MPDU_DETAILS_2_RX_MPDU_DESC_INFO_DETAILS_BAR_FRAME 337*5113495bSYour Name 338*5113495bSYour Name Consumer: REO/SW/FW 339*5113495bSYour Name 340*5113495bSYour Name Producer: RXDMA 341*5113495bSYour Name 342*5113495bSYour Name 343*5113495bSYour Name 344*5113495bSYour Name When set, the received frame is a BAR frame. After 345*5113495bSYour Name processing, this frame shall be pushed to SW or deleted. 346*5113495bSYour Name 347*5113495bSYour Name <legal all> 348*5113495bSYour Name */ 349*5113495bSYour Name #define RX_MPDU_DETAILS_2_RX_MPDU_DESC_INFO_DETAILS_BAR_FRAME_OFFSET 0x00000008 350*5113495bSYour Name #define RX_MPDU_DETAILS_2_RX_MPDU_DESC_INFO_DETAILS_BAR_FRAME_LSB 23 351*5113495bSYour Name #define RX_MPDU_DETAILS_2_RX_MPDU_DESC_INFO_DETAILS_BAR_FRAME_MASK 0x00800000 352*5113495bSYour Name 353*5113495bSYour Name /* Description RX_MPDU_DETAILS_2_RX_MPDU_DESC_INFO_DETAILS_PN_FIELDS_CONTAIN_VALID_INFO 354*5113495bSYour Name 355*5113495bSYour Name Consumer: REO/SW/FW 356*5113495bSYour Name 357*5113495bSYour Name Producer: RXDMA 358*5113495bSYour Name 359*5113495bSYour Name 360*5113495bSYour Name 361*5113495bSYour Name Copied here by RXDMA from RX_MPDU_END 362*5113495bSYour Name 363*5113495bSYour Name When not set, REO will Not perform a PN sequence number 364*5113495bSYour Name check 365*5113495bSYour Name */ 366*5113495bSYour Name #define RX_MPDU_DETAILS_2_RX_MPDU_DESC_INFO_DETAILS_PN_FIELDS_CONTAIN_VALID_INFO_OFFSET 0x00000008 367*5113495bSYour Name #define RX_MPDU_DETAILS_2_RX_MPDU_DESC_INFO_DETAILS_PN_FIELDS_CONTAIN_VALID_INFO_LSB 24 368*5113495bSYour Name #define RX_MPDU_DETAILS_2_RX_MPDU_DESC_INFO_DETAILS_PN_FIELDS_CONTAIN_VALID_INFO_MASK 0x01000000 369*5113495bSYour Name 370*5113495bSYour Name /* Description RX_MPDU_DETAILS_2_RX_MPDU_DESC_INFO_DETAILS_SA_IS_VALID 371*5113495bSYour Name 372*5113495bSYour Name When set, OLE found a valid SA entry for all MSDUs in 373*5113495bSYour Name this MPDU 374*5113495bSYour Name 375*5113495bSYour Name <legal all> 376*5113495bSYour Name */ 377*5113495bSYour Name #define RX_MPDU_DETAILS_2_RX_MPDU_DESC_INFO_DETAILS_SA_IS_VALID_OFFSET 0x00000008 378*5113495bSYour Name #define RX_MPDU_DETAILS_2_RX_MPDU_DESC_INFO_DETAILS_SA_IS_VALID_LSB 25 379*5113495bSYour Name #define RX_MPDU_DETAILS_2_RX_MPDU_DESC_INFO_DETAILS_SA_IS_VALID_MASK 0x02000000 380*5113495bSYour Name 381*5113495bSYour Name /* Description RX_MPDU_DETAILS_2_RX_MPDU_DESC_INFO_DETAILS_SA_IDX_TIMEOUT 382*5113495bSYour Name 383*5113495bSYour Name When set, at least 1 MSDU within the MPDU has an 384*5113495bSYour Name unsuccessful MAC source address search due to the expiration 385*5113495bSYour Name of the search timer. 386*5113495bSYour Name 387*5113495bSYour Name <legal all> 388*5113495bSYour Name */ 389*5113495bSYour Name #define RX_MPDU_DETAILS_2_RX_MPDU_DESC_INFO_DETAILS_SA_IDX_TIMEOUT_OFFSET 0x00000008 390*5113495bSYour Name #define RX_MPDU_DETAILS_2_RX_MPDU_DESC_INFO_DETAILS_SA_IDX_TIMEOUT_LSB 26 391*5113495bSYour Name #define RX_MPDU_DETAILS_2_RX_MPDU_DESC_INFO_DETAILS_SA_IDX_TIMEOUT_MASK 0x04000000 392*5113495bSYour Name 393*5113495bSYour Name /* Description RX_MPDU_DETAILS_2_RX_MPDU_DESC_INFO_DETAILS_DA_IS_VALID 394*5113495bSYour Name 395*5113495bSYour Name When set, OLE found a valid DA entry for all MSDUs in 396*5113495bSYour Name this MPDU 397*5113495bSYour Name 398*5113495bSYour Name <legal all> 399*5113495bSYour Name */ 400*5113495bSYour Name #define RX_MPDU_DETAILS_2_RX_MPDU_DESC_INFO_DETAILS_DA_IS_VALID_OFFSET 0x00000008 401*5113495bSYour Name #define RX_MPDU_DETAILS_2_RX_MPDU_DESC_INFO_DETAILS_DA_IS_VALID_LSB 27 402*5113495bSYour Name #define RX_MPDU_DETAILS_2_RX_MPDU_DESC_INFO_DETAILS_DA_IS_VALID_MASK 0x08000000 403*5113495bSYour Name 404*5113495bSYour Name /* Description RX_MPDU_DETAILS_2_RX_MPDU_DESC_INFO_DETAILS_DA_IS_MCBC 405*5113495bSYour Name 406*5113495bSYour Name Field Only valid if da_is_valid is set 407*5113495bSYour Name 408*5113495bSYour Name 409*5113495bSYour Name 410*5113495bSYour Name When set, at least one of the DA addresses is a 411*5113495bSYour Name Multicast or Broadcast address. 412*5113495bSYour Name 413*5113495bSYour Name <legal all> 414*5113495bSYour Name */ 415*5113495bSYour Name #define RX_MPDU_DETAILS_2_RX_MPDU_DESC_INFO_DETAILS_DA_IS_MCBC_OFFSET 0x00000008 416*5113495bSYour Name #define RX_MPDU_DETAILS_2_RX_MPDU_DESC_INFO_DETAILS_DA_IS_MCBC_LSB 28 417*5113495bSYour Name #define RX_MPDU_DETAILS_2_RX_MPDU_DESC_INFO_DETAILS_DA_IS_MCBC_MASK 0x10000000 418*5113495bSYour Name 419*5113495bSYour Name /* Description RX_MPDU_DETAILS_2_RX_MPDU_DESC_INFO_DETAILS_DA_IDX_TIMEOUT 420*5113495bSYour Name 421*5113495bSYour Name When set, at least 1 MSDU within the MPDU has an 422*5113495bSYour Name unsuccessful MAC destination address search due to the 423*5113495bSYour Name expiration of the search timer. 424*5113495bSYour Name 425*5113495bSYour Name <legal all> 426*5113495bSYour Name */ 427*5113495bSYour Name #define RX_MPDU_DETAILS_2_RX_MPDU_DESC_INFO_DETAILS_DA_IDX_TIMEOUT_OFFSET 0x00000008 428*5113495bSYour Name #define RX_MPDU_DETAILS_2_RX_MPDU_DESC_INFO_DETAILS_DA_IDX_TIMEOUT_LSB 29 429*5113495bSYour Name #define RX_MPDU_DETAILS_2_RX_MPDU_DESC_INFO_DETAILS_DA_IDX_TIMEOUT_MASK 0x20000000 430*5113495bSYour Name 431*5113495bSYour Name /* Description RX_MPDU_DETAILS_2_RX_MPDU_DESC_INFO_DETAILS_RAW_MPDU 432*5113495bSYour Name 433*5113495bSYour Name Field only valid when first_msdu_in_mpdu_flag is set. 434*5113495bSYour Name 435*5113495bSYour Name 436*5113495bSYour Name 437*5113495bSYour Name When set, the contents in the MSDU buffer contains a 438*5113495bSYour Name 'RAW' MPDU. This 'RAW' MPDU might be spread out over 439*5113495bSYour Name multiple MSDU buffers. 440*5113495bSYour Name 441*5113495bSYour Name <legal all> 442*5113495bSYour Name */ 443*5113495bSYour Name #define RX_MPDU_DETAILS_2_RX_MPDU_DESC_INFO_DETAILS_RAW_MPDU_OFFSET 0x00000008 444*5113495bSYour Name #define RX_MPDU_DETAILS_2_RX_MPDU_DESC_INFO_DETAILS_RAW_MPDU_LSB 30 445*5113495bSYour Name #define RX_MPDU_DETAILS_2_RX_MPDU_DESC_INFO_DETAILS_RAW_MPDU_MASK 0x40000000 446*5113495bSYour Name 447*5113495bSYour Name /* Description RX_MPDU_DETAILS_2_RX_MPDU_DESC_INFO_DETAILS_MORE_FRAGMENT_FLAG 448*5113495bSYour Name 449*5113495bSYour Name The More Fragment bit setting from the MPDU header of 450*5113495bSYour Name the received frame 451*5113495bSYour Name 452*5113495bSYour Name 453*5113495bSYour Name 454*5113495bSYour Name <legal all> 455*5113495bSYour Name */ 456*5113495bSYour Name #define RX_MPDU_DETAILS_2_RX_MPDU_DESC_INFO_DETAILS_MORE_FRAGMENT_FLAG_OFFSET 0x00000008 457*5113495bSYour Name #define RX_MPDU_DETAILS_2_RX_MPDU_DESC_INFO_DETAILS_MORE_FRAGMENT_FLAG_LSB 31 458*5113495bSYour Name #define RX_MPDU_DETAILS_2_RX_MPDU_DESC_INFO_DETAILS_MORE_FRAGMENT_FLAG_MASK 0x80000000 459*5113495bSYour Name 460*5113495bSYour Name /* Description RX_MPDU_DETAILS_3_RX_MPDU_DESC_INFO_DETAILS_PEER_META_DATA 461*5113495bSYour Name 462*5113495bSYour Name Meta data that SW has programmed in the Peer table entry 463*5113495bSYour Name of the transmitting STA. 464*5113495bSYour Name 465*5113495bSYour Name <legal all> 466*5113495bSYour Name */ 467*5113495bSYour Name #define RX_MPDU_DETAILS_3_RX_MPDU_DESC_INFO_DETAILS_PEER_META_DATA_OFFSET 0x0000000c 468*5113495bSYour Name #define RX_MPDU_DETAILS_3_RX_MPDU_DESC_INFO_DETAILS_PEER_META_DATA_LSB 0 469*5113495bSYour Name #define RX_MPDU_DETAILS_3_RX_MPDU_DESC_INFO_DETAILS_PEER_META_DATA_MASK 0xffffffff 470*5113495bSYour Name 471*5113495bSYour Name 472*5113495bSYour Name #endif // _RX_MPDU_DETAILS_H_ 473