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 _REO_ENTRANCE_RING_H_ 25*5113495bSYour Name #define _REO_ENTRANCE_RING_H_ 26*5113495bSYour Name #if !defined(__ASSEMBLER__) 27*5113495bSYour Name #endif 28*5113495bSYour Name 29*5113495bSYour Name #include "rx_mpdu_details.h" 30*5113495bSYour Name 31*5113495bSYour Name // ################ START SUMMARY ################# 32*5113495bSYour Name // 33*5113495bSYour Name // Dword Fields 34*5113495bSYour Name // 0-3 struct rx_mpdu_details reo_level_mpdu_frame_info; 35*5113495bSYour Name // 4 rx_reo_queue_desc_addr_31_0[31:0] 36*5113495bSYour Name // 5 rx_reo_queue_desc_addr_39_32[7:0], rounded_mpdu_byte_count[21:8], reo_destination_indication[26:22], frameless_bar[27], reserved_5a[31:28] 37*5113495bSYour Name // 6 rxdma_push_reason[1:0], rxdma_error_code[6:2], mpdu_fragment_number[10:7], sw_exception[11], sw_exception_mpdu_delink[12], sw_exception_destination_ring_valid[13], sw_exception_destination_ring[18:14], reserved_6a[31:19] 38*5113495bSYour Name // 7 phy_ppdu_id[15:0], reserved_7a[19:16], ring_id[27:20], looping_count[31:28] 39*5113495bSYour Name // 40*5113495bSYour Name // ################ END SUMMARY ################# 41*5113495bSYour Name 42*5113495bSYour Name #define NUM_OF_DWORDS_REO_ENTRANCE_RING 8 43*5113495bSYour Name 44*5113495bSYour Name struct reo_entrance_ring { 45*5113495bSYour Name struct rx_mpdu_details reo_level_mpdu_frame_info; 46*5113495bSYour Name uint32_t rx_reo_queue_desc_addr_31_0 : 32; //[31:0] 47*5113495bSYour Name uint32_t rx_reo_queue_desc_addr_39_32 : 8, //[7:0] 48*5113495bSYour Name rounded_mpdu_byte_count : 14, //[21:8] 49*5113495bSYour Name reo_destination_indication : 5, //[26:22] 50*5113495bSYour Name frameless_bar : 1, //[27] 51*5113495bSYour Name reserved_5a : 4; //[31:28] 52*5113495bSYour Name uint32_t rxdma_push_reason : 2, //[1:0] 53*5113495bSYour Name rxdma_error_code : 5, //[6:2] 54*5113495bSYour Name mpdu_fragment_number : 4, //[10:7] 55*5113495bSYour Name sw_exception : 1, //[11] 56*5113495bSYour Name sw_exception_mpdu_delink : 1, //[12] 57*5113495bSYour Name sw_exception_destination_ring_valid: 1, //[13] 58*5113495bSYour Name sw_exception_destination_ring : 5, //[18:14] 59*5113495bSYour Name reserved_6a : 13; //[31:19] 60*5113495bSYour Name uint32_t phy_ppdu_id : 16, //[15:0] 61*5113495bSYour Name reserved_7a : 4, //[19:16] 62*5113495bSYour Name ring_id : 8, //[27:20] 63*5113495bSYour Name looping_count : 4; //[31:28] 64*5113495bSYour Name }; 65*5113495bSYour Name 66*5113495bSYour Name /* 67*5113495bSYour Name 68*5113495bSYour Name struct rx_mpdu_details reo_level_mpdu_frame_info 69*5113495bSYour Name 70*5113495bSYour Name Consumer: REO 71*5113495bSYour Name 72*5113495bSYour Name Producer: RXDMA 73*5113495bSYour Name 74*5113495bSYour Name 75*5113495bSYour Name 76*5113495bSYour Name Details related to the MPDU being pushed into the REO 77*5113495bSYour Name 78*5113495bSYour Name rx_reo_queue_desc_addr_31_0 79*5113495bSYour Name 80*5113495bSYour Name Consumer: REO 81*5113495bSYour Name 82*5113495bSYour Name Producer: RXDMA 83*5113495bSYour Name 84*5113495bSYour Name 85*5113495bSYour Name 86*5113495bSYour Name Address (lower 32 bits) of the REO queue descriptor. 87*5113495bSYour Name 88*5113495bSYour Name <legal all> 89*5113495bSYour Name 90*5113495bSYour Name rx_reo_queue_desc_addr_39_32 91*5113495bSYour Name 92*5113495bSYour Name Consumer: REO 93*5113495bSYour Name 94*5113495bSYour Name Producer: RXDMA 95*5113495bSYour Name 96*5113495bSYour Name 97*5113495bSYour Name 98*5113495bSYour Name Address (upper 8 bits) of the REO queue descriptor. 99*5113495bSYour Name 100*5113495bSYour Name <legal all> 101*5113495bSYour Name 102*5113495bSYour Name rounded_mpdu_byte_count 103*5113495bSYour Name 104*5113495bSYour Name An approximation of the number of bytes received in this 105*5113495bSYour Name MPDU. 106*5113495bSYour Name 107*5113495bSYour Name Used to keeps stats on the amount of data flowing 108*5113495bSYour Name through a queue. 109*5113495bSYour Name 110*5113495bSYour Name <legal all> 111*5113495bSYour Name 112*5113495bSYour Name reo_destination_indication 113*5113495bSYour Name 114*5113495bSYour Name RXDMA copy the MPDU's first MSDU's destination 115*5113495bSYour Name indication field here. This is used for REO to be able to 116*5113495bSYour Name re-route the packet to a different SW destination ring if 117*5113495bSYour Name the packet is detected as error in REO. 118*5113495bSYour Name 119*5113495bSYour Name 120*5113495bSYour Name 121*5113495bSYour Name The ID of the REO exit ring where the MSDU frame shall 122*5113495bSYour Name push after (MPDU level) reordering has finished. 123*5113495bSYour Name 124*5113495bSYour Name 125*5113495bSYour Name 126*5113495bSYour Name <enum 0 reo_destination_tcl> Reo will push the frame 127*5113495bSYour Name into the REO2TCL ring 128*5113495bSYour Name 129*5113495bSYour Name <enum 1 reo_destination_sw1> Reo will push the frame 130*5113495bSYour Name into the REO2SW1 ring 131*5113495bSYour Name 132*5113495bSYour Name <enum 2 reo_destination_sw2> Reo will push the frame 133*5113495bSYour Name into the REO2SW2 ring 134*5113495bSYour Name 135*5113495bSYour Name <enum 3 reo_destination_sw3> Reo will push the frame 136*5113495bSYour Name into the REO2SW3 ring 137*5113495bSYour Name 138*5113495bSYour Name <enum 4 reo_destination_sw4> Reo will push the frame 139*5113495bSYour Name into the REO2SW4 ring 140*5113495bSYour Name 141*5113495bSYour Name <enum 5 reo_destination_release> Reo will push the frame 142*5113495bSYour Name into the REO_release ring 143*5113495bSYour Name 144*5113495bSYour Name <enum 6 reo_destination_fw> Reo will push the frame into 145*5113495bSYour Name the REO2FW ring 146*5113495bSYour Name 147*5113495bSYour Name <enum 7 reo_destination_sw5> Reo will push the frame 148*5113495bSYour Name into the REO2SW5 ring (REO remaps this in chips without 149*5113495bSYour Name REO2SW5 ring, e.g. Pine) 150*5113495bSYour Name 151*5113495bSYour Name <enum 8 reo_destination_sw6> Reo will push the frame 152*5113495bSYour Name into the REO2SW6 ring (REO remaps this in chips without 153*5113495bSYour Name REO2SW6 ring, e.g. Pine) 154*5113495bSYour Name 155*5113495bSYour Name <enum 9 reo_destination_9> REO remaps this <enum 10 156*5113495bSYour Name reo_destination_10> REO remaps this 157*5113495bSYour Name 158*5113495bSYour Name <enum 11 reo_destination_11> REO remaps this 159*5113495bSYour Name 160*5113495bSYour Name <enum 12 reo_destination_12> REO remaps this <enum 13 161*5113495bSYour Name reo_destination_13> REO remaps this 162*5113495bSYour Name 163*5113495bSYour Name <enum 14 reo_destination_14> REO remaps this 164*5113495bSYour Name 165*5113495bSYour Name <enum 15 reo_destination_15> REO remaps this 166*5113495bSYour Name 167*5113495bSYour Name <enum 16 reo_destination_16> REO remaps this 168*5113495bSYour Name 169*5113495bSYour Name <enum 17 reo_destination_17> REO remaps this 170*5113495bSYour Name 171*5113495bSYour Name <enum 18 reo_destination_18> REO remaps this 172*5113495bSYour Name 173*5113495bSYour Name <enum 19 reo_destination_19> REO remaps this 174*5113495bSYour Name 175*5113495bSYour Name <enum 20 reo_destination_20> REO remaps this 176*5113495bSYour Name 177*5113495bSYour Name <enum 21 reo_destination_21> REO remaps this 178*5113495bSYour Name 179*5113495bSYour Name <enum 22 reo_destination_22> REO remaps this 180*5113495bSYour Name 181*5113495bSYour Name <enum 23 reo_destination_23> REO remaps this 182*5113495bSYour Name 183*5113495bSYour Name <enum 24 reo_destination_24> REO remaps this 184*5113495bSYour Name 185*5113495bSYour Name <enum 25 reo_destination_25> REO remaps this 186*5113495bSYour Name 187*5113495bSYour Name <enum 26 reo_destination_26> REO remaps this 188*5113495bSYour Name 189*5113495bSYour Name <enum 27 reo_destination_27> REO remaps this 190*5113495bSYour Name 191*5113495bSYour Name <enum 28 reo_destination_28> REO remaps this 192*5113495bSYour Name 193*5113495bSYour Name <enum 29 reo_destination_29> REO remaps this 194*5113495bSYour Name 195*5113495bSYour Name <enum 30 reo_destination_30> REO remaps this 196*5113495bSYour Name 197*5113495bSYour Name <enum 31 reo_destination_31> REO remaps this 198*5113495bSYour Name 199*5113495bSYour Name 200*5113495bSYour Name 201*5113495bSYour Name <legal all> 202*5113495bSYour Name 203*5113495bSYour Name frameless_bar 204*5113495bSYour Name 205*5113495bSYour Name When set, this REO entrance ring struct contains BAR 206*5113495bSYour Name info from a multi TID BAR frame. The original multi TID BAR 207*5113495bSYour Name frame itself contained all the REO info for the first TID, 208*5113495bSYour Name but all the subsequent TID info and their linkage to the REO 209*5113495bSYour Name descriptors is passed down as 'frameless' BAR info. 210*5113495bSYour Name 211*5113495bSYour Name 212*5113495bSYour Name 213*5113495bSYour Name The only fields valid in this descriptor when this bit 214*5113495bSYour Name is set are: 215*5113495bSYour Name 216*5113495bSYour Name Rx_reo_queue_desc_addr_31_0 217*5113495bSYour Name 218*5113495bSYour Name RX_reo_queue_desc_addr_39_32 219*5113495bSYour Name 220*5113495bSYour Name 221*5113495bSYour Name 222*5113495bSYour Name And within the 223*5113495bSYour Name 224*5113495bSYour Name Reo_level_mpdu_frame_info: 225*5113495bSYour Name 226*5113495bSYour Name Within Rx_mpdu_desc_info_details: 227*5113495bSYour Name 228*5113495bSYour Name Mpdu_Sequence_number 229*5113495bSYour Name 230*5113495bSYour Name BAR_frame 231*5113495bSYour Name 232*5113495bSYour Name Peer_meta_data 233*5113495bSYour Name 234*5113495bSYour Name All other fields shall be set to 0 235*5113495bSYour Name 236*5113495bSYour Name 237*5113495bSYour Name 238*5113495bSYour Name <legal all> 239*5113495bSYour Name 240*5113495bSYour Name reserved_5a 241*5113495bSYour Name 242*5113495bSYour Name <legal 0> 243*5113495bSYour Name 244*5113495bSYour Name rxdma_push_reason 245*5113495bSYour Name 246*5113495bSYour Name Indicates why rxdma pushed the frame to this ring 247*5113495bSYour Name 248*5113495bSYour Name 249*5113495bSYour Name 250*5113495bSYour Name This field is ignored by REO. 251*5113495bSYour Name 252*5113495bSYour Name 253*5113495bSYour Name 254*5113495bSYour Name <enum 0 rxdma_error_detected> RXDMA detected an error an 255*5113495bSYour Name pushed this frame to this queue 256*5113495bSYour Name 257*5113495bSYour Name <enum 1 rxdma_routing_instruction> RXDMA pushed the 258*5113495bSYour Name frame to this queue per received routing instructions. No 259*5113495bSYour Name error within RXDMA was detected 260*5113495bSYour Name 261*5113495bSYour Name <enum 2 rxdma_rx_flush> RXDMA received an RX_FLUSH. As a 262*5113495bSYour Name result the MSDU link descriptor might not have the 263*5113495bSYour Name last_msdu_in_mpdu_flag set, but instead WBM might just see a 264*5113495bSYour Name NULL pointer in the MSDU link descriptor. This is to be 265*5113495bSYour Name considered a normal condition for this scenario. 266*5113495bSYour Name 267*5113495bSYour Name 268*5113495bSYour Name 269*5113495bSYour Name <legal 0 - 2> 270*5113495bSYour Name 271*5113495bSYour Name rxdma_error_code 272*5113495bSYour Name 273*5113495bSYour Name Field only valid when 'rxdma_push_reason' set to 274*5113495bSYour Name 'rxdma_error_detected'. 275*5113495bSYour Name 276*5113495bSYour Name 277*5113495bSYour Name 278*5113495bSYour Name This field is ignored by REO. 279*5113495bSYour Name 280*5113495bSYour Name 281*5113495bSYour Name 282*5113495bSYour Name <enum 0 rxdma_overflow_err>MPDU frame is not complete 283*5113495bSYour Name due to a FIFO overflow error in RXPCU. 284*5113495bSYour Name 285*5113495bSYour Name <enum 1 rxdma_mpdu_length_err>MPDU frame is not complete 286*5113495bSYour Name due to receiving incomplete MPDU from the PHY 287*5113495bSYour Name 288*5113495bSYour Name 289*5113495bSYour Name <enum 3 rxdma_decrypt_err>CRYPTO reported a decryption 290*5113495bSYour Name error or CRYPTO received an encrypted frame, but did not get 291*5113495bSYour Name a valid corresponding key id in the peer entry. 292*5113495bSYour Name 293*5113495bSYour Name <enum 4 rxdma_tkip_mic_err>CRYPTO reported a TKIP MIC 294*5113495bSYour Name error 295*5113495bSYour Name 296*5113495bSYour Name <enum 5 rxdma_unecrypted_err>CRYPTO reported an 297*5113495bSYour Name unencrypted frame error when encrypted was expected 298*5113495bSYour Name 299*5113495bSYour Name <enum 6 rxdma_msdu_len_err>RX OLE reported an MSDU 300*5113495bSYour Name length error 301*5113495bSYour Name 302*5113495bSYour Name <enum 7 rxdma_msdu_limit_err>RX OLE reported that max 303*5113495bSYour Name number of MSDUs allowed in an MPDU got exceeded 304*5113495bSYour Name 305*5113495bSYour Name <enum 8 rxdma_wifi_parse_err>RX OLE reported a parsing 306*5113495bSYour Name error 307*5113495bSYour Name 308*5113495bSYour Name <enum 9 rxdma_amsdu_parse_err>RX OLE reported an A-MSDU 309*5113495bSYour Name parsing error 310*5113495bSYour Name 311*5113495bSYour Name <enum 10 rxdma_sa_timeout_err>RX OLE reported a timeout 312*5113495bSYour Name during SA search 313*5113495bSYour Name 314*5113495bSYour Name <enum 11 rxdma_da_timeout_err>RX OLE reported a timeout 315*5113495bSYour Name during DA search 316*5113495bSYour Name 317*5113495bSYour Name <enum 12 rxdma_flow_timeout_err>RX OLE reported a 318*5113495bSYour Name timeout during flow search 319*5113495bSYour Name 320*5113495bSYour Name <enum 13 rxdma_flush_request>RXDMA received a flush 321*5113495bSYour Name request 322*5113495bSYour Name 323*5113495bSYour Name <enum 14 rxdma_amsdu_fragment_err>Rx PCU reported A-MSDU 324*5113495bSYour Name present as well as a fragmented MPDU. A-MSDU defragmentation 325*5113495bSYour Name is not supported in Lithium SW so this is treated as an 326*5113495bSYour Name error. 327*5113495bSYour Name 328*5113495bSYour Name mpdu_fragment_number 329*5113495bSYour Name 330*5113495bSYour Name Field only valid when Reo_level_mpdu_frame_info. 331*5113495bSYour Name Rx_mpdu_desc_info_details.Fragment_flag is set. 332*5113495bSYour Name 333*5113495bSYour Name 334*5113495bSYour Name 335*5113495bSYour Name The fragment number from the 802.11 header. 336*5113495bSYour Name 337*5113495bSYour Name 338*5113495bSYour Name 339*5113495bSYour Name Note that the sequence number is embedded in the field: 340*5113495bSYour Name Reo_level_mpdu_frame_info. Rx_mpdu_desc_info_details. 341*5113495bSYour Name Mpdu_sequence_number 342*5113495bSYour Name 343*5113495bSYour Name 344*5113495bSYour Name 345*5113495bSYour Name <legal all> 346*5113495bSYour Name 347*5113495bSYour Name sw_exception 348*5113495bSYour Name 349*5113495bSYour Name When not set, REO is performing all its default MPDU 350*5113495bSYour Name processing operations, 351*5113495bSYour Name 352*5113495bSYour Name When set, this REO entrance descriptor is generated by 353*5113495bSYour Name FW, and should be processed as an exception. This implies: 354*5113495bSYour Name 355*5113495bSYour Name NO re-order function is needed. 356*5113495bSYour Name 357*5113495bSYour Name MPDU delinking is determined by the setting of field 358*5113495bSYour Name SW_excection_mpdu_delink 359*5113495bSYour Name 360*5113495bSYour Name Destination ring selection is based on the setting of 361*5113495bSYour Name the field SW_exception_destination_ring_valid 362*5113495bSYour Name 363*5113495bSYour Name In the destination ring descriptor set bit: 364*5113495bSYour Name SW_exception_entry 365*5113495bSYour Name 366*5113495bSYour Name Feature supported only in HastingsPrime 367*5113495bSYour Name 368*5113495bSYour Name <legal all> 369*5113495bSYour Name 370*5113495bSYour Name sw_exception_mpdu_delink 371*5113495bSYour Name 372*5113495bSYour Name Field only valid when SW_exception is set. 373*5113495bSYour Name 374*5113495bSYour Name 1'b0: REO should NOT delink the MPDU, and thus pass this 375*5113495bSYour Name MPDU on to the destination ring as is. This implies that in 376*5113495bSYour Name the REO_DESTINATION_RING struct field 377*5113495bSYour Name Buf_or_link_desc_addr_info should point to an MSDU link 378*5113495bSYour Name descriptor 379*5113495bSYour Name 380*5113495bSYour Name 1'b1: REO should perform the normal MPDU delink into 381*5113495bSYour Name MSDU operations. 382*5113495bSYour Name 383*5113495bSYour Name Feature supported only in HastingsPrime 384*5113495bSYour Name 385*5113495bSYour Name <legal all> 386*5113495bSYour Name 387*5113495bSYour Name sw_exception_destination_ring_valid 388*5113495bSYour Name 389*5113495bSYour Name Field only valid when SW_exception is set. 390*5113495bSYour Name 391*5113495bSYour Name 1'b0: REO shall push the MPDU (or delinked MPDU based on 392*5113495bSYour Name the setting of SW_exception_mpdu_delink) to the destination 393*5113495bSYour Name ring according to field reo_destination_indication. 394*5113495bSYour Name 395*5113495bSYour Name 1'b1: REO shall push the MPDU (or delinked MPDU based on 396*5113495bSYour Name the setting of SW_exception_mpdu_delink) to the destination 397*5113495bSYour Name ring according to field SW_exception_destination_ring. 398*5113495bSYour Name 399*5113495bSYour Name Feature supported only in HastingsPrime 400*5113495bSYour Name 401*5113495bSYour Name <legal all> 402*5113495bSYour Name 403*5113495bSYour Name sw_exception_destination_ring 404*5113495bSYour Name 405*5113495bSYour Name Field only valid when fields SW_exception and 406*5113495bSYour Name SW_exception_destination_ring_valid are set. 407*5113495bSYour Name 408*5113495bSYour Name The ID of the ring where REO shall push this frame. 409*5113495bSYour Name 410*5113495bSYour Name <enum 0 reo_destination_tcl> Reo will push the frame 411*5113495bSYour Name into the REO2TCL ring 412*5113495bSYour Name 413*5113495bSYour Name <enum 1 reo_destination_sw1> Reo will push the frame 414*5113495bSYour Name into the REO2SW1 ring 415*5113495bSYour Name 416*5113495bSYour Name <enum 2 reo_destination_sw2> Reo will push the frame 417*5113495bSYour Name into the REO2SW1 ring 418*5113495bSYour Name 419*5113495bSYour Name <enum 3 reo_destination_sw3> Reo will push the frame 420*5113495bSYour Name into the REO2SW1 ring 421*5113495bSYour Name 422*5113495bSYour Name <enum 4 reo_destination_sw4> Reo will push the frame 423*5113495bSYour Name into the REO2SW1 ring 424*5113495bSYour Name 425*5113495bSYour Name <enum 5 reo_destination_release> Reo will push the frame 426*5113495bSYour Name into the REO_release ring 427*5113495bSYour Name 428*5113495bSYour Name <enum 6 reo_destination_fw> Reo will push the frame into 429*5113495bSYour Name the REO2FW ring 430*5113495bSYour Name 431*5113495bSYour Name <enum 7 reo_destination_sw5> REO remaps this 432*5113495bSYour Name 433*5113495bSYour Name <enum 8 reo_destination_sw6> REO remaps this 434*5113495bSYour Name 435*5113495bSYour Name <enum 9 reo_destination_9> REO remaps this 436*5113495bSYour Name 437*5113495bSYour Name <enum 10 reo_destination_10> REO remaps this 438*5113495bSYour Name 439*5113495bSYour Name <enum 11 reo_destination_11> REO remaps this 440*5113495bSYour Name 441*5113495bSYour Name <enum 12 reo_destination_12> REO remaps this <enum 13 442*5113495bSYour Name reo_destination_13> REO remaps this 443*5113495bSYour Name 444*5113495bSYour Name <enum 14 reo_destination_14> REO remaps this 445*5113495bSYour Name 446*5113495bSYour Name <enum 15 reo_destination_15> REO remaps this 447*5113495bSYour Name 448*5113495bSYour Name <enum 16 reo_destination_16> REO remaps this 449*5113495bSYour Name 450*5113495bSYour Name <enum 17 reo_destination_17> REO remaps this 451*5113495bSYour Name 452*5113495bSYour Name <enum 18 reo_destination_18> REO remaps this 453*5113495bSYour Name 454*5113495bSYour Name <enum 19 reo_destination_19> REO remaps this 455*5113495bSYour Name 456*5113495bSYour Name <enum 20 reo_destination_20> REO remaps this 457*5113495bSYour Name 458*5113495bSYour Name <enum 21 reo_destination_21> REO remaps this 459*5113495bSYour Name 460*5113495bSYour Name <enum 22 reo_destination_22> REO remaps this 461*5113495bSYour Name 462*5113495bSYour Name <enum 23 reo_destination_23> REO remaps this 463*5113495bSYour Name 464*5113495bSYour Name <enum 24 reo_destination_24> REO remaps this 465*5113495bSYour Name 466*5113495bSYour Name <enum 25 reo_destination_25> REO remaps this 467*5113495bSYour Name 468*5113495bSYour Name <enum 26 reo_destination_26> REO remaps this 469*5113495bSYour Name 470*5113495bSYour Name <enum 27 reo_destination_27> REO remaps this 471*5113495bSYour Name 472*5113495bSYour Name <enum 28 reo_destination_28> REO remaps this 473*5113495bSYour Name 474*5113495bSYour Name <enum 29 reo_destination_29> REO remaps this 475*5113495bSYour Name 476*5113495bSYour Name <enum 30 reo_destination_30> REO remaps this 477*5113495bSYour Name 478*5113495bSYour Name <enum 31 reo_destination_31> REO remaps this 479*5113495bSYour Name 480*5113495bSYour Name 481*5113495bSYour Name 482*5113495bSYour Name Feature supported only in HastingsPrime 483*5113495bSYour Name 484*5113495bSYour Name <legal all> 485*5113495bSYour Name 486*5113495bSYour Name reserved_6a 487*5113495bSYour Name 488*5113495bSYour Name <legal 0> 489*5113495bSYour Name 490*5113495bSYour Name phy_ppdu_id 491*5113495bSYour Name 492*5113495bSYour Name A PPDU counter value that PHY increments for every PPDU 493*5113495bSYour Name received 494*5113495bSYour Name 495*5113495bSYour Name The counter value wraps around. Pine RXDMA can be 496*5113495bSYour Name configured to copy this from the RX_PPDU_START TLV for every 497*5113495bSYour Name output descriptor. 498*5113495bSYour Name 499*5113495bSYour Name 500*5113495bSYour Name 501*5113495bSYour Name This field is ignored by REO. 502*5113495bSYour Name 503*5113495bSYour Name 504*5113495bSYour Name 505*5113495bSYour Name Feature supported only in Pine 506*5113495bSYour Name 507*5113495bSYour Name <legal all> 508*5113495bSYour Name 509*5113495bSYour Name reserved_7a 510*5113495bSYour Name 511*5113495bSYour Name <legal 0> 512*5113495bSYour Name 513*5113495bSYour Name ring_id 514*5113495bSYour Name 515*5113495bSYour Name Consumer: SW/REO/DEBUG 516*5113495bSYour Name 517*5113495bSYour Name Producer: SRNG (of RXDMA) 518*5113495bSYour Name 519*5113495bSYour Name 520*5113495bSYour Name 521*5113495bSYour Name For debugging. 522*5113495bSYour Name 523*5113495bSYour Name This field is filled in by the SRNG module. 524*5113495bSYour Name 525*5113495bSYour Name It help to identify the ring that is being looked <legal 526*5113495bSYour Name all> 527*5113495bSYour Name 528*5113495bSYour Name looping_count 529*5113495bSYour Name 530*5113495bSYour Name Consumer: SW/REO/DEBUG 531*5113495bSYour Name 532*5113495bSYour Name Producer: SRNG (of RXDMA) 533*5113495bSYour Name 534*5113495bSYour Name 535*5113495bSYour Name 536*5113495bSYour Name For debugging. 537*5113495bSYour Name 538*5113495bSYour Name This field is filled in by the SRNG module. 539*5113495bSYour Name 540*5113495bSYour Name 541*5113495bSYour Name 542*5113495bSYour Name A count value that indicates the number of times the 543*5113495bSYour Name producer of entries into this Ring has looped around the 544*5113495bSYour Name ring. 545*5113495bSYour Name 546*5113495bSYour Name At initialization time, this value is set to 0. On the 547*5113495bSYour Name first loop, this value is set to 1. After the max value is 548*5113495bSYour Name reached allowed by the number of bits for this field, the 549*5113495bSYour Name count value continues with 0 again. 550*5113495bSYour Name 551*5113495bSYour Name 552*5113495bSYour Name 553*5113495bSYour Name In case SW is the consumer of the ring entries, it can 554*5113495bSYour Name use this field to figure out up to where the producer of 555*5113495bSYour Name entries has created new entries. This eliminates the need to 556*5113495bSYour Name check where the head pointer' of the ring is located once 557*5113495bSYour Name the SW starts processing an interrupt indicating that new 558*5113495bSYour Name entries have been put into this ring... 559*5113495bSYour Name 560*5113495bSYour Name 561*5113495bSYour Name 562*5113495bSYour Name Also note that SW if it wants only needs to look at the 563*5113495bSYour Name LSB bit of this count value. 564*5113495bSYour Name 565*5113495bSYour Name <legal all> 566*5113495bSYour Name */ 567*5113495bSYour Name 568*5113495bSYour Name 569*5113495bSYour Name /* EXTERNAL REFERENCE : struct rx_mpdu_details reo_level_mpdu_frame_info */ 570*5113495bSYour Name 571*5113495bSYour Name 572*5113495bSYour Name /* EXTERNAL REFERENCE : struct buffer_addr_info msdu_link_desc_addr_info */ 573*5113495bSYour Name 574*5113495bSYour Name 575*5113495bSYour Name /* Description REO_ENTRANCE_RING_0_REO_LEVEL_MPDU_FRAME_INFO_MSDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0 576*5113495bSYour Name 577*5113495bSYour Name Address (lower 32 bits) of the MSDU buffer OR 578*5113495bSYour Name MSDU_EXTENSION descriptor OR Link Descriptor 579*5113495bSYour Name 580*5113495bSYour Name 581*5113495bSYour Name 582*5113495bSYour Name In case of 'NULL' pointer, this field is set to 0 583*5113495bSYour Name 584*5113495bSYour Name <legal all> 585*5113495bSYour Name */ 586*5113495bSYour Name #define REO_ENTRANCE_RING_0_REO_LEVEL_MPDU_FRAME_INFO_MSDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0_OFFSET 0x00000000 587*5113495bSYour Name #define REO_ENTRANCE_RING_0_REO_LEVEL_MPDU_FRAME_INFO_MSDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0_LSB 0 588*5113495bSYour Name #define REO_ENTRANCE_RING_0_REO_LEVEL_MPDU_FRAME_INFO_MSDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_31_0_MASK 0xffffffff 589*5113495bSYour Name 590*5113495bSYour Name /* Description REO_ENTRANCE_RING_1_REO_LEVEL_MPDU_FRAME_INFO_MSDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32 591*5113495bSYour Name 592*5113495bSYour Name Address (upper 8 bits) of the MSDU buffer OR 593*5113495bSYour Name MSDU_EXTENSION descriptor OR Link Descriptor 594*5113495bSYour Name 595*5113495bSYour Name 596*5113495bSYour Name 597*5113495bSYour Name In case of 'NULL' pointer, this field is set to 0 598*5113495bSYour Name 599*5113495bSYour Name <legal all> 600*5113495bSYour Name */ 601*5113495bSYour Name #define REO_ENTRANCE_RING_1_REO_LEVEL_MPDU_FRAME_INFO_MSDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32_OFFSET 0x00000004 602*5113495bSYour Name #define REO_ENTRANCE_RING_1_REO_LEVEL_MPDU_FRAME_INFO_MSDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32_LSB 0 603*5113495bSYour Name #define REO_ENTRANCE_RING_1_REO_LEVEL_MPDU_FRAME_INFO_MSDU_LINK_DESC_ADDR_INFO_BUFFER_ADDR_39_32_MASK 0x000000ff 604*5113495bSYour Name 605*5113495bSYour Name /* Description REO_ENTRANCE_RING_1_REO_LEVEL_MPDU_FRAME_INFO_MSDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER 606*5113495bSYour Name 607*5113495bSYour Name Consumer: WBM 608*5113495bSYour Name 609*5113495bSYour Name Producer: SW/FW 610*5113495bSYour Name 611*5113495bSYour Name 612*5113495bSYour Name 613*5113495bSYour Name In case of 'NULL' pointer, this field is set to 0 614*5113495bSYour Name 615*5113495bSYour Name 616*5113495bSYour Name 617*5113495bSYour Name Indicates to which buffer manager the buffer OR 618*5113495bSYour Name MSDU_EXTENSION descriptor OR link descriptor that is being 619*5113495bSYour Name pointed to shall be returned after the frame has been 620*5113495bSYour Name processed. It is used by WBM for routing purposes. 621*5113495bSYour Name 622*5113495bSYour Name 623*5113495bSYour Name 624*5113495bSYour Name <enum 0 WBM_IDLE_BUF_LIST> This buffer shall be returned 625*5113495bSYour Name to the WMB buffer idle list 626*5113495bSYour Name 627*5113495bSYour Name <enum 1 WBM_IDLE_DESC_LIST> This buffer shall be 628*5113495bSYour Name returned to the WMB idle link descriptor idle list 629*5113495bSYour Name 630*5113495bSYour Name <enum 2 FW_BM> This buffer shall be returned to the FW 631*5113495bSYour Name 632*5113495bSYour Name <enum 3 SW0_BM> This buffer shall be returned to the SW, 633*5113495bSYour Name ring 0 634*5113495bSYour Name 635*5113495bSYour Name <enum 4 SW1_BM> This buffer shall be returned to the SW, 636*5113495bSYour Name ring 1 637*5113495bSYour Name 638*5113495bSYour Name <enum 5 SW2_BM> This buffer shall be returned to the SW, 639*5113495bSYour Name ring 2 640*5113495bSYour Name 641*5113495bSYour Name <enum 6 SW3_BM> This buffer shall be returned to the SW, 642*5113495bSYour Name ring 3 643*5113495bSYour Name 644*5113495bSYour Name <enum 7 SW4_BM> This buffer shall be returned to the SW, 645*5113495bSYour Name ring 4 646*5113495bSYour Name 647*5113495bSYour Name 648*5113495bSYour Name 649*5113495bSYour Name <legal all> 650*5113495bSYour Name */ 651*5113495bSYour Name #define REO_ENTRANCE_RING_1_REO_LEVEL_MPDU_FRAME_INFO_MSDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_OFFSET 0x00000004 652*5113495bSYour Name #define REO_ENTRANCE_RING_1_REO_LEVEL_MPDU_FRAME_INFO_MSDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_LSB 8 653*5113495bSYour Name #define REO_ENTRANCE_RING_1_REO_LEVEL_MPDU_FRAME_INFO_MSDU_LINK_DESC_ADDR_INFO_RETURN_BUFFER_MANAGER_MASK 0x00000700 654*5113495bSYour Name 655*5113495bSYour Name /* Description REO_ENTRANCE_RING_1_REO_LEVEL_MPDU_FRAME_INFO_MSDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE 656*5113495bSYour Name 657*5113495bSYour Name Cookie field exclusively used by SW. 658*5113495bSYour Name 659*5113495bSYour Name 660*5113495bSYour Name 661*5113495bSYour Name In case of 'NULL' pointer, this field is set to 0 662*5113495bSYour Name 663*5113495bSYour Name 664*5113495bSYour Name 665*5113495bSYour Name HW ignores the contents, accept that it passes the 666*5113495bSYour Name programmed value on to other descriptors together with the 667*5113495bSYour Name physical address 668*5113495bSYour Name 669*5113495bSYour Name 670*5113495bSYour Name 671*5113495bSYour Name Field can be used by SW to for example associate the 672*5113495bSYour Name buffers physical address with the virtual address 673*5113495bSYour Name 674*5113495bSYour Name The bit definitions as used by SW are within SW HLD 675*5113495bSYour Name specification 676*5113495bSYour Name 677*5113495bSYour Name 678*5113495bSYour Name 679*5113495bSYour Name NOTE: 680*5113495bSYour Name 681*5113495bSYour Name The three most significant bits can have a special 682*5113495bSYour Name meaning in case this struct is embedded in a TX_MPDU_DETAILS 683*5113495bSYour Name STRUCT, and field transmit_bw_restriction is set 684*5113495bSYour Name 685*5113495bSYour Name 686*5113495bSYour Name 687*5113495bSYour Name In case of NON punctured transmission: 688*5113495bSYour Name 689*5113495bSYour Name Sw_buffer_cookie[20:19] = 2'b00: 20 MHz TX only 690*5113495bSYour Name 691*5113495bSYour Name Sw_buffer_cookie[20:19] = 2'b01: 40 MHz TX only 692*5113495bSYour Name 693*5113495bSYour Name Sw_buffer_cookie[20:19] = 2'b10: 80 MHz TX only 694*5113495bSYour Name 695*5113495bSYour Name Sw_buffer_cookie[20:19] = 2'b11: 160 MHz TX only 696*5113495bSYour Name 697*5113495bSYour Name 698*5113495bSYour Name 699*5113495bSYour Name In case of punctured transmission: 700*5113495bSYour Name 701*5113495bSYour Name Sw_buffer_cookie[20:18] = 3'b000: pattern 0 only 702*5113495bSYour Name 703*5113495bSYour Name Sw_buffer_cookie[20:18] = 3'b001: pattern 1 only 704*5113495bSYour Name 705*5113495bSYour Name Sw_buffer_cookie[20:18] = 3'b010: pattern 2 only 706*5113495bSYour Name 707*5113495bSYour Name Sw_buffer_cookie[20:18] = 3'b011: pattern 3 only 708*5113495bSYour Name 709*5113495bSYour Name Sw_buffer_cookie[20:18] = 3'b100: pattern 4 only 710*5113495bSYour Name 711*5113495bSYour Name Sw_buffer_cookie[20:18] = 3'b101: pattern 5 only 712*5113495bSYour Name 713*5113495bSYour Name Sw_buffer_cookie[20:18] = 3'b110: pattern 6 only 714*5113495bSYour Name 715*5113495bSYour Name Sw_buffer_cookie[20:18] = 3'b111: pattern 7 only 716*5113495bSYour Name 717*5113495bSYour Name 718*5113495bSYour Name 719*5113495bSYour Name Note: a punctured transmission is indicated by the 720*5113495bSYour Name presence of TLV TX_PUNCTURE_SETUP embedded in the scheduler 721*5113495bSYour Name TLV 722*5113495bSYour Name 723*5113495bSYour Name 724*5113495bSYour Name 725*5113495bSYour Name <legal all> 726*5113495bSYour Name */ 727*5113495bSYour Name #define REO_ENTRANCE_RING_1_REO_LEVEL_MPDU_FRAME_INFO_MSDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE_OFFSET 0x00000004 728*5113495bSYour Name #define REO_ENTRANCE_RING_1_REO_LEVEL_MPDU_FRAME_INFO_MSDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE_LSB 11 729*5113495bSYour Name #define REO_ENTRANCE_RING_1_REO_LEVEL_MPDU_FRAME_INFO_MSDU_LINK_DESC_ADDR_INFO_SW_BUFFER_COOKIE_MASK 0xfffff800 730*5113495bSYour Name 731*5113495bSYour Name /* EXTERNAL REFERENCE : struct rx_mpdu_desc_info rx_mpdu_desc_info_details */ 732*5113495bSYour Name 733*5113495bSYour Name 734*5113495bSYour Name /* Description REO_ENTRANCE_RING_2_REO_LEVEL_MPDU_FRAME_INFO_RX_MPDU_DESC_INFO_DETAILS_MSDU_COUNT 735*5113495bSYour Name 736*5113495bSYour Name Consumer: REO/SW/FW 737*5113495bSYour Name 738*5113495bSYour Name Producer: RXDMA 739*5113495bSYour Name 740*5113495bSYour Name 741*5113495bSYour Name 742*5113495bSYour Name The number of MSDUs within the MPDU 743*5113495bSYour Name 744*5113495bSYour Name <legal all> 745*5113495bSYour Name */ 746*5113495bSYour Name #define REO_ENTRANCE_RING_2_REO_LEVEL_MPDU_FRAME_INFO_RX_MPDU_DESC_INFO_DETAILS_MSDU_COUNT_OFFSET 0x00000008 747*5113495bSYour Name #define REO_ENTRANCE_RING_2_REO_LEVEL_MPDU_FRAME_INFO_RX_MPDU_DESC_INFO_DETAILS_MSDU_COUNT_LSB 0 748*5113495bSYour Name #define REO_ENTRANCE_RING_2_REO_LEVEL_MPDU_FRAME_INFO_RX_MPDU_DESC_INFO_DETAILS_MSDU_COUNT_MASK 0x000000ff 749*5113495bSYour Name 750*5113495bSYour Name /* Description REO_ENTRANCE_RING_2_REO_LEVEL_MPDU_FRAME_INFO_RX_MPDU_DESC_INFO_DETAILS_MPDU_SEQUENCE_NUMBER 751*5113495bSYour Name 752*5113495bSYour Name Consumer: REO/SW/FW 753*5113495bSYour Name 754*5113495bSYour Name Producer: RXDMA 755*5113495bSYour Name 756*5113495bSYour Name 757*5113495bSYour Name 758*5113495bSYour Name The field can have two different meanings based on the 759*5113495bSYour Name setting of field 'BAR_frame': 760*5113495bSYour Name 761*5113495bSYour Name 762*5113495bSYour Name 763*5113495bSYour Name 'BAR_frame' is NOT set: 764*5113495bSYour Name 765*5113495bSYour Name The MPDU sequence number of the received frame. 766*5113495bSYour Name 767*5113495bSYour Name 768*5113495bSYour Name 769*5113495bSYour Name 'BAR_frame' is set. 770*5113495bSYour Name 771*5113495bSYour Name The MPDU Start sequence number from the BAR frame 772*5113495bSYour Name 773*5113495bSYour Name <legal all> 774*5113495bSYour Name */ 775*5113495bSYour Name #define REO_ENTRANCE_RING_2_REO_LEVEL_MPDU_FRAME_INFO_RX_MPDU_DESC_INFO_DETAILS_MPDU_SEQUENCE_NUMBER_OFFSET 0x00000008 776*5113495bSYour Name #define REO_ENTRANCE_RING_2_REO_LEVEL_MPDU_FRAME_INFO_RX_MPDU_DESC_INFO_DETAILS_MPDU_SEQUENCE_NUMBER_LSB 8 777*5113495bSYour Name #define REO_ENTRANCE_RING_2_REO_LEVEL_MPDU_FRAME_INFO_RX_MPDU_DESC_INFO_DETAILS_MPDU_SEQUENCE_NUMBER_MASK 0x000fff00 778*5113495bSYour Name 779*5113495bSYour Name /* Description REO_ENTRANCE_RING_2_REO_LEVEL_MPDU_FRAME_INFO_RX_MPDU_DESC_INFO_DETAILS_FRAGMENT_FLAG 780*5113495bSYour Name 781*5113495bSYour Name Consumer: REO/SW/FW 782*5113495bSYour Name 783*5113495bSYour Name Producer: RXDMA 784*5113495bSYour Name 785*5113495bSYour Name 786*5113495bSYour Name 787*5113495bSYour Name When set, this MPDU is a fragment and REO should forward 788*5113495bSYour Name this fragment MPDU to the REO destination ring without any 789*5113495bSYour Name reorder checks, pn checks or bitmap update. This implies 790*5113495bSYour Name that REO is forwarding the pointer to the MSDU link 791*5113495bSYour Name descriptor. The destination ring is coming from a 792*5113495bSYour Name programmable register setting in REO 793*5113495bSYour Name 794*5113495bSYour Name 795*5113495bSYour Name 796*5113495bSYour Name <legal all> 797*5113495bSYour Name */ 798*5113495bSYour Name #define REO_ENTRANCE_RING_2_REO_LEVEL_MPDU_FRAME_INFO_RX_MPDU_DESC_INFO_DETAILS_FRAGMENT_FLAG_OFFSET 0x00000008 799*5113495bSYour Name #define REO_ENTRANCE_RING_2_REO_LEVEL_MPDU_FRAME_INFO_RX_MPDU_DESC_INFO_DETAILS_FRAGMENT_FLAG_LSB 20 800*5113495bSYour Name #define REO_ENTRANCE_RING_2_REO_LEVEL_MPDU_FRAME_INFO_RX_MPDU_DESC_INFO_DETAILS_FRAGMENT_FLAG_MASK 0x00100000 801*5113495bSYour Name 802*5113495bSYour Name /* Description REO_ENTRANCE_RING_2_REO_LEVEL_MPDU_FRAME_INFO_RX_MPDU_DESC_INFO_DETAILS_MPDU_RETRY_BIT 803*5113495bSYour Name 804*5113495bSYour Name Consumer: REO/SW/FW 805*5113495bSYour Name 806*5113495bSYour Name Producer: RXDMA 807*5113495bSYour Name 808*5113495bSYour Name 809*5113495bSYour Name 810*5113495bSYour Name The retry bit setting from the MPDU header of the 811*5113495bSYour Name received frame 812*5113495bSYour Name 813*5113495bSYour Name <legal all> 814*5113495bSYour Name */ 815*5113495bSYour Name #define REO_ENTRANCE_RING_2_REO_LEVEL_MPDU_FRAME_INFO_RX_MPDU_DESC_INFO_DETAILS_MPDU_RETRY_BIT_OFFSET 0x00000008 816*5113495bSYour Name #define REO_ENTRANCE_RING_2_REO_LEVEL_MPDU_FRAME_INFO_RX_MPDU_DESC_INFO_DETAILS_MPDU_RETRY_BIT_LSB 21 817*5113495bSYour Name #define REO_ENTRANCE_RING_2_REO_LEVEL_MPDU_FRAME_INFO_RX_MPDU_DESC_INFO_DETAILS_MPDU_RETRY_BIT_MASK 0x00200000 818*5113495bSYour Name 819*5113495bSYour Name /* Description REO_ENTRANCE_RING_2_REO_LEVEL_MPDU_FRAME_INFO_RX_MPDU_DESC_INFO_DETAILS_AMPDU_FLAG 820*5113495bSYour Name 821*5113495bSYour Name Consumer: REO/SW/FW 822*5113495bSYour Name 823*5113495bSYour Name Producer: RXDMA 824*5113495bSYour Name 825*5113495bSYour Name 826*5113495bSYour Name 827*5113495bSYour Name When set, the MPDU was received as part of an A-MPDU. 828*5113495bSYour Name 829*5113495bSYour Name <legal all> 830*5113495bSYour Name */ 831*5113495bSYour Name #define REO_ENTRANCE_RING_2_REO_LEVEL_MPDU_FRAME_INFO_RX_MPDU_DESC_INFO_DETAILS_AMPDU_FLAG_OFFSET 0x00000008 832*5113495bSYour Name #define REO_ENTRANCE_RING_2_REO_LEVEL_MPDU_FRAME_INFO_RX_MPDU_DESC_INFO_DETAILS_AMPDU_FLAG_LSB 22 833*5113495bSYour Name #define REO_ENTRANCE_RING_2_REO_LEVEL_MPDU_FRAME_INFO_RX_MPDU_DESC_INFO_DETAILS_AMPDU_FLAG_MASK 0x00400000 834*5113495bSYour Name 835*5113495bSYour Name /* Description REO_ENTRANCE_RING_2_REO_LEVEL_MPDU_FRAME_INFO_RX_MPDU_DESC_INFO_DETAILS_BAR_FRAME 836*5113495bSYour Name 837*5113495bSYour Name Consumer: REO/SW/FW 838*5113495bSYour Name 839*5113495bSYour Name Producer: RXDMA 840*5113495bSYour Name 841*5113495bSYour Name 842*5113495bSYour Name 843*5113495bSYour Name When set, the received frame is a BAR frame. After 844*5113495bSYour Name processing, this frame shall be pushed to SW or deleted. 845*5113495bSYour Name 846*5113495bSYour Name <legal all> 847*5113495bSYour Name */ 848*5113495bSYour Name #define REO_ENTRANCE_RING_2_REO_LEVEL_MPDU_FRAME_INFO_RX_MPDU_DESC_INFO_DETAILS_BAR_FRAME_OFFSET 0x00000008 849*5113495bSYour Name #define REO_ENTRANCE_RING_2_REO_LEVEL_MPDU_FRAME_INFO_RX_MPDU_DESC_INFO_DETAILS_BAR_FRAME_LSB 23 850*5113495bSYour Name #define REO_ENTRANCE_RING_2_REO_LEVEL_MPDU_FRAME_INFO_RX_MPDU_DESC_INFO_DETAILS_BAR_FRAME_MASK 0x00800000 851*5113495bSYour Name 852*5113495bSYour Name /* Description REO_ENTRANCE_RING_2_REO_LEVEL_MPDU_FRAME_INFO_RX_MPDU_DESC_INFO_DETAILS_PN_FIELDS_CONTAIN_VALID_INFO 853*5113495bSYour Name 854*5113495bSYour Name Consumer: REO/SW/FW 855*5113495bSYour Name 856*5113495bSYour Name Producer: RXDMA 857*5113495bSYour Name 858*5113495bSYour Name 859*5113495bSYour Name 860*5113495bSYour Name Copied here by RXDMA from RX_MPDU_END 861*5113495bSYour Name 862*5113495bSYour Name When not set, REO will Not perform a PN sequence number 863*5113495bSYour Name check 864*5113495bSYour Name */ 865*5113495bSYour Name #define REO_ENTRANCE_RING_2_REO_LEVEL_MPDU_FRAME_INFO_RX_MPDU_DESC_INFO_DETAILS_PN_FIELDS_CONTAIN_VALID_INFO_OFFSET 0x00000008 866*5113495bSYour Name #define REO_ENTRANCE_RING_2_REO_LEVEL_MPDU_FRAME_INFO_RX_MPDU_DESC_INFO_DETAILS_PN_FIELDS_CONTAIN_VALID_INFO_LSB 24 867*5113495bSYour Name #define REO_ENTRANCE_RING_2_REO_LEVEL_MPDU_FRAME_INFO_RX_MPDU_DESC_INFO_DETAILS_PN_FIELDS_CONTAIN_VALID_INFO_MASK 0x01000000 868*5113495bSYour Name 869*5113495bSYour Name /* Description REO_ENTRANCE_RING_2_REO_LEVEL_MPDU_FRAME_INFO_RX_MPDU_DESC_INFO_DETAILS_SA_IS_VALID 870*5113495bSYour Name 871*5113495bSYour Name When set, OLE found a valid SA entry for all MSDUs in 872*5113495bSYour Name this MPDU 873*5113495bSYour Name 874*5113495bSYour Name <legal all> 875*5113495bSYour Name */ 876*5113495bSYour Name #define REO_ENTRANCE_RING_2_REO_LEVEL_MPDU_FRAME_INFO_RX_MPDU_DESC_INFO_DETAILS_SA_IS_VALID_OFFSET 0x00000008 877*5113495bSYour Name #define REO_ENTRANCE_RING_2_REO_LEVEL_MPDU_FRAME_INFO_RX_MPDU_DESC_INFO_DETAILS_SA_IS_VALID_LSB 25 878*5113495bSYour Name #define REO_ENTRANCE_RING_2_REO_LEVEL_MPDU_FRAME_INFO_RX_MPDU_DESC_INFO_DETAILS_SA_IS_VALID_MASK 0x02000000 879*5113495bSYour Name 880*5113495bSYour Name /* Description REO_ENTRANCE_RING_2_REO_LEVEL_MPDU_FRAME_INFO_RX_MPDU_DESC_INFO_DETAILS_SA_IDX_TIMEOUT 881*5113495bSYour Name 882*5113495bSYour Name When set, at least 1 MSDU within the MPDU has an 883*5113495bSYour Name unsuccessful MAC source address search due to the expiration 884*5113495bSYour Name of the search timer. 885*5113495bSYour Name 886*5113495bSYour Name <legal all> 887*5113495bSYour Name */ 888*5113495bSYour Name #define REO_ENTRANCE_RING_2_REO_LEVEL_MPDU_FRAME_INFO_RX_MPDU_DESC_INFO_DETAILS_SA_IDX_TIMEOUT_OFFSET 0x00000008 889*5113495bSYour Name #define REO_ENTRANCE_RING_2_REO_LEVEL_MPDU_FRAME_INFO_RX_MPDU_DESC_INFO_DETAILS_SA_IDX_TIMEOUT_LSB 26 890*5113495bSYour Name #define REO_ENTRANCE_RING_2_REO_LEVEL_MPDU_FRAME_INFO_RX_MPDU_DESC_INFO_DETAILS_SA_IDX_TIMEOUT_MASK 0x04000000 891*5113495bSYour Name 892*5113495bSYour Name /* Description REO_ENTRANCE_RING_2_REO_LEVEL_MPDU_FRAME_INFO_RX_MPDU_DESC_INFO_DETAILS_DA_IS_VALID 893*5113495bSYour Name 894*5113495bSYour Name When set, OLE found a valid DA entry for all MSDUs in 895*5113495bSYour Name this MPDU 896*5113495bSYour Name 897*5113495bSYour Name <legal all> 898*5113495bSYour Name */ 899*5113495bSYour Name #define REO_ENTRANCE_RING_2_REO_LEVEL_MPDU_FRAME_INFO_RX_MPDU_DESC_INFO_DETAILS_DA_IS_VALID_OFFSET 0x00000008 900*5113495bSYour Name #define REO_ENTRANCE_RING_2_REO_LEVEL_MPDU_FRAME_INFO_RX_MPDU_DESC_INFO_DETAILS_DA_IS_VALID_LSB 27 901*5113495bSYour Name #define REO_ENTRANCE_RING_2_REO_LEVEL_MPDU_FRAME_INFO_RX_MPDU_DESC_INFO_DETAILS_DA_IS_VALID_MASK 0x08000000 902*5113495bSYour Name 903*5113495bSYour Name /* Description REO_ENTRANCE_RING_2_REO_LEVEL_MPDU_FRAME_INFO_RX_MPDU_DESC_INFO_DETAILS_DA_IS_MCBC 904*5113495bSYour Name 905*5113495bSYour Name Field Only valid if da_is_valid is set 906*5113495bSYour Name 907*5113495bSYour Name 908*5113495bSYour Name 909*5113495bSYour Name When set, at least one of the DA addresses is a 910*5113495bSYour Name Multicast or Broadcast address. 911*5113495bSYour Name 912*5113495bSYour Name <legal all> 913*5113495bSYour Name */ 914*5113495bSYour Name #define REO_ENTRANCE_RING_2_REO_LEVEL_MPDU_FRAME_INFO_RX_MPDU_DESC_INFO_DETAILS_DA_IS_MCBC_OFFSET 0x00000008 915*5113495bSYour Name #define REO_ENTRANCE_RING_2_REO_LEVEL_MPDU_FRAME_INFO_RX_MPDU_DESC_INFO_DETAILS_DA_IS_MCBC_LSB 28 916*5113495bSYour Name #define REO_ENTRANCE_RING_2_REO_LEVEL_MPDU_FRAME_INFO_RX_MPDU_DESC_INFO_DETAILS_DA_IS_MCBC_MASK 0x10000000 917*5113495bSYour Name 918*5113495bSYour Name /* Description REO_ENTRANCE_RING_2_REO_LEVEL_MPDU_FRAME_INFO_RX_MPDU_DESC_INFO_DETAILS_DA_IDX_TIMEOUT 919*5113495bSYour Name 920*5113495bSYour Name When set, at least 1 MSDU within the MPDU has an 921*5113495bSYour Name unsuccessful MAC destination address search due to the 922*5113495bSYour Name expiration of the search timer. 923*5113495bSYour Name 924*5113495bSYour Name <legal all> 925*5113495bSYour Name */ 926*5113495bSYour Name #define REO_ENTRANCE_RING_2_REO_LEVEL_MPDU_FRAME_INFO_RX_MPDU_DESC_INFO_DETAILS_DA_IDX_TIMEOUT_OFFSET 0x00000008 927*5113495bSYour Name #define REO_ENTRANCE_RING_2_REO_LEVEL_MPDU_FRAME_INFO_RX_MPDU_DESC_INFO_DETAILS_DA_IDX_TIMEOUT_LSB 29 928*5113495bSYour Name #define REO_ENTRANCE_RING_2_REO_LEVEL_MPDU_FRAME_INFO_RX_MPDU_DESC_INFO_DETAILS_DA_IDX_TIMEOUT_MASK 0x20000000 929*5113495bSYour Name 930*5113495bSYour Name /* Description REO_ENTRANCE_RING_2_REO_LEVEL_MPDU_FRAME_INFO_RX_MPDU_DESC_INFO_DETAILS_RAW_MPDU 931*5113495bSYour Name 932*5113495bSYour Name Field only valid when first_msdu_in_mpdu_flag is set. 933*5113495bSYour Name 934*5113495bSYour Name 935*5113495bSYour Name 936*5113495bSYour Name When set, the contents in the MSDU buffer contains a 937*5113495bSYour Name 'RAW' MPDU. This 'RAW' MPDU might be spread out over 938*5113495bSYour Name multiple MSDU buffers. 939*5113495bSYour Name 940*5113495bSYour Name <legal all> 941*5113495bSYour Name */ 942*5113495bSYour Name #define REO_ENTRANCE_RING_2_REO_LEVEL_MPDU_FRAME_INFO_RX_MPDU_DESC_INFO_DETAILS_RAW_MPDU_OFFSET 0x00000008 943*5113495bSYour Name #define REO_ENTRANCE_RING_2_REO_LEVEL_MPDU_FRAME_INFO_RX_MPDU_DESC_INFO_DETAILS_RAW_MPDU_LSB 30 944*5113495bSYour Name #define REO_ENTRANCE_RING_2_REO_LEVEL_MPDU_FRAME_INFO_RX_MPDU_DESC_INFO_DETAILS_RAW_MPDU_MASK 0x40000000 945*5113495bSYour Name 946*5113495bSYour Name /* Description REO_ENTRANCE_RING_2_REO_LEVEL_MPDU_FRAME_INFO_RX_MPDU_DESC_INFO_DETAILS_MORE_FRAGMENT_FLAG 947*5113495bSYour Name 948*5113495bSYour Name The More Fragment bit setting from the MPDU header of 949*5113495bSYour Name the received frame 950*5113495bSYour Name 951*5113495bSYour Name 952*5113495bSYour Name 953*5113495bSYour Name <legal all> 954*5113495bSYour Name */ 955*5113495bSYour Name #define REO_ENTRANCE_RING_2_REO_LEVEL_MPDU_FRAME_INFO_RX_MPDU_DESC_INFO_DETAILS_MORE_FRAGMENT_FLAG_OFFSET 0x00000008 956*5113495bSYour Name #define REO_ENTRANCE_RING_2_REO_LEVEL_MPDU_FRAME_INFO_RX_MPDU_DESC_INFO_DETAILS_MORE_FRAGMENT_FLAG_LSB 31 957*5113495bSYour Name #define REO_ENTRANCE_RING_2_REO_LEVEL_MPDU_FRAME_INFO_RX_MPDU_DESC_INFO_DETAILS_MORE_FRAGMENT_FLAG_MASK 0x80000000 958*5113495bSYour Name 959*5113495bSYour Name /* Description REO_ENTRANCE_RING_3_REO_LEVEL_MPDU_FRAME_INFO_RX_MPDU_DESC_INFO_DETAILS_PEER_META_DATA 960*5113495bSYour Name 961*5113495bSYour Name Meta data that SW has programmed in the Peer table entry 962*5113495bSYour Name of the transmitting STA. 963*5113495bSYour Name 964*5113495bSYour Name <legal all> 965*5113495bSYour Name */ 966*5113495bSYour Name #define REO_ENTRANCE_RING_3_REO_LEVEL_MPDU_FRAME_INFO_RX_MPDU_DESC_INFO_DETAILS_PEER_META_DATA_OFFSET 0x0000000c 967*5113495bSYour Name #define REO_ENTRANCE_RING_3_REO_LEVEL_MPDU_FRAME_INFO_RX_MPDU_DESC_INFO_DETAILS_PEER_META_DATA_LSB 0 968*5113495bSYour Name #define REO_ENTRANCE_RING_3_REO_LEVEL_MPDU_FRAME_INFO_RX_MPDU_DESC_INFO_DETAILS_PEER_META_DATA_MASK 0xffffffff 969*5113495bSYour Name 970*5113495bSYour Name /* Description REO_ENTRANCE_RING_4_RX_REO_QUEUE_DESC_ADDR_31_0 971*5113495bSYour Name 972*5113495bSYour Name Consumer: REO 973*5113495bSYour Name 974*5113495bSYour Name Producer: RXDMA 975*5113495bSYour Name 976*5113495bSYour Name 977*5113495bSYour Name 978*5113495bSYour Name Address (lower 32 bits) of the REO queue descriptor. 979*5113495bSYour Name 980*5113495bSYour Name <legal all> 981*5113495bSYour Name */ 982*5113495bSYour Name #define REO_ENTRANCE_RING_4_RX_REO_QUEUE_DESC_ADDR_31_0_OFFSET 0x00000010 983*5113495bSYour Name #define REO_ENTRANCE_RING_4_RX_REO_QUEUE_DESC_ADDR_31_0_LSB 0 984*5113495bSYour Name #define REO_ENTRANCE_RING_4_RX_REO_QUEUE_DESC_ADDR_31_0_MASK 0xffffffff 985*5113495bSYour Name 986*5113495bSYour Name /* Description REO_ENTRANCE_RING_5_RX_REO_QUEUE_DESC_ADDR_39_32 987*5113495bSYour Name 988*5113495bSYour Name Consumer: REO 989*5113495bSYour Name 990*5113495bSYour Name Producer: RXDMA 991*5113495bSYour Name 992*5113495bSYour Name 993*5113495bSYour Name 994*5113495bSYour Name Address (upper 8 bits) of the REO queue descriptor. 995*5113495bSYour Name 996*5113495bSYour Name <legal all> 997*5113495bSYour Name */ 998*5113495bSYour Name #define REO_ENTRANCE_RING_5_RX_REO_QUEUE_DESC_ADDR_39_32_OFFSET 0x00000014 999*5113495bSYour Name #define REO_ENTRANCE_RING_5_RX_REO_QUEUE_DESC_ADDR_39_32_LSB 0 1000*5113495bSYour Name #define REO_ENTRANCE_RING_5_RX_REO_QUEUE_DESC_ADDR_39_32_MASK 0x000000ff 1001*5113495bSYour Name 1002*5113495bSYour Name /* Description REO_ENTRANCE_RING_5_ROUNDED_MPDU_BYTE_COUNT 1003*5113495bSYour Name 1004*5113495bSYour Name An approximation of the number of bytes received in this 1005*5113495bSYour Name MPDU. 1006*5113495bSYour Name 1007*5113495bSYour Name Used to keeps stats on the amount of data flowing 1008*5113495bSYour Name through a queue. 1009*5113495bSYour Name 1010*5113495bSYour Name <legal all> 1011*5113495bSYour Name */ 1012*5113495bSYour Name #define REO_ENTRANCE_RING_5_ROUNDED_MPDU_BYTE_COUNT_OFFSET 0x00000014 1013*5113495bSYour Name #define REO_ENTRANCE_RING_5_ROUNDED_MPDU_BYTE_COUNT_LSB 8 1014*5113495bSYour Name #define REO_ENTRANCE_RING_5_ROUNDED_MPDU_BYTE_COUNT_MASK 0x003fff00 1015*5113495bSYour Name 1016*5113495bSYour Name /* Description REO_ENTRANCE_RING_5_REO_DESTINATION_INDICATION 1017*5113495bSYour Name 1018*5113495bSYour Name RXDMA copy the MPDU's first MSDU's destination 1019*5113495bSYour Name indication field here. This is used for REO to be able to 1020*5113495bSYour Name re-route the packet to a different SW destination ring if 1021*5113495bSYour Name the packet is detected as error in REO. 1022*5113495bSYour Name 1023*5113495bSYour Name 1024*5113495bSYour Name 1025*5113495bSYour Name The ID of the REO exit ring where the MSDU frame shall 1026*5113495bSYour Name push after (MPDU level) reordering has finished. 1027*5113495bSYour Name 1028*5113495bSYour Name 1029*5113495bSYour Name 1030*5113495bSYour Name <enum 0 reo_destination_tcl> Reo will push the frame 1031*5113495bSYour Name into the REO2TCL ring 1032*5113495bSYour Name 1033*5113495bSYour Name <enum 1 reo_destination_sw1> Reo will push the frame 1034*5113495bSYour Name into the REO2SW1 ring 1035*5113495bSYour Name 1036*5113495bSYour Name <enum 2 reo_destination_sw2> Reo will push the frame 1037*5113495bSYour Name into the REO2SW2 ring 1038*5113495bSYour Name 1039*5113495bSYour Name <enum 3 reo_destination_sw3> Reo will push the frame 1040*5113495bSYour Name into the REO2SW3 ring 1041*5113495bSYour Name 1042*5113495bSYour Name <enum 4 reo_destination_sw4> Reo will push the frame 1043*5113495bSYour Name into the REO2SW4 ring 1044*5113495bSYour Name 1045*5113495bSYour Name <enum 5 reo_destination_release> Reo will push the frame 1046*5113495bSYour Name into the REO_release ring 1047*5113495bSYour Name 1048*5113495bSYour Name <enum 6 reo_destination_fw> Reo will push the frame into 1049*5113495bSYour Name the REO2FW ring 1050*5113495bSYour Name 1051*5113495bSYour Name <enum 7 reo_destination_sw5> Reo will push the frame 1052*5113495bSYour Name into the REO2SW5 ring (REO remaps this in chips without 1053*5113495bSYour Name REO2SW5 ring, e.g. Pine) 1054*5113495bSYour Name 1055*5113495bSYour Name <enum 8 reo_destination_sw6> Reo will push the frame 1056*5113495bSYour Name into the REO2SW6 ring (REO remaps this in chips without 1057*5113495bSYour Name REO2SW6 ring, e.g. Pine) 1058*5113495bSYour Name 1059*5113495bSYour Name <enum 9 reo_destination_9> REO remaps this <enum 10 1060*5113495bSYour Name reo_destination_10> REO remaps this 1061*5113495bSYour Name 1062*5113495bSYour Name <enum 11 reo_destination_11> REO remaps this 1063*5113495bSYour Name 1064*5113495bSYour Name <enum 12 reo_destination_12> REO remaps this <enum 13 1065*5113495bSYour Name reo_destination_13> REO remaps this 1066*5113495bSYour Name 1067*5113495bSYour Name <enum 14 reo_destination_14> REO remaps this 1068*5113495bSYour Name 1069*5113495bSYour Name <enum 15 reo_destination_15> REO remaps this 1070*5113495bSYour Name 1071*5113495bSYour Name <enum 16 reo_destination_16> REO remaps this 1072*5113495bSYour Name 1073*5113495bSYour Name <enum 17 reo_destination_17> REO remaps this 1074*5113495bSYour Name 1075*5113495bSYour Name <enum 18 reo_destination_18> REO remaps this 1076*5113495bSYour Name 1077*5113495bSYour Name <enum 19 reo_destination_19> REO remaps this 1078*5113495bSYour Name 1079*5113495bSYour Name <enum 20 reo_destination_20> REO remaps this 1080*5113495bSYour Name 1081*5113495bSYour Name <enum 21 reo_destination_21> REO remaps this 1082*5113495bSYour Name 1083*5113495bSYour Name <enum 22 reo_destination_22> REO remaps this 1084*5113495bSYour Name 1085*5113495bSYour Name <enum 23 reo_destination_23> REO remaps this 1086*5113495bSYour Name 1087*5113495bSYour Name <enum 24 reo_destination_24> REO remaps this 1088*5113495bSYour Name 1089*5113495bSYour Name <enum 25 reo_destination_25> REO remaps this 1090*5113495bSYour Name 1091*5113495bSYour Name <enum 26 reo_destination_26> REO remaps this 1092*5113495bSYour Name 1093*5113495bSYour Name <enum 27 reo_destination_27> REO remaps this 1094*5113495bSYour Name 1095*5113495bSYour Name <enum 28 reo_destination_28> REO remaps this 1096*5113495bSYour Name 1097*5113495bSYour Name <enum 29 reo_destination_29> REO remaps this 1098*5113495bSYour Name 1099*5113495bSYour Name <enum 30 reo_destination_30> REO remaps this 1100*5113495bSYour Name 1101*5113495bSYour Name <enum 31 reo_destination_31> REO remaps this 1102*5113495bSYour Name 1103*5113495bSYour Name 1104*5113495bSYour Name 1105*5113495bSYour Name <legal all> 1106*5113495bSYour Name */ 1107*5113495bSYour Name #define REO_ENTRANCE_RING_5_REO_DESTINATION_INDICATION_OFFSET 0x00000014 1108*5113495bSYour Name #define REO_ENTRANCE_RING_5_REO_DESTINATION_INDICATION_LSB 22 1109*5113495bSYour Name #define REO_ENTRANCE_RING_5_REO_DESTINATION_INDICATION_MASK 0x07c00000 1110*5113495bSYour Name 1111*5113495bSYour Name /* Description REO_ENTRANCE_RING_5_FRAMELESS_BAR 1112*5113495bSYour Name 1113*5113495bSYour Name When set, this REO entrance ring struct contains BAR 1114*5113495bSYour Name info from a multi TID BAR frame. The original multi TID BAR 1115*5113495bSYour Name frame itself contained all the REO info for the first TID, 1116*5113495bSYour Name but all the subsequent TID info and their linkage to the REO 1117*5113495bSYour Name descriptors is passed down as 'frameless' BAR info. 1118*5113495bSYour Name 1119*5113495bSYour Name 1120*5113495bSYour Name 1121*5113495bSYour Name The only fields valid in this descriptor when this bit 1122*5113495bSYour Name is set are: 1123*5113495bSYour Name 1124*5113495bSYour Name Rx_reo_queue_desc_addr_31_0 1125*5113495bSYour Name 1126*5113495bSYour Name RX_reo_queue_desc_addr_39_32 1127*5113495bSYour Name 1128*5113495bSYour Name 1129*5113495bSYour Name 1130*5113495bSYour Name And within the 1131*5113495bSYour Name 1132*5113495bSYour Name Reo_level_mpdu_frame_info: 1133*5113495bSYour Name 1134*5113495bSYour Name Within Rx_mpdu_desc_info_details: 1135*5113495bSYour Name 1136*5113495bSYour Name Mpdu_Sequence_number 1137*5113495bSYour Name 1138*5113495bSYour Name BAR_frame 1139*5113495bSYour Name 1140*5113495bSYour Name Peer_meta_data 1141*5113495bSYour Name 1142*5113495bSYour Name All other fields shall be set to 0 1143*5113495bSYour Name 1144*5113495bSYour Name 1145*5113495bSYour Name 1146*5113495bSYour Name <legal all> 1147*5113495bSYour Name */ 1148*5113495bSYour Name #define REO_ENTRANCE_RING_5_FRAMELESS_BAR_OFFSET 0x00000014 1149*5113495bSYour Name #define REO_ENTRANCE_RING_5_FRAMELESS_BAR_LSB 27 1150*5113495bSYour Name #define REO_ENTRANCE_RING_5_FRAMELESS_BAR_MASK 0x08000000 1151*5113495bSYour Name 1152*5113495bSYour Name /* Description REO_ENTRANCE_RING_5_RESERVED_5A 1153*5113495bSYour Name 1154*5113495bSYour Name <legal 0> 1155*5113495bSYour Name */ 1156*5113495bSYour Name #define REO_ENTRANCE_RING_5_RESERVED_5A_OFFSET 0x00000014 1157*5113495bSYour Name #define REO_ENTRANCE_RING_5_RESERVED_5A_LSB 28 1158*5113495bSYour Name #define REO_ENTRANCE_RING_5_RESERVED_5A_MASK 0xf0000000 1159*5113495bSYour Name 1160*5113495bSYour Name /* Description REO_ENTRANCE_RING_6_RXDMA_PUSH_REASON 1161*5113495bSYour Name 1162*5113495bSYour Name Indicates why rxdma pushed the frame to this ring 1163*5113495bSYour Name 1164*5113495bSYour Name 1165*5113495bSYour Name 1166*5113495bSYour Name This field is ignored by REO. 1167*5113495bSYour Name 1168*5113495bSYour Name 1169*5113495bSYour Name 1170*5113495bSYour Name <enum 0 rxdma_error_detected> RXDMA detected an error an 1171*5113495bSYour Name pushed this frame to this queue 1172*5113495bSYour Name 1173*5113495bSYour Name <enum 1 rxdma_routing_instruction> RXDMA pushed the 1174*5113495bSYour Name frame to this queue per received routing instructions. No 1175*5113495bSYour Name error within RXDMA was detected 1176*5113495bSYour Name 1177*5113495bSYour Name <enum 2 rxdma_rx_flush> RXDMA received an RX_FLUSH. As a 1178*5113495bSYour Name result the MSDU link descriptor might not have the 1179*5113495bSYour Name last_msdu_in_mpdu_flag set, but instead WBM might just see a 1180*5113495bSYour Name NULL pointer in the MSDU link descriptor. This is to be 1181*5113495bSYour Name considered a normal condition for this scenario. 1182*5113495bSYour Name 1183*5113495bSYour Name 1184*5113495bSYour Name 1185*5113495bSYour Name <legal 0 - 2> 1186*5113495bSYour Name */ 1187*5113495bSYour Name #define REO_ENTRANCE_RING_6_RXDMA_PUSH_REASON_OFFSET 0x00000018 1188*5113495bSYour Name #define REO_ENTRANCE_RING_6_RXDMA_PUSH_REASON_LSB 0 1189*5113495bSYour Name #define REO_ENTRANCE_RING_6_RXDMA_PUSH_REASON_MASK 0x00000003 1190*5113495bSYour Name 1191*5113495bSYour Name /* Description REO_ENTRANCE_RING_6_RXDMA_ERROR_CODE 1192*5113495bSYour Name 1193*5113495bSYour Name Field only valid when 'rxdma_push_reason' set to 1194*5113495bSYour Name 'rxdma_error_detected'. 1195*5113495bSYour Name 1196*5113495bSYour Name 1197*5113495bSYour Name 1198*5113495bSYour Name This field is ignored by REO. 1199*5113495bSYour Name 1200*5113495bSYour Name 1201*5113495bSYour Name 1202*5113495bSYour Name <enum 0 rxdma_overflow_err>MPDU frame is not complete 1203*5113495bSYour Name due to a FIFO overflow error in RXPCU. 1204*5113495bSYour Name 1205*5113495bSYour Name <enum 1 rxdma_mpdu_length_err>MPDU frame is not complete 1206*5113495bSYour Name due to receiving incomplete MPDU from the PHY 1207*5113495bSYour Name 1208*5113495bSYour Name 1209*5113495bSYour Name <enum 3 rxdma_decrypt_err>CRYPTO reported a decryption 1210*5113495bSYour Name error or CRYPTO received an encrypted frame, but did not get 1211*5113495bSYour Name a valid corresponding key id in the peer entry. 1212*5113495bSYour Name 1213*5113495bSYour Name <enum 4 rxdma_tkip_mic_err>CRYPTO reported a TKIP MIC 1214*5113495bSYour Name error 1215*5113495bSYour Name 1216*5113495bSYour Name <enum 5 rxdma_unecrypted_err>CRYPTO reported an 1217*5113495bSYour Name unencrypted frame error when encrypted was expected 1218*5113495bSYour Name 1219*5113495bSYour Name <enum 6 rxdma_msdu_len_err>RX OLE reported an MSDU 1220*5113495bSYour Name length error 1221*5113495bSYour Name 1222*5113495bSYour Name <enum 7 rxdma_msdu_limit_err>RX OLE reported that max 1223*5113495bSYour Name number of MSDUs allowed in an MPDU got exceeded 1224*5113495bSYour Name 1225*5113495bSYour Name <enum 8 rxdma_wifi_parse_err>RX OLE reported a parsing 1226*5113495bSYour Name error 1227*5113495bSYour Name 1228*5113495bSYour Name <enum 9 rxdma_amsdu_parse_err>RX OLE reported an A-MSDU 1229*5113495bSYour Name parsing error 1230*5113495bSYour Name 1231*5113495bSYour Name <enum 10 rxdma_sa_timeout_err>RX OLE reported a timeout 1232*5113495bSYour Name during SA search 1233*5113495bSYour Name 1234*5113495bSYour Name <enum 11 rxdma_da_timeout_err>RX OLE reported a timeout 1235*5113495bSYour Name during DA search 1236*5113495bSYour Name 1237*5113495bSYour Name <enum 12 rxdma_flow_timeout_err>RX OLE reported a 1238*5113495bSYour Name timeout during flow search 1239*5113495bSYour Name 1240*5113495bSYour Name <enum 13 rxdma_flush_request>RXDMA received a flush 1241*5113495bSYour Name request 1242*5113495bSYour Name 1243*5113495bSYour Name <enum 14 rxdma_amsdu_fragment_err>Rx PCU reported A-MSDU 1244*5113495bSYour Name present as well as a fragmented MPDU. A-MSDU defragmentation 1245*5113495bSYour Name is not supported in Lithium SW so this is treated as an 1246*5113495bSYour Name error. 1247*5113495bSYour Name */ 1248*5113495bSYour Name #define REO_ENTRANCE_RING_6_RXDMA_ERROR_CODE_OFFSET 0x00000018 1249*5113495bSYour Name #define REO_ENTRANCE_RING_6_RXDMA_ERROR_CODE_LSB 2 1250*5113495bSYour Name #define REO_ENTRANCE_RING_6_RXDMA_ERROR_CODE_MASK 0x0000007c 1251*5113495bSYour Name 1252*5113495bSYour Name /* Description REO_ENTRANCE_RING_6_MPDU_FRAGMENT_NUMBER 1253*5113495bSYour Name 1254*5113495bSYour Name Field only valid when Reo_level_mpdu_frame_info. 1255*5113495bSYour Name Rx_mpdu_desc_info_details.Fragment_flag is set. 1256*5113495bSYour Name 1257*5113495bSYour Name 1258*5113495bSYour Name 1259*5113495bSYour Name The fragment number from the 802.11 header. 1260*5113495bSYour Name 1261*5113495bSYour Name 1262*5113495bSYour Name 1263*5113495bSYour Name Note that the sequence number is embedded in the field: 1264*5113495bSYour Name Reo_level_mpdu_frame_info. Rx_mpdu_desc_info_details. 1265*5113495bSYour Name Mpdu_sequence_number 1266*5113495bSYour Name 1267*5113495bSYour Name 1268*5113495bSYour Name 1269*5113495bSYour Name <legal all> 1270*5113495bSYour Name */ 1271*5113495bSYour Name #define REO_ENTRANCE_RING_6_MPDU_FRAGMENT_NUMBER_OFFSET 0x00000018 1272*5113495bSYour Name #define REO_ENTRANCE_RING_6_MPDU_FRAGMENT_NUMBER_LSB 7 1273*5113495bSYour Name #define REO_ENTRANCE_RING_6_MPDU_FRAGMENT_NUMBER_MASK 0x00000780 1274*5113495bSYour Name 1275*5113495bSYour Name /* Description REO_ENTRANCE_RING_6_SW_EXCEPTION 1276*5113495bSYour Name 1277*5113495bSYour Name When not set, REO is performing all its default MPDU 1278*5113495bSYour Name processing operations, 1279*5113495bSYour Name 1280*5113495bSYour Name When set, this REO entrance descriptor is generated by 1281*5113495bSYour Name FW, and should be processed as an exception. This implies: 1282*5113495bSYour Name 1283*5113495bSYour Name NO re-order function is needed. 1284*5113495bSYour Name 1285*5113495bSYour Name MPDU delinking is determined by the setting of field 1286*5113495bSYour Name SW_excection_mpdu_delink 1287*5113495bSYour Name 1288*5113495bSYour Name Destination ring selection is based on the setting of 1289*5113495bSYour Name the field SW_exception_destination_ring_valid 1290*5113495bSYour Name 1291*5113495bSYour Name In the destination ring descriptor set bit: 1292*5113495bSYour Name SW_exception_entry 1293*5113495bSYour Name 1294*5113495bSYour Name Feature supported only in HastingsPrime 1295*5113495bSYour Name 1296*5113495bSYour Name <legal all> 1297*5113495bSYour Name */ 1298*5113495bSYour Name #define REO_ENTRANCE_RING_6_SW_EXCEPTION_OFFSET 0x00000018 1299*5113495bSYour Name #define REO_ENTRANCE_RING_6_SW_EXCEPTION_LSB 11 1300*5113495bSYour Name #define REO_ENTRANCE_RING_6_SW_EXCEPTION_MASK 0x00000800 1301*5113495bSYour Name 1302*5113495bSYour Name /* Description REO_ENTRANCE_RING_6_SW_EXCEPTION_MPDU_DELINK 1303*5113495bSYour Name 1304*5113495bSYour Name Field only valid when SW_exception is set. 1305*5113495bSYour Name 1306*5113495bSYour Name 1'b0: REO should NOT delink the MPDU, and thus pass this 1307*5113495bSYour Name MPDU on to the destination ring as is. This implies that in 1308*5113495bSYour Name the REO_DESTINATION_RING struct field 1309*5113495bSYour Name Buf_or_link_desc_addr_info should point to an MSDU link 1310*5113495bSYour Name descriptor 1311*5113495bSYour Name 1312*5113495bSYour Name 1'b1: REO should perform the normal MPDU delink into 1313*5113495bSYour Name MSDU operations. 1314*5113495bSYour Name 1315*5113495bSYour Name Feature supported only in HastingsPrime 1316*5113495bSYour Name 1317*5113495bSYour Name <legal all> 1318*5113495bSYour Name */ 1319*5113495bSYour Name #define REO_ENTRANCE_RING_6_SW_EXCEPTION_MPDU_DELINK_OFFSET 0x00000018 1320*5113495bSYour Name #define REO_ENTRANCE_RING_6_SW_EXCEPTION_MPDU_DELINK_LSB 12 1321*5113495bSYour Name #define REO_ENTRANCE_RING_6_SW_EXCEPTION_MPDU_DELINK_MASK 0x00001000 1322*5113495bSYour Name 1323*5113495bSYour Name /* Description REO_ENTRANCE_RING_6_SW_EXCEPTION_DESTINATION_RING_VALID 1324*5113495bSYour Name 1325*5113495bSYour Name Field only valid when SW_exception is set. 1326*5113495bSYour Name 1327*5113495bSYour Name 1'b0: REO shall push the MPDU (or delinked MPDU based on 1328*5113495bSYour Name the setting of SW_exception_mpdu_delink) to the destination 1329*5113495bSYour Name ring according to field reo_destination_indication. 1330*5113495bSYour Name 1331*5113495bSYour Name 1'b1: REO shall push the MPDU (or delinked MPDU based on 1332*5113495bSYour Name the setting of SW_exception_mpdu_delink) to the destination 1333*5113495bSYour Name ring according to field SW_exception_destination_ring. 1334*5113495bSYour Name 1335*5113495bSYour Name Feature supported only in HastingsPrime 1336*5113495bSYour Name 1337*5113495bSYour Name <legal all> 1338*5113495bSYour Name */ 1339*5113495bSYour Name #define REO_ENTRANCE_RING_6_SW_EXCEPTION_DESTINATION_RING_VALID_OFFSET 0x00000018 1340*5113495bSYour Name #define REO_ENTRANCE_RING_6_SW_EXCEPTION_DESTINATION_RING_VALID_LSB 13 1341*5113495bSYour Name #define REO_ENTRANCE_RING_6_SW_EXCEPTION_DESTINATION_RING_VALID_MASK 0x00002000 1342*5113495bSYour Name 1343*5113495bSYour Name /* Description REO_ENTRANCE_RING_6_SW_EXCEPTION_DESTINATION_RING 1344*5113495bSYour Name 1345*5113495bSYour Name Field only valid when fields SW_exception and 1346*5113495bSYour Name SW_exception_destination_ring_valid are set. 1347*5113495bSYour Name 1348*5113495bSYour Name The ID of the ring where REO shall push this frame. 1349*5113495bSYour Name 1350*5113495bSYour Name <enum 0 reo_destination_tcl> Reo will push the frame 1351*5113495bSYour Name into the REO2TCL ring 1352*5113495bSYour Name 1353*5113495bSYour Name <enum 1 reo_destination_sw1> Reo will push the frame 1354*5113495bSYour Name into the REO2SW1 ring 1355*5113495bSYour Name 1356*5113495bSYour Name <enum 2 reo_destination_sw2> Reo will push the frame 1357*5113495bSYour Name into the REO2SW1 ring 1358*5113495bSYour Name 1359*5113495bSYour Name <enum 3 reo_destination_sw3> Reo will push the frame 1360*5113495bSYour Name into the REO2SW1 ring 1361*5113495bSYour Name 1362*5113495bSYour Name <enum 4 reo_destination_sw4> Reo will push the frame 1363*5113495bSYour Name into the REO2SW1 ring 1364*5113495bSYour Name 1365*5113495bSYour Name <enum 5 reo_destination_release> Reo will push the frame 1366*5113495bSYour Name into the REO_release ring 1367*5113495bSYour Name 1368*5113495bSYour Name <enum 6 reo_destination_fw> Reo will push the frame into 1369*5113495bSYour Name the REO2FW ring 1370*5113495bSYour Name 1371*5113495bSYour Name <enum 7 reo_destination_sw5> REO remaps this 1372*5113495bSYour Name 1373*5113495bSYour Name <enum 8 reo_destination_sw6> REO remaps this 1374*5113495bSYour Name 1375*5113495bSYour Name <enum 9 reo_destination_9> REO remaps this 1376*5113495bSYour Name 1377*5113495bSYour Name <enum 10 reo_destination_10> REO remaps this 1378*5113495bSYour Name 1379*5113495bSYour Name <enum 11 reo_destination_11> REO remaps this 1380*5113495bSYour Name 1381*5113495bSYour Name <enum 12 reo_destination_12> REO remaps this <enum 13 1382*5113495bSYour Name reo_destination_13> REO remaps this 1383*5113495bSYour Name 1384*5113495bSYour Name <enum 14 reo_destination_14> REO remaps this 1385*5113495bSYour Name 1386*5113495bSYour Name <enum 15 reo_destination_15> REO remaps this 1387*5113495bSYour Name 1388*5113495bSYour Name <enum 16 reo_destination_16> REO remaps this 1389*5113495bSYour Name 1390*5113495bSYour Name <enum 17 reo_destination_17> REO remaps this 1391*5113495bSYour Name 1392*5113495bSYour Name <enum 18 reo_destination_18> REO remaps this 1393*5113495bSYour Name 1394*5113495bSYour Name <enum 19 reo_destination_19> REO remaps this 1395*5113495bSYour Name 1396*5113495bSYour Name <enum 20 reo_destination_20> REO remaps this 1397*5113495bSYour Name 1398*5113495bSYour Name <enum 21 reo_destination_21> REO remaps this 1399*5113495bSYour Name 1400*5113495bSYour Name <enum 22 reo_destination_22> REO remaps this 1401*5113495bSYour Name 1402*5113495bSYour Name <enum 23 reo_destination_23> REO remaps this 1403*5113495bSYour Name 1404*5113495bSYour Name <enum 24 reo_destination_24> REO remaps this 1405*5113495bSYour Name 1406*5113495bSYour Name <enum 25 reo_destination_25> REO remaps this 1407*5113495bSYour Name 1408*5113495bSYour Name <enum 26 reo_destination_26> REO remaps this 1409*5113495bSYour Name 1410*5113495bSYour Name <enum 27 reo_destination_27> REO remaps this 1411*5113495bSYour Name 1412*5113495bSYour Name <enum 28 reo_destination_28> REO remaps this 1413*5113495bSYour Name 1414*5113495bSYour Name <enum 29 reo_destination_29> REO remaps this 1415*5113495bSYour Name 1416*5113495bSYour Name <enum 30 reo_destination_30> REO remaps this 1417*5113495bSYour Name 1418*5113495bSYour Name <enum 31 reo_destination_31> REO remaps this 1419*5113495bSYour Name 1420*5113495bSYour Name 1421*5113495bSYour Name 1422*5113495bSYour Name Feature supported only in HastingsPrime 1423*5113495bSYour Name 1424*5113495bSYour Name <legal all> 1425*5113495bSYour Name */ 1426*5113495bSYour Name #define REO_ENTRANCE_RING_6_SW_EXCEPTION_DESTINATION_RING_OFFSET 0x00000018 1427*5113495bSYour Name #define REO_ENTRANCE_RING_6_SW_EXCEPTION_DESTINATION_RING_LSB 14 1428*5113495bSYour Name #define REO_ENTRANCE_RING_6_SW_EXCEPTION_DESTINATION_RING_MASK 0x0007c000 1429*5113495bSYour Name 1430*5113495bSYour Name /* Description REO_ENTRANCE_RING_6_RESERVED_6A 1431*5113495bSYour Name 1432*5113495bSYour Name <legal 0> 1433*5113495bSYour Name */ 1434*5113495bSYour Name #define REO_ENTRANCE_RING_6_RESERVED_6A_OFFSET 0x00000018 1435*5113495bSYour Name #define REO_ENTRANCE_RING_6_RESERVED_6A_LSB 19 1436*5113495bSYour Name #define REO_ENTRANCE_RING_6_RESERVED_6A_MASK 0xfff80000 1437*5113495bSYour Name 1438*5113495bSYour Name /* Description REO_ENTRANCE_RING_7_PHY_PPDU_ID 1439*5113495bSYour Name 1440*5113495bSYour Name A PPDU counter value that PHY increments for every PPDU 1441*5113495bSYour Name received 1442*5113495bSYour Name 1443*5113495bSYour Name The counter value wraps around. Pine RXDMA can be 1444*5113495bSYour Name configured to copy this from the RX_PPDU_START TLV for every 1445*5113495bSYour Name output descriptor. 1446*5113495bSYour Name 1447*5113495bSYour Name 1448*5113495bSYour Name 1449*5113495bSYour Name This field is ignored by REO. 1450*5113495bSYour Name 1451*5113495bSYour Name 1452*5113495bSYour Name 1453*5113495bSYour Name Feature supported only in Pine 1454*5113495bSYour Name 1455*5113495bSYour Name <legal all> 1456*5113495bSYour Name */ 1457*5113495bSYour Name #define REO_ENTRANCE_RING_7_PHY_PPDU_ID_OFFSET 0x0000001c 1458*5113495bSYour Name #define REO_ENTRANCE_RING_7_PHY_PPDU_ID_LSB 0 1459*5113495bSYour Name #define REO_ENTRANCE_RING_7_PHY_PPDU_ID_MASK 0x0000ffff 1460*5113495bSYour Name 1461*5113495bSYour Name /* Description REO_ENTRANCE_RING_7_RESERVED_7A 1462*5113495bSYour Name 1463*5113495bSYour Name <legal 0> 1464*5113495bSYour Name */ 1465*5113495bSYour Name #define REO_ENTRANCE_RING_7_RESERVED_7A_OFFSET 0x0000001c 1466*5113495bSYour Name #define REO_ENTRANCE_RING_7_RESERVED_7A_LSB 16 1467*5113495bSYour Name #define REO_ENTRANCE_RING_7_RESERVED_7A_MASK 0x000f0000 1468*5113495bSYour Name 1469*5113495bSYour Name /* Description REO_ENTRANCE_RING_7_RING_ID 1470*5113495bSYour Name 1471*5113495bSYour Name Consumer: SW/REO/DEBUG 1472*5113495bSYour Name 1473*5113495bSYour Name Producer: SRNG (of RXDMA) 1474*5113495bSYour Name 1475*5113495bSYour Name 1476*5113495bSYour Name 1477*5113495bSYour Name For debugging. 1478*5113495bSYour Name 1479*5113495bSYour Name This field is filled in by the SRNG module. 1480*5113495bSYour Name 1481*5113495bSYour Name It help to identify the ring that is being looked <legal 1482*5113495bSYour Name all> 1483*5113495bSYour Name */ 1484*5113495bSYour Name #define REO_ENTRANCE_RING_7_RING_ID_OFFSET 0x0000001c 1485*5113495bSYour Name #define REO_ENTRANCE_RING_7_RING_ID_LSB 20 1486*5113495bSYour Name #define REO_ENTRANCE_RING_7_RING_ID_MASK 0x0ff00000 1487*5113495bSYour Name 1488*5113495bSYour Name /* Description REO_ENTRANCE_RING_7_LOOPING_COUNT 1489*5113495bSYour Name 1490*5113495bSYour Name Consumer: SW/REO/DEBUG 1491*5113495bSYour Name 1492*5113495bSYour Name Producer: SRNG (of RXDMA) 1493*5113495bSYour Name 1494*5113495bSYour Name 1495*5113495bSYour Name 1496*5113495bSYour Name For debugging. 1497*5113495bSYour Name 1498*5113495bSYour Name This field is filled in by the SRNG module. 1499*5113495bSYour Name 1500*5113495bSYour Name 1501*5113495bSYour Name 1502*5113495bSYour Name A count value that indicates the number of times the 1503*5113495bSYour Name producer of entries into this Ring has looped around the 1504*5113495bSYour Name ring. 1505*5113495bSYour Name 1506*5113495bSYour Name At initialization time, this value is set to 0. On the 1507*5113495bSYour Name first loop, this value is set to 1. After the max value is 1508*5113495bSYour Name reached allowed by the number of bits for this field, the 1509*5113495bSYour Name count value continues with 0 again. 1510*5113495bSYour Name 1511*5113495bSYour Name 1512*5113495bSYour Name 1513*5113495bSYour Name In case SW is the consumer of the ring entries, it can 1514*5113495bSYour Name use this field to figure out up to where the producer of 1515*5113495bSYour Name entries has created new entries. This eliminates the need to 1516*5113495bSYour Name check where the head pointer' of the ring is located once 1517*5113495bSYour Name the SW starts processing an interrupt indicating that new 1518*5113495bSYour Name entries have been put into this ring... 1519*5113495bSYour Name 1520*5113495bSYour Name 1521*5113495bSYour Name 1522*5113495bSYour Name Also note that SW if it wants only needs to look at the 1523*5113495bSYour Name LSB bit of this count value. 1524*5113495bSYour Name 1525*5113495bSYour Name <legal all> 1526*5113495bSYour Name */ 1527*5113495bSYour Name #define REO_ENTRANCE_RING_7_LOOPING_COUNT_OFFSET 0x0000001c 1528*5113495bSYour Name #define REO_ENTRANCE_RING_7_LOOPING_COUNT_LSB 28 1529*5113495bSYour Name #define REO_ENTRANCE_RING_7_LOOPING_COUNT_MASK 0xf0000000 1530*5113495bSYour Name 1531*5113495bSYour Name 1532*5113495bSYour Name #endif // _REO_ENTRANCE_RING_H_ 1533