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 _RU_ALLOCATION_160_INFO_H_ 21*5113495bSYour Name #define _RU_ALLOCATION_160_INFO_H_ 22*5113495bSYour Name #if !defined(__ASSEMBLER__) 23*5113495bSYour Name #endif 24*5113495bSYour Name 25*5113495bSYour Name #define NUM_OF_DWORDS_RU_ALLOCATION_160_INFO 4 26*5113495bSYour Name 27*5113495bSYour Name struct ru_allocation_160_info { 28*5113495bSYour Name #ifndef WIFI_BIT_ORDER_BIG_ENDIAN 29*5113495bSYour Name uint32_t ru_allocation_band0_0 : 9, 30*5113495bSYour Name ru_allocation_band0_1 : 9, 31*5113495bSYour Name reserved_0a : 6, 32*5113495bSYour Name ru_allocations_01_subband80_mask : 4, 33*5113495bSYour Name ru_allocations_23_subband80_mask : 4; 34*5113495bSYour Name uint32_t ru_allocation_band0_2 : 9, 35*5113495bSYour Name ru_allocation_band0_3 : 9, 36*5113495bSYour Name reserved_1a : 14; 37*5113495bSYour Name uint32_t ru_allocation_band1_0 : 9, 38*5113495bSYour Name ru_allocation_band1_1 : 9, 39*5113495bSYour Name reserved_2a : 14; 40*5113495bSYour Name uint32_t ru_allocation_band1_2 : 9, 41*5113495bSYour Name ru_allocation_band1_3 : 9, 42*5113495bSYour Name reserved_3a : 14; 43*5113495bSYour Name #else 44*5113495bSYour Name uint32_t ru_allocations_23_subband80_mask : 4, 45*5113495bSYour Name ru_allocations_01_subband80_mask : 4, 46*5113495bSYour Name reserved_0a : 6, 47*5113495bSYour Name ru_allocation_band0_1 : 9, 48*5113495bSYour Name ru_allocation_band0_0 : 9; 49*5113495bSYour Name uint32_t reserved_1a : 14, 50*5113495bSYour Name ru_allocation_band0_3 : 9, 51*5113495bSYour Name ru_allocation_band0_2 : 9; 52*5113495bSYour Name uint32_t reserved_2a : 14, 53*5113495bSYour Name ru_allocation_band1_1 : 9, 54*5113495bSYour Name ru_allocation_band1_0 : 9; 55*5113495bSYour Name uint32_t reserved_3a : 14, 56*5113495bSYour Name ru_allocation_band1_3 : 9, 57*5113495bSYour Name ru_allocation_band1_2 : 9; 58*5113495bSYour Name #endif 59*5113495bSYour Name }; 60*5113495bSYour Name 61*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATION_BAND0_0_OFFSET 0x00000000 62*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATION_BAND0_0_LSB 0 63*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATION_BAND0_0_MSB 8 64*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATION_BAND0_0_MASK 0x000001ff 65*5113495bSYour Name 66*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATION_BAND0_1_OFFSET 0x00000000 67*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATION_BAND0_1_LSB 9 68*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATION_BAND0_1_MSB 17 69*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATION_BAND0_1_MASK 0x0003fe00 70*5113495bSYour Name 71*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RESERVED_0A_OFFSET 0x00000000 72*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RESERVED_0A_LSB 18 73*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RESERVED_0A_MSB 23 74*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RESERVED_0A_MASK 0x00fc0000 75*5113495bSYour Name 76*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATIONS_01_SUBBAND80_MASK_OFFSET 0x00000000 77*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATIONS_01_SUBBAND80_MASK_LSB 24 78*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATIONS_01_SUBBAND80_MASK_MSB 27 79*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATIONS_01_SUBBAND80_MASK_MASK 0x0f000000 80*5113495bSYour Name 81*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATIONS_23_SUBBAND80_MASK_OFFSET 0x00000000 82*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATIONS_23_SUBBAND80_MASK_LSB 28 83*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATIONS_23_SUBBAND80_MASK_MSB 31 84*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATIONS_23_SUBBAND80_MASK_MASK 0xf0000000 85*5113495bSYour Name 86*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATION_BAND0_2_OFFSET 0x00000004 87*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATION_BAND0_2_LSB 0 88*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATION_BAND0_2_MSB 8 89*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATION_BAND0_2_MASK 0x000001ff 90*5113495bSYour Name 91*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATION_BAND0_3_OFFSET 0x00000004 92*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATION_BAND0_3_LSB 9 93*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATION_BAND0_3_MSB 17 94*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATION_BAND0_3_MASK 0x0003fe00 95*5113495bSYour Name 96*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RESERVED_1A_OFFSET 0x00000004 97*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RESERVED_1A_LSB 18 98*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RESERVED_1A_MSB 31 99*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RESERVED_1A_MASK 0xfffc0000 100*5113495bSYour Name 101*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATION_BAND1_0_OFFSET 0x00000008 102*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATION_BAND1_0_LSB 0 103*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATION_BAND1_0_MSB 8 104*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATION_BAND1_0_MASK 0x000001ff 105*5113495bSYour Name 106*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATION_BAND1_1_OFFSET 0x00000008 107*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATION_BAND1_1_LSB 9 108*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATION_BAND1_1_MSB 17 109*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATION_BAND1_1_MASK 0x0003fe00 110*5113495bSYour Name 111*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RESERVED_2A_OFFSET 0x00000008 112*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RESERVED_2A_LSB 18 113*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RESERVED_2A_MSB 31 114*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RESERVED_2A_MASK 0xfffc0000 115*5113495bSYour Name 116*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATION_BAND1_2_OFFSET 0x0000000c 117*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATION_BAND1_2_LSB 0 118*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATION_BAND1_2_MSB 8 119*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATION_BAND1_2_MASK 0x000001ff 120*5113495bSYour Name 121*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATION_BAND1_3_OFFSET 0x0000000c 122*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATION_BAND1_3_LSB 9 123*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATION_BAND1_3_MSB 17 124*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RU_ALLOCATION_BAND1_3_MASK 0x0003fe00 125*5113495bSYour Name 126*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RESERVED_3A_OFFSET 0x0000000c 127*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RESERVED_3A_LSB 18 128*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RESERVED_3A_MSB 31 129*5113495bSYour Name #define RU_ALLOCATION_160_INFO_RESERVED_3A_MASK 0xfffc0000 130*5113495bSYour Name 131*5113495bSYour Name #endif 132