1 2 /* 3 * Copyright (c) 2024, Qualcomm Innovation Center, Inc. All rights reserved. 4 * SPDX-License-Identifier: ISC 5 */ 6 7 8 9 10 11 12 13 14 15 16 17 18 19 #ifndef _PHYTX_ABORT_REQUEST_INFO_H_ 20 #define _PHYTX_ABORT_REQUEST_INFO_H_ 21 #if !defined(__ASSEMBLER__) 22 #endif 23 24 #define NUM_OF_WORDS_PHYTX_ABORT_REQUEST_INFO 1 25 26 27 struct phytx_abort_request_info { 28 #ifndef WIFI_BIT_ORDER_BIG_ENDIAN 29 uint16_t phytx_abort_reason : 8, 30 user_number : 6, 31 reserved : 2; 32 #else 33 uint16_t reserved : 2, 34 user_number : 6, 35 phytx_abort_reason : 8; 36 #endif 37 }; 38 39 40 41 42 #define PHYTX_ABORT_REQUEST_INFO_PHYTX_ABORT_REASON_OFFSET 0x00000000 43 #define PHYTX_ABORT_REQUEST_INFO_PHYTX_ABORT_REASON_LSB 0 44 #define PHYTX_ABORT_REQUEST_INFO_PHYTX_ABORT_REASON_MSB 7 45 #define PHYTX_ABORT_REQUEST_INFO_PHYTX_ABORT_REASON_MASK 0x000000ff 46 47 48 49 50 #define PHYTX_ABORT_REQUEST_INFO_USER_NUMBER_OFFSET 0x00000000 51 #define PHYTX_ABORT_REQUEST_INFO_USER_NUMBER_LSB 8 52 #define PHYTX_ABORT_REQUEST_INFO_USER_NUMBER_MSB 13 53 #define PHYTX_ABORT_REQUEST_INFO_USER_NUMBER_MASK 0x00003f00 54 55 56 57 58 #define PHYTX_ABORT_REQUEST_INFO_RESERVED_OFFSET 0x00000000 59 #define PHYTX_ABORT_REQUEST_INFO_RESERVED_LSB 14 60 #define PHYTX_ABORT_REQUEST_INFO_RESERVED_MSB 15 61 #define PHYTX_ABORT_REQUEST_INFO_RESERVED_MASK 0x0000c000 62 63 64 65 #endif 66