vht_sig_b_mu20_info.h 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. /*
  2. * Copyright (c) 2024, Qualcomm Innovation Center, Inc. All rights reserved.
  3. * SPDX-License-Identifier: ISC
  4. */
  5. #ifndef _VHT_SIG_B_MU20_INFO_H_
  6. #define _VHT_SIG_B_MU20_INFO_H_
  7. #if !defined(__ASSEMBLER__)
  8. #endif
  9. #define NUM_OF_DWORDS_VHT_SIG_B_MU20_INFO 1
  10. struct vht_sig_b_mu20_info {
  11. #ifndef WIFI_BIT_ORDER_BIG_ENDIAN
  12. uint32_t length : 16,
  13. mcs : 4,
  14. tail : 6,
  15. mu_user_number : 3,
  16. reserved_0 : 3;
  17. #else
  18. uint32_t reserved_0 : 3,
  19. mu_user_number : 3,
  20. tail : 6,
  21. mcs : 4,
  22. length : 16;
  23. #endif
  24. };
  25. #define VHT_SIG_B_MU20_INFO_LENGTH_OFFSET 0x00000000
  26. #define VHT_SIG_B_MU20_INFO_LENGTH_LSB 0
  27. #define VHT_SIG_B_MU20_INFO_LENGTH_MSB 15
  28. #define VHT_SIG_B_MU20_INFO_LENGTH_MASK 0x0000ffff
  29. #define VHT_SIG_B_MU20_INFO_MCS_OFFSET 0x00000000
  30. #define VHT_SIG_B_MU20_INFO_MCS_LSB 16
  31. #define VHT_SIG_B_MU20_INFO_MCS_MSB 19
  32. #define VHT_SIG_B_MU20_INFO_MCS_MASK 0x000f0000
  33. #define VHT_SIG_B_MU20_INFO_TAIL_OFFSET 0x00000000
  34. #define VHT_SIG_B_MU20_INFO_TAIL_LSB 20
  35. #define VHT_SIG_B_MU20_INFO_TAIL_MSB 25
  36. #define VHT_SIG_B_MU20_INFO_TAIL_MASK 0x03f00000
  37. #define VHT_SIG_B_MU20_INFO_MU_USER_NUMBER_OFFSET 0x00000000
  38. #define VHT_SIG_B_MU20_INFO_MU_USER_NUMBER_LSB 26
  39. #define VHT_SIG_B_MU20_INFO_MU_USER_NUMBER_MSB 28
  40. #define VHT_SIG_B_MU20_INFO_MU_USER_NUMBER_MASK 0x1c000000
  41. #define VHT_SIG_B_MU20_INFO_RESERVED_0_OFFSET 0x00000000
  42. #define VHT_SIG_B_MU20_INFO_RESERVED_0_LSB 29
  43. #define VHT_SIG_B_MU20_INFO_RESERVED_0_MSB 31
  44. #define VHT_SIG_B_MU20_INFO_RESERVED_0_MASK 0xe0000000
  45. #endif