xref: /wlan-driver/qcacld-3.0/components/qmi/core/inc/wlan_qmi_priv.h (revision 5113495b16420b49004c444715d2daae2066e7dc)
1 /*
2  * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
3  *
4  * Permission to use, copy, modify, and/or distribute this software for any
5  * purpose with or without fee is hereby granted, provided that the above
6  * copyright notice and this permission notice appear in all copies.
7  *
8  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15  */
16 
17 /**
18  * DOC: wlan_qmi_priv.h
19  *
20  * Declare various struct, macros which are used private to QMI component.
21  */
22 
23 #ifndef _WLAN_QMI_PRIV_H_
24 #define _WLAN_QMI_PRIV_H_
25 
26 #include "wlan_qmi_public_struct.h"
27 #include "wlan_objmgr_psoc_obj.h"
28 
29 /**
30  * struct wlan_qmi_psoc_context - psoc related data required for QMI
31  * @psoc: object manager psoc context
32  * @qmi_cbs: QMI callbacks
33  */
34 struct wlan_qmi_psoc_context {
35 	struct wlan_objmgr_psoc *psoc;
36 	struct wlan_qmi_psoc_callbacks qmi_cbs;
37 };
38 #endif
39