1 /*
2  * Copyright (c) 2018 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 #ifndef _PHYRX_USER_INFO_H_
21 #define _PHYRX_USER_INFO_H_
22 #if !defined(__ASSEMBLER__)
23 #endif
24 
25 #include "receive_user_info.h"
26 
27 // ################ START SUMMARY #################
28 //
29 //	Dword	Fields
30 //	0-2	struct receive_user_info receive_user_info_details;
31 //
32 // ################ END SUMMARY #################
33 
34 #define NUM_OF_DWORDS_PHYRX_USER_INFO 3
35 
36 struct phyrx_user_info {
37     struct            receive_user_info                       receive_user_info_details;
38 };
39 
40 /*
41 
42 struct receive_user_info receive_user_info_details
43 
44 			Overview of receive parameters that the MAC needs to
45 			prepend to every received MSDU/MPDU.
46 
47 
48 
49 			PHY RX gathers this info for the MAC
50 */
51 
52 #define PHYRX_USER_INFO_0_RECEIVE_USER_INFO_RECEIVE_USER_INFO_DETAILS_OFFSET 0x00000000
53 #define PHYRX_USER_INFO_0_RECEIVE_USER_INFO_RECEIVE_USER_INFO_DETAILS_LSB 0
54 #define PHYRX_USER_INFO_0_RECEIVE_USER_INFO_RECEIVE_USER_INFO_DETAILS_MASK 0xffffffff
55 #define PHYRX_USER_INFO_1_RECEIVE_USER_INFO_RECEIVE_USER_INFO_DETAILS_OFFSET 0x00000004
56 #define PHYRX_USER_INFO_1_RECEIVE_USER_INFO_RECEIVE_USER_INFO_DETAILS_LSB 0
57 #define PHYRX_USER_INFO_1_RECEIVE_USER_INFO_RECEIVE_USER_INFO_DETAILS_MASK 0xffffffff
58 #define PHYRX_USER_INFO_2_RECEIVE_USER_INFO_RECEIVE_USER_INFO_DETAILS_OFFSET 0x00000008
59 #define PHYRX_USER_INFO_2_RECEIVE_USER_INFO_RECEIVE_USER_INFO_DETAILS_LSB 0
60 #define PHYRX_USER_INFO_2_RECEIVE_USER_INFO_RECEIVE_USER_INFO_DETAILS_MASK 0xffffffff
61 
62 
63 #endif // _PHYRX_USER_INFO_H_
64