xref: /wlan-driver/qcacld-3.0/os_if/nan/inc/os_if_nan.h (revision 5113495b16420b49004c444715d2daae2066e7dc)
1*5113495bSYour Name /*
2*5113495bSYour Name  * Copyright (c) 2012-2021 The Linux Foundation. All rights reserved.
3*5113495bSYour Name  * Copyright (c) 2022,2024 Qualcomm Innovation Center, Inc. All rights reserved.
4*5113495bSYour Name  *
5*5113495bSYour Name  * Permission to use, copy, modify, and/or distribute this software for
6*5113495bSYour Name  * any purpose with or without fee is hereby granted, provided that the
7*5113495bSYour Name  * above copyright notice and this permission notice appear in all
8*5113495bSYour Name  * copies.
9*5113495bSYour Name  *
10*5113495bSYour Name  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
11*5113495bSYour Name  * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
12*5113495bSYour Name  * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
13*5113495bSYour Name  * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
14*5113495bSYour Name  * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
15*5113495bSYour Name  * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
16*5113495bSYour Name  * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
17*5113495bSYour Name  * PERFORMANCE OF THIS SOFTWARE.
18*5113495bSYour Name  */
19*5113495bSYour Name 
20*5113495bSYour Name /**
21*5113495bSYour Name  * DOC: declares nan component os interface APIs
22*5113495bSYour Name  */
23*5113495bSYour Name 
24*5113495bSYour Name #ifndef _OS_IF_NAN_H_
25*5113495bSYour Name #define _OS_IF_NAN_H_
26*5113495bSYour Name 
27*5113495bSYour Name #include "qdf_types.h"
28*5113495bSYour Name #ifdef WLAN_FEATURE_NAN
29*5113495bSYour Name #include "nan_public_structs.h"
30*5113495bSYour Name #include "nan_ucfg_api.h"
31*5113495bSYour Name #include "qca_vendor.h"
32*5113495bSYour Name #include <wlan_cp_stats_chipset_stats.h>
33*5113495bSYour Name 
34*5113495bSYour Name /* QCA_NL80211_VENDOR_SUBCMD_NAN_EXT policy */
35*5113495bSYour Name extern const struct nla_policy nan_attr_policy[
36*5113495bSYour Name 			QCA_WLAN_VENDOR_ATTR_NAN_PARAMS_MAX + 1];
37*5113495bSYour Name 
38*5113495bSYour Name /* QCA_NL80211_VENDOR_SUBCMD_NDP policy */
39*5113495bSYour Name extern const struct nla_policy vendor_attr_policy[
40*5113495bSYour Name 			QCA_WLAN_VENDOR_ATTR_NDP_PARAMS_MAX + 1];
41*5113495bSYour Name 
42*5113495bSYour Name /**
43*5113495bSYour Name  * struct ndi_find_vdev_filter - find vdev filter object. this can be extended
44*5113495bSYour Name  * @ifname:           interface name of vdev
45*5113495bSYour Name  * @found_vdev:       found vdev object matching one or more of above params
46*5113495bSYour Name  */
47*5113495bSYour Name struct ndi_find_vdev_filter {
48*5113495bSYour Name 	const char *ifname;
49*5113495bSYour Name 	struct wlan_objmgr_vdev *found_vdev;
50*5113495bSYour Name };
51*5113495bSYour Name 
52*5113495bSYour Name /**
53*5113495bSYour Name  * os_if_nan_process_ndp_cmd: os_if api to handle nan request message
54*5113495bSYour Name  * @psoc: pointer to psoc object
55*5113495bSYour Name  * @data: request data. contains vendor cmd tlvs
56*5113495bSYour Name  * @data_len: length of data
57*5113495bSYour Name  * @is_ndp_allowed: Indicates whether to allow NDP creation.
58*5113495bSYour Name  *		    NDI creation is always allowed.
59*5113495bSYour Name  * @wdev: Wireless device structure pointer
60*5113495bSYour Name  *
61*5113495bSYour Name  * Return: status of operation
62*5113495bSYour Name  */
63*5113495bSYour Name int os_if_nan_process_ndp_cmd(struct wlan_objmgr_psoc *psoc,
64*5113495bSYour Name 			      const void *data, int data_len,
65*5113495bSYour Name 			      bool is_ndp_allowed,
66*5113495bSYour Name 			      struct wireless_dev *wdev);
67*5113495bSYour Name 
68*5113495bSYour Name /**
69*5113495bSYour Name  * os_if_nan_register_hdd_callbacks: os_if api to register hdd callbacks
70*5113495bSYour Name  * @psoc: pointer to psoc object
71*5113495bSYour Name  * @cb_obj: struct pointer containing callbacks
72*5113495bSYour Name  *
73*5113495bSYour Name  * Return: status of operation
74*5113495bSYour Name  */
75*5113495bSYour Name int os_if_nan_register_hdd_callbacks(struct wlan_objmgr_psoc *psoc,
76*5113495bSYour Name 				     struct nan_callbacks *cb_obj);
77*5113495bSYour Name 
78*5113495bSYour Name /**
79*5113495bSYour Name  * os_if_nan_register_lim_callbacks: os_if api to register lim callbacks
80*5113495bSYour Name  * @psoc: pointer to psoc object
81*5113495bSYour Name  * @cb_obj: struct pointer containing callbacks
82*5113495bSYour Name  *
83*5113495bSYour Name  * Return: status of operation
84*5113495bSYour Name  */
85*5113495bSYour Name int os_if_nan_register_lim_callbacks(struct wlan_objmgr_psoc *psoc,
86*5113495bSYour Name 				     struct nan_callbacks *cb_obj);
87*5113495bSYour Name 
88*5113495bSYour Name /**
89*5113495bSYour Name  * os_if_nan_post_ndi_create_rsp: os_if api to pos ndi create rsp to umac nan
90*5113495bSYour Name  * component
91*5113495bSYour Name  * @psoc: pointer to psoc object
92*5113495bSYour Name  * @vdev_id: vdev id of ndi
93*5113495bSYour Name  * @success: if create was success or failure
94*5113495bSYour Name  *
95*5113495bSYour Name  * Return: None
96*5113495bSYour Name  */
97*5113495bSYour Name void os_if_nan_post_ndi_create_rsp(struct wlan_objmgr_psoc *psoc,
98*5113495bSYour Name 				   uint8_t vdev_id, bool success);
99*5113495bSYour Name 
100*5113495bSYour Name /**
101*5113495bSYour Name  * os_if_nan_post_ndi_delete_rsp: os_if api to pos ndi delete rsp to umac nan
102*5113495bSYour Name  * component
103*5113495bSYour Name  * @psoc: pointer to psoc object
104*5113495bSYour Name  * @vdev_id: vdev id of ndi
105*5113495bSYour Name  * @success: if delete was success or failure
106*5113495bSYour Name  *
107*5113495bSYour Name  * Return: None
108*5113495bSYour Name  */
109*5113495bSYour Name void os_if_nan_post_ndi_delete_rsp(struct wlan_objmgr_psoc *psoc,
110*5113495bSYour Name 				   uint8_t vdev_id, bool success);
111*5113495bSYour Name 
112*5113495bSYour Name /**
113*5113495bSYour Name  * os_if_nan_ndi_session_end: os_if api to process ndi session end
114*5113495bSYour Name  * component
115*5113495bSYour Name  * @vdev: pointer to vdev deleted
116*5113495bSYour Name  *
117*5113495bSYour Name  * Return: None
118*5113495bSYour Name  */
119*5113495bSYour Name void os_if_nan_ndi_session_end(struct wlan_objmgr_vdev *vdev);
120*5113495bSYour Name 
121*5113495bSYour Name /**
122*5113495bSYour Name  * os_if_nan_set_ndi_state: os_if api set NDI state
123*5113495bSYour Name  * @vdev: pointer to vdev deleted
124*5113495bSYour Name  * @state: value to set
125*5113495bSYour Name  *
126*5113495bSYour Name  * Return: status of operation
127*5113495bSYour Name  */
os_if_nan_set_ndi_state(struct wlan_objmgr_vdev * vdev,uint32_t state)128*5113495bSYour Name static inline QDF_STATUS os_if_nan_set_ndi_state(struct wlan_objmgr_vdev *vdev,
129*5113495bSYour Name 						 uint32_t state)
130*5113495bSYour Name {
131*5113495bSYour Name 	return ucfg_nan_set_ndi_state(vdev, state);
132*5113495bSYour Name }
133*5113495bSYour Name 
134*5113495bSYour Name /**
135*5113495bSYour Name  * os_if_nan_set_ndp_create_transaction_id: set ndp create transaction id
136*5113495bSYour Name  * @vdev: pointer to vdev object
137*5113495bSYour Name  * @val: value to set
138*5113495bSYour Name  *
139*5113495bSYour Name  * Return: status of operation
140*5113495bSYour Name  */
os_if_nan_set_ndp_create_transaction_id(struct wlan_objmgr_vdev * vdev,uint16_t val)141*5113495bSYour Name static inline QDF_STATUS os_if_nan_set_ndp_create_transaction_id(
142*5113495bSYour Name 						struct wlan_objmgr_vdev *vdev,
143*5113495bSYour Name 						uint16_t val)
144*5113495bSYour Name {
145*5113495bSYour Name 	return ucfg_nan_set_ndp_create_transaction_id(vdev, val);
146*5113495bSYour Name }
147*5113495bSYour Name 
148*5113495bSYour Name /**
149*5113495bSYour Name  * os_if_nan_set_ndp_delete_transaction_id: set ndp delete transaction id
150*5113495bSYour Name  * @vdev: pointer to vdev object
151*5113495bSYour Name  * @val: value to set
152*5113495bSYour Name  *
153*5113495bSYour Name  * Return: status of operation
154*5113495bSYour Name  */
os_if_nan_set_ndp_delete_transaction_id(struct wlan_objmgr_vdev * vdev,uint16_t val)155*5113495bSYour Name static inline QDF_STATUS os_if_nan_set_ndp_delete_transaction_id(
156*5113495bSYour Name 						struct wlan_objmgr_vdev *vdev,
157*5113495bSYour Name 						uint16_t val)
158*5113495bSYour Name {
159*5113495bSYour Name 	return ucfg_nan_set_ndp_delete_transaction_id(vdev, val);
160*5113495bSYour Name }
161*5113495bSYour Name 
162*5113495bSYour Name /**
163*5113495bSYour Name  * os_if_process_nan_req: os_if api to handle NAN requests attached to the
164*5113495bSYour Name  * vendor command QCA_NL80211_VENDOR_SUBCMD_NAN_EXT
165*5113495bSYour Name  * @pdev: pointer to pdev object
166*5113495bSYour Name  * @vdev_id: NAN vdev id
167*5113495bSYour Name  * @data: request data. contains vendor cmd tlvs
168*5113495bSYour Name  * @data_len: length of data
169*5113495bSYour Name  *
170*5113495bSYour Name  * Return: status of operation
171*5113495bSYour Name  */
172*5113495bSYour Name int os_if_process_nan_req(struct wlan_objmgr_pdev *pdev, uint8_t vdev_id,
173*5113495bSYour Name 			  const void *data, int data_len);
174*5113495bSYour Name #else
175*5113495bSYour Name 
os_if_nan_post_ndi_create_rsp(struct wlan_objmgr_psoc * psoc,uint8_t vdev_id,bool success)176*5113495bSYour Name static inline void os_if_nan_post_ndi_create_rsp(struct wlan_objmgr_psoc *psoc,
177*5113495bSYour Name 						 uint8_t vdev_id, bool success)
178*5113495bSYour Name {
179*5113495bSYour Name }
180*5113495bSYour Name 
os_if_nan_post_ndi_delete_rsp(struct wlan_objmgr_psoc * psoc,uint8_t vdev_id,bool success)181*5113495bSYour Name static inline void os_if_nan_post_ndi_delete_rsp(struct wlan_objmgr_psoc *psoc,
182*5113495bSYour Name 						 uint8_t vdev_id, bool success)
183*5113495bSYour Name {
184*5113495bSYour Name }
185*5113495bSYour Name 
186*5113495bSYour Name #endif /* WLAN_FEATURE_NAN */
187*5113495bSYour Name 
188*5113495bSYour Name #if defined(WLAN_FEATURE_NAN) && defined(WLAN_CHIPSET_STATS)
189*5113495bSYour Name /**
190*5113495bSYour Name  * os_if_cstats_log_ndp_initiator_req_evt() - Chipset stats for ndp
191*5113495bSYour Name  * initiator request
192*5113495bSYour Name  *
193*5113495bSYour Name  * @req : pointer to nan_datapath_initiator_req
194*5113495bSYour Name  *
195*5113495bSYour Name  * Return : void
196*5113495bSYour Name  */
197*5113495bSYour Name void
198*5113495bSYour Name os_if_cstats_log_ndp_initiator_req_evt(struct nan_datapath_initiator_req *req);
199*5113495bSYour Name 
200*5113495bSYour Name /**
201*5113495bSYour Name  * os_if_cstats_log_ndp_responder_req_evt() - Chipset stats for ndp
202*5113495bSYour Name  * responder request
203*5113495bSYour Name  *
204*5113495bSYour Name  * @vdev : pointer to vdev object
205*5113495bSYour Name  * @req : pointer to nan_datapath_responder_req
206*5113495bSYour Name  *
207*5113495bSYour Name  * Return : void
208*5113495bSYour Name  */
209*5113495bSYour Name void
210*5113495bSYour Name os_if_cstats_log_ndp_responder_req_evt(struct wlan_objmgr_vdev *vdev,
211*5113495bSYour Name 				       struct nan_datapath_responder_req *req);
212*5113495bSYour Name 
213*5113495bSYour Name /**
214*5113495bSYour Name  * os_if_cstats_log_ndp_end_req_evt() - Chipset stats for ndp end
215*5113495bSYour Name  * request event
216*5113495bSYour Name  *
217*5113495bSYour Name  * @vdev : pointer to vdev object
218*5113495bSYour Name  * @rq : pointer to nan_datapath_end_req
219*5113495bSYour Name  *
220*5113495bSYour Name  * Return : void
221*5113495bSYour Name  */
222*5113495bSYour Name void os_if_cstats_log_ndp_end_req_evt(struct wlan_objmgr_vdev *vdev,
223*5113495bSYour Name 				      struct nan_datapath_end_req *rq);
224*5113495bSYour Name 
225*5113495bSYour Name /**
226*5113495bSYour Name  * os_if_cstats_log_ndp_initiator_resp_evt() - Chipset stats for ndp
227*5113495bSYour Name  * initiator request event
228*5113495bSYour Name  *
229*5113495bSYour Name  * @vdev : pointer to vdev object
230*5113495bSYour Name  * @rsp : pointer to nan_datapath_end_req
231*5113495bSYour Name  *
232*5113495bSYour Name  * Return : void
233*5113495bSYour Name  */
234*5113495bSYour Name void
235*5113495bSYour Name os_if_cstats_log_ndp_initiator_resp_evt(struct wlan_objmgr_vdev *vdev,
236*5113495bSYour Name 					struct nan_datapath_initiator_rsp *rsp);
237*5113495bSYour Name 
238*5113495bSYour Name /**
239*5113495bSYour Name  * os_if_cstats_log_ndp_responder_resp_evt() - Chipset stats for ndp
240*5113495bSYour Name  * responder response event
241*5113495bSYour Name  *
242*5113495bSYour Name  * @vdev : pointer to vdev object
243*5113495bSYour Name  * @rsp : pointer to nan_datapath_responder_rsp
244*5113495bSYour Name  *
245*5113495bSYour Name  * Return : void
246*5113495bSYour Name  */
247*5113495bSYour Name void
248*5113495bSYour Name os_if_cstats_log_ndp_responder_resp_evt(struct wlan_objmgr_vdev *vdev,
249*5113495bSYour Name 					struct nan_datapath_responder_rsp *rsp);
250*5113495bSYour Name 
251*5113495bSYour Name /**
252*5113495bSYour Name  * os_if_cstats_log_ndp_indication_evt() - Chipset stats for ndp
253*5113495bSYour Name  * indication event
254*5113495bSYour Name  *
255*5113495bSYour Name  * @vdev : pointer to vdev object
256*5113495bSYour Name  * @evt : pointer to nan_datapath_indication_event object
257*5113495bSYour Name  *
258*5113495bSYour Name  * Return : void
259*5113495bSYour Name  */
260*5113495bSYour Name void
261*5113495bSYour Name os_if_cstats_log_ndp_indication_evt(struct wlan_objmgr_vdev *vdev,
262*5113495bSYour Name 				    struct nan_datapath_indication_event *evt);
263*5113495bSYour Name 
264*5113495bSYour Name /**
265*5113495bSYour Name  * os_if_cstats_log_ndp_confirm_evt() - Chipset stats for ndp
266*5113495bSYour Name  * confirm event
267*5113495bSYour Name  *
268*5113495bSYour Name  * @vdev : pointer to vdev object
269*5113495bSYour Name  * @nc : pointer to nan_datapath_confirm_event
270*5113495bSYour Name  *
271*5113495bSYour Name  * Return : void
272*5113495bSYour Name  */
273*5113495bSYour Name void os_if_cstats_log_ndp_confirm_evt(struct wlan_objmgr_vdev *vdev,
274*5113495bSYour Name 				      struct nan_datapath_confirm_event *nc);
275*5113495bSYour Name 
276*5113495bSYour Name /**
277*5113495bSYour Name  * os_if_cstats_log_ndp_end_rsp_evt() - Chipset stats for ndp
278*5113495bSYour Name  * end response event
279*5113495bSYour Name  *
280*5113495bSYour Name  * @vdev : pointer to vdev object
281*5113495bSYour Name  * @rsp : pointer to nan_datapath_end_rsp_event object
282*5113495bSYour Name  *
283*5113495bSYour Name  * Return : void
284*5113495bSYour Name  */
285*5113495bSYour Name void os_if_cstats_log_ndp_end_rsp_evt(struct wlan_objmgr_vdev *vdev,
286*5113495bSYour Name 				      struct nan_datapath_end_rsp_event *rsp);
287*5113495bSYour Name 
288*5113495bSYour Name /**
289*5113495bSYour Name  * os_if_cstats_log_ndp_new_peer_evt() - Chipset stats for ndp
290*5113495bSYour Name  * new peer event
291*5113495bSYour Name  *
292*5113495bSYour Name  * @vdev : pointer to vdev object
293*5113495bSYour Name  * @peer_ind : pointer to nan_datapath_peer_ind object
294*5113495bSYour Name  *
295*5113495bSYour Name  * Return : void
296*5113495bSYour Name  */
297*5113495bSYour Name void os_if_cstats_log_ndp_new_peer_evt(struct wlan_objmgr_vdev *vdev,
298*5113495bSYour Name 				       struct nan_datapath_peer_ind *peer_ind);
299*5113495bSYour Name 
300*5113495bSYour Name /**
301*5113495bSYour Name  * os_if_cstats_log_ndi_delete_resp_evt() - Chipset stats for ndi
302*5113495bSYour Name  * delete response event
303*5113495bSYour Name  *
304*5113495bSYour Name  * @vdev : pointer to vdev object
305*5113495bSYour Name  * @rsp : pointer to nan_datapath_inf_delete_rsp object
306*5113495bSYour Name  *
307*5113495bSYour Name  * Return : void
308*5113495bSYour Name  */
309*5113495bSYour Name void
310*5113495bSYour Name os_if_cstats_log_ndi_delete_resp_evt(struct wlan_objmgr_vdev *vdev,
311*5113495bSYour Name 				     struct nan_datapath_inf_delete_rsp *rsp);
312*5113495bSYour Name 
313*5113495bSYour Name /**
314*5113495bSYour Name  * os_if_cstats_log_nan_disc_enable_req_evt() - Chipset stats for nan
315*5113495bSYour Name  * discovery enable request
316*5113495bSYour Name  *
317*5113495bSYour Name  * @vdev_id : pointer to vdev object
318*5113495bSYour Name  * @nan_req : pointer to nan_enable_req object
319*5113495bSYour Name  *
320*5113495bSYour Name  * Return : void
321*5113495bSYour Name  */
322*5113495bSYour Name void os_if_cstats_log_nan_disc_enable_req_evt(uint8_t vdev_id,
323*5113495bSYour Name 					      struct nan_enable_req *nan_req);
324*5113495bSYour Name 
325*5113495bSYour Name /**
326*5113495bSYour Name  * os_if_cstats_log_disable_nan_disc_evt() - Chipset stats for nan
327*5113495bSYour Name  * discovery disable event
328*5113495bSYour Name  *
329*5113495bSYour Name  * @pdev : pointer to pdev object
330*5113495bSYour Name  * @vdev_id : vdev ID
331*5113495bSYour Name  *
332*5113495bSYour Name  * Return : void
333*5113495bSYour Name  */
334*5113495bSYour Name void os_if_cstats_log_disable_nan_disc_evt(struct wlan_objmgr_pdev *pdev,
335*5113495bSYour Name 					   uint8_t vdev_id);
336*5113495bSYour Name #else
337*5113495bSYour Name static inline void
os_if_cstats_log_ndp_initiator_req_evt(struct nan_datapath_initiator_req * req)338*5113495bSYour Name os_if_cstats_log_ndp_initiator_req_evt(struct nan_datapath_initiator_req *req)
339*5113495bSYour Name {
340*5113495bSYour Name }
341*5113495bSYour Name 
342*5113495bSYour Name static inline void
os_if_cstats_log_ndp_responder_req_evt(struct wlan_objmgr_vdev * vdev,struct nan_datapath_responder_req * req)343*5113495bSYour Name os_if_cstats_log_ndp_responder_req_evt(struct wlan_objmgr_vdev *vdev,
344*5113495bSYour Name 				       struct nan_datapath_responder_req *req)
345*5113495bSYour Name {
346*5113495bSYour Name }
347*5113495bSYour Name 
348*5113495bSYour Name static inline void
os_if_cstats_log_ndp_end_req_evt(struct wlan_objmgr_vdev * vdev,struct nan_datapath_end_req * rq)349*5113495bSYour Name os_if_cstats_log_ndp_end_req_evt(struct wlan_objmgr_vdev *vdev,
350*5113495bSYour Name 				 struct nan_datapath_end_req *rq)
351*5113495bSYour Name {
352*5113495bSYour Name }
353*5113495bSYour Name 
354*5113495bSYour Name static inline void
os_if_cstats_log_ndp_initiator_resp_evt(struct wlan_objmgr_vdev * vdev,struct nan_datapath_initiator_rsp * rsp)355*5113495bSYour Name os_if_cstats_log_ndp_initiator_resp_evt(struct wlan_objmgr_vdev *vdev,
356*5113495bSYour Name 					struct nan_datapath_initiator_rsp *rsp)
357*5113495bSYour Name {
358*5113495bSYour Name }
359*5113495bSYour Name 
360*5113495bSYour Name static inline void
os_if_cstats_log_ndp_responder_resp_evt(struct wlan_objmgr_vdev * vdev,struct nan_datapath_responder_rsp * rsp)361*5113495bSYour Name os_if_cstats_log_ndp_responder_resp_evt(struct wlan_objmgr_vdev *vdev,
362*5113495bSYour Name 					struct nan_datapath_responder_rsp *rsp)
363*5113495bSYour Name {
364*5113495bSYour Name }
365*5113495bSYour Name 
366*5113495bSYour Name static inline void
os_if_cstats_log_ndp_indication_evt(struct wlan_objmgr_vdev * vdev,struct nan_datapath_indication_event * event)367*5113495bSYour Name os_if_cstats_log_ndp_indication_evt(struct wlan_objmgr_vdev *vdev,
368*5113495bSYour Name 				    struct nan_datapath_indication_event *event)
369*5113495bSYour Name {
370*5113495bSYour Name }
371*5113495bSYour Name 
372*5113495bSYour Name static inline void
os_if_cstats_log_ndp_confirm_evt(struct wlan_objmgr_vdev * vdev,struct nan_datapath_confirm_event * nc)373*5113495bSYour Name os_if_cstats_log_ndp_confirm_evt(struct wlan_objmgr_vdev *vdev,
374*5113495bSYour Name 				 struct nan_datapath_confirm_event *nc)
375*5113495bSYour Name {
376*5113495bSYour Name }
377*5113495bSYour Name 
378*5113495bSYour Name static inline void
os_if_cstats_log_ndp_end_rsp_evt(struct wlan_objmgr_vdev * vdev,struct nan_datapath_end_rsp_event * rsp)379*5113495bSYour Name os_if_cstats_log_ndp_end_rsp_evt(struct wlan_objmgr_vdev *vdev,
380*5113495bSYour Name 				 struct nan_datapath_end_rsp_event *rsp)
381*5113495bSYour Name {
382*5113495bSYour Name }
383*5113495bSYour Name 
384*5113495bSYour Name static inline void
os_if_cstats_log_ndp_new_peer_evt(struct wlan_objmgr_vdev * vdev,struct nan_datapath_peer_ind * peer_ind)385*5113495bSYour Name os_if_cstats_log_ndp_new_peer_evt(struct wlan_objmgr_vdev *vdev,
386*5113495bSYour Name 				  struct nan_datapath_peer_ind *peer_ind)
387*5113495bSYour Name {
388*5113495bSYour Name }
389*5113495bSYour Name 
390*5113495bSYour Name static inline void
os_if_cstats_log_ndi_delete_resp_evt(struct wlan_objmgr_vdev * vdev,struct nan_datapath_inf_delete_rsp * rsp)391*5113495bSYour Name os_if_cstats_log_ndi_delete_resp_evt(struct wlan_objmgr_vdev *vdev,
392*5113495bSYour Name 				     struct nan_datapath_inf_delete_rsp *rsp)
393*5113495bSYour Name {
394*5113495bSYour Name }
395*5113495bSYour Name 
396*5113495bSYour Name static inline void
os_if_cstats_log_nan_disc_enable_req_evt(uint8_t vdev_id,struct nan_enable_req * nan_req)397*5113495bSYour Name os_if_cstats_log_nan_disc_enable_req_evt(uint8_t vdev_id,
398*5113495bSYour Name 					 struct nan_enable_req *nan_req)
399*5113495bSYour Name {
400*5113495bSYour Name }
401*5113495bSYour Name 
402*5113495bSYour Name static inline void
os_if_cstats_log_disable_nan_disc_evt(struct wlan_objmgr_pdev * pdev,uint8_t vdev_id)403*5113495bSYour Name os_if_cstats_log_disable_nan_disc_evt(struct wlan_objmgr_pdev *pdev,
404*5113495bSYour Name 				      uint8_t vdev_id)
405*5113495bSYour Name {
406*5113495bSYour Name }
407*5113495bSYour Name #endif /* WLAN_CHIPSET_STATS */
408*5113495bSYour Name #endif
409