1 2 /* 3 * Copyright (c) 2022, Qualcomm Innovation Center, Inc. All rights reserved. 4 * 5 * Permission to use, copy, modify, and/or distribute this software for any 6 * purpose with or without fee is hereby granted, provided that the above 7 * copyright notice and this permission notice appear in all copies. 8 * 9 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 15 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 */ 17 18 19 20 21 22 23 24 25 26 27 #ifndef _UNALLOCATED_RU_160_INFO_H_ 28 #define _UNALLOCATED_RU_160_INFO_H_ 29 #if !defined(__ASSEMBLER__) 30 #endif 31 32 #define NUM_OF_DWORDS_UNALLOCATED_RU_160_INFO 1 33 34 35 struct unallocated_ru_160_info { 36 #ifndef WIFI_BIT_ORDER_BIG_ENDIAN 37 uint32_t subband80_0_cc0 : 8, // [7:0] 38 subband80_0_cc1 : 8, // [15:8] 39 subband80_1_cc0 : 8, // [23:16] 40 subband80_1_cc1 : 8; // [31:24] 41 #else 42 uint32_t subband80_1_cc1 : 8, // [31:24] 43 subband80_1_cc0 : 8, // [23:16] 44 subband80_0_cc1 : 8, // [15:8] 45 subband80_0_cc0 : 8; // [7:0] 46 #endif 47 }; 48 49 50 51 52 #define UNALLOCATED_RU_160_INFO_SUBBAND80_0_CC0_OFFSET 0x00000000 53 #define UNALLOCATED_RU_160_INFO_SUBBAND80_0_CC0_LSB 0 54 #define UNALLOCATED_RU_160_INFO_SUBBAND80_0_CC0_MSB 7 55 #define UNALLOCATED_RU_160_INFO_SUBBAND80_0_CC0_MASK 0x000000ff 56 57 58 59 60 #define UNALLOCATED_RU_160_INFO_SUBBAND80_0_CC1_OFFSET 0x00000000 61 #define UNALLOCATED_RU_160_INFO_SUBBAND80_0_CC1_LSB 8 62 #define UNALLOCATED_RU_160_INFO_SUBBAND80_0_CC1_MSB 15 63 #define UNALLOCATED_RU_160_INFO_SUBBAND80_0_CC1_MASK 0x0000ff00 64 65 66 67 68 #define UNALLOCATED_RU_160_INFO_SUBBAND80_1_CC0_OFFSET 0x00000000 69 #define UNALLOCATED_RU_160_INFO_SUBBAND80_1_CC0_LSB 16 70 #define UNALLOCATED_RU_160_INFO_SUBBAND80_1_CC0_MSB 23 71 #define UNALLOCATED_RU_160_INFO_SUBBAND80_1_CC0_MASK 0x00ff0000 72 73 74 75 76 #define UNALLOCATED_RU_160_INFO_SUBBAND80_1_CC1_OFFSET 0x00000000 77 #define UNALLOCATED_RU_160_INFO_SUBBAND80_1_CC1_LSB 24 78 #define UNALLOCATED_RU_160_INFO_SUBBAND80_1_CC1_MSB 31 79 #define UNALLOCATED_RU_160_INFO_SUBBAND80_1_CC1_MASK 0xff000000 80 81 82 83 84 #endif 85