xref: /wlan-driver/qcacld-3.0/core/sme/inc/sme_nan_datapath.h (revision 5113495b16420b49004c444715d2daae2066e7dc)
1 /*
2  * Copyright (c) 2016-2019, 2021 The Linux Foundation. All rights reserved.
3  * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
4  *
5  * Permission to use, copy, modify, and/or distribute this software for
6  * any purpose with or without fee is hereby granted, provided that the
7  * above copyright notice and this permission notice appear in all
8  * copies.
9  *
10  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
11  * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
12  * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
13  * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
14  * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
15  * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
16  * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
17  * PERFORMANCE OF THIS SOFTWARE.
18  */
19 
20 /**
21  * DOC: sme_nan_datapath.h
22  *
23  * SME NAN Data path API specification
24  */
25 
26 #ifndef __SME_NAN_DATAPATH_H
27 #define __SME_NAN_DATAPATH_H
28 
29 #include "csr_inside_api.h"
30 
31 #ifdef WLAN_FEATURE_NAN
32 void csr_roam_update_ndp_return_params(struct mac_context *mac_ctx,
33 					uint32_t result,
34 					uint32_t *roam_status,
35 					uint32_t *roam_result,
36 					struct csr_roam_info *roam_info);
37 
38 #else /* WLAN_FEATURE_NAN */
39 
csr_roam_update_ndp_return_params(struct mac_context * mac_ctx,uint32_t result,uint32_t * roam_status,uint32_t * roam_result,struct csr_roam_info * roam_info)40 static inline void csr_roam_update_ndp_return_params(struct mac_context *mac_ctx,
41 					uint32_t result,
42 					uint32_t *roam_status,
43 					uint32_t *roam_result,
44 					struct csr_roam_info *roam_info)
45 {
46 }
47 
48 #endif /* WLAN_FEATURE_NAN */
49 
50 #endif /* __SME_NAN_DATAPATH_H */
51