phytx_abort_request_info.h 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. /*
  2. * Copyright (c) 2024, Qualcomm Innovation Center, Inc. All rights reserved.
  3. * SPDX-License-Identifier: ISC
  4. */
  5. #ifndef _PHYTX_ABORT_REQUEST_INFO_H_
  6. #define _PHYTX_ABORT_REQUEST_INFO_H_
  7. #if !defined(__ASSEMBLER__)
  8. #endif
  9. #define NUM_OF_WORDS_PHYTX_ABORT_REQUEST_INFO 1
  10. struct phytx_abort_request_info {
  11. #ifndef WIFI_BIT_ORDER_BIG_ENDIAN
  12. uint16_t phytx_abort_reason : 8,
  13. user_number : 6,
  14. reserved : 2;
  15. #else
  16. uint16_t reserved : 2,
  17. user_number : 6,
  18. phytx_abort_reason : 8;
  19. #endif
  20. };
  21. #define PHYTX_ABORT_REQUEST_INFO_PHYTX_ABORT_REASON_OFFSET 0x00000000
  22. #define PHYTX_ABORT_REQUEST_INFO_PHYTX_ABORT_REASON_LSB 0
  23. #define PHYTX_ABORT_REQUEST_INFO_PHYTX_ABORT_REASON_MSB 7
  24. #define PHYTX_ABORT_REQUEST_INFO_PHYTX_ABORT_REASON_MASK 0x000000ff
  25. #define PHYTX_ABORT_REQUEST_INFO_USER_NUMBER_OFFSET 0x00000000
  26. #define PHYTX_ABORT_REQUEST_INFO_USER_NUMBER_LSB 8
  27. #define PHYTX_ABORT_REQUEST_INFO_USER_NUMBER_MSB 13
  28. #define PHYTX_ABORT_REQUEST_INFO_USER_NUMBER_MASK 0x00003f00
  29. #define PHYTX_ABORT_REQUEST_INFO_RESERVED_OFFSET 0x00000000
  30. #define PHYTX_ABORT_REQUEST_INFO_RESERVED_LSB 14
  31. #define PHYTX_ABORT_REQUEST_INFO_RESERVED_MSB 15
  32. #define PHYTX_ABORT_REQUEST_INFO_RESERVED_MASK 0x0000c000
  33. #endif