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 _HE_SIG_A_SU_INFO_H_ 25*5113495bSYour Name #define _HE_SIG_A_SU_INFO_H_ 26*5113495bSYour Name #if !defined(__ASSEMBLER__) 27*5113495bSYour Name #endif 28*5113495bSYour Name 29*5113495bSYour Name 30*5113495bSYour Name // ################ START SUMMARY ################# 31*5113495bSYour Name // 32*5113495bSYour Name // Dword Fields 33*5113495bSYour Name // 0 format_indication[0], beam_change[1], dl_ul_flag[2], transmit_mcs[6:3], dcm[7], bss_color_id[13:8], reserved_0a[14], spatial_reuse[18:15], transmit_bw[20:19], cp_ltf_size[22:21], nsts[25:23], reserved_0b[31:26] 34*5113495bSYour Name // 1 txop_duration[6:0], coding[7], ldpc_extra_symbol[8], stbc[9], txbf[10], packet_extension_a_factor[12:11], packet_extension_pe_disambiguity[13], reserved_1a[14], doppler_indication[15], crc[19:16], tail[25:20], dot11ax_su_extended[26], dot11ax_ext_ru_size[30:27], rx_ndp[31] 35*5113495bSYour Name // 36*5113495bSYour Name // ################ END SUMMARY ################# 37*5113495bSYour Name 38*5113495bSYour Name #define NUM_OF_DWORDS_HE_SIG_A_SU_INFO 2 39*5113495bSYour Name 40*5113495bSYour Name struct he_sig_a_su_info { 41*5113495bSYour Name uint32_t format_indication : 1, //[0] 42*5113495bSYour Name beam_change : 1, //[1] 43*5113495bSYour Name dl_ul_flag : 1, //[2] 44*5113495bSYour Name transmit_mcs : 4, //[6:3] 45*5113495bSYour Name dcm : 1, //[7] 46*5113495bSYour Name bss_color_id : 6, //[13:8] 47*5113495bSYour Name reserved_0a : 1, //[14] 48*5113495bSYour Name spatial_reuse : 4, //[18:15] 49*5113495bSYour Name transmit_bw : 2, //[20:19] 50*5113495bSYour Name cp_ltf_size : 2, //[22:21] 51*5113495bSYour Name nsts : 3, //[25:23] 52*5113495bSYour Name reserved_0b : 6; //[31:26] 53*5113495bSYour Name uint32_t txop_duration : 7, //[6:0] 54*5113495bSYour Name coding : 1, //[7] 55*5113495bSYour Name ldpc_extra_symbol : 1, //[8] 56*5113495bSYour Name stbc : 1, //[9] 57*5113495bSYour Name txbf : 1, //[10] 58*5113495bSYour Name packet_extension_a_factor : 2, //[12:11] 59*5113495bSYour Name packet_extension_pe_disambiguity: 1, //[13] 60*5113495bSYour Name reserved_1a : 1, //[14] 61*5113495bSYour Name doppler_indication : 1, //[15] 62*5113495bSYour Name crc : 4, //[19:16] 63*5113495bSYour Name tail : 6, //[25:20] 64*5113495bSYour Name dot11ax_su_extended : 1, //[26] 65*5113495bSYour Name dot11ax_ext_ru_size : 4, //[30:27] 66*5113495bSYour Name rx_ndp : 1; //[31] 67*5113495bSYour Name }; 68*5113495bSYour Name 69*5113495bSYour Name /* 70*5113495bSYour Name 71*5113495bSYour Name format_indication 72*5113495bSYour Name 73*5113495bSYour Name <enum 0 HE_SIGA_FORMAT_HE_TRIG> 74*5113495bSYour Name 75*5113495bSYour Name <enum 1 HE_SIGA_FORMAT_SU_OR_EXT_SU> 76*5113495bSYour Name 77*5113495bSYour Name <legal all> 78*5113495bSYour Name 79*5113495bSYour Name beam_change 80*5113495bSYour Name 81*5113495bSYour Name Indicates whether spatial mapping is changed between 82*5113495bSYour Name legacy and HE portion of preamble. If not, channel 83*5113495bSYour Name estimation can include legacy preamble to improve accuracy 84*5113495bSYour Name 85*5113495bSYour Name <legal all> 86*5113495bSYour Name 87*5113495bSYour Name dl_ul_flag 88*5113495bSYour Name 89*5113495bSYour Name Differentiates between DL and UL transmission 90*5113495bSYour Name 91*5113495bSYour Name 92*5113495bSYour Name 93*5113495bSYour Name <enum 0 DL_UL_FLAG_IS_DL_OR_TDLS> 94*5113495bSYour Name 95*5113495bSYour Name <enum 1 DL_UL_FLAG_IS_UL> 96*5113495bSYour Name 97*5113495bSYour Name <legal all> 98*5113495bSYour Name 99*5113495bSYour Name transmit_mcs 100*5113495bSYour Name 101*5113495bSYour Name Indicates the data MCS 102*5113495bSYour Name 103*5113495bSYour Name 104*5113495bSYour Name 105*5113495bSYour Name Field Used by MAC HW 106*5113495bSYour Name 107*5113495bSYour Name <legal all> 108*5113495bSYour Name 109*5113495bSYour Name dcm 110*5113495bSYour Name 111*5113495bSYour Name 112*5113495bSYour Name 0: No DCM 113*5113495bSYour Name 114*5113495bSYour Name 1:DCM 115*5113495bSYour Name 116*5113495bSYour Name <legal all> 117*5113495bSYour Name 118*5113495bSYour Name bss_color_id 119*5113495bSYour Name 120*5113495bSYour Name BSS color ID 121*5113495bSYour Name 122*5113495bSYour Name 123*5113495bSYour Name 124*5113495bSYour Name Field Used by MAC HW 125*5113495bSYour Name 126*5113495bSYour Name <legal all> 127*5113495bSYour Name 128*5113495bSYour Name reserved_0a 129*5113495bSYour Name 130*5113495bSYour Name Note: spec indicates this shall be set to 1 131*5113495bSYour Name 132*5113495bSYour Name <legal 1> 133*5113495bSYour Name 134*5113495bSYour Name spatial_reuse 135*5113495bSYour Name 136*5113495bSYour Name Spatial reuse 137*5113495bSYour Name 138*5113495bSYour Name 139*5113495bSYour Name 140*5113495bSYour Name For 20MHz one SR field corresponding to entire 20MHz 141*5113495bSYour Name (other 3 fields indicate identical values) 142*5113495bSYour Name 143*5113495bSYour Name For 40MHz two SR fields for each 20MHz (other 2 fields 144*5113495bSYour Name indicate identical values) 145*5113495bSYour Name 146*5113495bSYour Name For 80MHz four SR fields for each 20MHz 147*5113495bSYour Name 148*5113495bSYour Name For 160MHz four SR fields for each 40MHz 149*5113495bSYour Name 150*5113495bSYour Name <legal all> 151*5113495bSYour Name 152*5113495bSYour Name transmit_bw 153*5113495bSYour Name 154*5113495bSYour Name Bandwidth of the PPDU. 155*5113495bSYour Name 156*5113495bSYour Name 157*5113495bSYour Name 158*5113495bSYour Name For HE SU PPDU 159*5113495bSYour Name 160*5113495bSYour Name 161*5113495bSYour Name <enum 0 HE_SIG_A_BW20> 20 Mhz 162*5113495bSYour Name 163*5113495bSYour Name <enum 1 HE_SIG_A_BW40> 40 Mhz 164*5113495bSYour Name 165*5113495bSYour Name <enum 2 HE_SIG_A_BW80> 80 Mhz 166*5113495bSYour Name 167*5113495bSYour Name <enum 3 HE_SIG_A_BW160> 160 MHz or 80+80 MHz 168*5113495bSYour Name 169*5113495bSYour Name 170*5113495bSYour Name 171*5113495bSYour Name For HE Extended Range SU PPDU 172*5113495bSYour Name 173*5113495bSYour Name Set to 0 for 242-tone RU 174*5113495bSYour Name Set to 1 for right 106-tone RU within the primary 20 MHz 175*5113495bSYour Name 176*5113495bSYour Name 177*5113495bSYour Name 178*5113495bSYour Name On RX side, Field Used by MAC HW 179*5113495bSYour Name 180*5113495bSYour Name <legal all> 181*5113495bSYour Name 182*5113495bSYour Name cp_ltf_size 183*5113495bSYour Name 184*5113495bSYour Name Indicates the CP and HE-LTF type 185*5113495bSYour Name 186*5113495bSYour Name 187*5113495bSYour Name 188*5113495bSYour Name <enum 0 OneX_LTF_0_8CP> 1xLTF + 0.8 us CP (See note for 189*5113495bSYour Name proprietary mode) 190*5113495bSYour Name 191*5113495bSYour Name <enum 1 TwoX_LTF_0_8CP> 2x LTF + 0.8 µs CP (See note 192*5113495bSYour Name for proprietary mode) 193*5113495bSYour Name 194*5113495bSYour Name <enum 2 TwoX_LTF_1_6CP> 2x LTF + 1.6 µs CP (See note 195*5113495bSYour Name for proprietary mode) 196*5113495bSYour Name 197*5113495bSYour Name 198*5113495bSYour Name 199*5113495bSYour Name <enum 3 FourX_LTF_0_8CP_3_2CP> 200*5113495bSYour Name 201*5113495bSYour Name When DCM == 0 OR STBC == 0: 4x LTF + 3.2 µs CP 202*5113495bSYour Name 203*5113495bSYour Name When DCM == 1 AND STBC == 1: 4x LTF + 0.8 µs CP. Note: 204*5113495bSYour Name In this scenario, Neither DCM nor STBC is applied to HE data 205*5113495bSYour Name field. 206*5113495bSYour Name 207*5113495bSYour Name (See note for proprietary mode) 208*5113495bSYour Name 209*5113495bSYour Name 210*5113495bSYour Name 211*5113495bSYour Name NOTE: 212*5113495bSYour Name 213*5113495bSYour Name For QCA proprietary mode 214*5113495bSYour Name 215*5113495bSYour Name If ( DCM == 1 ) and ( MCS > 0 ) and (STBC == 0) 216*5113495bSYour Name 217*5113495bSYour Name 0 = 1xLTF + 0.4 usec 218*5113495bSYour Name 219*5113495bSYour Name 1 = 2xLTF + 0.4 usec 220*5113495bSYour Name 221*5113495bSYour Name 2~3 = Reserved 222*5113495bSYour Name 223*5113495bSYour Name 224*5113495bSYour Name 225*5113495bSYour Name <legal all> 226*5113495bSYour Name 227*5113495bSYour Name nsts 228*5113495bSYour Name 229*5113495bSYour Name 230*5113495bSYour Name 231*5113495bSYour Name 232*5113495bSYour Name For HE SU PPDU 233*5113495bSYour Name 234*5113495bSYour Name 235*5113495bSYour Name 236*5113495bSYour Name For HE Extended Range PPDU 237*5113495bSYour Name 238*5113495bSYour Name <legal all> 239*5113495bSYour Name 240*5113495bSYour Name reserved_0b 241*5113495bSYour Name 242*5113495bSYour Name <legal 0> 243*5113495bSYour Name 244*5113495bSYour Name txop_duration 245*5113495bSYour Name 246*5113495bSYour Name Indicates the remaining time in the current TXOP 247*5113495bSYour Name 248*5113495bSYour Name 249*5113495bSYour Name 250*5113495bSYour Name Field Used by MAC HW 251*5113495bSYour Name 252*5113495bSYour Name <legal all> 253*5113495bSYour Name 254*5113495bSYour Name coding 255*5113495bSYour Name 256*5113495bSYour Name Distinguishes between BCC and LDPC coding. 257*5113495bSYour Name 258*5113495bSYour Name 259*5113495bSYour Name 260*5113495bSYour Name 0: BCC 261*5113495bSYour Name 262*5113495bSYour Name 1: LDPC 263*5113495bSYour Name 264*5113495bSYour Name <legal all> 265*5113495bSYour Name 266*5113495bSYour Name ldpc_extra_symbol 267*5113495bSYour Name 268*5113495bSYour Name If LDPC, 269*5113495bSYour Name 270*5113495bSYour Name 0: LDPC extra symbol not present 271*5113495bSYour Name 272*5113495bSYour Name 1: LDPC extra symbol present 273*5113495bSYour Name 274*5113495bSYour Name Else 275*5113495bSYour Name 276*5113495bSYour Name Set to 1 277*5113495bSYour Name 278*5113495bSYour Name <legal all> 279*5113495bSYour Name 280*5113495bSYour Name stbc 281*5113495bSYour Name 282*5113495bSYour Name Indicates whether STBC is applied 283*5113495bSYour Name 284*5113495bSYour Name 0: No STBC 285*5113495bSYour Name 286*5113495bSYour Name 1: STBC 287*5113495bSYour Name 288*5113495bSYour Name <legal all> 289*5113495bSYour Name 290*5113495bSYour Name txbf 291*5113495bSYour Name 292*5113495bSYour Name Indicates whether beamforming is applied 293*5113495bSYour Name 294*5113495bSYour Name 0: No beamforming 295*5113495bSYour Name 296*5113495bSYour Name 1: beamforming 297*5113495bSYour Name 298*5113495bSYour Name <legal all> 299*5113495bSYour Name 300*5113495bSYour Name packet_extension_a_factor 301*5113495bSYour Name 302*5113495bSYour Name Common trigger info 303*5113495bSYour Name 304*5113495bSYour Name 305*5113495bSYour Name 306*5113495bSYour Name the packet extension duration of the trigger-based PPDU 307*5113495bSYour Name response with these two bits indicating the a-factor 308*5113495bSYour Name 309*5113495bSYour Name 310*5113495bSYour Name 311*5113495bSYour Name <enum 0 a_factor_4> 312*5113495bSYour Name 313*5113495bSYour Name <enum 1 a_factor_1> 314*5113495bSYour Name 315*5113495bSYour Name <enum 2 a_factor_2> 316*5113495bSYour Name 317*5113495bSYour Name <enum 3 a_factor_3> 318*5113495bSYour Name 319*5113495bSYour Name 320*5113495bSYour Name 321*5113495bSYour Name <legal all> 322*5113495bSYour Name 323*5113495bSYour Name packet_extension_pe_disambiguity 324*5113495bSYour Name 325*5113495bSYour Name Common trigger info 326*5113495bSYour Name 327*5113495bSYour Name 328*5113495bSYour Name 329*5113495bSYour Name the packet extension duration of the trigger-based PPDU 330*5113495bSYour Name response with this bit indicating the PE-Disambiguity 331*5113495bSYour Name 332*5113495bSYour Name <legal all> 333*5113495bSYour Name 334*5113495bSYour Name reserved_1a 335*5113495bSYour Name 336*5113495bSYour Name Note: per standard, set to 1 337*5113495bSYour Name 338*5113495bSYour Name <legal 1> 339*5113495bSYour Name 340*5113495bSYour Name doppler_indication 341*5113495bSYour Name 342*5113495bSYour Name 0: No Doppler support 343*5113495bSYour Name 344*5113495bSYour Name 1: Doppler support 345*5113495bSYour Name 346*5113495bSYour Name <legal all> 347*5113495bSYour Name 348*5113495bSYour Name crc 349*5113495bSYour Name 350*5113495bSYour Name CRC for HE-SIG-A contents. 351*5113495bSYour Name 352*5113495bSYour Name <legal all> 353*5113495bSYour Name 354*5113495bSYour Name tail 355*5113495bSYour Name 356*5113495bSYour Name <legal 0> 357*5113495bSYour Name 358*5113495bSYour Name dot11ax_su_extended 359*5113495bSYour Name 360*5113495bSYour Name TX side: 361*5113495bSYour Name 362*5113495bSYour Name Set to 0 363*5113495bSYour Name 364*5113495bSYour Name 365*5113495bSYour Name 366*5113495bSYour Name RX side: 367*5113495bSYour Name 368*5113495bSYour Name On RX side, evaluated by MAC HW. This is the only way 369*5113495bSYour Name for MAC RX to know that this was an HE_SIG_A_SU received in 370*5113495bSYour Name 'extended' format 371*5113495bSYour Name 372*5113495bSYour Name 373*5113495bSYour Name 374*5113495bSYour Name 375*5113495bSYour Name <legal all> 376*5113495bSYour Name 377*5113495bSYour Name dot11ax_ext_ru_size 378*5113495bSYour Name 379*5113495bSYour Name TX side: 380*5113495bSYour Name 381*5113495bSYour Name Set to 0 382*5113495bSYour Name 383*5113495bSYour Name 384*5113495bSYour Name 385*5113495bSYour Name RX side: 386*5113495bSYour Name 387*5113495bSYour Name Field only contains valid info when dot11ax_su_extended 388*5113495bSYour Name is set. 389*5113495bSYour Name 390*5113495bSYour Name 391*5113495bSYour Name 392*5113495bSYour Name On RX side, evaluated by MAC HW. This is the only way 393*5113495bSYour Name for MAC RX to know what the number of based RUs was in this 394*5113495bSYour Name extended range reception. It is used by the MAC to determine 395*5113495bSYour Name the RU size for the response... 396*5113495bSYour Name 397*5113495bSYour Name <legal all> 398*5113495bSYour Name 399*5113495bSYour Name rx_ndp 400*5113495bSYour Name 401*5113495bSYour Name TX side: 402*5113495bSYour Name 403*5113495bSYour Name Set to 0 404*5113495bSYour Name 405*5113495bSYour Name 406*5113495bSYour Name 407*5113495bSYour Name RX side:Valid on RX side only, and looked at by MAC HW 408*5113495bSYour Name 409*5113495bSYour Name 410*5113495bSYour Name 411*5113495bSYour Name When set, PHY has received (expected) NDP frame 412*5113495bSYour Name 413*5113495bSYour Name <legal all> 414*5113495bSYour Name */ 415*5113495bSYour Name 416*5113495bSYour Name 417*5113495bSYour Name /* Description HE_SIG_A_SU_INFO_0_FORMAT_INDICATION 418*5113495bSYour Name 419*5113495bSYour Name <enum 0 HE_SIGA_FORMAT_HE_TRIG> 420*5113495bSYour Name 421*5113495bSYour Name <enum 1 HE_SIGA_FORMAT_SU_OR_EXT_SU> 422*5113495bSYour Name 423*5113495bSYour Name <legal all> 424*5113495bSYour Name */ 425*5113495bSYour Name #define HE_SIG_A_SU_INFO_0_FORMAT_INDICATION_OFFSET 0x00000000 426*5113495bSYour Name #define HE_SIG_A_SU_INFO_0_FORMAT_INDICATION_LSB 0 427*5113495bSYour Name #define HE_SIG_A_SU_INFO_0_FORMAT_INDICATION_MASK 0x00000001 428*5113495bSYour Name 429*5113495bSYour Name /* Description HE_SIG_A_SU_INFO_0_BEAM_CHANGE 430*5113495bSYour Name 431*5113495bSYour Name Indicates whether spatial mapping is changed between 432*5113495bSYour Name legacy and HE portion of preamble. If not, channel 433*5113495bSYour Name estimation can include legacy preamble to improve accuracy 434*5113495bSYour Name 435*5113495bSYour Name <legal all> 436*5113495bSYour Name */ 437*5113495bSYour Name #define HE_SIG_A_SU_INFO_0_BEAM_CHANGE_OFFSET 0x00000000 438*5113495bSYour Name #define HE_SIG_A_SU_INFO_0_BEAM_CHANGE_LSB 1 439*5113495bSYour Name #define HE_SIG_A_SU_INFO_0_BEAM_CHANGE_MASK 0x00000002 440*5113495bSYour Name 441*5113495bSYour Name /* Description HE_SIG_A_SU_INFO_0_DL_UL_FLAG 442*5113495bSYour Name 443*5113495bSYour Name Differentiates between DL and UL transmission 444*5113495bSYour Name 445*5113495bSYour Name 446*5113495bSYour Name 447*5113495bSYour Name <enum 0 DL_UL_FLAG_IS_DL_OR_TDLS> 448*5113495bSYour Name 449*5113495bSYour Name <enum 1 DL_UL_FLAG_IS_UL> 450*5113495bSYour Name 451*5113495bSYour Name <legal all> 452*5113495bSYour Name */ 453*5113495bSYour Name #define HE_SIG_A_SU_INFO_0_DL_UL_FLAG_OFFSET 0x00000000 454*5113495bSYour Name #define HE_SIG_A_SU_INFO_0_DL_UL_FLAG_LSB 2 455*5113495bSYour Name #define HE_SIG_A_SU_INFO_0_DL_UL_FLAG_MASK 0x00000004 456*5113495bSYour Name 457*5113495bSYour Name /* Description HE_SIG_A_SU_INFO_0_TRANSMIT_MCS 458*5113495bSYour Name 459*5113495bSYour Name Indicates the data MCS 460*5113495bSYour Name 461*5113495bSYour Name 462*5113495bSYour Name 463*5113495bSYour Name Field Used by MAC HW 464*5113495bSYour Name 465*5113495bSYour Name <legal all> 466*5113495bSYour Name */ 467*5113495bSYour Name #define HE_SIG_A_SU_INFO_0_TRANSMIT_MCS_OFFSET 0x00000000 468*5113495bSYour Name #define HE_SIG_A_SU_INFO_0_TRANSMIT_MCS_LSB 3 469*5113495bSYour Name #define HE_SIG_A_SU_INFO_0_TRANSMIT_MCS_MASK 0x00000078 470*5113495bSYour Name 471*5113495bSYour Name /* Description HE_SIG_A_SU_INFO_0_DCM 472*5113495bSYour Name 473*5113495bSYour Name 474*5113495bSYour Name 0: No DCM 475*5113495bSYour Name 476*5113495bSYour Name 1:DCM 477*5113495bSYour Name 478*5113495bSYour Name <legal all> 479*5113495bSYour Name */ 480*5113495bSYour Name #define HE_SIG_A_SU_INFO_0_DCM_OFFSET 0x00000000 481*5113495bSYour Name #define HE_SIG_A_SU_INFO_0_DCM_LSB 7 482*5113495bSYour Name #define HE_SIG_A_SU_INFO_0_DCM_MASK 0x00000080 483*5113495bSYour Name 484*5113495bSYour Name /* Description HE_SIG_A_SU_INFO_0_BSS_COLOR_ID 485*5113495bSYour Name 486*5113495bSYour Name BSS color ID 487*5113495bSYour Name 488*5113495bSYour Name 489*5113495bSYour Name 490*5113495bSYour Name Field Used by MAC HW 491*5113495bSYour Name 492*5113495bSYour Name <legal all> 493*5113495bSYour Name */ 494*5113495bSYour Name #define HE_SIG_A_SU_INFO_0_BSS_COLOR_ID_OFFSET 0x00000000 495*5113495bSYour Name #define HE_SIG_A_SU_INFO_0_BSS_COLOR_ID_LSB 8 496*5113495bSYour Name #define HE_SIG_A_SU_INFO_0_BSS_COLOR_ID_MASK 0x00003f00 497*5113495bSYour Name 498*5113495bSYour Name /* Description HE_SIG_A_SU_INFO_0_RESERVED_0A 499*5113495bSYour Name 500*5113495bSYour Name Note: spec indicates this shall be set to 1 501*5113495bSYour Name 502*5113495bSYour Name <legal 1> 503*5113495bSYour Name */ 504*5113495bSYour Name #define HE_SIG_A_SU_INFO_0_RESERVED_0A_OFFSET 0x00000000 505*5113495bSYour Name #define HE_SIG_A_SU_INFO_0_RESERVED_0A_LSB 14 506*5113495bSYour Name #define HE_SIG_A_SU_INFO_0_RESERVED_0A_MASK 0x00004000 507*5113495bSYour Name 508*5113495bSYour Name /* Description HE_SIG_A_SU_INFO_0_SPATIAL_REUSE 509*5113495bSYour Name 510*5113495bSYour Name Spatial reuse 511*5113495bSYour Name 512*5113495bSYour Name 513*5113495bSYour Name 514*5113495bSYour Name For 20MHz one SR field corresponding to entire 20MHz 515*5113495bSYour Name (other 3 fields indicate identical values) 516*5113495bSYour Name 517*5113495bSYour Name For 40MHz two SR fields for each 20MHz (other 2 fields 518*5113495bSYour Name indicate identical values) 519*5113495bSYour Name 520*5113495bSYour Name For 80MHz four SR fields for each 20MHz 521*5113495bSYour Name 522*5113495bSYour Name For 160MHz four SR fields for each 40MHz 523*5113495bSYour Name 524*5113495bSYour Name <legal all> 525*5113495bSYour Name */ 526*5113495bSYour Name #define HE_SIG_A_SU_INFO_0_SPATIAL_REUSE_OFFSET 0x00000000 527*5113495bSYour Name #define HE_SIG_A_SU_INFO_0_SPATIAL_REUSE_LSB 15 528*5113495bSYour Name #define HE_SIG_A_SU_INFO_0_SPATIAL_REUSE_MASK 0x00078000 529*5113495bSYour Name 530*5113495bSYour Name /* Description HE_SIG_A_SU_INFO_0_TRANSMIT_BW 531*5113495bSYour Name 532*5113495bSYour Name Bandwidth of the PPDU. 533*5113495bSYour Name 534*5113495bSYour Name 535*5113495bSYour Name 536*5113495bSYour Name For HE SU PPDU 537*5113495bSYour Name 538*5113495bSYour Name 539*5113495bSYour Name <enum 0 HE_SIG_A_BW20> 20 Mhz 540*5113495bSYour Name 541*5113495bSYour Name <enum 1 HE_SIG_A_BW40> 40 Mhz 542*5113495bSYour Name 543*5113495bSYour Name <enum 2 HE_SIG_A_BW80> 80 Mhz 544*5113495bSYour Name 545*5113495bSYour Name <enum 3 HE_SIG_A_BW160> 160 MHz or 80+80 MHz 546*5113495bSYour Name 547*5113495bSYour Name 548*5113495bSYour Name 549*5113495bSYour Name For HE Extended Range SU PPDU 550*5113495bSYour Name 551*5113495bSYour Name Set to 0 for 242-tone RU 552*5113495bSYour Name Set to 1 for right 106-tone RU within the primary 20 MHz 553*5113495bSYour Name 554*5113495bSYour Name 555*5113495bSYour Name 556*5113495bSYour Name On RX side, Field Used by MAC HW 557*5113495bSYour Name 558*5113495bSYour Name <legal all> 559*5113495bSYour Name */ 560*5113495bSYour Name #define HE_SIG_A_SU_INFO_0_TRANSMIT_BW_OFFSET 0x00000000 561*5113495bSYour Name #define HE_SIG_A_SU_INFO_0_TRANSMIT_BW_LSB 19 562*5113495bSYour Name #define HE_SIG_A_SU_INFO_0_TRANSMIT_BW_MASK 0x00180000 563*5113495bSYour Name 564*5113495bSYour Name /* Description HE_SIG_A_SU_INFO_0_CP_LTF_SIZE 565*5113495bSYour Name 566*5113495bSYour Name Indicates the CP and HE-LTF type 567*5113495bSYour Name 568*5113495bSYour Name 569*5113495bSYour Name 570*5113495bSYour Name <enum 0 OneX_LTF_0_8CP> 1xLTF + 0.8 us CP (See note for 571*5113495bSYour Name proprietary mode) 572*5113495bSYour Name 573*5113495bSYour Name <enum 1 TwoX_LTF_0_8CP> 2x LTF + 0.8 µs CP (See note 574*5113495bSYour Name for proprietary mode) 575*5113495bSYour Name 576*5113495bSYour Name <enum 2 TwoX_LTF_1_6CP> 2x LTF + 1.6 µs CP (See note 577*5113495bSYour Name for proprietary mode) 578*5113495bSYour Name 579*5113495bSYour Name 580*5113495bSYour Name 581*5113495bSYour Name <enum 3 FourX_LTF_0_8CP_3_2CP> 582*5113495bSYour Name 583*5113495bSYour Name When DCM == 0 OR STBC == 0: 4x LTF + 3.2 µs CP 584*5113495bSYour Name 585*5113495bSYour Name When DCM == 1 AND STBC == 1: 4x LTF + 0.8 µs CP. Note: 586*5113495bSYour Name In this scenario, Neither DCM nor STBC is applied to HE data 587*5113495bSYour Name field. 588*5113495bSYour Name 589*5113495bSYour Name (See note for proprietary mode) 590*5113495bSYour Name 591*5113495bSYour Name 592*5113495bSYour Name 593*5113495bSYour Name NOTE: 594*5113495bSYour Name 595*5113495bSYour Name For QCA proprietary mode 596*5113495bSYour Name 597*5113495bSYour Name If ( DCM == 1 ) and ( MCS > 0 ) and (STBC == 0) 598*5113495bSYour Name 599*5113495bSYour Name 0 = 1xLTF + 0.4 usec 600*5113495bSYour Name 601*5113495bSYour Name 1 = 2xLTF + 0.4 usec 602*5113495bSYour Name 603*5113495bSYour Name 2~3 = Reserved 604*5113495bSYour Name 605*5113495bSYour Name 606*5113495bSYour Name 607*5113495bSYour Name <legal all> 608*5113495bSYour Name */ 609*5113495bSYour Name #define HE_SIG_A_SU_INFO_0_CP_LTF_SIZE_OFFSET 0x00000000 610*5113495bSYour Name #define HE_SIG_A_SU_INFO_0_CP_LTF_SIZE_LSB 21 611*5113495bSYour Name #define HE_SIG_A_SU_INFO_0_CP_LTF_SIZE_MASK 0x00600000 612*5113495bSYour Name 613*5113495bSYour Name /* Description HE_SIG_A_SU_INFO_0_NSTS 614*5113495bSYour Name 615*5113495bSYour Name 616*5113495bSYour Name 617*5113495bSYour Name 618*5113495bSYour Name For HE SU PPDU 619*5113495bSYour Name 620*5113495bSYour Name 621*5113495bSYour Name 622*5113495bSYour Name For HE Extended Range PPDU 623*5113495bSYour Name 624*5113495bSYour Name <legal all> 625*5113495bSYour Name */ 626*5113495bSYour Name #define HE_SIG_A_SU_INFO_0_NSTS_OFFSET 0x00000000 627*5113495bSYour Name #define HE_SIG_A_SU_INFO_0_NSTS_LSB 23 628*5113495bSYour Name #define HE_SIG_A_SU_INFO_0_NSTS_MASK 0x03800000 629*5113495bSYour Name 630*5113495bSYour Name /* Description HE_SIG_A_SU_INFO_0_RESERVED_0B 631*5113495bSYour Name 632*5113495bSYour Name <legal 0> 633*5113495bSYour Name */ 634*5113495bSYour Name #define HE_SIG_A_SU_INFO_0_RESERVED_0B_OFFSET 0x00000000 635*5113495bSYour Name #define HE_SIG_A_SU_INFO_0_RESERVED_0B_LSB 26 636*5113495bSYour Name #define HE_SIG_A_SU_INFO_0_RESERVED_0B_MASK 0xfc000000 637*5113495bSYour Name 638*5113495bSYour Name /* Description HE_SIG_A_SU_INFO_1_TXOP_DURATION 639*5113495bSYour Name 640*5113495bSYour Name Indicates the remaining time in the current TXOP 641*5113495bSYour Name 642*5113495bSYour Name 643*5113495bSYour Name 644*5113495bSYour Name Field Used by MAC HW 645*5113495bSYour Name 646*5113495bSYour Name <legal all> 647*5113495bSYour Name */ 648*5113495bSYour Name #define HE_SIG_A_SU_INFO_1_TXOP_DURATION_OFFSET 0x00000004 649*5113495bSYour Name #define HE_SIG_A_SU_INFO_1_TXOP_DURATION_LSB 0 650*5113495bSYour Name #define HE_SIG_A_SU_INFO_1_TXOP_DURATION_MASK 0x0000007f 651*5113495bSYour Name 652*5113495bSYour Name /* Description HE_SIG_A_SU_INFO_1_CODING 653*5113495bSYour Name 654*5113495bSYour Name Distinguishes between BCC and LDPC coding. 655*5113495bSYour Name 656*5113495bSYour Name 657*5113495bSYour Name 658*5113495bSYour Name 0: BCC 659*5113495bSYour Name 660*5113495bSYour Name 1: LDPC 661*5113495bSYour Name 662*5113495bSYour Name <legal all> 663*5113495bSYour Name */ 664*5113495bSYour Name #define HE_SIG_A_SU_INFO_1_CODING_OFFSET 0x00000004 665*5113495bSYour Name #define HE_SIG_A_SU_INFO_1_CODING_LSB 7 666*5113495bSYour Name #define HE_SIG_A_SU_INFO_1_CODING_MASK 0x00000080 667*5113495bSYour Name 668*5113495bSYour Name /* Description HE_SIG_A_SU_INFO_1_LDPC_EXTRA_SYMBOL 669*5113495bSYour Name 670*5113495bSYour Name If LDPC, 671*5113495bSYour Name 672*5113495bSYour Name 0: LDPC extra symbol not present 673*5113495bSYour Name 674*5113495bSYour Name 1: LDPC extra symbol present 675*5113495bSYour Name 676*5113495bSYour Name Else 677*5113495bSYour Name 678*5113495bSYour Name Set to 1 679*5113495bSYour Name 680*5113495bSYour Name <legal all> 681*5113495bSYour Name */ 682*5113495bSYour Name #define HE_SIG_A_SU_INFO_1_LDPC_EXTRA_SYMBOL_OFFSET 0x00000004 683*5113495bSYour Name #define HE_SIG_A_SU_INFO_1_LDPC_EXTRA_SYMBOL_LSB 8 684*5113495bSYour Name #define HE_SIG_A_SU_INFO_1_LDPC_EXTRA_SYMBOL_MASK 0x00000100 685*5113495bSYour Name 686*5113495bSYour Name /* Description HE_SIG_A_SU_INFO_1_STBC 687*5113495bSYour Name 688*5113495bSYour Name Indicates whether STBC is applied 689*5113495bSYour Name 690*5113495bSYour Name 0: No STBC 691*5113495bSYour Name 692*5113495bSYour Name 1: STBC 693*5113495bSYour Name 694*5113495bSYour Name <legal all> 695*5113495bSYour Name */ 696*5113495bSYour Name #define HE_SIG_A_SU_INFO_1_STBC_OFFSET 0x00000004 697*5113495bSYour Name #define HE_SIG_A_SU_INFO_1_STBC_LSB 9 698*5113495bSYour Name #define HE_SIG_A_SU_INFO_1_STBC_MASK 0x00000200 699*5113495bSYour Name 700*5113495bSYour Name /* Description HE_SIG_A_SU_INFO_1_TXBF 701*5113495bSYour Name 702*5113495bSYour Name Indicates whether beamforming is applied 703*5113495bSYour Name 704*5113495bSYour Name 0: No beamforming 705*5113495bSYour Name 706*5113495bSYour Name 1: beamforming 707*5113495bSYour Name 708*5113495bSYour Name <legal all> 709*5113495bSYour Name */ 710*5113495bSYour Name #define HE_SIG_A_SU_INFO_1_TXBF_OFFSET 0x00000004 711*5113495bSYour Name #define HE_SIG_A_SU_INFO_1_TXBF_LSB 10 712*5113495bSYour Name #define HE_SIG_A_SU_INFO_1_TXBF_MASK 0x00000400 713*5113495bSYour Name 714*5113495bSYour Name /* Description HE_SIG_A_SU_INFO_1_PACKET_EXTENSION_A_FACTOR 715*5113495bSYour Name 716*5113495bSYour Name Common trigger info 717*5113495bSYour Name 718*5113495bSYour Name 719*5113495bSYour Name 720*5113495bSYour Name the packet extension duration of the trigger-based PPDU 721*5113495bSYour Name response with these two bits indicating the a-factor 722*5113495bSYour Name 723*5113495bSYour Name 724*5113495bSYour Name 725*5113495bSYour Name <enum 0 a_factor_4> 726*5113495bSYour Name 727*5113495bSYour Name <enum 1 a_factor_1> 728*5113495bSYour Name 729*5113495bSYour Name <enum 2 a_factor_2> 730*5113495bSYour Name 731*5113495bSYour Name <enum 3 a_factor_3> 732*5113495bSYour Name 733*5113495bSYour Name 734*5113495bSYour Name 735*5113495bSYour Name <legal all> 736*5113495bSYour Name */ 737*5113495bSYour Name #define HE_SIG_A_SU_INFO_1_PACKET_EXTENSION_A_FACTOR_OFFSET 0x00000004 738*5113495bSYour Name #define HE_SIG_A_SU_INFO_1_PACKET_EXTENSION_A_FACTOR_LSB 11 739*5113495bSYour Name #define HE_SIG_A_SU_INFO_1_PACKET_EXTENSION_A_FACTOR_MASK 0x00001800 740*5113495bSYour Name 741*5113495bSYour Name /* Description HE_SIG_A_SU_INFO_1_PACKET_EXTENSION_PE_DISAMBIGUITY 742*5113495bSYour Name 743*5113495bSYour Name Common trigger info 744*5113495bSYour Name 745*5113495bSYour Name 746*5113495bSYour Name 747*5113495bSYour Name the packet extension duration of the trigger-based PPDU 748*5113495bSYour Name response with this bit indicating the PE-Disambiguity 749*5113495bSYour Name 750*5113495bSYour Name <legal all> 751*5113495bSYour Name */ 752*5113495bSYour Name #define HE_SIG_A_SU_INFO_1_PACKET_EXTENSION_PE_DISAMBIGUITY_OFFSET 0x00000004 753*5113495bSYour Name #define HE_SIG_A_SU_INFO_1_PACKET_EXTENSION_PE_DISAMBIGUITY_LSB 13 754*5113495bSYour Name #define HE_SIG_A_SU_INFO_1_PACKET_EXTENSION_PE_DISAMBIGUITY_MASK 0x00002000 755*5113495bSYour Name 756*5113495bSYour Name /* Description HE_SIG_A_SU_INFO_1_RESERVED_1A 757*5113495bSYour Name 758*5113495bSYour Name Note: per standard, set to 1 759*5113495bSYour Name 760*5113495bSYour Name <legal 1> 761*5113495bSYour Name */ 762*5113495bSYour Name #define HE_SIG_A_SU_INFO_1_RESERVED_1A_OFFSET 0x00000004 763*5113495bSYour Name #define HE_SIG_A_SU_INFO_1_RESERVED_1A_LSB 14 764*5113495bSYour Name #define HE_SIG_A_SU_INFO_1_RESERVED_1A_MASK 0x00004000 765*5113495bSYour Name 766*5113495bSYour Name /* Description HE_SIG_A_SU_INFO_1_DOPPLER_INDICATION 767*5113495bSYour Name 768*5113495bSYour Name 0: No Doppler support 769*5113495bSYour Name 770*5113495bSYour Name 1: Doppler support 771*5113495bSYour Name 772*5113495bSYour Name <legal all> 773*5113495bSYour Name */ 774*5113495bSYour Name #define HE_SIG_A_SU_INFO_1_DOPPLER_INDICATION_OFFSET 0x00000004 775*5113495bSYour Name #define HE_SIG_A_SU_INFO_1_DOPPLER_INDICATION_LSB 15 776*5113495bSYour Name #define HE_SIG_A_SU_INFO_1_DOPPLER_INDICATION_MASK 0x00008000 777*5113495bSYour Name 778*5113495bSYour Name /* Description HE_SIG_A_SU_INFO_1_CRC 779*5113495bSYour Name 780*5113495bSYour Name CRC for HE-SIG-A contents. 781*5113495bSYour Name 782*5113495bSYour Name <legal all> 783*5113495bSYour Name */ 784*5113495bSYour Name #define HE_SIG_A_SU_INFO_1_CRC_OFFSET 0x00000004 785*5113495bSYour Name #define HE_SIG_A_SU_INFO_1_CRC_LSB 16 786*5113495bSYour Name #define HE_SIG_A_SU_INFO_1_CRC_MASK 0x000f0000 787*5113495bSYour Name 788*5113495bSYour Name /* Description HE_SIG_A_SU_INFO_1_TAIL 789*5113495bSYour Name 790*5113495bSYour Name <legal 0> 791*5113495bSYour Name */ 792*5113495bSYour Name #define HE_SIG_A_SU_INFO_1_TAIL_OFFSET 0x00000004 793*5113495bSYour Name #define HE_SIG_A_SU_INFO_1_TAIL_LSB 20 794*5113495bSYour Name #define HE_SIG_A_SU_INFO_1_TAIL_MASK 0x03f00000 795*5113495bSYour Name 796*5113495bSYour Name /* Description HE_SIG_A_SU_INFO_1_DOT11AX_SU_EXTENDED 797*5113495bSYour Name 798*5113495bSYour Name TX side: 799*5113495bSYour Name 800*5113495bSYour Name Set to 0 801*5113495bSYour Name 802*5113495bSYour Name 803*5113495bSYour Name 804*5113495bSYour Name RX side: 805*5113495bSYour Name 806*5113495bSYour Name On RX side, evaluated by MAC HW. This is the only way 807*5113495bSYour Name for MAC RX to know that this was an HE_SIG_A_SU received in 808*5113495bSYour Name 'extended' format 809*5113495bSYour Name 810*5113495bSYour Name 811*5113495bSYour Name 812*5113495bSYour Name 813*5113495bSYour Name <legal all> 814*5113495bSYour Name */ 815*5113495bSYour Name #define HE_SIG_A_SU_INFO_1_DOT11AX_SU_EXTENDED_OFFSET 0x00000004 816*5113495bSYour Name #define HE_SIG_A_SU_INFO_1_DOT11AX_SU_EXTENDED_LSB 26 817*5113495bSYour Name #define HE_SIG_A_SU_INFO_1_DOT11AX_SU_EXTENDED_MASK 0x04000000 818*5113495bSYour Name 819*5113495bSYour Name /* Description HE_SIG_A_SU_INFO_1_DOT11AX_EXT_RU_SIZE 820*5113495bSYour Name 821*5113495bSYour Name TX side: 822*5113495bSYour Name 823*5113495bSYour Name Set to 0 824*5113495bSYour Name 825*5113495bSYour Name 826*5113495bSYour Name 827*5113495bSYour Name RX side: 828*5113495bSYour Name 829*5113495bSYour Name Field only contains valid info when dot11ax_su_extended 830*5113495bSYour Name is set. 831*5113495bSYour Name 832*5113495bSYour Name 833*5113495bSYour Name 834*5113495bSYour Name On RX side, evaluated by MAC HW. This is the only way 835*5113495bSYour Name for MAC RX to know what the number of based RUs was in this 836*5113495bSYour Name extended range reception. It is used by the MAC to determine 837*5113495bSYour Name the RU size for the response... 838*5113495bSYour Name 839*5113495bSYour Name <legal all> 840*5113495bSYour Name */ 841*5113495bSYour Name #define HE_SIG_A_SU_INFO_1_DOT11AX_EXT_RU_SIZE_OFFSET 0x00000004 842*5113495bSYour Name #define HE_SIG_A_SU_INFO_1_DOT11AX_EXT_RU_SIZE_LSB 27 843*5113495bSYour Name #define HE_SIG_A_SU_INFO_1_DOT11AX_EXT_RU_SIZE_MASK 0x78000000 844*5113495bSYour Name 845*5113495bSYour Name /* Description HE_SIG_A_SU_INFO_1_RX_NDP 846*5113495bSYour Name 847*5113495bSYour Name TX side: 848*5113495bSYour Name 849*5113495bSYour Name Set to 0 850*5113495bSYour Name 851*5113495bSYour Name 852*5113495bSYour Name 853*5113495bSYour Name RX side:Valid on RX side only, and looked at by MAC HW 854*5113495bSYour Name 855*5113495bSYour Name 856*5113495bSYour Name 857*5113495bSYour Name When set, PHY has received (expected) NDP frame 858*5113495bSYour Name 859*5113495bSYour Name <legal all> 860*5113495bSYour Name */ 861*5113495bSYour Name #define HE_SIG_A_SU_INFO_1_RX_NDP_OFFSET 0x00000004 862*5113495bSYour Name #define HE_SIG_A_SU_INFO_1_RX_NDP_LSB 31 863*5113495bSYour Name #define HE_SIG_A_SU_INFO_1_RX_NDP_MASK 0x80000000 864*5113495bSYour Name 865*5113495bSYour Name 866*5113495bSYour Name #endif // _HE_SIG_A_SU_INFO_H_ 867