1*5113495bSYour Name 2*5113495bSYour Name /* 3*5113495bSYour Name * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. 4*5113495bSYour Name * 5*5113495bSYour Name * Permission to use, copy, modify, and/or distribute this software for any 6*5113495bSYour Name * purpose with or without fee is hereby granted, provided that the above 7*5113495bSYour Name * copyright notice and this permission notice appear in all copies. 8*5113495bSYour Name * 9*5113495bSYour Name * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10*5113495bSYour Name * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11*5113495bSYour Name * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12*5113495bSYour Name * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13*5113495bSYour Name * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14*5113495bSYour Name * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 15*5113495bSYour Name * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16*5113495bSYour Name */ 17*5113495bSYour Name 18*5113495bSYour Name 19*5113495bSYour Name 20*5113495bSYour Name #ifndef _VHT_SIG_B_MU40_INFO_H_ 21*5113495bSYour Name #define _VHT_SIG_B_MU40_INFO_H_ 22*5113495bSYour Name #if !defined(__ASSEMBLER__) 23*5113495bSYour Name #endif 24*5113495bSYour Name 25*5113495bSYour Name #define NUM_OF_DWORDS_VHT_SIG_B_MU40_INFO 2 26*5113495bSYour Name 27*5113495bSYour Name struct vht_sig_b_mu40_info { 28*5113495bSYour Name #ifndef WIFI_BIT_ORDER_BIG_ENDIAN 29*5113495bSYour Name uint32_t length : 17, 30*5113495bSYour Name mcs : 4, 31*5113495bSYour Name tail : 6, 32*5113495bSYour Name reserved_0 : 2, 33*5113495bSYour Name mu_user_number : 3; 34*5113495bSYour Name uint32_t length_copy : 17, 35*5113495bSYour Name mcs_copy : 4, 36*5113495bSYour Name tail_copy : 6, 37*5113495bSYour Name reserved_1 : 5; 38*5113495bSYour Name #else 39*5113495bSYour Name uint32_t mu_user_number : 3, 40*5113495bSYour Name reserved_0 : 2, 41*5113495bSYour Name tail : 6, 42*5113495bSYour Name mcs : 4, 43*5113495bSYour Name length : 17; 44*5113495bSYour Name uint32_t reserved_1 : 5, 45*5113495bSYour Name tail_copy : 6, 46*5113495bSYour Name mcs_copy : 4, 47*5113495bSYour Name length_copy : 17; 48*5113495bSYour Name #endif 49*5113495bSYour Name }; 50*5113495bSYour Name 51*5113495bSYour Name #define VHT_SIG_B_MU40_INFO_LENGTH_OFFSET 0x00000000 52*5113495bSYour Name #define VHT_SIG_B_MU40_INFO_LENGTH_LSB 0 53*5113495bSYour Name #define VHT_SIG_B_MU40_INFO_LENGTH_MSB 16 54*5113495bSYour Name #define VHT_SIG_B_MU40_INFO_LENGTH_MASK 0x0001ffff 55*5113495bSYour Name 56*5113495bSYour Name #define VHT_SIG_B_MU40_INFO_MCS_OFFSET 0x00000000 57*5113495bSYour Name #define VHT_SIG_B_MU40_INFO_MCS_LSB 17 58*5113495bSYour Name #define VHT_SIG_B_MU40_INFO_MCS_MSB 20 59*5113495bSYour Name #define VHT_SIG_B_MU40_INFO_MCS_MASK 0x001e0000 60*5113495bSYour Name 61*5113495bSYour Name #define VHT_SIG_B_MU40_INFO_TAIL_OFFSET 0x00000000 62*5113495bSYour Name #define VHT_SIG_B_MU40_INFO_TAIL_LSB 21 63*5113495bSYour Name #define VHT_SIG_B_MU40_INFO_TAIL_MSB 26 64*5113495bSYour Name #define VHT_SIG_B_MU40_INFO_TAIL_MASK 0x07e00000 65*5113495bSYour Name 66*5113495bSYour Name #define VHT_SIG_B_MU40_INFO_RESERVED_0_OFFSET 0x00000000 67*5113495bSYour Name #define VHT_SIG_B_MU40_INFO_RESERVED_0_LSB 27 68*5113495bSYour Name #define VHT_SIG_B_MU40_INFO_RESERVED_0_MSB 28 69*5113495bSYour Name #define VHT_SIG_B_MU40_INFO_RESERVED_0_MASK 0x18000000 70*5113495bSYour Name 71*5113495bSYour Name #define VHT_SIG_B_MU40_INFO_MU_USER_NUMBER_OFFSET 0x00000000 72*5113495bSYour Name #define VHT_SIG_B_MU40_INFO_MU_USER_NUMBER_LSB 29 73*5113495bSYour Name #define VHT_SIG_B_MU40_INFO_MU_USER_NUMBER_MSB 31 74*5113495bSYour Name #define VHT_SIG_B_MU40_INFO_MU_USER_NUMBER_MASK 0xe0000000 75*5113495bSYour Name 76*5113495bSYour Name #define VHT_SIG_B_MU40_INFO_LENGTH_COPY_OFFSET 0x00000004 77*5113495bSYour Name #define VHT_SIG_B_MU40_INFO_LENGTH_COPY_LSB 0 78*5113495bSYour Name #define VHT_SIG_B_MU40_INFO_LENGTH_COPY_MSB 16 79*5113495bSYour Name #define VHT_SIG_B_MU40_INFO_LENGTH_COPY_MASK 0x0001ffff 80*5113495bSYour Name 81*5113495bSYour Name #define VHT_SIG_B_MU40_INFO_MCS_COPY_OFFSET 0x00000004 82*5113495bSYour Name #define VHT_SIG_B_MU40_INFO_MCS_COPY_LSB 17 83*5113495bSYour Name #define VHT_SIG_B_MU40_INFO_MCS_COPY_MSB 20 84*5113495bSYour Name #define VHT_SIG_B_MU40_INFO_MCS_COPY_MASK 0x001e0000 85*5113495bSYour Name 86*5113495bSYour Name #define VHT_SIG_B_MU40_INFO_TAIL_COPY_OFFSET 0x00000004 87*5113495bSYour Name #define VHT_SIG_B_MU40_INFO_TAIL_COPY_LSB 21 88*5113495bSYour Name #define VHT_SIG_B_MU40_INFO_TAIL_COPY_MSB 26 89*5113495bSYour Name #define VHT_SIG_B_MU40_INFO_TAIL_COPY_MASK 0x07e00000 90*5113495bSYour Name 91*5113495bSYour Name #define VHT_SIG_B_MU40_INFO_RESERVED_1_OFFSET 0x00000004 92*5113495bSYour Name #define VHT_SIG_B_MU40_INFO_RESERVED_1_LSB 27 93*5113495bSYour Name #define VHT_SIG_B_MU40_INFO_RESERVED_1_MSB 31 94*5113495bSYour Name #define VHT_SIG_B_MU40_INFO_RESERVED_1_MASK 0xf8000000 95*5113495bSYour Name 96*5113495bSYour Name #endif 97