1 /* 2 * Copyright (c) 2019 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 // 20 // DO NOT EDIT! This file is automatically generated 21 // These definitions are tied to a particular hardware layout 22 23 24 #ifndef _PHYRX_COMMON_USER_INFO_H_ 25 #define _PHYRX_COMMON_USER_INFO_H_ 26 #if !defined(__ASSEMBLER__) 27 #endif 28 29 30 // ################ START SUMMARY ################# 31 // 32 // Dword Fields 33 // 0 receive_duration[15:0], reserved_0a[31:16] 34 // 35 // ################ END SUMMARY ################# 36 37 #define NUM_OF_DWORDS_PHYRX_COMMON_USER_INFO 1 38 39 struct phyrx_common_user_info { 40 uint32_t receive_duration : 16, //[15:0] 41 reserved_0a : 16; //[31:16] 42 }; 43 44 /* 45 46 receive_duration 47 48 The remaining receive duration of this PPDU in the 49 medium (in us). 50 51 The timing reference point is the reception by the MAC 52 of this TLV. The value shall be accurate to within 2us 53 54 <legal all> 55 56 reserved_0a 57 58 <legal 0> 59 */ 60 61 62 /* Description PHYRX_COMMON_USER_INFO_0_RECEIVE_DURATION 63 64 The remaining receive duration of this PPDU in the 65 medium (in us). 66 67 The timing reference point is the reception by the MAC 68 of this TLV. The value shall be accurate to within 2us 69 70 <legal all> 71 */ 72 #define PHYRX_COMMON_USER_INFO_0_RECEIVE_DURATION_OFFSET 0x00000000 73 #define PHYRX_COMMON_USER_INFO_0_RECEIVE_DURATION_LSB 0 74 #define PHYRX_COMMON_USER_INFO_0_RECEIVE_DURATION_MASK 0x0000ffff 75 76 /* Description PHYRX_COMMON_USER_INFO_0_RESERVED_0A 77 78 <legal 0> 79 */ 80 #define PHYRX_COMMON_USER_INFO_0_RESERVED_0A_OFFSET 0x00000000 81 #define PHYRX_COMMON_USER_INFO_0_RESERVED_0A_LSB 16 82 #define PHYRX_COMMON_USER_INFO_0_RESERVED_0A_MASK 0xffff0000 83 84 85 #endif // _PHYRX_COMMON_USER_INFO_H_ 86