xref: /wlan-driver/fw-api/fw/wmi_unified_vendor.h (revision 5113495b16420b49004c444715d2daae2066e7dc) !
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 /** @file
20  *  This File provides dummy defs for the vendor-specific message content structs defined in wmi_unified.h.
21  *  Vendor may replace this file wmi_unified_vendor.h with there own vendor defs header file containing the real vendor defs.
22  **/
23 #ifndef _WMI_UNIFIED_VENDOR_H_
24 #define _WMI_UNIFIED_VENDOR_H_
25 
26 typedef union
27 {
28     A_UINT32 pdev_sample1_cmd;
29     A_UINT32 pdev_sample2_cmd;
30 } wmi_pdev_vendor_cmd_val;
31 
32 typedef union
33 {
34     A_UINT32 pdev_sample1_event;
35     A_UINT32 pdev_sample2_event;
36 } wmi_pdev_vendor_event_val;
37 
38 typedef union
39 {
40     A_UINT32 vdev_sample1_cmd;
41     A_UINT32 vdev_sample2_cmd;
42 } wmi_vdev_vendor_cmd_val;
43 
44 typedef union
45 {
46     A_UINT32 vdev_sample1_event;
47     A_UINT32 vdev_sample2_event;
48 } wmi_vdev_vendor_event_val;
49 
50 typedef union
51 {
52     A_UINT32 peer_sample1_cmd;
53     A_UINT32 peer_sample2_cmd;
54 } wmi_peer_vendor_cmd_val;
55 
56 typedef union
57 {
58     A_UINT32 peer_sample1_event;
59     A_UINT32 peer_sample2_event;
60 } wmi_peer_vendor_event_val;
61 
62 #endif /* _WMI_UNIFIED_VENDOR_H_ */
63