phyrx_common_user_info.h 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. /*
  2. * Copyright (c) 2020 The Linux Foundation. All rights reserved.
  3. *
  4. * Permission to use, copy, modify, and/or distribute this software for
  5. * any purpose with or without fee is hereby granted, provided that the
  6. * above copyright notice and this permission notice appear in all
  7. * copies.
  8. *
  9. * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
  10. * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
  11. * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
  12. * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
  13. * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
  14. * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
  15. * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  16. * PERFORMANCE OF THIS SOFTWARE.
  17. */
  18. //
  19. // DO NOT EDIT! This file is automatically generated
  20. // These definitions are tied to a particular hardware layout
  21. #ifndef _PHYRX_COMMON_USER_INFO_H_
  22. #define _PHYRX_COMMON_USER_INFO_H_
  23. #if !defined(__ASSEMBLER__)
  24. #endif
  25. // ################ START SUMMARY #################
  26. //
  27. // Dword Fields
  28. // 0 receive_duration[15:0], reserved_0a[31:16]
  29. //
  30. // ################ END SUMMARY #################
  31. #define NUM_OF_DWORDS_PHYRX_COMMON_USER_INFO 1
  32. struct phyrx_common_user_info {
  33. uint32_t receive_duration : 16, //[15:0]
  34. reserved_0a : 16; //[31:16]
  35. };
  36. /*
  37. receive_duration
  38. The remaining receive duration of this PPDU in the
  39. medium (in us).
  40. The timing reference point is the reception by the MAC
  41. of this TLV. The value shall be accurate to within 2us
  42. <legal all>
  43. reserved_0a
  44. <legal 0>
  45. */
  46. /* Description PHYRX_COMMON_USER_INFO_0_RECEIVE_DURATION
  47. The remaining receive duration of this PPDU in the
  48. medium (in us).
  49. The timing reference point is the reception by the MAC
  50. of this TLV. The value shall be accurate to within 2us
  51. <legal all>
  52. */
  53. #define PHYRX_COMMON_USER_INFO_0_RECEIVE_DURATION_OFFSET 0x00000000
  54. #define PHYRX_COMMON_USER_INFO_0_RECEIVE_DURATION_LSB 0
  55. #define PHYRX_COMMON_USER_INFO_0_RECEIVE_DURATION_MASK 0x0000ffff
  56. /* Description PHYRX_COMMON_USER_INFO_0_RESERVED_0A
  57. <legal 0>
  58. */
  59. #define PHYRX_COMMON_USER_INFO_0_RESERVED_0A_OFFSET 0x00000000
  60. #define PHYRX_COMMON_USER_INFO_0_RESERVED_0A_LSB 16
  61. #define PHYRX_COMMON_USER_INFO_0_RESERVED_0A_MASK 0xffff0000
  62. #endif // _PHYRX_COMMON_USER_INFO_H_