xref: /wlan-driver/qcacld-3.0/components/tdls/dispatcher/inc/wlan_tdls_cfg_api.h (revision 5113495b16420b49004c444715d2daae2066e7dc)
1*5113495bSYour Name /*
2*5113495bSYour Name  * Copyright (c) 2018-2020 The Linux Foundation. All rights reserved.
3*5113495bSYour Name  * Copyright (c) 2023 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: Contains p2p configures interface definitions
22*5113495bSYour Name  */
23*5113495bSYour Name 
24*5113495bSYour Name #ifndef _WLAN_TDLS_CFG_API_H_
25*5113495bSYour Name #define _WLAN_TDLS_CFG_API_H_
26*5113495bSYour Name 
27*5113495bSYour Name #include <qdf_types.h>
28*5113495bSYour Name 
29*5113495bSYour Name struct wlan_objmgr_psoc;
30*5113495bSYour Name 
31*5113495bSYour Name #ifdef FEATURE_WLAN_TDLS
32*5113495bSYour Name /**
33*5113495bSYour Name  * cfg_tdls_get_support_enable() - get tdls support enable
34*5113495bSYour Name  * @psoc:        pointer to psoc object
35*5113495bSYour Name  * @val:         pointer to tdls support enable/disable
36*5113495bSYour Name  *
37*5113495bSYour Name  * This function gets tdls support enable
38*5113495bSYour Name  */
39*5113495bSYour Name QDF_STATUS
40*5113495bSYour Name cfg_tdls_get_support_enable(struct wlan_objmgr_psoc *psoc,
41*5113495bSYour Name 			    bool *val);
42*5113495bSYour Name 
43*5113495bSYour Name /**
44*5113495bSYour Name  * cfg_tdls_set_support_enable() - set tdls support enable
45*5113495bSYour Name  * @psoc:        pointer to psoc object
46*5113495bSYour Name  * @val:         set tdls support enable/disable
47*5113495bSYour Name  *
48*5113495bSYour Name  * This function sets tdls support enable
49*5113495bSYour Name  */
50*5113495bSYour Name QDF_STATUS
51*5113495bSYour Name cfg_tdls_set_support_enable(struct wlan_objmgr_psoc *psoc,
52*5113495bSYour Name 			    bool val);
53*5113495bSYour Name 
54*5113495bSYour Name /**
55*5113495bSYour Name  * cfg_tdls_get_external_control() - get tdls external control
56*5113495bSYour Name  * @psoc:        pointer to psoc object
57*5113495bSYour Name  * @val:         pointer to tdls external control enable/disable
58*5113495bSYour Name  *
59*5113495bSYour Name  * This function gets tdls external control
60*5113495bSYour Name  */
61*5113495bSYour Name QDF_STATUS
62*5113495bSYour Name cfg_tdls_get_external_control(struct wlan_objmgr_psoc *psoc,
63*5113495bSYour Name 			      bool *val);
64*5113495bSYour Name 
65*5113495bSYour Name /**
66*5113495bSYour Name  * cfg_tdls_get_uapsd_mask() - get tdls uapsd mask
67*5113495bSYour Name  * @psoc:        pointer to psoc object
68*5113495bSYour Name  * @val:         pointer to tdls uapsd mask
69*5113495bSYour Name  *
70*5113495bSYour Name  * This function gets tdls uapsd mask
71*5113495bSYour Name  */
72*5113495bSYour Name QDF_STATUS
73*5113495bSYour Name cfg_tdls_get_uapsd_mask(struct wlan_objmgr_psoc *psoc,
74*5113495bSYour Name 			uint32_t *val);
75*5113495bSYour Name 
76*5113495bSYour Name /**
77*5113495bSYour Name  * cfg_tdls_get_buffer_sta_enable() - get tdls buffer sta enable
78*5113495bSYour Name  * @psoc:        pointer to psoc object
79*5113495bSYour Name  * @val:         pointer to tdls buffer sta enable
80*5113495bSYour Name  *
81*5113495bSYour Name  * This function gets tdls buffer sta enable
82*5113495bSYour Name  */
83*5113495bSYour Name QDF_STATUS
84*5113495bSYour Name cfg_tdls_get_buffer_sta_enable(struct wlan_objmgr_psoc *psoc,
85*5113495bSYour Name 			       bool *val);
86*5113495bSYour Name 
87*5113495bSYour Name /**
88*5113495bSYour Name  * cfg_tdls_set_buffer_sta_enable() - set tdls buffer sta enable
89*5113495bSYour Name  * @psoc:        pointer to psoc object
90*5113495bSYour Name  * @val:         tdls buffer sta enable
91*5113495bSYour Name  *
92*5113495bSYour Name  * This function sets tdls buffer sta enable
93*5113495bSYour Name  */
94*5113495bSYour Name QDF_STATUS
95*5113495bSYour Name cfg_tdls_set_buffer_sta_enable(struct wlan_objmgr_psoc *psoc,
96*5113495bSYour Name 			       bool val);
97*5113495bSYour Name 
98*5113495bSYour Name /**
99*5113495bSYour Name  * cfg_tdls_get_uapsd_inactivity_time() - get tdls uapsd inactivity time
100*5113495bSYour Name  * @psoc:        pointer to psoc object
101*5113495bSYour Name  * @val:         pointer to tdls uapsd inactivity time
102*5113495bSYour Name  *
103*5113495bSYour Name  * This function gets tdls uapsd inactivity time
104*5113495bSYour Name  */
105*5113495bSYour Name QDF_STATUS
106*5113495bSYour Name cfg_tdls_get_uapsd_inactivity_time(struct wlan_objmgr_psoc *psoc,
107*5113495bSYour Name 				   uint32_t *val);
108*5113495bSYour Name 
109*5113495bSYour Name /**
110*5113495bSYour Name  * cfg_tdls_get_rx_pkt_threshold() - get tdls rx pkt threshold
111*5113495bSYour Name  * @psoc:        pointer to psoc object
112*5113495bSYour Name  * @val:         pointer to tdls tdls rx pkt threshold
113*5113495bSYour Name  *
114*5113495bSYour Name  * This function gets tdls rx pkt threshold
115*5113495bSYour Name  */
116*5113495bSYour Name QDF_STATUS
117*5113495bSYour Name cfg_tdls_get_rx_pkt_threshold(struct wlan_objmgr_psoc *psoc,
118*5113495bSYour Name 			      uint32_t *val);
119*5113495bSYour Name 
120*5113495bSYour Name /**
121*5113495bSYour Name  * cfg_tdls_get_off_channel_enable() - get tdls off channel enable
122*5113495bSYour Name  * @psoc:        pointer to psoc object
123*5113495bSYour Name  * @val:         pointer to tdls off channel enable
124*5113495bSYour Name  *
125*5113495bSYour Name  * This function gets tdls off channel enable
126*5113495bSYour Name  */
127*5113495bSYour Name QDF_STATUS
128*5113495bSYour Name cfg_tdls_get_off_channel_enable(struct wlan_objmgr_psoc *psoc,
129*5113495bSYour Name 				bool *val);
130*5113495bSYour Name 
131*5113495bSYour Name /**
132*5113495bSYour Name  * cfg_tdls_set_off_channel_enable() - set tdls off channel enable
133*5113495bSYour Name  * @psoc:        pointer to psoc object
134*5113495bSYour Name  * @val:         tdls off channel enable
135*5113495bSYour Name  *
136*5113495bSYour Name  * This function sets tdls off channel enable
137*5113495bSYour Name  */
138*5113495bSYour Name QDF_STATUS
139*5113495bSYour Name cfg_tdls_set_off_channel_enable(struct wlan_objmgr_psoc *psoc,
140*5113495bSYour Name 				bool val);
141*5113495bSYour Name 
142*5113495bSYour Name /**
143*5113495bSYour Name  * cfg_tdls_get_off_channel_enable_orig() - get tdls off channel enable orig
144*5113495bSYour Name  * @psoc:        pointer to psoc object
145*5113495bSYour Name  * @val:         pointer to tdls off channel enable
146*5113495bSYour Name  *
147*5113495bSYour Name  * This function gets tdls off channel enable orig
148*5113495bSYour Name  */
149*5113495bSYour Name QDF_STATUS
150*5113495bSYour Name cfg_tdls_get_off_channel_enable_orig(struct wlan_objmgr_psoc *psoc,
151*5113495bSYour Name 				     bool *val);
152*5113495bSYour Name 
153*5113495bSYour Name /**
154*5113495bSYour Name  * cfg_tdls_restore_off_channel_enable() - set tdls off channel enable to
155*5113495bSYour Name  *                                         tdls_off_chan_enable_orig
156*5113495bSYour Name  * @psoc:        pointer to psoc object
157*5113495bSYour Name  *
158*5113495bSYour Name  * Return: NULL
159*5113495bSYour Name  */
160*5113495bSYour Name void cfg_tdls_restore_off_channel_enable(struct wlan_objmgr_psoc *psoc);
161*5113495bSYour Name 
162*5113495bSYour Name /**
163*5113495bSYour Name  * cfg_tdls_store_off_channel_enable() - save tdls off channel enable to
164*5113495bSYour Name  *                                       tdls_off_chan_enable_orig
165*5113495bSYour Name  * @psoc:        pointer to psoc object
166*5113495bSYour Name  *
167*5113495bSYour Name  * Return: NULL
168*5113495bSYour Name  */
169*5113495bSYour Name void cfg_tdls_store_off_channel_enable(struct wlan_objmgr_psoc *psoc);
170*5113495bSYour Name 
171*5113495bSYour Name /**
172*5113495bSYour Name  * cfg_tdls_get_wmm_mode_enable() - get tdls wmm mode enable
173*5113495bSYour Name  * @psoc:        pointer to psoc object
174*5113495bSYour Name  * @val:         pointer to tdls wmm mode enable
175*5113495bSYour Name  *
176*5113495bSYour Name  * This function gets tdls wmm mode enable
177*5113495bSYour Name  */
178*5113495bSYour Name QDF_STATUS
179*5113495bSYour Name cfg_tdls_get_wmm_mode_enable(struct wlan_objmgr_psoc *psoc,
180*5113495bSYour Name 			     bool *val);
181*5113495bSYour Name 
182*5113495bSYour Name /**
183*5113495bSYour Name  * cfg_tdls_set_vdev_nss_2g() - set tdls vdev nss 2g
184*5113495bSYour Name  * @psoc:        pointer to psoc object
185*5113495bSYour Name  * @val:         tdls vdev nss 2g
186*5113495bSYour Name  *
187*5113495bSYour Name  * This function sets tdls vdev nss 2g
188*5113495bSYour Name  */
189*5113495bSYour Name QDF_STATUS
190*5113495bSYour Name cfg_tdls_set_vdev_nss_2g(struct wlan_objmgr_psoc *psoc,
191*5113495bSYour Name 			 uint8_t val);
192*5113495bSYour Name 
193*5113495bSYour Name /**
194*5113495bSYour Name  * cfg_tdls_set_vdev_nss_5g() - set tdls vdev nss 5g
195*5113495bSYour Name  * @psoc:        pointer to psoc object
196*5113495bSYour Name  * @val:         tdls vdev nss 5g
197*5113495bSYour Name  *
198*5113495bSYour Name  * This function sets tdls vdev nss 5g
199*5113495bSYour Name  */
200*5113495bSYour Name QDF_STATUS
201*5113495bSYour Name cfg_tdls_set_vdev_nss_5g(struct wlan_objmgr_psoc *psoc,
202*5113495bSYour Name 			 uint8_t val);
203*5113495bSYour Name 
204*5113495bSYour Name /**
205*5113495bSYour Name  * cfg_tdls_get_sleep_sta_enable() - get tdls sleep sta enable
206*5113495bSYour Name  * @psoc:        pointer to psoc object
207*5113495bSYour Name  * @val:         pointer to tdls sleep sta enable
208*5113495bSYour Name  *
209*5113495bSYour Name  * This function gets tdls sleep sta enable
210*5113495bSYour Name  */
211*5113495bSYour Name QDF_STATUS
212*5113495bSYour Name cfg_tdls_get_sleep_sta_enable(struct wlan_objmgr_psoc *psoc,
213*5113495bSYour Name 			      bool *val);
214*5113495bSYour Name 
215*5113495bSYour Name /**
216*5113495bSYour Name  * cfg_tdls_set_sleep_sta_enable() - set tdls sleep sta enable
217*5113495bSYour Name  * @psoc:        pointer to psoc object
218*5113495bSYour Name  * @val:         tdls sleep sta enable
219*5113495bSYour Name  *
220*5113495bSYour Name  * This function sets tdls sleep sta enable
221*5113495bSYour Name  */
222*5113495bSYour Name QDF_STATUS
223*5113495bSYour Name cfg_tdls_set_sleep_sta_enable(struct wlan_objmgr_psoc *psoc,
224*5113495bSYour Name 			      bool val);
225*5113495bSYour Name 
226*5113495bSYour Name /**
227*5113495bSYour Name  * cfg_tdls_get_scan_enable() - get tdls scan enable
228*5113495bSYour Name  * @psoc:        pointer to psoc object
229*5113495bSYour Name  * @val:         pointer to tdls scan enable
230*5113495bSYour Name  *
231*5113495bSYour Name  * This function gets tdls scan enable
232*5113495bSYour Name  */
233*5113495bSYour Name QDF_STATUS
234*5113495bSYour Name cfg_tdls_get_scan_enable(struct wlan_objmgr_psoc *psoc,
235*5113495bSYour Name 			 bool *val);
236*5113495bSYour Name 
237*5113495bSYour Name /**
238*5113495bSYour Name  * cfg_tdls_get_link_id() - get tdls link id
239*5113495bSYour Name  * @psoc:        pointer to psoc object
240*5113495bSYour Name  *
241*5113495bSYour Name  * This function gets tdls link id
242*5113495bSYour Name  *
243*5113495bSYour Name  * Return: int
244*5113495bSYour Name  */
245*5113495bSYour Name int cfg_tdls_get_link_id(struct wlan_objmgr_psoc *psoc);
246*5113495bSYour Name 
247*5113495bSYour Name /**
248*5113495bSYour Name  * cfg_tdls_set_link_id() - get tdls link id
249*5113495bSYour Name  * @psoc:        pointer to psoc object
250*5113495bSYour Name  * @val:         the value of link id
251*5113495bSYour Name  *
252*5113495bSYour Name  * This function gets tdls link id
253*5113495bSYour Name  *
254*5113495bSYour Name  * Return: QDF_STATUS
255*5113495bSYour Name  */
256*5113495bSYour Name QDF_STATUS
257*5113495bSYour Name cfg_tdls_set_link_id(struct wlan_objmgr_psoc *psoc,
258*5113495bSYour Name 		     int val);
259*5113495bSYour Name /**
260*5113495bSYour Name  * cfg_tdls_set_scan_enable() - set tdls scan enable
261*5113495bSYour Name  * @psoc:        pointer to psoc object
262*5113495bSYour Name  * @val:         tdls scan enable
263*5113495bSYour Name  *
264*5113495bSYour Name  * This function sets tdls scan enable
265*5113495bSYour Name  */
266*5113495bSYour Name QDF_STATUS
267*5113495bSYour Name cfg_tdls_set_scan_enable(struct wlan_objmgr_psoc *psoc,
268*5113495bSYour Name 			 bool val);
269*5113495bSYour Name 
270*5113495bSYour Name /**
271*5113495bSYour Name  * cfg_tdls_get_max_peer_count() - get tdls max peer count
272*5113495bSYour Name  * @psoc:        pointer to psoc object
273*5113495bSYour Name  *
274*5113495bSYour Name  * This function gets tdls max peer count
275*5113495bSYour Name  */
276*5113495bSYour Name uint16_t cfg_tdls_get_max_peer_count(struct wlan_objmgr_psoc *psoc);
277*5113495bSYour Name 
278*5113495bSYour Name /**
279*5113495bSYour Name  * cfg_tdls_get_connected_peer_count() - get tdls connected peer count
280*5113495bSYour Name  * @psoc: pointer to psoc object
281*5113495bSYour Name  *
282*5113495bSYour Name  * This function gets tdls connected peer count
283*5113495bSYour Name  */
284*5113495bSYour Name uint16_t cfg_tdls_get_connected_peer_count(struct wlan_objmgr_psoc *psoc);
285*5113495bSYour Name #else
286*5113495bSYour Name static inline QDF_STATUS
cfg_tdls_get_support_enable(struct wlan_objmgr_psoc * psoc,bool * val)287*5113495bSYour Name cfg_tdls_get_support_enable(struct wlan_objmgr_psoc *psoc,
288*5113495bSYour Name 			    bool *val)
289*5113495bSYour Name {
290*5113495bSYour Name 	*val = false;
291*5113495bSYour Name 
292*5113495bSYour Name 	return QDF_STATUS_SUCCESS;
293*5113495bSYour Name }
294*5113495bSYour Name 
295*5113495bSYour Name static inline QDF_STATUS
cfg_tdls_set_support_enable(struct wlan_objmgr_psoc * psoc,bool val)296*5113495bSYour Name cfg_tdls_set_support_enable(struct wlan_objmgr_psoc *psoc,
297*5113495bSYour Name 			    bool val)
298*5113495bSYour Name {
299*5113495bSYour Name 	return QDF_STATUS_SUCCESS;
300*5113495bSYour Name }
301*5113495bSYour Name 
302*5113495bSYour Name static inline QDF_STATUS
cfg_tdls_get_external_control(struct wlan_objmgr_psoc * psoc,bool * val)303*5113495bSYour Name cfg_tdls_get_external_control(struct wlan_objmgr_psoc *psoc,
304*5113495bSYour Name 			      bool *val)
305*5113495bSYour Name {
306*5113495bSYour Name 	*val = false;
307*5113495bSYour Name 
308*5113495bSYour Name 	return QDF_STATUS_SUCCESS;
309*5113495bSYour Name }
310*5113495bSYour Name 
311*5113495bSYour Name static inline QDF_STATUS
cfg_tdls_get_uapsd_mask(struct wlan_objmgr_psoc * psoc,uint32_t * val)312*5113495bSYour Name cfg_tdls_get_uapsd_mask(struct wlan_objmgr_psoc *psoc,
313*5113495bSYour Name 			uint32_t *val)
314*5113495bSYour Name {
315*5113495bSYour Name 	*val = 0;
316*5113495bSYour Name 
317*5113495bSYour Name 	return QDF_STATUS_SUCCESS;
318*5113495bSYour Name }
319*5113495bSYour Name 
320*5113495bSYour Name static inline QDF_STATUS
cfg_tdls_get_buffer_sta_enable(struct wlan_objmgr_psoc * psoc,bool * val)321*5113495bSYour Name cfg_tdls_get_buffer_sta_enable(struct wlan_objmgr_psoc *psoc,
322*5113495bSYour Name 			       bool *val)
323*5113495bSYour Name {
324*5113495bSYour Name 	*val = false;
325*5113495bSYour Name 
326*5113495bSYour Name 	return QDF_STATUS_SUCCESS;
327*5113495bSYour Name }
328*5113495bSYour Name 
329*5113495bSYour Name static inline QDF_STATUS
cfg_tdls_set_buffer_sta_enable(struct wlan_objmgr_psoc * psoc,bool val)330*5113495bSYour Name cfg_tdls_set_buffer_sta_enable(struct wlan_objmgr_psoc *psoc,
331*5113495bSYour Name 			       bool val)
332*5113495bSYour Name {
333*5113495bSYour Name 	return QDF_STATUS_SUCCESS;
334*5113495bSYour Name }
335*5113495bSYour Name 
336*5113495bSYour Name static inline QDF_STATUS
cfg_tdls_get_uapsd_inactivity_time(struct wlan_objmgr_psoc * psoc,uint32_t * val)337*5113495bSYour Name cfg_tdls_get_uapsd_inactivity_time(struct wlan_objmgr_psoc *psoc,
338*5113495bSYour Name 				   uint32_t *val)
339*5113495bSYour Name {
340*5113495bSYour Name 	*val = 0;
341*5113495bSYour Name 
342*5113495bSYour Name 	return QDF_STATUS_SUCCESS;
343*5113495bSYour Name }
344*5113495bSYour Name 
345*5113495bSYour Name static inline QDF_STATUS
cfg_tdls_get_rx_pkt_threshold(struct wlan_objmgr_psoc * psoc,uint32_t * val)346*5113495bSYour Name cfg_tdls_get_rx_pkt_threshold(struct wlan_objmgr_psoc *psoc,
347*5113495bSYour Name 			      uint32_t *val)
348*5113495bSYour Name {
349*5113495bSYour Name 	*val = 0;
350*5113495bSYour Name 
351*5113495bSYour Name 	return QDF_STATUS_SUCCESS;
352*5113495bSYour Name }
353*5113495bSYour Name 
354*5113495bSYour Name static inline QDF_STATUS
cfg_tdls_get_off_channel_enable(struct wlan_objmgr_psoc * psoc,bool * val)355*5113495bSYour Name cfg_tdls_get_off_channel_enable(struct wlan_objmgr_psoc *psoc,
356*5113495bSYour Name 				bool *val)
357*5113495bSYour Name {
358*5113495bSYour Name 	*val = false;
359*5113495bSYour Name 
360*5113495bSYour Name 	return QDF_STATUS_SUCCESS;
361*5113495bSYour Name }
362*5113495bSYour Name 
363*5113495bSYour Name static inline QDF_STATUS
cfg_tdls_set_off_channel_enable(struct wlan_objmgr_psoc * psoc,bool val)364*5113495bSYour Name cfg_tdls_set_off_channel_enable(struct wlan_objmgr_psoc *psoc,
365*5113495bSYour Name 				bool val)
366*5113495bSYour Name {
367*5113495bSYour Name 	return QDF_STATUS_SUCCESS;
368*5113495bSYour Name }
369*5113495bSYour Name 
370*5113495bSYour Name static inline QDF_STATUS
cfg_tdls_get_off_channel_enable_orig(struct wlan_objmgr_psoc * psoc,bool * val)371*5113495bSYour Name cfg_tdls_get_off_channel_enable_orig(struct wlan_objmgr_psoc *psoc,
372*5113495bSYour Name 				     bool *val)
373*5113495bSYour Name {
374*5113495bSYour Name 	*val = false;
375*5113495bSYour Name 
376*5113495bSYour Name 	return QDF_STATUS_SUCCESS;
377*5113495bSYour Name }
378*5113495bSYour Name 
379*5113495bSYour Name static inline void
cfg_tdls_restore_off_channel_enable(struct wlan_objmgr_psoc * psoc)380*5113495bSYour Name cfg_tdls_restore_off_channel_enable(struct wlan_objmgr_psoc *psoc)
381*5113495bSYour Name {
382*5113495bSYour Name }
383*5113495bSYour Name 
384*5113495bSYour Name static inline void
cfg_tdls_store_off_channel_enable(struct wlan_objmgr_psoc * psoc)385*5113495bSYour Name cfg_tdls_store_off_channel_enable(struct wlan_objmgr_psoc *psoc)
386*5113495bSYour Name {
387*5113495bSYour Name }
388*5113495bSYour Name 
389*5113495bSYour Name static inline QDF_STATUS
cfg_tdls_get_wmm_mode_enable(struct wlan_objmgr_psoc * psoc,bool * val)390*5113495bSYour Name cfg_tdls_get_wmm_mode_enable(struct wlan_objmgr_psoc *psoc,
391*5113495bSYour Name 			     bool *val)
392*5113495bSYour Name {
393*5113495bSYour Name 	*val = false;
394*5113495bSYour Name 
395*5113495bSYour Name 	return QDF_STATUS_SUCCESS;
396*5113495bSYour Name }
397*5113495bSYour Name 
398*5113495bSYour Name static inline QDF_STATUS
cfg_tdls_set_vdev_nss_2g(struct wlan_objmgr_psoc * psoc,uint8_t val)399*5113495bSYour Name cfg_tdls_set_vdev_nss_2g(struct wlan_objmgr_psoc *psoc,
400*5113495bSYour Name 			 uint8_t val)
401*5113495bSYour Name {
402*5113495bSYour Name 	return QDF_STATUS_SUCCESS;
403*5113495bSYour Name }
404*5113495bSYour Name 
405*5113495bSYour Name static inline QDF_STATUS
cfg_tdls_set_vdev_nss_5g(struct wlan_objmgr_psoc * psoc,uint8_t val)406*5113495bSYour Name cfg_tdls_set_vdev_nss_5g(struct wlan_objmgr_psoc *psoc,
407*5113495bSYour Name 			 uint8_t val)
408*5113495bSYour Name {
409*5113495bSYour Name 	return QDF_STATUS_SUCCESS;
410*5113495bSYour Name }
411*5113495bSYour Name 
412*5113495bSYour Name static inline QDF_STATUS
cfg_tdls_get_sleep_sta_enable(struct wlan_objmgr_psoc * psoc,bool * val)413*5113495bSYour Name cfg_tdls_get_sleep_sta_enable(struct wlan_objmgr_psoc *psoc,
414*5113495bSYour Name 			      bool *val)
415*5113495bSYour Name {
416*5113495bSYour Name 	*val = false;
417*5113495bSYour Name 
418*5113495bSYour Name 	return QDF_STATUS_SUCCESS;
419*5113495bSYour Name }
420*5113495bSYour Name 
421*5113495bSYour Name static inline QDF_STATUS
cfg_tdls_set_sleep_sta_enable(struct wlan_objmgr_psoc * psoc,bool val)422*5113495bSYour Name cfg_tdls_set_sleep_sta_enable(struct wlan_objmgr_psoc *psoc,
423*5113495bSYour Name 			      bool val)
424*5113495bSYour Name {
425*5113495bSYour Name 	return QDF_STATUS_SUCCESS;
426*5113495bSYour Name }
427*5113495bSYour Name 
428*5113495bSYour Name static inline QDF_STATUS
cfg_tdls_get_scan_enable(struct wlan_objmgr_psoc * psoc,bool * val)429*5113495bSYour Name cfg_tdls_get_scan_enable(struct wlan_objmgr_psoc *psoc,
430*5113495bSYour Name 			 bool *val)
431*5113495bSYour Name {
432*5113495bSYour Name 	*val = false;
433*5113495bSYour Name 
434*5113495bSYour Name 	return QDF_STATUS_SUCCESS;
435*5113495bSYour Name }
436*5113495bSYour Name 
437*5113495bSYour Name static inline QDF_STATUS
cfg_tdls_set_scan_enable(struct wlan_objmgr_psoc * psoc,bool val)438*5113495bSYour Name cfg_tdls_set_scan_enable(struct wlan_objmgr_psoc *psoc,
439*5113495bSYour Name 			 bool val)
440*5113495bSYour Name {
441*5113495bSYour Name 	return QDF_STATUS_SUCCESS;
442*5113495bSYour Name }
443*5113495bSYour Name 
444*5113495bSYour Name static inline int
cfg_tdls_get_link_id(struct wlan_objmgr_psoc * psoc)445*5113495bSYour Name cfg_tdls_get_link_id(struct wlan_objmgr_psoc *psoc)
446*5113495bSYour Name {
447*5113495bSYour Name 	return 0;
448*5113495bSYour Name }
449*5113495bSYour Name 
450*5113495bSYour Name static inline QDF_STATUS
cfg_tdls_set_link_id(struct wlan_objmgr_psoc * psoc,int val)451*5113495bSYour Name cfg_tdls_set_link_id(struct wlan_objmgr_psoc *psoc,
452*5113495bSYour Name 		     int val)
453*5113495bSYour Name {
454*5113495bSYour Name 	return QDF_STATUS_SUCCESS;
455*5113495bSYour Name }
456*5113495bSYour Name static inline uint16_t
cfg_tdls_get_max_peer_count(struct wlan_objmgr_psoc * psoc)457*5113495bSYour Name cfg_tdls_get_max_peer_count(struct wlan_objmgr_psoc *psoc)
458*5113495bSYour Name {
459*5113495bSYour Name 	return 0;
460*5113495bSYour Name }
461*5113495bSYour Name 
462*5113495bSYour Name static inline uint16_t
cfg_tdls_get_connected_peer_count(struct wlan_objmgr_psoc * psoc)463*5113495bSYour Name cfg_tdls_get_connected_peer_count(struct wlan_objmgr_psoc *psoc)
464*5113495bSYour Name {
465*5113495bSYour Name 	return 0;
466*5113495bSYour Name }
467*5113495bSYour Name 
468*5113495bSYour Name #endif /* FEATURE_WLAN_TDLS */
469*5113495bSYour Name #endif /* _WLAN_TDLS_CFG_API_H_ */
470