vht_sig_b_mu40_info.h 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. /*
  2. * Copyright (c) 2024, Qualcomm Innovation Center, Inc. All rights reserved.
  3. * SPDX-License-Identifier: ISC
  4. */
  5. #ifndef _VHT_SIG_B_MU40_INFO_H_
  6. #define _VHT_SIG_B_MU40_INFO_H_
  7. #if !defined(__ASSEMBLER__)
  8. #endif
  9. #define NUM_OF_DWORDS_VHT_SIG_B_MU40_INFO 2
  10. struct vht_sig_b_mu40_info {
  11. #ifndef WIFI_BIT_ORDER_BIG_ENDIAN
  12. uint32_t length : 17,
  13. mcs : 4,
  14. tail : 6,
  15. reserved_0 : 2,
  16. mu_user_number : 3;
  17. uint32_t length_copy : 17,
  18. mcs_copy : 4,
  19. tail_copy : 6,
  20. reserved_1 : 5;
  21. #else
  22. uint32_t mu_user_number : 3,
  23. reserved_0 : 2,
  24. tail : 6,
  25. mcs : 4,
  26. length : 17;
  27. uint32_t reserved_1 : 5,
  28. tail_copy : 6,
  29. mcs_copy : 4,
  30. length_copy : 17;
  31. #endif
  32. };
  33. #define VHT_SIG_B_MU40_INFO_LENGTH_OFFSET 0x00000000
  34. #define VHT_SIG_B_MU40_INFO_LENGTH_LSB 0
  35. #define VHT_SIG_B_MU40_INFO_LENGTH_MSB 16
  36. #define VHT_SIG_B_MU40_INFO_LENGTH_MASK 0x0001ffff
  37. #define VHT_SIG_B_MU40_INFO_MCS_OFFSET 0x00000000
  38. #define VHT_SIG_B_MU40_INFO_MCS_LSB 17
  39. #define VHT_SIG_B_MU40_INFO_MCS_MSB 20
  40. #define VHT_SIG_B_MU40_INFO_MCS_MASK 0x001e0000
  41. #define VHT_SIG_B_MU40_INFO_TAIL_OFFSET 0x00000000
  42. #define VHT_SIG_B_MU40_INFO_TAIL_LSB 21
  43. #define VHT_SIG_B_MU40_INFO_TAIL_MSB 26
  44. #define VHT_SIG_B_MU40_INFO_TAIL_MASK 0x07e00000
  45. #define VHT_SIG_B_MU40_INFO_RESERVED_0_OFFSET 0x00000000
  46. #define VHT_SIG_B_MU40_INFO_RESERVED_0_LSB 27
  47. #define VHT_SIG_B_MU40_INFO_RESERVED_0_MSB 28
  48. #define VHT_SIG_B_MU40_INFO_RESERVED_0_MASK 0x18000000
  49. #define VHT_SIG_B_MU40_INFO_MU_USER_NUMBER_OFFSET 0x00000000
  50. #define VHT_SIG_B_MU40_INFO_MU_USER_NUMBER_LSB 29
  51. #define VHT_SIG_B_MU40_INFO_MU_USER_NUMBER_MSB 31
  52. #define VHT_SIG_B_MU40_INFO_MU_USER_NUMBER_MASK 0xe0000000
  53. #define VHT_SIG_B_MU40_INFO_LENGTH_COPY_OFFSET 0x00000004
  54. #define VHT_SIG_B_MU40_INFO_LENGTH_COPY_LSB 0
  55. #define VHT_SIG_B_MU40_INFO_LENGTH_COPY_MSB 16
  56. #define VHT_SIG_B_MU40_INFO_LENGTH_COPY_MASK 0x0001ffff
  57. #define VHT_SIG_B_MU40_INFO_MCS_COPY_OFFSET 0x00000004
  58. #define VHT_SIG_B_MU40_INFO_MCS_COPY_LSB 17
  59. #define VHT_SIG_B_MU40_INFO_MCS_COPY_MSB 20
  60. #define VHT_SIG_B_MU40_INFO_MCS_COPY_MASK 0x001e0000
  61. #define VHT_SIG_B_MU40_INFO_TAIL_COPY_OFFSET 0x00000004
  62. #define VHT_SIG_B_MU40_INFO_TAIL_COPY_LSB 21
  63. #define VHT_SIG_B_MU40_INFO_TAIL_COPY_MSB 26
  64. #define VHT_SIG_B_MU40_INFO_TAIL_COPY_MASK 0x07e00000
  65. #define VHT_SIG_B_MU40_INFO_RESERVED_1_OFFSET 0x00000004
  66. #define VHT_SIG_B_MU40_INFO_RESERVED_1_LSB 27
  67. #define VHT_SIG_B_MU40_INFO_RESERVED_1_MSB 31
  68. #define VHT_SIG_B_MU40_INFO_RESERVED_1_MASK 0xf8000000
  69. #endif