xref: /wlan-driver/qcacld-3.0/components/mlme/dispatcher/inc/wlan_mlme_ucfg_api.h (revision 5113495b16420b49004c444715d2daae2066e7dc)
1*5113495bSYour Name /*
2*5113495bSYour Name  * Copyright (c) 2018-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  * DOC: declare UCFG APIs exposed by the mlme component
21*5113495bSYour Name  */
22*5113495bSYour Name 
23*5113495bSYour Name #ifndef _WLAN_MLME_UCFG_API_H_
24*5113495bSYour Name #define _WLAN_MLME_UCFG_API_H_
25*5113495bSYour Name 
26*5113495bSYour Name #include <wlan_mlme_public_struct.h>
27*5113495bSYour Name #include <wlan_objmgr_psoc_obj.h>
28*5113495bSYour Name #include <wlan_objmgr_global_obj.h>
29*5113495bSYour Name #include <wlan_cmn.h>
30*5113495bSYour Name #include <wlan_mlme_api.h>
31*5113495bSYour Name #include <wlan_mlme_main.h>
32*5113495bSYour Name #include "wma_tgt_cfg.h"
33*5113495bSYour Name #include "wlan_mlme_vdev_mgr_interface.h"
34*5113495bSYour Name 
35*5113495bSYour Name /**
36*5113495bSYour Name  * ucfg_mlme_init() - initialize mlme_ctx context.
37*5113495bSYour Name  *
38*5113495bSYour Name  * This function initializes the mlme context.
39*5113495bSYour Name  *
40*5113495bSYour Name  * Return: QDF_STATUS_SUCCESS - in case of success else return error
41*5113495bSYour Name  */
42*5113495bSYour Name QDF_STATUS ucfg_mlme_init(void);
43*5113495bSYour Name 
44*5113495bSYour Name /**
45*5113495bSYour Name  * ucfg_mlme_deinit() - De initialize mlme_ctx context.
46*5113495bSYour Name  *
47*5113495bSYour Name  * This function De initializes mlme context.
48*5113495bSYour Name  *
49*5113495bSYour Name  * Return: QDF_STATUS_SUCCESS - in case of success else return error
50*5113495bSYour Name  */
51*5113495bSYour Name QDF_STATUS ucfg_mlme_deinit(void);
52*5113495bSYour Name 
53*5113495bSYour Name /**
54*5113495bSYour Name  * ucfg_mlme_psoc_open() - MLME component Open
55*5113495bSYour Name  * @psoc: pointer to psoc object
56*5113495bSYour Name  *
57*5113495bSYour Name  * Open the MLME component and initialize the MLME structure
58*5113495bSYour Name  *
59*5113495bSYour Name  * Return: QDF Status
60*5113495bSYour Name  */
61*5113495bSYour Name QDF_STATUS ucfg_mlme_psoc_open(struct wlan_objmgr_psoc *psoc);
62*5113495bSYour Name 
63*5113495bSYour Name /**
64*5113495bSYour Name  * ucfg_mlme_psoc_close() - MLME component close
65*5113495bSYour Name  * @psoc: pointer to psoc object
66*5113495bSYour Name  *
67*5113495bSYour Name  * Close the MLME component and clear the MLME structures
68*5113495bSYour Name  *
69*5113495bSYour Name  * Return: None
70*5113495bSYour Name  */
71*5113495bSYour Name void ucfg_mlme_psoc_close(struct wlan_objmgr_psoc *psoc);
72*5113495bSYour Name 
73*5113495bSYour Name /**
74*5113495bSYour Name  * ucfg_mlme_pdev_open() - MLME component pdev Open
75*5113495bSYour Name  * @pdev: pointer to pdev object
76*5113495bSYour Name  *
77*5113495bSYour Name  * Open the MLME component and initialize the MLME pdev structure
78*5113495bSYour Name  *
79*5113495bSYour Name  * Return: QDF Status
80*5113495bSYour Name  */
81*5113495bSYour Name QDF_STATUS ucfg_mlme_pdev_open(struct wlan_objmgr_pdev *pdev);
82*5113495bSYour Name 
83*5113495bSYour Name /**
84*5113495bSYour Name  * ucfg_mlme_set_ml_link_control_mode() - set ml_link_control_mode
85*5113495bSYour Name  * @psoc: pointer to psoc object
86*5113495bSYour Name  * @vdev_id: vdev id
87*5113495bSYour Name  * @value: value to set
88*5113495bSYour Name  *
89*5113495bSYour Name  * API get call when host receives vendor command
90*5113495bSYour Name  * QCA_NL80211_VENDOR_SUBCMD_MLO_LINK_STATE to configure link control mode.
91*5113495bSYour Name  *
92*5113495bSYour Name  * Return: none
93*5113495bSYour Name  */
94*5113495bSYour Name void ucfg_mlme_set_ml_link_control_mode(struct wlan_objmgr_psoc *psoc,
95*5113495bSYour Name 					uint8_t vdev_id, uint8_t value);
96*5113495bSYour Name 
97*5113495bSYour Name /**
98*5113495bSYour Name  * ucfg_mlme_set_bt_profile_con() - set Bluetooth connection profile
99*5113495bSYour Name  * @psoc: Pointer to psoc object
100*5113495bSYour Name  * @bt_profile_con: Bluetooth connection profile indicator
101*5113495bSYour Name  *
102*5113495bSYour Name  * Return: None
103*5113495bSYour Name  */
104*5113495bSYour Name void ucfg_mlme_set_bt_profile_con(struct wlan_objmgr_psoc *psoc,
105*5113495bSYour Name 				  bool bt_profile_con);
106*5113495bSYour Name /**
107*5113495bSYour Name  * ucfg_mlme_get_ml_link_control_mode() - get ml_link_control_mode
108*5113495bSYour Name  * @psoc: pointer to psoc object
109*5113495bSYour Name  * @vdev_id: vdev id
110*5113495bSYour Name  *
111*5113495bSYour Name  * Return: value of ml_link_control_mode in success
112*5113495bSYour Name  */
113*5113495bSYour Name uint8_t ucfg_mlme_get_ml_link_control_mode(struct wlan_objmgr_psoc *psoc,
114*5113495bSYour Name 					   uint8_t vdev_id);
115*5113495bSYour Name 
116*5113495bSYour Name /**
117*5113495bSYour Name  * ucfg_mlme_pdev_close() - MLME component pdev close
118*5113495bSYour Name  * @pdev: pointer to pdev object
119*5113495bSYour Name  *
120*5113495bSYour Name  * close the MLME pdev information
121*5113495bSYour Name  *
122*5113495bSYour Name  * Return: QDF Status
123*5113495bSYour Name  */
124*5113495bSYour Name QDF_STATUS ucfg_mlme_pdev_close(struct wlan_objmgr_pdev *pdev);
125*5113495bSYour Name 
126*5113495bSYour Name /**
127*5113495bSYour Name  * ucfg_mlme_global_init() - initialize global mlme ops and structure
128*5113495bSYour Name  *
129*5113495bSYour Name  * Return: QDF Status
130*5113495bSYour Name  */
131*5113495bSYour Name QDF_STATUS ucfg_mlme_global_init(void);
132*5113495bSYour Name /**
133*5113495bSYour Name  * ucfg_mlme_global_deinit() - deinitialize global mlme ops and structure
134*5113495bSYour Name  *
135*5113495bSYour Name  * Return: QDF Status
136*5113495bSYour Name  */
137*5113495bSYour Name QDF_STATUS ucfg_mlme_global_deinit(void);
138*5113495bSYour Name 
139*5113495bSYour Name /**
140*5113495bSYour Name  * ucfg_mlme_cfg_chan_to_freq() - convert channel numbers to frequencies
141*5113495bSYour Name  * @pdev: pointer to pdev object
142*5113495bSYour Name  *
143*5113495bSYour Name  * convert the channels numbers received as part of cfg items to
144*5113495bSYour Name  * frequencies.
145*5113495bSYour Name  *
146*5113495bSYour Name  * Return: None
147*5113495bSYour Name  */
148*5113495bSYour Name void ucfg_mlme_cfg_chan_to_freq(struct wlan_objmgr_pdev *pdev);
149*5113495bSYour Name 
150*5113495bSYour Name /**
151*5113495bSYour Name  * ucfg_mlme_get_power_usage() - Get the power usage info
152*5113495bSYour Name  * @psoc: pointer to psoc object
153*5113495bSYour Name  *
154*5113495bSYour Name  * Return: pointer to character array of power usage
155*5113495bSYour Name  */
156*5113495bSYour Name static inline
ucfg_mlme_get_power_usage(struct wlan_objmgr_psoc * psoc)157*5113495bSYour Name char *ucfg_mlme_get_power_usage(struct wlan_objmgr_psoc *psoc)
158*5113495bSYour Name {
159*5113495bSYour Name 	return wlan_mlme_get_power_usage(psoc);
160*5113495bSYour Name }
161*5113495bSYour Name 
162*5113495bSYour Name /**
163*5113495bSYour Name  * ucfg_get_tx_power() - Get the max tx power in particular band
164*5113495bSYour Name  * @psoc: pointer to psoc object
165*5113495bSYour Name  * @band: 2ghz/5ghz band
166*5113495bSYour Name  *
167*5113495bSYour Name  * Return: value of tx power in the respective band
168*5113495bSYour Name  */
169*5113495bSYour Name static inline
ucfg_get_tx_power(struct wlan_objmgr_psoc * psoc,uint8_t band)170*5113495bSYour Name uint8_t ucfg_get_tx_power(struct wlan_objmgr_psoc *psoc, uint8_t band)
171*5113495bSYour Name {
172*5113495bSYour Name 	return wlan_mlme_get_tx_power(psoc, band);
173*5113495bSYour Name }
174*5113495bSYour Name 
175*5113495bSYour Name /**
176*5113495bSYour Name  * ucfg_mlme_get_phy_max_freq_range() - Get phy supported max channel
177*5113495bSYour Name  * frequency range
178*5113495bSYour Name  * @psoc: psoc for country information
179*5113495bSYour Name  * @low_2ghz_chan: 2.4 GHz low channel frequency
180*5113495bSYour Name  * @high_2ghz_chan: 2.4 GHz high channel frequency
181*5113495bSYour Name  * @low_5ghz_chan: 5 GHz low channel frequency
182*5113495bSYour Name  * @high_5ghz_chan: 5 GHz high channel frequency
183*5113495bSYour Name  *
184*5113495bSYour Name  * Return: QDF status
185*5113495bSYour Name  */
186*5113495bSYour Name static inline
ucfg_mlme_get_phy_max_freq_range(struct wlan_objmgr_psoc * psoc,uint32_t * low_2ghz_chan,uint32_t * high_2ghz_chan,uint32_t * low_5ghz_chan,uint32_t * high_5ghz_chan)187*5113495bSYour Name QDF_STATUS ucfg_mlme_get_phy_max_freq_range(struct wlan_objmgr_psoc *psoc,
188*5113495bSYour Name 					    uint32_t *low_2ghz_chan,
189*5113495bSYour Name 					    uint32_t *high_2ghz_chan,
190*5113495bSYour Name 					    uint32_t *low_5ghz_chan,
191*5113495bSYour Name 					    uint32_t *high_5ghz_chan)
192*5113495bSYour Name {
193*5113495bSYour Name 	return wlan_mlme_get_phy_max_freq_range(psoc,
194*5113495bSYour Name 						low_2ghz_chan,
195*5113495bSYour Name 						high_2ghz_chan,
196*5113495bSYour Name 						low_5ghz_chan,
197*5113495bSYour Name 						high_5ghz_chan);
198*5113495bSYour Name }
199*5113495bSYour Name 
200*5113495bSYour Name /**
201*5113495bSYour Name  * ucfg_mlme_get_ht_cap_info() - Get the HT cap info config
202*5113495bSYour Name  * @psoc: pointer to psoc object
203*5113495bSYour Name  * @ht_cap_info: pointer to the value which will be filled for the caller
204*5113495bSYour Name  *
205*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
206*5113495bSYour Name  *
207*5113495bSYour Name  * Return: QDF Status
208*5113495bSYour Name  */
209*5113495bSYour Name static inline
ucfg_mlme_get_ht_cap_info(struct wlan_objmgr_psoc * psoc,struct mlme_ht_capabilities_info * ht_cap_info)210*5113495bSYour Name QDF_STATUS ucfg_mlme_get_ht_cap_info(struct wlan_objmgr_psoc *psoc,
211*5113495bSYour Name 				     struct mlme_ht_capabilities_info
212*5113495bSYour Name 				     *ht_cap_info)
213*5113495bSYour Name {
214*5113495bSYour Name 	return wlan_mlme_get_ht_cap_info(psoc, ht_cap_info);
215*5113495bSYour Name }
216*5113495bSYour Name 
217*5113495bSYour Name /**
218*5113495bSYour Name  * ucfg_mlme_set_ht_cap_info() - Set the HT cap info config
219*5113495bSYour Name  * @psoc: pointer to psoc object
220*5113495bSYour Name  * @ht_cap_info: Value that needs to be set from the caller
221*5113495bSYour Name  *
222*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
223*5113495bSYour Name  *
224*5113495bSYour Name  * Return: QDF Status
225*5113495bSYour Name  */
226*5113495bSYour Name static inline
ucfg_mlme_set_ht_cap_info(struct wlan_objmgr_psoc * psoc,struct mlme_ht_capabilities_info ht_cap_info)227*5113495bSYour Name QDF_STATUS ucfg_mlme_set_ht_cap_info(struct wlan_objmgr_psoc *psoc,
228*5113495bSYour Name 				     struct mlme_ht_capabilities_info
229*5113495bSYour Name 				     ht_cap_info)
230*5113495bSYour Name {
231*5113495bSYour Name 	return wlan_mlme_set_ht_cap_info(psoc, ht_cap_info);
232*5113495bSYour Name }
233*5113495bSYour Name 
234*5113495bSYour Name /**
235*5113495bSYour Name  * ucfg_mlme_get_max_amsdu_num() - get the max amsdu num
236*5113495bSYour Name  * @psoc: pointer to psoc object
237*5113495bSYour Name  * @value: pointer to the value where the max_amsdu num is to be filled
238*5113495bSYour Name  *
239*5113495bSYour Name  * Return: QDF_STATUS
240*5113495bSYour Name  */
241*5113495bSYour Name static inline
ucfg_mlme_get_max_amsdu_num(struct wlan_objmgr_psoc * psoc,uint8_t * value)242*5113495bSYour Name QDF_STATUS ucfg_mlme_get_max_amsdu_num(struct wlan_objmgr_psoc *psoc,
243*5113495bSYour Name 				       uint8_t *value)
244*5113495bSYour Name {
245*5113495bSYour Name 	return wlan_mlme_get_max_amsdu_num(psoc, value);
246*5113495bSYour Name }
247*5113495bSYour Name 
248*5113495bSYour Name /**
249*5113495bSYour Name  * ucfg_mlme_set_max_amsdu_num() - set the max amsdu num
250*5113495bSYour Name  * @psoc: pointer to psoc object
251*5113495bSYour Name  * @value: value to be set for max_amsdu_num
252*5113495bSYour Name  *
253*5113495bSYour Name  * Return: QDF_STATUS
254*5113495bSYour Name  */
255*5113495bSYour Name static inline
ucfg_mlme_set_max_amsdu_num(struct wlan_objmgr_psoc * psoc,uint8_t value)256*5113495bSYour Name QDF_STATUS ucfg_mlme_set_max_amsdu_num(struct wlan_objmgr_psoc *psoc,
257*5113495bSYour Name 				       uint8_t value)
258*5113495bSYour Name {
259*5113495bSYour Name 	return wlan_mlme_set_max_amsdu_num(psoc, value);
260*5113495bSYour Name }
261*5113495bSYour Name 
262*5113495bSYour Name /**
263*5113495bSYour Name  * ucfg_mlme_get_ht_mpdu_density() - get the ht mpdu density
264*5113495bSYour Name  * @psoc: pointer to psoc object
265*5113495bSYour Name  * @value: pointer to the value where the ht mpdu density is to be filled
266*5113495bSYour Name  *
267*5113495bSYour Name  * Return: QDF_STATUS
268*5113495bSYour Name  */
269*5113495bSYour Name static inline
ucfg_mlme_get_ht_mpdu_density(struct wlan_objmgr_psoc * psoc,uint8_t * value)270*5113495bSYour Name QDF_STATUS ucfg_mlme_get_ht_mpdu_density(struct wlan_objmgr_psoc *psoc,
271*5113495bSYour Name 					 uint8_t *value)
272*5113495bSYour Name {
273*5113495bSYour Name 	return wlan_mlme_get_ht_mpdu_density(psoc, value);
274*5113495bSYour Name }
275*5113495bSYour Name 
276*5113495bSYour Name /**
277*5113495bSYour Name  * ucfg_mlme_set_ht_mpdu_density() - set the ht mpdu density
278*5113495bSYour Name  * @psoc: pointer to psoc object
279*5113495bSYour Name  * @value: value to be set for ht mpdu density
280*5113495bSYour Name  *
281*5113495bSYour Name  * Return: QDF_STATUS
282*5113495bSYour Name  */
283*5113495bSYour Name static inline
ucfg_mlme_set_ht_mpdu_density(struct wlan_objmgr_psoc * psoc,uint8_t value)284*5113495bSYour Name QDF_STATUS ucfg_mlme_set_ht_mpdu_density(struct wlan_objmgr_psoc *psoc,
285*5113495bSYour Name 					 uint8_t value)
286*5113495bSYour Name {
287*5113495bSYour Name 	return wlan_mlme_set_ht_mpdu_density(psoc, value);
288*5113495bSYour Name }
289*5113495bSYour Name 
290*5113495bSYour Name /**
291*5113495bSYour Name  * ucfg_mlme_get_band_capability() - Get the Band capability config
292*5113495bSYour Name  * @psoc: pointer to psoc object
293*5113495bSYour Name  * @band_capability: Pointer to the variable from caller
294*5113495bSYour Name  *
295*5113495bSYour Name  * Return: QDF Status
296*5113495bSYour Name  */
297*5113495bSYour Name static inline
ucfg_mlme_get_band_capability(struct wlan_objmgr_psoc * psoc,uint32_t * band_capability)298*5113495bSYour Name QDF_STATUS ucfg_mlme_get_band_capability(struct wlan_objmgr_psoc *psoc,
299*5113495bSYour Name 					 uint32_t *band_capability)
300*5113495bSYour Name {
301*5113495bSYour Name 	return wlan_mlme_get_band_capability(psoc, band_capability);
302*5113495bSYour Name }
303*5113495bSYour Name 
304*5113495bSYour Name /**
305*5113495bSYour Name  * ucfg_mlme_peer_config_vlan() - Send VLAN id to FW for
306*5113495bSYour Name  * RX packet
307*5113495bSYour Name  * @vdev: vdev pointer
308*5113495bSYour Name  * @macaddr: Peer mac address
309*5113495bSYour Name  *
310*5113495bSYour Name  * Return: QDF_STATUS
311*5113495bSYour Name  */
312*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_peer_config_vlan(struct wlan_objmgr_vdev * vdev,uint8_t * macaddr)313*5113495bSYour Name ucfg_mlme_peer_config_vlan(struct wlan_objmgr_vdev *vdev,
314*5113495bSYour Name 			   uint8_t *macaddr)
315*5113495bSYour Name {
316*5113495bSYour Name 	return wlan_mlme_peer_config_vlan(vdev, macaddr);
317*5113495bSYour Name }
318*5113495bSYour Name 
319*5113495bSYour Name /**
320*5113495bSYour Name  * ucfg_mlme_get_tdls_prohibited() - get if TDLS prohibited is advertised by
321*5113495bSYour Name  * the connected AP.
322*5113495bSYour Name  * @vdev: vdev pointer
323*5113495bSYour Name  *
324*5113495bSYour Name  * Return: bool
325*5113495bSYour Name  */
326*5113495bSYour Name static inline
ucfg_mlme_get_tdls_prohibited(struct wlan_objmgr_vdev * vdev)327*5113495bSYour Name bool ucfg_mlme_get_tdls_prohibited(struct wlan_objmgr_vdev *vdev)
328*5113495bSYour Name {
329*5113495bSYour Name 	return mlme_get_tdls_prohibited(vdev);
330*5113495bSYour Name }
331*5113495bSYour Name 
332*5113495bSYour Name /**
333*5113495bSYour Name  * ucfg_mlme_get_tdls_chan_switch_prohibited() - get tdls chan switch prohibited
334*5113495bSYour Name  * @vdev: vdev pointer
335*5113495bSYour Name  *
336*5113495bSYour Name  * Return: bool
337*5113495bSYour Name  */
338*5113495bSYour Name static inline
ucfg_mlme_get_tdls_chan_switch_prohibited(struct wlan_objmgr_vdev * vdev)339*5113495bSYour Name bool ucfg_mlme_get_tdls_chan_switch_prohibited(struct wlan_objmgr_vdev *vdev)
340*5113495bSYour Name {
341*5113495bSYour Name 	return mlme_get_tdls_chan_switch_prohibited(vdev);
342*5113495bSYour Name }
343*5113495bSYour Name #ifdef MULTI_CLIENT_LL_SUPPORT
344*5113495bSYour Name /**
345*5113495bSYour Name  * ucfg_mlme_get_wlm_multi_client_ll_caps() - Get multi client latency level
346*5113495bSYour Name  * capability of FW
347*5113495bSYour Name  * @psoc: pointer to psoc object
348*5113495bSYour Name  *
349*5113495bSYour Name  * Return: true if multi client feature supported
350*5113495bSYour Name  */
351*5113495bSYour Name bool ucfg_mlme_get_wlm_multi_client_ll_caps(struct wlan_objmgr_psoc *psoc);
352*5113495bSYour Name 
353*5113495bSYour Name /**
354*5113495bSYour Name  * ucfg_mlme_cfg_get_multi_client_ll_ini_support() - Get multi client latency
355*5113495bSYour Name  * level ini support value
356*5113495bSYour Name  * @psoc: pointer to psoc object
357*5113495bSYour Name  * @multi_client_ll_support: parameter that needs to be filled
358*5113495bSYour Name  *
359*5113495bSYour Name  * Return: QDF Status
360*5113495bSYour Name  */
361*5113495bSYour Name QDF_STATUS
362*5113495bSYour Name ucfg_mlme_cfg_get_multi_client_ll_ini_support(struct wlan_objmgr_psoc *psoc,
363*5113495bSYour Name 					      bool *multi_client_ll_support);
364*5113495bSYour Name #else
365*5113495bSYour Name static inline
ucfg_mlme_get_wlm_multi_client_ll_caps(struct wlan_objmgr_psoc * psoc)366*5113495bSYour Name bool ucfg_mlme_get_wlm_multi_client_ll_caps(struct wlan_objmgr_psoc *psoc)
367*5113495bSYour Name {
368*5113495bSYour Name 	return false;
369*5113495bSYour Name }
370*5113495bSYour Name 
371*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_cfg_get_multi_client_ll_ini_support(struct wlan_objmgr_psoc * psoc,bool * multi_client_ll_support)372*5113495bSYour Name ucfg_mlme_cfg_get_multi_client_ll_ini_support(struct wlan_objmgr_psoc *psoc,
373*5113495bSYour Name 					      bool *multi_client_ll_support)
374*5113495bSYour Name {
375*5113495bSYour Name 	return QDF_STATUS_E_FAILURE;
376*5113495bSYour Name }
377*5113495bSYour Name #endif
378*5113495bSYour Name 
379*5113495bSYour Name /**
380*5113495bSYour Name  * ucfg_mlme_set_band_capability() - Set the Band capability config
381*5113495bSYour Name  * @psoc: pointer to psoc object
382*5113495bSYour Name  * @band_capability: Value to be set from the caller
383*5113495bSYour Name  *
384*5113495bSYour Name  * Return: QDF Status
385*5113495bSYour Name  */
386*5113495bSYour Name static inline
ucfg_mlme_set_band_capability(struct wlan_objmgr_psoc * psoc,uint32_t band_capability)387*5113495bSYour Name QDF_STATUS ucfg_mlme_set_band_capability(struct wlan_objmgr_psoc *psoc,
388*5113495bSYour Name 					 uint32_t band_capability)
389*5113495bSYour Name {
390*5113495bSYour Name 	return wlan_mlme_set_band_capability(psoc, band_capability);
391*5113495bSYour Name }
392*5113495bSYour Name 
393*5113495bSYour Name #ifdef WLAN_VENDOR_HANDOFF_CONTROL
394*5113495bSYour Name /**
395*5113495bSYour Name  * ucfg_mlme_get_vendor_handoff_control_caps() - Get vendor handoff control
396*5113495bSYour Name  * capability of FW
397*5113495bSYour Name  * @psoc: pointer to psoc object
398*5113495bSYour Name  *
399*5113495bSYour Name  * Return: true if vendor handoff feature supported
400*5113495bSYour Name  */
401*5113495bSYour Name bool ucfg_mlme_get_vendor_handoff_control_caps(struct wlan_objmgr_psoc *psoc);
402*5113495bSYour Name #else
403*5113495bSYour Name static inline
ucfg_mlme_get_vendor_handoff_control_caps(struct wlan_objmgr_psoc * psoc)404*5113495bSYour Name bool ucfg_mlme_get_vendor_handoff_control_caps(struct wlan_objmgr_psoc *psoc)
405*5113495bSYour Name {
406*5113495bSYour Name 	return false;
407*5113495bSYour Name }
408*5113495bSYour Name #endif
409*5113495bSYour Name 
410*5113495bSYour Name /**
411*5113495bSYour Name  * ucfg_mlme_set_dual_sta_policy() - Configures the Concurrent STA policy
412*5113495bSYour Name  * value
413*5113495bSYour Name  * @psoc: pointer to psoc object
414*5113495bSYour Name  * @dual_sta_config: Concurrent STA policy configuration value
415*5113495bSYour Name  *
416*5113495bSYour Name  * Return: QDF Status
417*5113495bSYour Name  */
418*5113495bSYour Name static inline
ucfg_mlme_set_dual_sta_policy(struct wlan_objmgr_psoc * psoc,uint8_t dual_sta_config)419*5113495bSYour Name QDF_STATUS ucfg_mlme_set_dual_sta_policy(struct wlan_objmgr_psoc *psoc,
420*5113495bSYour Name 					 uint8_t dual_sta_config)
421*5113495bSYour Name {
422*5113495bSYour Name 	return wlan_mlme_set_dual_sta_policy(psoc, dual_sta_config);
423*5113495bSYour Name }
424*5113495bSYour Name 
425*5113495bSYour Name /**
426*5113495bSYour Name  * ucfg_mlme_get_dual_sta_policy() - Get the Concurrent STA policy value
427*5113495bSYour Name  * @psoc: pointer to psoc object
428*5113495bSYour Name  * @dual_sta_config: Pointer to the variable from caller
429*5113495bSYour Name  *
430*5113495bSYour Name  * Return: QDF Status
431*5113495bSYour Name  */
432*5113495bSYour Name static inline
ucfg_mlme_get_dual_sta_policy(struct wlan_objmgr_psoc * psoc,uint8_t * dual_sta_config)433*5113495bSYour Name QDF_STATUS ucfg_mlme_get_dual_sta_policy(struct wlan_objmgr_psoc *psoc,
434*5113495bSYour Name 					 uint8_t *dual_sta_config)
435*5113495bSYour Name {
436*5113495bSYour Name 	return wlan_mlme_get_dual_sta_policy(psoc, dual_sta_config);
437*5113495bSYour Name }
438*5113495bSYour Name 
439*5113495bSYour Name /**
440*5113495bSYour Name  * ucfg_mlme_set_ap_policy() - Configures the AP policy value
441*5113495bSYour Name  * @vdev: pointer to vdev object
442*5113495bSYour Name  * @ap_cfg_policy: AP policy configuration value
443*5113495bSYour Name  *
444*5113495bSYour Name  * Return: QDF Status
445*5113495bSYour Name  */
446*5113495bSYour Name static inline
ucfg_mlme_set_ap_policy(struct wlan_objmgr_vdev * vdev,enum host_concurrent_ap_policy ap_cfg_policy)447*5113495bSYour Name QDF_STATUS ucfg_mlme_set_ap_policy(struct wlan_objmgr_vdev *vdev,
448*5113495bSYour Name 				   enum host_concurrent_ap_policy ap_cfg_policy)
449*5113495bSYour Name {
450*5113495bSYour Name 	return wlan_mlme_set_ap_policy(vdev, ap_cfg_policy);
451*5113495bSYour Name }
452*5113495bSYour Name 
453*5113495bSYour Name /**
454*5113495bSYour Name  * ucfg_mlme_get_ap_policy() - Get the AP policy value
455*5113495bSYour Name  * @vdev: pointer to vdev object
456*5113495bSYour Name  *
457*5113495bSYour Name  * Return: enum host_concurrent_ap_policy
458*5113495bSYour Name  */
459*5113495bSYour Name static inline enum host_concurrent_ap_policy
ucfg_mlme_get_ap_policy(struct wlan_objmgr_vdev * vdev)460*5113495bSYour Name ucfg_mlme_get_ap_policy(struct wlan_objmgr_vdev *vdev)
461*5113495bSYour Name {
462*5113495bSYour Name 	return wlan_mlme_get_ap_policy(vdev);
463*5113495bSYour Name }
464*5113495bSYour Name 
465*5113495bSYour Name /**
466*5113495bSYour Name  * ucfg_mlme_get_prevent_link_down() - Get the prevent link down config
467*5113495bSYour Name  * @psoc: pointer to psoc object
468*5113495bSYour Name  * @prevent_link_down: Pointer to the variable from caller
469*5113495bSYour Name  *
470*5113495bSYour Name  * Return: QDF Status
471*5113495bSYour Name  */
472*5113495bSYour Name static inline
ucfg_mlme_get_prevent_link_down(struct wlan_objmgr_psoc * psoc,bool * prevent_link_down)473*5113495bSYour Name QDF_STATUS ucfg_mlme_get_prevent_link_down(struct wlan_objmgr_psoc *psoc,
474*5113495bSYour Name 					   bool *prevent_link_down)
475*5113495bSYour Name {
476*5113495bSYour Name 	return wlan_mlme_get_prevent_link_down(psoc, prevent_link_down);
477*5113495bSYour Name }
478*5113495bSYour Name 
479*5113495bSYour Name /**
480*5113495bSYour Name  * ucfg_mlme_get_select_5ghz_margin() - Get the select 5Ghz margin config
481*5113495bSYour Name  * @psoc: pointer to psoc object
482*5113495bSYour Name  * @select_5ghz_margin: Pointer to the variable from caller
483*5113495bSYour Name  *
484*5113495bSYour Name  * Return: QDF Status
485*5113495bSYour Name  */
486*5113495bSYour Name static inline
ucfg_mlme_get_select_5ghz_margin(struct wlan_objmgr_psoc * psoc,uint8_t * select_5ghz_margin)487*5113495bSYour Name QDF_STATUS ucfg_mlme_get_select_5ghz_margin(struct wlan_objmgr_psoc *psoc,
488*5113495bSYour Name 					    uint8_t *select_5ghz_margin)
489*5113495bSYour Name {
490*5113495bSYour Name 	return wlan_mlme_get_select_5ghz_margin(psoc, select_5ghz_margin);
491*5113495bSYour Name }
492*5113495bSYour Name 
493*5113495bSYour Name /**
494*5113495bSYour Name  * ucfg_mlme_get_rtt_mac_randomization() - Get the RTT MAC randomization config
495*5113495bSYour Name  * @psoc: pointer to psoc object
496*5113495bSYour Name  * @rtt_mac_randomization: Pointer to the variable from caller
497*5113495bSYour Name  *
498*5113495bSYour Name  * Return: QDF Status
499*5113495bSYour Name  */
500*5113495bSYour Name static inline
ucfg_mlme_get_rtt_mac_randomization(struct wlan_objmgr_psoc * psoc,bool * rtt_mac_randomization)501*5113495bSYour Name QDF_STATUS ucfg_mlme_get_rtt_mac_randomization(struct wlan_objmgr_psoc *psoc,
502*5113495bSYour Name 					       bool *rtt_mac_randomization)
503*5113495bSYour Name {
504*5113495bSYour Name 	return wlan_mlme_get_rtt_mac_randomization(psoc, rtt_mac_randomization);
505*5113495bSYour Name }
506*5113495bSYour Name 
507*5113495bSYour Name /**
508*5113495bSYour Name  * ucfg_mlme_get_crash_inject() - Get the crash inject config
509*5113495bSYour Name  * @psoc: pointer to psoc object
510*5113495bSYour Name  * @crash_inject: Pointer to the variable from caller
511*5113495bSYour Name  *
512*5113495bSYour Name  * Return: QDF Status
513*5113495bSYour Name  */
514*5113495bSYour Name static inline
ucfg_mlme_get_crash_inject(struct wlan_objmgr_psoc * psoc,bool * crash_inject)515*5113495bSYour Name QDF_STATUS ucfg_mlme_get_crash_inject(struct wlan_objmgr_psoc *psoc,
516*5113495bSYour Name 				      bool *crash_inject)
517*5113495bSYour Name {
518*5113495bSYour Name 	return wlan_mlme_get_crash_inject(psoc, crash_inject);
519*5113495bSYour Name }
520*5113495bSYour Name 
521*5113495bSYour Name /**
522*5113495bSYour Name  * ucfg_mlme_get_lpass_support() - Get the LPASS Support config
523*5113495bSYour Name  * @psoc: pointer to psoc object
524*5113495bSYour Name  * @lpass_support: Pointer to the variable from caller
525*5113495bSYour Name  *
526*5113495bSYour Name  * Return: QDF Status
527*5113495bSYour Name  */
528*5113495bSYour Name static inline
ucfg_mlme_get_lpass_support(struct wlan_objmgr_psoc * psoc,bool * lpass_support)529*5113495bSYour Name QDF_STATUS ucfg_mlme_get_lpass_support(struct wlan_objmgr_psoc *psoc,
530*5113495bSYour Name 				       bool *lpass_support)
531*5113495bSYour Name {
532*5113495bSYour Name 	return wlan_mlme_get_lpass_support(psoc, lpass_support);
533*5113495bSYour Name }
534*5113495bSYour Name 
535*5113495bSYour Name /**
536*5113495bSYour Name  * ucfg_mlme_get_wls_6ghz_cap() - Get the WiFi Location Service(WLS)
537*5113495bSYour Name  * 6ghz capability
538*5113495bSYour Name  * @psoc: pointer to psoc object
539*5113495bSYour Name  * @wls_6ghz_capable: Pointer to the variable from caller
540*5113495bSYour Name  *
541*5113495bSYour Name  * Return: void
542*5113495bSYour Name  */
543*5113495bSYour Name static inline
ucfg_mlme_get_wls_6ghz_cap(struct wlan_objmgr_psoc * psoc,bool * wls_6ghz_capable)544*5113495bSYour Name void ucfg_mlme_get_wls_6ghz_cap(struct wlan_objmgr_psoc *psoc,
545*5113495bSYour Name 				bool *wls_6ghz_capable)
546*5113495bSYour Name {
547*5113495bSYour Name 	wlan_mlme_get_wls_6ghz_cap(psoc, wls_6ghz_capable);
548*5113495bSYour Name }
549*5113495bSYour Name 
550*5113495bSYour Name /**
551*5113495bSYour Name  * ucfg_mlme_get_self_recovery() - Get the self recovery config
552*5113495bSYour Name  * @psoc: pointer to psoc object
553*5113495bSYour Name  * @self_recovery: Pointer to the variable from caller
554*5113495bSYour Name  *
555*5113495bSYour Name  * Return: QDF Status
556*5113495bSYour Name  */
557*5113495bSYour Name static inline
ucfg_mlme_get_self_recovery(struct wlan_objmgr_psoc * psoc,bool * self_recovery)558*5113495bSYour Name QDF_STATUS ucfg_mlme_get_self_recovery(struct wlan_objmgr_psoc *psoc,
559*5113495bSYour Name 				       bool *self_recovery)
560*5113495bSYour Name {
561*5113495bSYour Name 	return wlan_mlme_get_self_recovery(psoc, self_recovery);
562*5113495bSYour Name }
563*5113495bSYour Name 
564*5113495bSYour Name /**
565*5113495bSYour Name  * ucfg_mlme_get_sub_20_chan_width() - Get the sub 20 chan width config
566*5113495bSYour Name  * @psoc: pointer to psoc object
567*5113495bSYour Name  * @sub_20_chan_width: Pointer to the variable from caller
568*5113495bSYour Name  *
569*5113495bSYour Name  * Return: QDF Status
570*5113495bSYour Name  */
571*5113495bSYour Name static inline
ucfg_mlme_get_sub_20_chan_width(struct wlan_objmgr_psoc * psoc,uint8_t * sub_20_chan_width)572*5113495bSYour Name QDF_STATUS ucfg_mlme_get_sub_20_chan_width(struct wlan_objmgr_psoc *psoc,
573*5113495bSYour Name 					   uint8_t *sub_20_chan_width)
574*5113495bSYour Name {
575*5113495bSYour Name 	return wlan_mlme_get_sub_20_chan_width(psoc, sub_20_chan_width);
576*5113495bSYour Name }
577*5113495bSYour Name 
578*5113495bSYour Name /**
579*5113495bSYour Name  * ucfg_mlme_get_fw_timeout_crash() - Get the fw timeout crash config
580*5113495bSYour Name  * @psoc: pointer to psoc object
581*5113495bSYour Name  * @fw_timeout_crash: Pointer to the variable from caller
582*5113495bSYour Name  *
583*5113495bSYour Name  * Return: QDF Status
584*5113495bSYour Name  */
585*5113495bSYour Name static inline
ucfg_mlme_get_fw_timeout_crash(struct wlan_objmgr_psoc * psoc,bool * fw_timeout_crash)586*5113495bSYour Name QDF_STATUS ucfg_mlme_get_fw_timeout_crash(struct wlan_objmgr_psoc *psoc,
587*5113495bSYour Name 					  bool *fw_timeout_crash)
588*5113495bSYour Name {
589*5113495bSYour Name 	return wlan_mlme_get_fw_timeout_crash(psoc, fw_timeout_crash);
590*5113495bSYour Name }
591*5113495bSYour Name 
592*5113495bSYour Name /**
593*5113495bSYour Name  * ucfg_mlme_get_ito_repeat_count() - Get the fw timeout crash config
594*5113495bSYour Name  * @psoc: pointer to psoc object
595*5113495bSYour Name  * @ito_repeat_count: Pointer to the variable from caller
596*5113495bSYour Name  *
597*5113495bSYour Name  * Return: QDF Status
598*5113495bSYour Name  */
599*5113495bSYour Name static inline
ucfg_mlme_get_ito_repeat_count(struct wlan_objmgr_psoc * psoc,uint8_t * ito_repeat_count)600*5113495bSYour Name QDF_STATUS ucfg_mlme_get_ito_repeat_count(struct wlan_objmgr_psoc *psoc,
601*5113495bSYour Name 					  uint8_t *ito_repeat_count)
602*5113495bSYour Name {
603*5113495bSYour Name 	return wlan_mlme_get_ito_repeat_count(psoc, ito_repeat_count);
604*5113495bSYour Name }
605*5113495bSYour Name 
606*5113495bSYour Name /**
607*5113495bSYour Name  * ucfg_mlme_get_acs_with_more_param() - Get the flag for acs with
608*5113495bSYour Name  *					 more param
609*5113495bSYour Name  * @psoc: pointer to psoc object
610*5113495bSYour Name  * @value: Value that needs to be set from the caller
611*5113495bSYour Name  *
612*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
613*5113495bSYour Name  *
614*5113495bSYour Name  * Return: QDF Status
615*5113495bSYour Name  */
616*5113495bSYour Name static inline
ucfg_mlme_get_acs_with_more_param(struct wlan_objmgr_psoc * psoc,bool * value)617*5113495bSYour Name QDF_STATUS ucfg_mlme_get_acs_with_more_param(struct wlan_objmgr_psoc *psoc,
618*5113495bSYour Name 					     bool *value)
619*5113495bSYour Name {
620*5113495bSYour Name 	return wlan_mlme_get_acs_with_more_param(psoc, value);
621*5113495bSYour Name }
622*5113495bSYour Name 
623*5113495bSYour Name /**
624*5113495bSYour Name  * ucfg_mlme_get_auto_channel_weight() - Get the auto channel select weight
625*5113495bSYour Name  * @psoc: pointer to psoc object
626*5113495bSYour Name  * @value: Value that needs to be set from the caller
627*5113495bSYour Name  *
628*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
629*5113495bSYour Name  *
630*5113495bSYour Name  * Return: QDF Status
631*5113495bSYour Name  */
632*5113495bSYour Name static inline
ucfg_mlme_get_auto_channel_weight(struct wlan_objmgr_psoc * psoc,uint32_t * value)633*5113495bSYour Name QDF_STATUS ucfg_mlme_get_auto_channel_weight(struct wlan_objmgr_psoc *psoc,
634*5113495bSYour Name 					     uint32_t *value)
635*5113495bSYour Name {
636*5113495bSYour Name 	return wlan_mlme_get_auto_channel_weight(psoc, value);
637*5113495bSYour Name }
638*5113495bSYour Name 
639*5113495bSYour Name /**
640*5113495bSYour Name  * ucfg_mlme_get_vendor_acs_support() - Get the flag for
641*5113495bSYour Name  *					vendor acs support
642*5113495bSYour Name  * @psoc: pointer to psoc object
643*5113495bSYour Name  * @value: Value that needs to be set from the caller
644*5113495bSYour Name  *
645*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
646*5113495bSYour Name  *
647*5113495bSYour Name  * Return: QDF Status
648*5113495bSYour Name  */
649*5113495bSYour Name static inline
ucfg_mlme_get_vendor_acs_support(struct wlan_objmgr_psoc * psoc,bool * value)650*5113495bSYour Name QDF_STATUS ucfg_mlme_get_vendor_acs_support(struct wlan_objmgr_psoc *psoc,
651*5113495bSYour Name 					    bool *value)
652*5113495bSYour Name {
653*5113495bSYour Name 	return wlan_mlme_get_vendor_acs_support(psoc, value);
654*5113495bSYour Name }
655*5113495bSYour Name 
656*5113495bSYour Name /**
657*5113495bSYour Name  * ucfg_mlme_get_external_acs_policy() - Get flag for external control
658*5113495bSYour Name  *					 acs policy
659*5113495bSYour Name  * @psoc: pointer to psoc object
660*5113495bSYour Name  * @value: Value that needs to be set from the caller
661*5113495bSYour Name  *
662*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
663*5113495bSYour Name  *
664*5113495bSYour Name  * Return: QDF Status
665*5113495bSYour Name  */
666*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_external_acs_policy(struct wlan_objmgr_psoc * psoc,bool * value)667*5113495bSYour Name ucfg_mlme_get_external_acs_policy(struct wlan_objmgr_psoc *psoc,
668*5113495bSYour Name 				  bool *value)
669*5113495bSYour Name {
670*5113495bSYour Name 	return wlan_mlme_get_external_acs_policy(psoc, value);
671*5113495bSYour Name }
672*5113495bSYour Name 
673*5113495bSYour Name /**
674*5113495bSYour Name  * ucfg_mlme_get_acs_support_for_dfs_ltecoex() - Is DFS LTE CoEx ACS supported
675*5113495bSYour Name  * @psoc: pointer to psoc object
676*5113495bSYour Name  * @value: Value that needs to be set from the caller
677*5113495bSYour Name  *
678*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
679*5113495bSYour Name  *
680*5113495bSYour Name  * Return: QDF Status
681*5113495bSYour Name  */
682*5113495bSYour Name static inline
683*5113495bSYour Name QDF_STATUS
ucfg_mlme_get_acs_support_for_dfs_ltecoex(struct wlan_objmgr_psoc * psoc,bool * value)684*5113495bSYour Name ucfg_mlme_get_acs_support_for_dfs_ltecoex(struct wlan_objmgr_psoc *psoc,
685*5113495bSYour Name 					  bool *value)
686*5113495bSYour Name {
687*5113495bSYour Name 	return wlan_mlme_get_acs_support_for_dfs_ltecoex(psoc, value);
688*5113495bSYour Name }
689*5113495bSYour Name 
690*5113495bSYour Name /**
691*5113495bSYour Name  * ucfg_mlme_get_wmm_dir_ac_vo() - Get TSPEC direction for VO
692*5113495bSYour Name  * @psoc: pointer to psoc object
693*5113495bSYour Name  * @value: Value that needs to be set from the caller
694*5113495bSYour Name  *
695*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
696*5113495bSYour Name  *
697*5113495bSYour Name  * Return: QDF Status
698*5113495bSYour Name  */
699*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_wmm_dir_ac_vo(struct wlan_objmgr_psoc * psoc,uint8_t * value)700*5113495bSYour Name ucfg_mlme_get_wmm_dir_ac_vo(struct wlan_objmgr_psoc *psoc,
701*5113495bSYour Name 			    uint8_t *value)
702*5113495bSYour Name {
703*5113495bSYour Name 	return wlan_mlme_get_wmm_dir_ac_vo(psoc, value);
704*5113495bSYour Name }
705*5113495bSYour Name 
706*5113495bSYour Name /**
707*5113495bSYour Name  * ucfg_mlme_get_wmm_nom_msdu_size_ac_vo() - Get normal
708*5113495bSYour Name  * MSDU size for VO
709*5113495bSYour Name  * @psoc: pointer to psoc object
710*5113495bSYour Name  * @value: Value that needs to be set from the caller
711*5113495bSYour Name  *
712*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
713*5113495bSYour Name  *
714*5113495bSYour Name  * Return: QDF Status
715*5113495bSYour Name  */
716*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_wmm_nom_msdu_size_ac_vo(struct wlan_objmgr_psoc * psoc,uint16_t * value)717*5113495bSYour Name ucfg_mlme_get_wmm_nom_msdu_size_ac_vo(struct wlan_objmgr_psoc *psoc,
718*5113495bSYour Name 				      uint16_t *value)
719*5113495bSYour Name {
720*5113495bSYour Name 	return wlan_mlme_get_wmm_nom_msdu_size_ac_vo(psoc, value);
721*5113495bSYour Name }
722*5113495bSYour Name 
723*5113495bSYour Name /**
724*5113495bSYour Name  * ucfg_mlme_get_wmm_mean_data_rate_ac_vo() - mean data rate for VO
725*5113495bSYour Name  * @psoc: pointer to psoc object
726*5113495bSYour Name  * @value: Value that needs to be set from the caller
727*5113495bSYour Name  *
728*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
729*5113495bSYour Name  *
730*5113495bSYour Name  * Return: QDF Status
731*5113495bSYour Name  */
732*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_wmm_mean_data_rate_ac_vo(struct wlan_objmgr_psoc * psoc,uint32_t * value)733*5113495bSYour Name ucfg_mlme_get_wmm_mean_data_rate_ac_vo(struct wlan_objmgr_psoc *psoc,
734*5113495bSYour Name 				       uint32_t *value)
735*5113495bSYour Name {
736*5113495bSYour Name 	return wlan_mlme_get_wmm_mean_data_rate_ac_vo(psoc, value);
737*5113495bSYour Name }
738*5113495bSYour Name 
739*5113495bSYour Name /**
740*5113495bSYour Name  * ucfg_mlme_get_wmm_min_phy_rate_ac_vo() - min PHY
741*5113495bSYour Name  * rate for VO
742*5113495bSYour Name  * @psoc: pointer to psoc object
743*5113495bSYour Name  * @value: Value that needs to be set from the caller
744*5113495bSYour Name  *
745*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
746*5113495bSYour Name  *
747*5113495bSYour Name  * Return: QDF Status
748*5113495bSYour Name  */
749*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_wmm_min_phy_rate_ac_vo(struct wlan_objmgr_psoc * psoc,uint32_t * value)750*5113495bSYour Name ucfg_mlme_get_wmm_min_phy_rate_ac_vo(struct wlan_objmgr_psoc *psoc,
751*5113495bSYour Name 				     uint32_t *value)
752*5113495bSYour Name {
753*5113495bSYour Name 	return wlan_mlme_get_wmm_min_phy_rate_ac_vo(psoc, value);
754*5113495bSYour Name }
755*5113495bSYour Name 
756*5113495bSYour Name /**
757*5113495bSYour Name  * ucfg_mlme_get_wmm_sba_ac_vo() - surplus bandwidth
758*5113495bSYour Name  * allowance for VO
759*5113495bSYour Name  * @psoc: pointer to psoc object
760*5113495bSYour Name  * @value: Value that needs to be set from the caller
761*5113495bSYour Name  *
762*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
763*5113495bSYour Name  *
764*5113495bSYour Name  * Return: QDF Status
765*5113495bSYour Name  */
766*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_wmm_sba_ac_vo(struct wlan_objmgr_psoc * psoc,uint16_t * value)767*5113495bSYour Name ucfg_mlme_get_wmm_sba_ac_vo(struct wlan_objmgr_psoc *psoc,
768*5113495bSYour Name 			    uint16_t *value)
769*5113495bSYour Name {
770*5113495bSYour Name 	return wlan_mlme_get_wmm_sba_ac_vo(psoc, value);
771*5113495bSYour Name }
772*5113495bSYour Name 
773*5113495bSYour Name /**
774*5113495bSYour Name  * ucfg_mlme_get_wmm_uapsd_vo_srv_intv() - Get Uapsd service
775*5113495bSYour Name  * interval for voice
776*5113495bSYour Name  * @psoc: pointer to psoc object
777*5113495bSYour Name  * @value: pointer to the value which will be filled for the caller
778*5113495bSYour Name  *
779*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
780*5113495bSYour Name  *
781*5113495bSYour Name  * Return: QDF Status
782*5113495bSYour Name  */
783*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_wmm_uapsd_vo_srv_intv(struct wlan_objmgr_psoc * psoc,uint32_t * value)784*5113495bSYour Name ucfg_mlme_get_wmm_uapsd_vo_srv_intv(struct wlan_objmgr_psoc *psoc,
785*5113495bSYour Name 				    uint32_t *value)
786*5113495bSYour Name {
787*5113495bSYour Name 	return wlan_mlme_get_wmm_uapsd_vo_srv_intv(psoc, value);
788*5113495bSYour Name }
789*5113495bSYour Name 
790*5113495bSYour Name /**
791*5113495bSYour Name  * ucfg_mlme_get_wmm_uapsd_vo_sus_intv() - Get Uapsd suspension
792*5113495bSYour Name  * interval for voice
793*5113495bSYour Name  * @psoc: pointer to psoc object
794*5113495bSYour Name  * @value: Value that needs to be set from the caller
795*5113495bSYour Name  *
796*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
797*5113495bSYour Name  *
798*5113495bSYour Name  * Return: QDF Status
799*5113495bSYour Name  */
800*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_wmm_uapsd_vo_sus_intv(struct wlan_objmgr_psoc * psoc,uint32_t * value)801*5113495bSYour Name ucfg_mlme_get_wmm_uapsd_vo_sus_intv(struct wlan_objmgr_psoc *psoc,
802*5113495bSYour Name 				    uint32_t *value)
803*5113495bSYour Name {
804*5113495bSYour Name 	return wlan_mlme_get_wmm_uapsd_vo_sus_intv(psoc, value);
805*5113495bSYour Name }
806*5113495bSYour Name 
807*5113495bSYour Name /**
808*5113495bSYour Name  * ucfg_mlme_get_sap_inactivity_override() - Check if sap max inactivity
809*5113495bSYour Name  *                                           override flag is set.
810*5113495bSYour Name  * @psoc: pointer to psoc object
811*5113495bSYour Name  * @value: Value that needs to be set from the caller
812*5113495bSYour Name  *
813*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers to call
814*5113495bSYour Name  * the mlme function wlan_mlme_get_sap_inactivity_override
815*5113495bSYour Name  *
816*5113495bSYour Name  * Return: QDF Status
817*5113495bSYour Name  */
818*5113495bSYour Name static inline
ucfg_mlme_get_sap_inactivity_override(struct wlan_objmgr_psoc * psoc,bool * value)819*5113495bSYour Name void ucfg_mlme_get_sap_inactivity_override(struct wlan_objmgr_psoc *psoc,
820*5113495bSYour Name 					   bool *value)
821*5113495bSYour Name {
822*5113495bSYour Name 	wlan_mlme_get_sap_inactivity_override(psoc, value);
823*5113495bSYour Name }
824*5113495bSYour Name 
825*5113495bSYour Name /**
826*5113495bSYour Name  * ucfg_mlme_get_tx_chainmask_1ss() - Get the tx_chainmask_1ss value
827*5113495bSYour Name  *
828*5113495bSYour Name  * @psoc: pointer to psoc object
829*5113495bSYour Name  * @value: Value that needs to be set from the caller
830*5113495bSYour Name  *
831*5113495bSYour Name  * Return: QDF_STATUS_FAILURE or QDF_STATUS_SUCCESS
832*5113495bSYour Name  */
833*5113495bSYour Name static inline
ucfg_mlme_get_tx_chainmask_1ss(struct wlan_objmgr_psoc * psoc,uint8_t * value)834*5113495bSYour Name QDF_STATUS ucfg_mlme_get_tx_chainmask_1ss(struct wlan_objmgr_psoc *psoc,
835*5113495bSYour Name 					  uint8_t *value)
836*5113495bSYour Name {
837*5113495bSYour Name 	return wlan_mlme_get_tx_chainmask_1ss(psoc, value);
838*5113495bSYour Name }
839*5113495bSYour Name 
840*5113495bSYour Name /**
841*5113495bSYour Name  * ucfg_mlme_get_num_11b_tx_chains() -  Get the number of 11b only tx chains
842*5113495bSYour Name  *
843*5113495bSYour Name  * @psoc: pointer to psoc object
844*5113495bSYour Name  * @value: Value that needs to be set from the caller
845*5113495bSYour Name  *
846*5113495bSYour Name  * Return: QDF_STATUS_FAILURE or QDF_STATUS_SUCCESS
847*5113495bSYour Name  */
848*5113495bSYour Name static inline
ucfg_mlme_get_num_11b_tx_chains(struct wlan_objmgr_psoc * psoc,uint16_t * value)849*5113495bSYour Name QDF_STATUS ucfg_mlme_get_num_11b_tx_chains(struct wlan_objmgr_psoc *psoc,
850*5113495bSYour Name 					   uint16_t *value)
851*5113495bSYour Name {
852*5113495bSYour Name 	return wlan_mlme_get_num_11b_tx_chains(psoc, value);
853*5113495bSYour Name }
854*5113495bSYour Name 
855*5113495bSYour Name /**
856*5113495bSYour Name  * ucfg_mlme_get_num_11ag_tx_chains() - get the total number of 11a/g tx chains
857*5113495bSYour Name  *
858*5113495bSYour Name  * @psoc: pointer to psoc object
859*5113495bSYour Name  * @value: Value that needs to be set from the caller
860*5113495bSYour Name  *
861*5113495bSYour Name  * Return: QDF_STATUS_FAILURE or QDF_STATUS_SUCCESS
862*5113495bSYour Name  */
863*5113495bSYour Name static inline
ucfg_mlme_get_num_11ag_tx_chains(struct wlan_objmgr_psoc * psoc,uint16_t * value)864*5113495bSYour Name QDF_STATUS ucfg_mlme_get_num_11ag_tx_chains(struct wlan_objmgr_psoc *psoc,
865*5113495bSYour Name 					    uint16_t *value)
866*5113495bSYour Name {
867*5113495bSYour Name 	return wlan_mlme_get_num_11ag_tx_chains(psoc, value);
868*5113495bSYour Name }
869*5113495bSYour Name 
870*5113495bSYour Name /**
871*5113495bSYour Name  * ucfg_mlme_get_bt_chain_separation_flag() - bt chain separation enable/disable
872*5113495bSYour Name  * @psoc: pointer to psoc object
873*5113495bSYour Name  * @value: Value that needs to be got for the caller
874*5113495bSYour Name  *
875*5113495bSYour Name  * Return: QDF_STATUS_FAILURE or QDF_STATUS_SUCCESS
876*5113495bSYour Name  */
877*5113495bSYour Name static inline
ucfg_mlme_get_bt_chain_separation_flag(struct wlan_objmgr_psoc * psoc,bool * value)878*5113495bSYour Name QDF_STATUS ucfg_mlme_get_bt_chain_separation_flag(struct wlan_objmgr_psoc *psoc,
879*5113495bSYour Name 						  bool *value)
880*5113495bSYour Name {
881*5113495bSYour Name 	return wlan_mlme_get_bt_chain_separation_flag(psoc, value);
882*5113495bSYour Name }
883*5113495bSYour Name 
884*5113495bSYour Name /**
885*5113495bSYour Name  * ucfg_mlme_configure_chain_mask() - configure chainmask parameters
886*5113495bSYour Name  *
887*5113495bSYour Name  * @psoc: pointer to psoc object
888*5113495bSYour Name  * @session_id: vdev_id
889*5113495bSYour Name  *
890*5113495bSYour Name  * Return: QDF_STATUS_FAILURE or QDF_STATUS_SUCCESS
891*5113495bSYour Name  */
892*5113495bSYour Name static inline
ucfg_mlme_configure_chain_mask(struct wlan_objmgr_psoc * psoc,uint8_t session_id)893*5113495bSYour Name QDF_STATUS ucfg_mlme_configure_chain_mask(struct wlan_objmgr_psoc *psoc,
894*5113495bSYour Name 					  uint8_t session_id)
895*5113495bSYour Name {
896*5113495bSYour Name 	return wlan_mlme_configure_chain_mask(psoc, session_id);
897*5113495bSYour Name }
898*5113495bSYour Name 
899*5113495bSYour Name /**
900*5113495bSYour Name  * ucfg_mlme_is_chain_mask_supported() - check if configure chainmask can
901*5113495bSYour Name  * be supported
902*5113495bSYour Name  * @psoc: pointer to psoc object
903*5113495bSYour Name  *
904*5113495bSYour Name  * Return: true if supported else false
905*5113495bSYour Name  */
906*5113495bSYour Name static inline
ucfg_mlme_is_chain_mask_supported(struct wlan_objmgr_psoc * psoc)907*5113495bSYour Name bool ucfg_mlme_is_chain_mask_supported(struct wlan_objmgr_psoc *psoc)
908*5113495bSYour Name {
909*5113495bSYour Name 	return wlan_mlme_is_chain_mask_supported(psoc);
910*5113495bSYour Name }
911*5113495bSYour Name 
912*5113495bSYour Name /*
913*5113495bSYour Name  * ucfg_mlme_get_sta_keep_alive_period() - Get the sta keep alive period
914*5113495bSYour Name  * @psoc: pointer to psoc object
915*5113495bSYour Name  * @val:  Pointer to the value which will be filled for the caller
916*5113495bSYour Name  *
917*5113495bSYour Name  * Return: QDF Status
918*5113495bSYour Name  */
919*5113495bSYour Name QDF_STATUS
920*5113495bSYour Name ucfg_mlme_get_sta_keep_alive_period(struct wlan_objmgr_psoc *psoc,
921*5113495bSYour Name 				    uint32_t *val);
922*5113495bSYour Name 
923*5113495bSYour Name /*
924*5113495bSYour Name  * ucfg_mlme_get_dfs_master_capability() - Get the dfs master capability
925*5113495bSYour Name  * @psoc: pointer to psoc object
926*5113495bSYour Name  * @val:  Pointer to the value which will be filled for the caller
927*5113495bSYour Name  *
928*5113495bSYour Name  * Return: QDF Status
929*5113495bSYour Name  */
930*5113495bSYour Name QDF_STATUS
931*5113495bSYour Name ucfg_mlme_get_dfs_master_capability(struct wlan_objmgr_psoc *psoc,
932*5113495bSYour Name 				    bool *val);
933*5113495bSYour Name 
934*5113495bSYour Name /*
935*5113495bSYour Name  * ucfg_mlme_get_dfs_disable_channel_switch() - Get the dfs channel switch
936*5113495bSYour Name  * @psoc: pointer to psoc object
937*5113495bSYour Name  * @dfs_disable_channel_switch:  Pointer to the value which will be filled
938*5113495bSYour Name  *
939*5113495bSYour Name  * Return: QDF Status
940*5113495bSYour Name  */
941*5113495bSYour Name QDF_STATUS
942*5113495bSYour Name ucfg_mlme_get_dfs_disable_channel_switch(struct wlan_objmgr_psoc *psoc,
943*5113495bSYour Name 					 bool *dfs_disable_channel_switch);
944*5113495bSYour Name 
945*5113495bSYour Name /*
946*5113495bSYour Name  * ucfg_mlme_set_dfs_disable_channel_switch() - Set the dfs channel switch
947*5113495bSYour Name  * @psoc: pointer to psoc object
948*5113495bSYour Name  * @dfs_disable_channel_switch: Value that needs to be set.
949*5113495bSYour Name  *
950*5113495bSYour Name  * Return: QDF Status
951*5113495bSYour Name  */
952*5113495bSYour Name QDF_STATUS
953*5113495bSYour Name ucfg_mlme_set_dfs_disable_channel_switch(struct wlan_objmgr_psoc *psoc,
954*5113495bSYour Name 					 bool dfs_disable_channel_switch);
955*5113495bSYour Name /*
956*5113495bSYour Name  * ucfg_mlme_get_dfs_ignore_cac() - GSet the dfs ignore cac
957*5113495bSYour Name  * @psoc: pointer to psoc object
958*5113495bSYour Name  * @dfs_ignore_cac: Pointer to the value which will be filled for the caller
959*5113495bSYour Name  *
960*5113495bSYour Name  * Return: QDF Status
961*5113495bSYour Name  */
962*5113495bSYour Name QDF_STATUS
963*5113495bSYour Name ucfg_mlme_get_dfs_ignore_cac(struct wlan_objmgr_psoc *psoc,
964*5113495bSYour Name 			     bool *dfs_ignore_cac);
965*5113495bSYour Name 
966*5113495bSYour Name /*
967*5113495bSYour Name  * ucfg_mlme_set_dfs_ignore_cac() - Set the dfs ignore cac
968*5113495bSYour Name  * @psoc: pointer to psoc object
969*5113495bSYour Name  * @dfs_ignore_cac: Value that needs to be set.
970*5113495bSYour Name  *
971*5113495bSYour Name  * Return: QDF Status
972*5113495bSYour Name  */
973*5113495bSYour Name QDF_STATUS
974*5113495bSYour Name ucfg_mlme_set_dfs_ignore_cac(struct wlan_objmgr_psoc *psoc,
975*5113495bSYour Name 			     bool dfs_ignore_cac);
976*5113495bSYour Name 
977*5113495bSYour Name /*
978*5113495bSYour Name  * ucfg_mlme_get_sap_tx_leakage_threshold() - Get sap tx leakage threshold
979*5113495bSYour Name  * @psoc: pointer to psoc object
980*5113495bSYour Name  * @sap_tx_leakage_threshold: Pointer to the value which will be filled
981*5113495bSYour Name  *
982*5113495bSYour Name  * Return: QDF Status
983*5113495bSYour Name  */
984*5113495bSYour Name QDF_STATUS
985*5113495bSYour Name ucfg_mlme_get_sap_tx_leakage_threshold(struct wlan_objmgr_psoc *psoc,
986*5113495bSYour Name 				       uint32_t *sap_tx_leakage_threshold);
987*5113495bSYour Name 
988*5113495bSYour Name /*
989*5113495bSYour Name  * ucfg_mlme_set_sap_tx_leakage_threshold() - Set sap tx leakage threshold
990*5113495bSYour Name  * @psoc: pointer to psoc object
991*5113495bSYour Name  * @sap_tx_leakage_threshold: Value that needs to be set.
992*5113495bSYour Name  *
993*5113495bSYour Name  * Return: QDF Status
994*5113495bSYour Name  */
995*5113495bSYour Name QDF_STATUS
996*5113495bSYour Name ucfg_mlme_set_sap_tx_leakage_threshold(struct wlan_objmgr_psoc *psoc,
997*5113495bSYour Name 				       uint32_t sap_tx_leakage_threshold);
998*5113495bSYour Name 
999*5113495bSYour Name /*
1000*5113495bSYour Name  * ucfg_mlme_get_dfs_pri_multiplier() - Get dfs pri multiplier
1001*5113495bSYour Name  * @psoc: pointer to psoc object
1002*5113495bSYour Name  * @dfs_pri_multiplier: Pointer to the value which will be filled
1003*5113495bSYour Name  *
1004*5113495bSYour Name  * Return: QDF Status
1005*5113495bSYour Name  */
1006*5113495bSYour Name QDF_STATUS
1007*5113495bSYour Name ucfg_mlme_get_dfs_pri_multiplier(struct wlan_objmgr_psoc *psoc,
1008*5113495bSYour Name 				 uint32_t *dfs_pri_multiplier);
1009*5113495bSYour Name 
1010*5113495bSYour Name /*
1011*5113495bSYour Name  * ucfg_mlme_set_dfs_pri_multiplier() - Set dfs pri multiplier
1012*5113495bSYour Name  * @psoc: pointer to psoc object
1013*5113495bSYour Name  * @dfs_pri_multiplier: Value that needs to be set.
1014*5113495bSYour Name  *
1015*5113495bSYour Name  * Return: QDF Status
1016*5113495bSYour Name  */
1017*5113495bSYour Name QDF_STATUS
1018*5113495bSYour Name ucfg_mlme_set_dfs_pri_multiplier(struct wlan_objmgr_psoc *psoc,
1019*5113495bSYour Name 				 uint32_t dfs_pri_multiplier);
1020*5113495bSYour Name 
1021*5113495bSYour Name /*
1022*5113495bSYour Name  * ucfg_mlme_get_dfs_filter_offload() - Get the dfs filter offload
1023*5113495bSYour Name  * @psoc: pointer to psoc object
1024*5113495bSYour Name  * @dfs_filter_offload: Pointer to the value which will be filled
1025*5113495bSYour Name  *
1026*5113495bSYour Name  * Return: QDF Status
1027*5113495bSYour Name  */
1028*5113495bSYour Name QDF_STATUS
1029*5113495bSYour Name ucfg_mlme_get_dfs_filter_offload(struct wlan_objmgr_psoc *psoc,
1030*5113495bSYour Name 				 bool *dfs_filter_offload);
1031*5113495bSYour Name 
1032*5113495bSYour Name /*
1033*5113495bSYour Name  * ucfg_mlme_set_dfs_filter_offload() - Set the dfs filter offload
1034*5113495bSYour Name  * @psoc: pointer to psoc object
1035*5113495bSYour Name  * @dfs_filter_offload: Value that needs to be set.
1036*5113495bSYour Name  *
1037*5113495bSYour Name  * Return: QDF Status
1038*5113495bSYour Name  */
1039*5113495bSYour Name QDF_STATUS
1040*5113495bSYour Name ucfg_mlme_set_dfs_filter_offload(struct wlan_objmgr_psoc *psoc,
1041*5113495bSYour Name 				 bool dfs_filter_offload);
1042*5113495bSYour Name 
1043*5113495bSYour Name /**
1044*5113495bSYour Name  * ucfg_mlme_get_oem_6g_supported() - Get oem 6Ghz supported
1045*5113495bSYour Name  * @psoc: pointer to psoc object
1046*5113495bSYour Name  * @oem_6g_supported: Pointer to the value which will be filled for the caller
1047*5113495bSYour Name  *
1048*5113495bSYour Name  * Return: QDF Status
1049*5113495bSYour Name  */
1050*5113495bSYour Name QDF_STATUS
1051*5113495bSYour Name ucfg_mlme_get_oem_6g_supported(struct wlan_objmgr_psoc *psoc,
1052*5113495bSYour Name 			       bool *oem_6g_supported);
1053*5113495bSYour Name 
1054*5113495bSYour Name /**
1055*5113495bSYour Name  * ucfg_mlme_get_fine_time_meas_cap() - Get fine timing measurement capability
1056*5113495bSYour Name  * @psoc: pointer to psoc object
1057*5113495bSYour Name  * @fine_time_meas_cap: Pointer to the value which will be filled for the caller
1058*5113495bSYour Name  *
1059*5113495bSYour Name  * Return: QDF Status
1060*5113495bSYour Name  */
1061*5113495bSYour Name QDF_STATUS
1062*5113495bSYour Name ucfg_mlme_get_fine_time_meas_cap(struct wlan_objmgr_psoc *psoc,
1063*5113495bSYour Name 				 uint32_t *fine_time_meas_cap);
1064*5113495bSYour Name 
1065*5113495bSYour Name /**
1066*5113495bSYour Name  * ucfg_mlme_set_fine_time_meas_cap() - Set fine timing measurement capability
1067*5113495bSYour Name  * @psoc: pointer to psoc object
1068*5113495bSYour Name  * @fine_time_meas_cap:  Value to be set
1069*5113495bSYour Name  *
1070*5113495bSYour Name  * Return: QDF Status
1071*5113495bSYour Name  */
1072*5113495bSYour Name QDF_STATUS
1073*5113495bSYour Name ucfg_mlme_set_fine_time_meas_cap(struct wlan_objmgr_psoc *psoc,
1074*5113495bSYour Name 				 uint32_t fine_time_meas_cap);
1075*5113495bSYour Name 
1076*5113495bSYour Name /**
1077*5113495bSYour Name  * ucfg_mlme_get_pmkid_modes() - Get PMKID modes
1078*5113495bSYour Name  * @psoc: pointer to psoc object
1079*5113495bSYour Name  * @val:  Pointer to the value which will be filled for the caller
1080*5113495bSYour Name  *
1081*5113495bSYour Name  * Return: QDF Status
1082*5113495bSYour Name  */
1083*5113495bSYour Name QDF_STATUS
1084*5113495bSYour Name ucfg_mlme_get_pmkid_modes(struct wlan_objmgr_psoc *psoc,
1085*5113495bSYour Name 			  uint32_t *val);
1086*5113495bSYour Name 
1087*5113495bSYour Name /**
1088*5113495bSYour Name  * ucfg_mlme_set_pmkid_modes() - Set PMKID modes
1089*5113495bSYour Name  * @psoc: pointer to psoc object
1090*5113495bSYour Name  * @val:  Pointer to the value which will be filled for the caller
1091*5113495bSYour Name  *
1092*5113495bSYour Name  * Return: QDF Status
1093*5113495bSYour Name  */
1094*5113495bSYour Name QDF_STATUS
1095*5113495bSYour Name ucfg_mlme_set_pmkid_modes(struct wlan_objmgr_psoc *psoc,
1096*5113495bSYour Name 			  uint32_t val);
1097*5113495bSYour Name 
1098*5113495bSYour Name /**
1099*5113495bSYour Name  * ucfg_mlme_get_dot11p_mode() - Get the setting about 802.11p mode
1100*5113495bSYour Name  * @psoc: pointer to psoc object
1101*5113495bSYour Name  * @out_mode:  Pointer to the mode which will be filled for the caller
1102*5113495bSYour Name  *
1103*5113495bSYour Name  * Return: QDF Status
1104*5113495bSYour Name  */
1105*5113495bSYour Name QDF_STATUS
1106*5113495bSYour Name ucfg_mlme_get_dot11p_mode(struct wlan_objmgr_psoc *psoc,
1107*5113495bSYour Name 			  enum dot11p_mode *out_mode);
1108*5113495bSYour Name 
1109*5113495bSYour Name /**
1110*5113495bSYour Name  * ucfg_mlme_get_go_cts2self_for_sta() - Stop NOA and start using cts2self
1111*5113495bSYour Name  * @psoc: pointer to psoc object
1112*5113495bSYour Name  * @val:  Pointer to the value which will be filled for the caller
1113*5113495bSYour Name  *
1114*5113495bSYour Name  * Return: QDF Status
1115*5113495bSYour Name  */
1116*5113495bSYour Name QDF_STATUS
1117*5113495bSYour Name ucfg_mlme_get_go_cts2self_for_sta(struct wlan_objmgr_psoc *psoc,
1118*5113495bSYour Name 				  bool *val);
1119*5113495bSYour Name 
1120*5113495bSYour Name /**
1121*5113495bSYour Name  * ucfg_mlme_get_qcn_ie_support() - QCN IE support or not
1122*5113495bSYour Name  * @psoc: pointer to psoc object
1123*5113495bSYour Name  * @val:  Pointer to the value which will be filled for the caller
1124*5113495bSYour Name  *
1125*5113495bSYour Name  * Return: QDF Status
1126*5113495bSYour Name  */
1127*5113495bSYour Name QDF_STATUS
1128*5113495bSYour Name ucfg_mlme_get_qcn_ie_support(struct wlan_objmgr_psoc *psoc,
1129*5113495bSYour Name 			     bool *val);
1130*5113495bSYour Name 
1131*5113495bSYour Name /**
1132*5113495bSYour Name  * ucfg_mlme_get_tgt_gtx_usr_cfg() - Get the target gtx user config
1133*5113495bSYour Name  * @psoc: pointer to psoc object
1134*5113495bSYour Name  * @val:  Pointer to the value which will be filled for the caller
1135*5113495bSYour Name  *
1136*5113495bSYour Name  * Return: QDF Status
1137*5113495bSYour Name  */
1138*5113495bSYour Name QDF_STATUS
1139*5113495bSYour Name ucfg_mlme_get_tgt_gtx_usr_cfg(struct wlan_objmgr_psoc *psoc,
1140*5113495bSYour Name 			      uint32_t *val);
1141*5113495bSYour Name 
1142*5113495bSYour Name /**
1143*5113495bSYour Name  * ucfg_mlme_is_override_ht20_40_24g() - use channel bonding in 2.4 GHz or not
1144*5113495bSYour Name  * @psoc: pointer to psoc object
1145*5113495bSYour Name  * @val:  Pointer to the value which will be filled for the caller
1146*5113495bSYour Name  *
1147*5113495bSYour Name  * Return: QDF Status
1148*5113495bSYour Name  */
1149*5113495bSYour Name QDF_STATUS
1150*5113495bSYour Name ucfg_mlme_is_override_ht20_40_24g(struct wlan_objmgr_psoc *psoc, bool *val);
1151*5113495bSYour Name 
1152*5113495bSYour Name #ifdef WLAN_FEATURE_ROAM_OFFLOAD
1153*5113495bSYour Name /**
1154*5113495bSYour Name  * ucfg_mlme_get_roam_disable_config() - Get sta roam disable value
1155*5113495bSYour Name  * @psoc: pointer to psoc object
1156*5113495bSYour Name  * @val:  Pointer to bitmap of interfaces for those sta roaming is disabled
1157*5113495bSYour Name  *
1158*5113495bSYour Name  * Return: QDF Status
1159*5113495bSYour Name  */
1160*5113495bSYour Name QDF_STATUS
1161*5113495bSYour Name ucfg_mlme_get_roam_disable_config(struct wlan_objmgr_psoc *psoc,
1162*5113495bSYour Name 				  uint32_t *val);
1163*5113495bSYour Name 
1164*5113495bSYour Name /**
1165*5113495bSYour Name  * ucfg_mlme_get_roaming_offload() - Get roaming offload setting
1166*5113495bSYour Name  * @psoc: pointer to psoc object
1167*5113495bSYour Name  * @val:  Pointer to enable/disable roaming offload
1168*5113495bSYour Name  *
1169*5113495bSYour Name  * Return: QDF Status
1170*5113495bSYour Name  */
1171*5113495bSYour Name QDF_STATUS
1172*5113495bSYour Name ucfg_mlme_get_roaming_offload(struct wlan_objmgr_psoc *psoc,
1173*5113495bSYour Name 			      bool *val);
1174*5113495bSYour Name 
1175*5113495bSYour Name /**
1176*5113495bSYour Name  * ucfg_mlme_set_roaming_offload() - Enable/disable roaming offload
1177*5113495bSYour Name  * @psoc: pointer to psoc object
1178*5113495bSYour Name  * @val:  enable/disable roaming offload
1179*5113495bSYour Name  *
1180*5113495bSYour Name  * Return: QDF Status
1181*5113495bSYour Name  */
1182*5113495bSYour Name QDF_STATUS
1183*5113495bSYour Name ucfg_mlme_set_roaming_offload(struct wlan_objmgr_psoc *psoc,
1184*5113495bSYour Name 			      bool val);
1185*5113495bSYour Name 
1186*5113495bSYour Name /**
1187*5113495bSYour Name  * ucfg_mlme_get_roaming_triggers() - Get roaming triggers bitmap
1188*5113495bSYour Name  * value
1189*5113495bSYour Name  * @psoc: pointer to psoc object
1190*5113495bSYour Name  *
1191*5113495bSYour Name  * Return: Roaming triggers value
1192*5113495bSYour Name  */
1193*5113495bSYour Name static inline uint32_t
ucfg_mlme_get_roaming_triggers(struct wlan_objmgr_psoc * psoc)1194*5113495bSYour Name ucfg_mlme_get_roaming_triggers(struct wlan_objmgr_psoc *psoc)
1195*5113495bSYour Name {
1196*5113495bSYour Name 	return wlan_mlme_get_roaming_triggers(psoc);
1197*5113495bSYour Name }
1198*5113495bSYour Name 
1199*5113495bSYour Name /**
1200*5113495bSYour Name  * ucfg_mlme_set_roaming_triggers() - Set roaming triggers bitmap
1201*5113495bSYour Name  * value
1202*5113495bSYour Name  * @psoc: pointer to psoc object
1203*5113495bSYour Name  * @trigger_bitmap: Roaming triggers bitmap to set
1204*5113495bSYour Name  *
1205*5113495bSYour Name  * Return: void
1206*5113495bSYour Name  */
1207*5113495bSYour Name static inline void
ucfg_mlme_set_roaming_triggers(struct wlan_objmgr_psoc * psoc,uint32_t trigger_bitmap)1208*5113495bSYour Name ucfg_mlme_set_roaming_triggers(struct wlan_objmgr_psoc *psoc,
1209*5113495bSYour Name 			       uint32_t trigger_bitmap)
1210*5113495bSYour Name {
1211*5113495bSYour Name 	wlan_mlme_set_roaming_triggers(psoc, trigger_bitmap);
1212*5113495bSYour Name }
1213*5113495bSYour Name #else
1214*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_roam_disable_config(struct wlan_objmgr_psoc * psoc,uint32_t * val)1215*5113495bSYour Name ucfg_mlme_get_roam_disable_config(struct wlan_objmgr_psoc *psoc,
1216*5113495bSYour Name 				  uint32_t *val)
1217*5113495bSYour Name {
1218*5113495bSYour Name 	return QDF_STATUS_E_FAILURE;
1219*5113495bSYour Name }
1220*5113495bSYour Name 
1221*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_roaming_offload(struct wlan_objmgr_psoc * psoc,bool * val)1222*5113495bSYour Name ucfg_mlme_get_roaming_offload(struct wlan_objmgr_psoc *psoc,
1223*5113495bSYour Name 			      bool *val)
1224*5113495bSYour Name {
1225*5113495bSYour Name 	*val = false;
1226*5113495bSYour Name 
1227*5113495bSYour Name 	return QDF_STATUS_SUCCESS;
1228*5113495bSYour Name }
1229*5113495bSYour Name 
1230*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_set_roaming_offload(struct wlan_objmgr_psoc * psoc,bool val)1231*5113495bSYour Name ucfg_mlme_set_roaming_offload(struct wlan_objmgr_psoc *psoc,
1232*5113495bSYour Name 			      bool val)
1233*5113495bSYour Name {
1234*5113495bSYour Name 	return QDF_STATUS_SUCCESS;
1235*5113495bSYour Name }
1236*5113495bSYour Name 
1237*5113495bSYour Name static inline uint32_t
ucfg_mlme_get_roaming_triggers(struct wlan_objmgr_psoc * psoc)1238*5113495bSYour Name ucfg_mlme_get_roaming_triggers(struct wlan_objmgr_psoc *psoc)
1239*5113495bSYour Name {
1240*5113495bSYour Name 	return 0xffff;
1241*5113495bSYour Name }
1242*5113495bSYour Name 
1243*5113495bSYour Name static inline void
ucfg_mlme_set_roaming_triggers(struct wlan_objmgr_psoc * psoc,uint32_t trigger_bitmap)1244*5113495bSYour Name ucfg_mlme_set_roaming_triggers(struct wlan_objmgr_psoc *psoc,
1245*5113495bSYour Name 			       uint32_t trigger_bitmap)
1246*5113495bSYour Name {
1247*5113495bSYour Name }
1248*5113495bSYour Name #endif
1249*5113495bSYour Name 
1250*5113495bSYour Name /**
1251*5113495bSYour Name  * ucfg_mlme_is_mawc_enabled() - MAWC enabled or not
1252*5113495bSYour Name  * @psoc: pointer to psoc object
1253*5113495bSYour Name  * @val:  Pointer to the value which will be filled for the caller
1254*5113495bSYour Name  *
1255*5113495bSYour Name  * Return: QDF Status
1256*5113495bSYour Name  */
1257*5113495bSYour Name QDF_STATUS
1258*5113495bSYour Name ucfg_mlme_is_mawc_enabled(struct wlan_objmgr_psoc *psoc, bool *val);
1259*5113495bSYour Name 
1260*5113495bSYour Name /**
1261*5113495bSYour Name  * ucfg_mlme_set_mawc_enabled() - Set MAWC enable or disable
1262*5113495bSYour Name  * @psoc: pointer to psoc object
1263*5113495bSYour Name  * @val:  enable or disable MAWC
1264*5113495bSYour Name  *
1265*5113495bSYour Name  * Return: QDF Status
1266*5113495bSYour Name  */
1267*5113495bSYour Name QDF_STATUS
1268*5113495bSYour Name ucfg_mlme_set_mawc_enabled(struct wlan_objmgr_psoc *psoc, bool val);
1269*5113495bSYour Name 
1270*5113495bSYour Name /**
1271*5113495bSYour Name  * ucfg_mlme_is_fast_transition_enabled() - Fast transition enable or not
1272*5113495bSYour Name  * @psoc: pointer to psoc object
1273*5113495bSYour Name  * @val:  Pointer to the value which will be filled for the caller
1274*5113495bSYour Name  *
1275*5113495bSYour Name  * Return: QDF Status
1276*5113495bSYour Name  */
1277*5113495bSYour Name QDF_STATUS
1278*5113495bSYour Name ucfg_mlme_is_fast_transition_enabled(struct wlan_objmgr_psoc *psoc,
1279*5113495bSYour Name 				     bool *val);
1280*5113495bSYour Name 
1281*5113495bSYour Name /**
1282*5113495bSYour Name  * ucfg_mlme_set_fast_transition_enabled() - Set fast transition enable
1283*5113495bSYour Name  * @psoc: pointer to psoc object
1284*5113495bSYour Name  * @val:  Fast transition enable or disable
1285*5113495bSYour Name  *
1286*5113495bSYour Name  * Return: QDF Status
1287*5113495bSYour Name  */
1288*5113495bSYour Name QDF_STATUS
1289*5113495bSYour Name ucfg_mlme_set_fast_transition_enabled(struct wlan_objmgr_psoc *psoc,
1290*5113495bSYour Name 				      bool val);
1291*5113495bSYour Name 
1292*5113495bSYour Name /**
1293*5113495bSYour Name  * ucfg_mlme_is_roam_scan_offload_enabled() - Roam scan offload enable or not
1294*5113495bSYour Name  * @psoc: pointer to psoc object
1295*5113495bSYour Name  * @val:  Pointer to the value which will be filled for the caller
1296*5113495bSYour Name  *
1297*5113495bSYour Name  * Return: QDF Status
1298*5113495bSYour Name  */
1299*5113495bSYour Name QDF_STATUS
1300*5113495bSYour Name ucfg_mlme_is_roam_scan_offload_enabled(struct wlan_objmgr_psoc *psoc,
1301*5113495bSYour Name 				       bool *val);
1302*5113495bSYour Name 
1303*5113495bSYour Name #ifdef WLAN_ADAPTIVE_11R
1304*5113495bSYour Name /**
1305*5113495bSYour Name  * ucfg_mlme_set_tgt_adaptive_11r_cap() - Set adaptive 11r target service
1306*5113495bSYour Name  * capability
1307*5113495bSYour Name  * @psoc: pointer to psoc object
1308*5113495bSYour Name  * @val:  Target capability of adaptive 11r
1309*5113495bSYour Name  *
1310*5113495bSYour Name  * Return: QDF Status
1311*5113495bSYour Name  */
1312*5113495bSYour Name QDF_STATUS
1313*5113495bSYour Name ucfg_mlme_set_tgt_adaptive_11r_cap(struct wlan_objmgr_psoc *psoc,
1314*5113495bSYour Name 				   bool val);
1315*5113495bSYour Name /**
1316*5113495bSYour Name  * ucfg_mlme_get_adaptive11r_enabled() - get adaptive 11R enabled status
1317*5113495bSYour Name  * @psoc:   pointer to psoc object
1318*5113495bSYour Name  * @value:  pointer to the value which will be filled for the caller
1319*5113495bSYour Name  *
1320*5113495bSYour Name  * Return: QDF Status
1321*5113495bSYour Name  */
1322*5113495bSYour Name QDF_STATUS
1323*5113495bSYour Name ucfg_mlme_get_adaptive11r_enabled(struct wlan_objmgr_psoc *psoc,
1324*5113495bSYour Name 				  bool *value);
1325*5113495bSYour Name #else
1326*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_set_tgt_adaptive_11r_cap(struct wlan_objmgr_psoc * psoc,bool val)1327*5113495bSYour Name ucfg_mlme_set_tgt_adaptive_11r_cap(struct wlan_objmgr_psoc *psoc,
1328*5113495bSYour Name 				   bool val)
1329*5113495bSYour Name {
1330*5113495bSYour Name 	return QDF_STATUS_SUCCESS;
1331*5113495bSYour Name }
1332*5113495bSYour Name 
1333*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_adaptive11r_enabled(struct wlan_objmgr_psoc * psoc,bool * value)1334*5113495bSYour Name ucfg_mlme_get_adaptive11r_enabled(struct wlan_objmgr_psoc *psoc,
1335*5113495bSYour Name 				  bool *value)
1336*5113495bSYour Name {
1337*5113495bSYour Name 	*value = false;
1338*5113495bSYour Name 	return QDF_STATUS_SUCCESS;
1339*5113495bSYour Name }
1340*5113495bSYour Name #endif
1341*5113495bSYour Name 
1342*5113495bSYour Name /**
1343*5113495bSYour Name  * ucfg_mlme_set_roam_scan_offload_enabled() - Set roam scan offload enable
1344*5113495bSYour Name  * @psoc: pointer to psoc object
1345*5113495bSYour Name  * @val:  Roam scan offload enable or disable
1346*5113495bSYour Name  *
1347*5113495bSYour Name  * Return: QDF Status
1348*5113495bSYour Name  */
1349*5113495bSYour Name QDF_STATUS
1350*5113495bSYour Name ucfg_mlme_set_roam_scan_offload_enabled(struct wlan_objmgr_psoc *psoc,
1351*5113495bSYour Name 					bool val);
1352*5113495bSYour Name 
1353*5113495bSYour Name /**
1354*5113495bSYour Name  * ucfg_mlme_get_neighbor_scan_max_chan_time() - Get neighbor scan max
1355*5113495bSYour Name  * channel time
1356*5113495bSYour Name  * @psoc: pointer to psoc object
1357*5113495bSYour Name  * @val:  Pointer to the value which will be filled for the caller
1358*5113495bSYour Name  *
1359*5113495bSYour Name  * Return: QDF Status
1360*5113495bSYour Name  */
1361*5113495bSYour Name QDF_STATUS
1362*5113495bSYour Name ucfg_mlme_get_neighbor_scan_max_chan_time(struct wlan_objmgr_psoc *psoc,
1363*5113495bSYour Name 					  uint16_t *val);
1364*5113495bSYour Name 
1365*5113495bSYour Name /**
1366*5113495bSYour Name  * ucfg_mlme_get_neighbor_scan_min_chan_time() - Get neighbor scan min
1367*5113495bSYour Name  * channel time
1368*5113495bSYour Name  * @psoc: pointer to psoc object
1369*5113495bSYour Name  * @val:  Pointer to the value which will be filled for the caller
1370*5113495bSYour Name  *
1371*5113495bSYour Name  * Return: QDF Status
1372*5113495bSYour Name  */
1373*5113495bSYour Name QDF_STATUS
1374*5113495bSYour Name ucfg_mlme_get_neighbor_scan_min_chan_time(struct wlan_objmgr_psoc *psoc,
1375*5113495bSYour Name 					  uint16_t *val);
1376*5113495bSYour Name 
1377*5113495bSYour Name /**
1378*5113495bSYour Name  * ucfg_mlme_get_delay_before_vdev_stop() - Get the delay before vdev stop
1379*5113495bSYour Name  * @psoc: pointer to psoc object
1380*5113495bSYour Name  * @val:  Pointer to the value which will be filled for the caller
1381*5113495bSYour Name  *
1382*5113495bSYour Name  * Return: QDF Status
1383*5113495bSYour Name  */
1384*5113495bSYour Name QDF_STATUS
1385*5113495bSYour Name ucfg_mlme_get_delay_before_vdev_stop(struct wlan_objmgr_psoc *psoc,
1386*5113495bSYour Name 				     uint8_t *val);
1387*5113495bSYour Name 
1388*5113495bSYour Name /**
1389*5113495bSYour Name  * ucfg_mlme_get_roam_bmiss_final_bcnt() - Get roam bmiss first count
1390*5113495bSYour Name  * @psoc: pointer to psoc object
1391*5113495bSYour Name  * @val:  Pointer to the value which will be filled for the caller
1392*5113495bSYour Name  *
1393*5113495bSYour Name  * Return: QDF Status
1394*5113495bSYour Name  */
1395*5113495bSYour Name QDF_STATUS
1396*5113495bSYour Name ucfg_mlme_get_roam_bmiss_final_bcnt(struct wlan_objmgr_psoc *psoc,
1397*5113495bSYour Name 				    uint8_t *val);
1398*5113495bSYour Name 
1399*5113495bSYour Name /**
1400*5113495bSYour Name  * ucfg_mlme_validate_roam_bmiss_final_bcnt() - Validate roam bmiss final bcnt
1401*5113495bSYour Name  * @bmiss_final_bcnt: Roam bmiss final bcnt
1402*5113495bSYour Name  *
1403*5113495bSYour Name  * Return: True if bmiss_final_bcnt is in expected range, false otherwise.
1404*5113495bSYour Name  */
1405*5113495bSYour Name bool
1406*5113495bSYour Name ucfg_mlme_validate_roam_bmiss_final_bcnt(uint32_t bmiss_final_bcnt);
1407*5113495bSYour Name 
1408*5113495bSYour Name /**
1409*5113495bSYour Name  * ucfg_mlme_get_dual_sta_roaming_enabled() - Get dual sta roaming enable flag
1410*5113495bSYour Name  * @psoc: pointer to psoc object
1411*5113495bSYour Name  *
1412*5113495bSYour Name  * Return: true if dual sta roaming allowed in fw
1413*5113495bSYour Name  */
1414*5113495bSYour Name bool
1415*5113495bSYour Name ucfg_mlme_get_dual_sta_roaming_enabled(struct wlan_objmgr_psoc *psoc);
1416*5113495bSYour Name 
1417*5113495bSYour Name /**
1418*5113495bSYour Name  * ucfg_mlme_get_roam_bmiss_first_bcnt() - Get roam bmiss final count
1419*5113495bSYour Name  * @psoc: pointer to psoc object
1420*5113495bSYour Name  * @val:  Pointer to the value which will be filled for the caller
1421*5113495bSYour Name  *
1422*5113495bSYour Name  * Return: QDF Status
1423*5113495bSYour Name  */
1424*5113495bSYour Name QDF_STATUS
1425*5113495bSYour Name ucfg_mlme_get_roam_bmiss_first_bcnt(struct wlan_objmgr_psoc *psoc,
1426*5113495bSYour Name 				    uint8_t *val);
1427*5113495bSYour Name 
1428*5113495bSYour Name /**
1429*5113495bSYour Name  * ucfg_mlme_is_lfr_enabled() - LFR enable or not
1430*5113495bSYour Name  * @psoc: pointer to psoc object
1431*5113495bSYour Name  * @val:  Pointer to the value which will be filled for the caller
1432*5113495bSYour Name  *
1433*5113495bSYour Name  * Return: QDF Status
1434*5113495bSYour Name  */
1435*5113495bSYour Name QDF_STATUS
1436*5113495bSYour Name ucfg_mlme_is_lfr_enabled(struct wlan_objmgr_psoc *psoc, bool *val);
1437*5113495bSYour Name 
1438*5113495bSYour Name /**
1439*5113495bSYour Name  * ucfg_mlme_set_lfr_enabled() - Enable or disable LFR
1440*5113495bSYour Name  * @psoc: pointer to psoc object
1441*5113495bSYour Name  * @val:  Enable or disable LFR
1442*5113495bSYour Name  *
1443*5113495bSYour Name  * Return: QDF Status
1444*5113495bSYour Name  */
1445*5113495bSYour Name QDF_STATUS
1446*5113495bSYour Name ucfg_mlme_set_lfr_enabled(struct wlan_objmgr_psoc *psoc, bool val);
1447*5113495bSYour Name 
1448*5113495bSYour Name /**
1449*5113495bSYour Name  * ucfg_mlme_is_roam_prefer_5ghz() - prefer 5ghz or not
1450*5113495bSYour Name  * @psoc: pointer to psoc object
1451*5113495bSYour Name  * @val:  Pointer to the value which will be filled for the caller
1452*5113495bSYour Name  *
1453*5113495bSYour Name  * Return: QDF Status
1454*5113495bSYour Name  */
1455*5113495bSYour Name QDF_STATUS
1456*5113495bSYour Name ucfg_mlme_is_roam_prefer_5ghz(struct wlan_objmgr_psoc *psoc, bool *val);
1457*5113495bSYour Name 
1458*5113495bSYour Name /**
1459*5113495bSYour Name  * ucfg_mlme_is_roam_intra_band() - Get the preference to roam within band
1460*5113495bSYour Name  * @psoc: pointer to psoc object
1461*5113495bSYour Name  *
1462*5113495bSYour Name  * Return: True if vdev should roam within band, false otherwise
1463*5113495bSYour Name  */
1464*5113495bSYour Name bool ucfg_mlme_is_roam_intra_band(struct wlan_objmgr_psoc *psoc);
1465*5113495bSYour Name 
1466*5113495bSYour Name /**
1467*5113495bSYour Name  * ucfg_mlme_set_roam_intra_band() - Set roam intra modes
1468*5113495bSYour Name  * @psoc: pointer to psoc object
1469*5113495bSYour Name  * @val:  roam intra modes or not
1470*5113495bSYour Name  *
1471*5113495bSYour Name  * Return: QDF Status
1472*5113495bSYour Name  */
1473*5113495bSYour Name QDF_STATUS
1474*5113495bSYour Name ucfg_mlme_set_roam_intra_band(struct wlan_objmgr_psoc *psoc, bool val);
1475*5113495bSYour Name 
1476*5113495bSYour Name /**
1477*5113495bSYour Name  * ucfg_mlme_get_home_away_time() - Get home away time
1478*5113495bSYour Name  * @psoc: pointer to psoc object
1479*5113495bSYour Name  * @val:  Pointer to the value which will be filled for the caller
1480*5113495bSYour Name  *
1481*5113495bSYour Name  * Return: QDF Status
1482*5113495bSYour Name  */
1483*5113495bSYour Name QDF_STATUS
1484*5113495bSYour Name ucfg_mlme_get_home_away_time(struct wlan_objmgr_psoc *psoc, uint16_t *val);
1485*5113495bSYour Name 
1486*5113495bSYour Name /**
1487*5113495bSYour Name  * ucfg_mlme_set_fast_roam_in_concurrency_enabled() - Enable fast roam in
1488*5113495bSYour Name  * concurrency
1489*5113495bSYour Name  * @psoc: pointer to psoc object
1490*5113495bSYour Name  * @val:  Enable or disable fast roam in concurrency
1491*5113495bSYour Name  *
1492*5113495bSYour Name  * Return: QDF Status
1493*5113495bSYour Name  */
1494*5113495bSYour Name QDF_STATUS
1495*5113495bSYour Name ucfg_mlme_set_fast_roam_in_concurrency_enabled(struct wlan_objmgr_psoc *psoc,
1496*5113495bSYour Name 					       bool val);
1497*5113495bSYour Name 
1498*5113495bSYour Name /**
1499*5113495bSYour Name  * ucfg_mlme_get_wmi_wq_watchdog_timeout() - Get timeout for wmi watchdog bite
1500*5113495bSYour Name  * @psoc: pointer to psoc object
1501*5113495bSYour Name  * @wmi_wq_watchdog_timeout: buffer to hold value
1502*5113495bSYour Name  *
1503*5113495bSYour Name  * Return: QDF Status
1504*5113495bSYour Name  */
1505*5113495bSYour Name QDF_STATUS
1506*5113495bSYour Name ucfg_mlme_get_wmi_wq_watchdog_timeout(struct wlan_objmgr_psoc *psoc,
1507*5113495bSYour Name 				      uint32_t *wmi_wq_watchdog_timeout);
1508*5113495bSYour Name 
1509*5113495bSYour Name /**
1510*5113495bSYour Name  * ucfg_mlme_set_wmi_wq_watchdog_timeout() - Set timeout for wmi watchdog bite
1511*5113495bSYour Name  * @psoc: pointer to psoc object
1512*5113495bSYour Name  * @wmi_wq_watchdog_timeout: value to be set
1513*5113495bSYour Name  *
1514*5113495bSYour Name  * Return: QDF Status
1515*5113495bSYour Name  */
1516*5113495bSYour Name QDF_STATUS
1517*5113495bSYour Name ucfg_mlme_set_wmi_wq_watchdog_timeout(struct wlan_objmgr_psoc *psoc,
1518*5113495bSYour Name 				      uint32_t wmi_wq_watchdog_timeout);
1519*5113495bSYour Name 
1520*5113495bSYour Name /**
1521*5113495bSYour Name  * ucfg_mlme_set_sap_listen_interval() - Set the Sap listen interval
1522*5113495bSYour Name  * @psoc: pointer to psoc object
1523*5113495bSYour Name  * @value: Value that needs to be set from the caller
1524*5113495bSYour Name  *
1525*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
1526*5113495bSYour Name  *
1527*5113495bSYour Name  * Return: QDF Status
1528*5113495bSYour Name  */
1529*5113495bSYour Name static inline
ucfg_mlme_set_sap_listen_interval(struct wlan_objmgr_psoc * psoc,int value)1530*5113495bSYour Name QDF_STATUS ucfg_mlme_set_sap_listen_interval(struct wlan_objmgr_psoc *psoc,
1531*5113495bSYour Name 					     int value)
1532*5113495bSYour Name {
1533*5113495bSYour Name 	return wlan_mlme_set_sap_listen_interval(psoc, value);
1534*5113495bSYour Name }
1535*5113495bSYour Name 
1536*5113495bSYour Name /**
1537*5113495bSYour Name  * ucfg_mlme_set_assoc_sta_limit() - Set the assoc sta limit
1538*5113495bSYour Name  * @psoc: pointer to psoc object
1539*5113495bSYour Name  * @value: Value that needs to be set from the caller
1540*5113495bSYour Name  *
1541*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
1542*5113495bSYour Name  *
1543*5113495bSYour Name  * Return: QDF Status
1544*5113495bSYour Name  */
1545*5113495bSYour Name static inline
ucfg_mlme_set_assoc_sta_limit(struct wlan_objmgr_psoc * psoc,int value)1546*5113495bSYour Name QDF_STATUS ucfg_mlme_set_assoc_sta_limit(struct wlan_objmgr_psoc *psoc,
1547*5113495bSYour Name 					 int value)
1548*5113495bSYour Name {
1549*5113495bSYour Name 	return wlan_mlme_set_assoc_sta_limit(psoc, value);
1550*5113495bSYour Name }
1551*5113495bSYour Name 
1552*5113495bSYour Name /**
1553*5113495bSYour Name  * ucfg_mlme_get_assoc_sta_limit() - Get the assoc sta limit
1554*5113495bSYour Name  * @psoc: pointer to psoc object
1555*5113495bSYour Name  * @value: Pointer to variable that needs to be filled by MLME
1556*5113495bSYour Name  *
1557*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
1558*5113495bSYour Name  *
1559*5113495bSYour Name  * Return: QDF Status
1560*5113495bSYour Name  */
1561*5113495bSYour Name static inline
ucfg_mlme_get_assoc_sta_limit(struct wlan_objmgr_psoc * psoc,int * value)1562*5113495bSYour Name QDF_STATUS ucfg_mlme_get_assoc_sta_limit(struct wlan_objmgr_psoc *psoc,
1563*5113495bSYour Name 					 int *value)
1564*5113495bSYour Name {
1565*5113495bSYour Name 	return wlan_mlme_get_assoc_sta_limit(psoc, value);
1566*5113495bSYour Name }
1567*5113495bSYour Name 
1568*5113495bSYour Name /**
1569*5113495bSYour Name  * ucfg_mlme_get_listen_interval() - Get listen interval
1570*5113495bSYour Name  * @psoc: pointer to psoc object
1571*5113495bSYour Name  * @value: Pointer to variable that needs to be filled by MLME
1572*5113495bSYour Name  *
1573*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
1574*5113495bSYour Name  *
1575*5113495bSYour Name  * Return: QDF Status
1576*5113495bSYour Name  */
1577*5113495bSYour Name static inline
ucfg_mlme_get_listen_interval(struct wlan_objmgr_psoc * psoc,int * value)1578*5113495bSYour Name QDF_STATUS ucfg_mlme_get_listen_interval(struct wlan_objmgr_psoc *psoc,
1579*5113495bSYour Name 					     int *value)
1580*5113495bSYour Name {
1581*5113495bSYour Name 	return wlan_mlme_get_listen_interval(psoc, value);
1582*5113495bSYour Name }
1583*5113495bSYour Name 
1584*5113495bSYour Name 
1585*5113495bSYour Name /**
1586*5113495bSYour Name  * ucfg_mlme_get_sap_get_peer_info() - get the sap get peer info
1587*5113495bSYour Name  * @psoc: pointer to psoc object
1588*5113495bSYour Name  * @value: Value that needs to be set from the caller
1589*5113495bSYour Name  *
1590*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
1591*5113495bSYour Name  *
1592*5113495bSYour Name  * Return: QDF Status
1593*5113495bSYour Name  */
1594*5113495bSYour Name static inline
ucfg_mlme_get_sap_get_peer_info(struct wlan_objmgr_psoc * psoc,bool * value)1595*5113495bSYour Name QDF_STATUS ucfg_mlme_get_sap_get_peer_info(struct wlan_objmgr_psoc *psoc,
1596*5113495bSYour Name 					   bool *value)
1597*5113495bSYour Name {
1598*5113495bSYour Name 	return wlan_mlme_get_sap_get_peer_info(psoc, value);
1599*5113495bSYour Name }
1600*5113495bSYour Name 
1601*5113495bSYour Name /**
1602*5113495bSYour Name  * ucfg_mlme_set_sap_get_peer_info() - set the sap get peer info
1603*5113495bSYour Name  * @psoc: pointer to psoc object
1604*5113495bSYour Name  * @value: value to overwrite the sap get peer info
1605*5113495bSYour Name  *
1606*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
1607*5113495bSYour Name  *
1608*5113495bSYour Name  * Return: QDF Status
1609*5113495bSYour Name  */
1610*5113495bSYour Name static inline
ucfg_mlme_set_sap_get_peer_info(struct wlan_objmgr_psoc * psoc,bool value)1611*5113495bSYour Name QDF_STATUS ucfg_mlme_set_sap_get_peer_info(struct wlan_objmgr_psoc *psoc,
1612*5113495bSYour Name 					   bool value)
1613*5113495bSYour Name {
1614*5113495bSYour Name 	return wlan_mlme_set_sap_get_peer_info(psoc, value);
1615*5113495bSYour Name }
1616*5113495bSYour Name 
1617*5113495bSYour Name /**
1618*5113495bSYour Name  * ucfg_mlme_get_sap_bcast_deauth_enabled() - get the sap bcast deauth
1619*5113495bSYour Name  *                                           enabled value
1620*5113495bSYour Name  * @psoc: pointer to psoc object
1621*5113495bSYour Name  * @value: Value that needs to be get from the caller
1622*5113495bSYour Name  *
1623*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
1624*5113495bSYour Name  *
1625*5113495bSYour Name  * Return: QDF Status
1626*5113495bSYour Name  */
1627*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_sap_bcast_deauth_enabled(struct wlan_objmgr_psoc * psoc,bool * value)1628*5113495bSYour Name ucfg_mlme_get_sap_bcast_deauth_enabled(struct wlan_objmgr_psoc *psoc,
1629*5113495bSYour Name 				       bool *value)
1630*5113495bSYour Name {
1631*5113495bSYour Name 	return wlan_mlme_get_sap_bcast_deauth_enabled(psoc, value);
1632*5113495bSYour Name }
1633*5113495bSYour Name 
1634*5113495bSYour Name /**
1635*5113495bSYour Name  * ucfg_mlme_is_6g_sap_fd_enabled() - get the sap fils discovery
1636*5113495bSYour Name  *                                           enabled value
1637*5113495bSYour Name  * @psoc: pointer to psoc object
1638*5113495bSYour Name  * @value: Value that needs to be get from the caller
1639*5113495bSYour Name  *
1640*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
1641*5113495bSYour Name  *
1642*5113495bSYour Name  * Return: QDF Status
1643*5113495bSYour Name  */
1644*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_is_6g_sap_fd_enabled(struct wlan_objmgr_psoc * psoc,bool * value)1645*5113495bSYour Name ucfg_mlme_is_6g_sap_fd_enabled(struct wlan_objmgr_psoc *psoc,
1646*5113495bSYour Name 			       bool *value)
1647*5113495bSYour Name {
1648*5113495bSYour Name 	return wlan_mlme_is_6g_sap_fd_enabled(psoc, value);
1649*5113495bSYour Name }
1650*5113495bSYour Name 
1651*5113495bSYour Name /**
1652*5113495bSYour Name  * ucfg_mlme_get_sap_allow_all_channels() - get the sap allow all channels
1653*5113495bSYour Name  * @psoc: pointer to psoc object
1654*5113495bSYour Name  * @value: Value that needs to be set from the caller
1655*5113495bSYour Name  *
1656*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
1657*5113495bSYour Name  *
1658*5113495bSYour Name  * Return: QDF Status
1659*5113495bSYour Name  */
1660*5113495bSYour Name static inline
ucfg_mlme_get_sap_allow_all_channels(struct wlan_objmgr_psoc * psoc,bool * value)1661*5113495bSYour Name QDF_STATUS ucfg_mlme_get_sap_allow_all_channels(struct wlan_objmgr_psoc *psoc,
1662*5113495bSYour Name 						bool *value)
1663*5113495bSYour Name {
1664*5113495bSYour Name 	return wlan_mlme_get_sap_allow_all_channels(psoc, value);
1665*5113495bSYour Name }
1666*5113495bSYour Name 
1667*5113495bSYour Name /**
1668*5113495bSYour Name  * ucfg_mlme_get_sap_max_peers() - get the sap max peers
1669*5113495bSYour Name  * @psoc: pointer to psoc object
1670*5113495bSYour Name  * @value: Value that needs to be set from the caller
1671*5113495bSYour Name  *
1672*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
1673*5113495bSYour Name  *
1674*5113495bSYour Name  * Return: QDF Status
1675*5113495bSYour Name  */
1676*5113495bSYour Name static inline
ucfg_mlme_get_sap_max_peers(struct wlan_objmgr_psoc * psoc,int * value)1677*5113495bSYour Name QDF_STATUS ucfg_mlme_get_sap_max_peers(struct wlan_objmgr_psoc *psoc,
1678*5113495bSYour Name 				       int *value)
1679*5113495bSYour Name {
1680*5113495bSYour Name 	return wlan_mlme_get_sap_max_peers(psoc, value);
1681*5113495bSYour Name }
1682*5113495bSYour Name 
1683*5113495bSYour Name /**
1684*5113495bSYour Name  * ucfg_mlme_set_sap_max_peers() - Set the sap max peers
1685*5113495bSYour Name  * @psoc: pointer to psoc object
1686*5113495bSYour Name  * @value: Value that needs to be set from the caller
1687*5113495bSYour Name  *
1688*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
1689*5113495bSYour Name  *
1690*5113495bSYour Name  * Return: QDF Status
1691*5113495bSYour Name  */
1692*5113495bSYour Name static inline
ucfg_mlme_set_sap_max_peers(struct wlan_objmgr_psoc * psoc,int value)1693*5113495bSYour Name QDF_STATUS ucfg_mlme_set_sap_max_peers(struct wlan_objmgr_psoc *psoc, int value)
1694*5113495bSYour Name {
1695*5113495bSYour Name 	return wlan_mlme_set_sap_max_peers(psoc, value);
1696*5113495bSYour Name }
1697*5113495bSYour Name 
1698*5113495bSYour Name /**
1699*5113495bSYour Name  * ucfg_mlme_get_sap_max_offload_peers() - get the sap max offload peers
1700*5113495bSYour Name  * @psoc: pointer to psoc object
1701*5113495bSYour Name  * @value: Value that needs to be set from the caller
1702*5113495bSYour Name  *
1703*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
1704*5113495bSYour Name  *
1705*5113495bSYour Name  * Return: QDF Status
1706*5113495bSYour Name  */
1707*5113495bSYour Name static inline
ucfg_mlme_get_sap_max_offload_peers(struct wlan_objmgr_psoc * psoc,int * value)1708*5113495bSYour Name QDF_STATUS ucfg_mlme_get_sap_max_offload_peers(struct wlan_objmgr_psoc *psoc,
1709*5113495bSYour Name 					       int *value)
1710*5113495bSYour Name {
1711*5113495bSYour Name 	return wlan_mlme_get_sap_max_offload_peers(psoc, value);
1712*5113495bSYour Name }
1713*5113495bSYour Name 
1714*5113495bSYour Name /**
1715*5113495bSYour Name  * ucfg_mlme_get_sap_max_offload_reorder_buffs() - get the sap max offload
1716*5113495bSYour Name  * reorder buffs
1717*5113495bSYour Name  * @psoc: pointer to psoc object
1718*5113495bSYour Name  * @value: Value that needs to be set from the caller
1719*5113495bSYour Name  *
1720*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
1721*5113495bSYour Name  *
1722*5113495bSYour Name  * Return: QDF Status
1723*5113495bSYour Name  */
1724*5113495bSYour Name static inline
ucfg_mlme_get_sap_max_offload_reorder_buffs(struct wlan_objmgr_psoc * psoc,int * value)1725*5113495bSYour Name QDF_STATUS ucfg_mlme_get_sap_max_offload_reorder_buffs(struct wlan_objmgr_psoc
1726*5113495bSYour Name 						       *psoc, int *value)
1727*5113495bSYour Name {
1728*5113495bSYour Name 	return wlan_mlme_get_sap_max_offload_reorder_buffs(psoc, value);
1729*5113495bSYour Name }
1730*5113495bSYour Name 
1731*5113495bSYour Name /**
1732*5113495bSYour Name  * ucfg_mlme_get_sap_chn_switch_bcn_count() - get the sap channel
1733*5113495bSYour Name  * switch beacon count
1734*5113495bSYour Name  * @psoc: pointer to psoc object
1735*5113495bSYour Name  * @value: Value that needs to be set from the caller
1736*5113495bSYour Name  *
1737*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
1738*5113495bSYour Name  *
1739*5113495bSYour Name  * Return: QDF Status
1740*5113495bSYour Name  */
1741*5113495bSYour Name static inline
ucfg_mlme_get_sap_chn_switch_bcn_count(struct wlan_objmgr_psoc * psoc,int * value)1742*5113495bSYour Name QDF_STATUS ucfg_mlme_get_sap_chn_switch_bcn_count(struct wlan_objmgr_psoc *psoc,
1743*5113495bSYour Name 						  int *value)
1744*5113495bSYour Name {
1745*5113495bSYour Name 	return wlan_mlme_get_sap_chn_switch_bcn_count(psoc, value);
1746*5113495bSYour Name }
1747*5113495bSYour Name 
1748*5113495bSYour Name /**
1749*5113495bSYour Name  * ucfg_mlme_get_sap_channel_switch_mode() - get the sap channel switch mode
1750*5113495bSYour Name  * @psoc: pointer to psoc object
1751*5113495bSYour Name  * @value: Value that needs to be set from the caller
1752*5113495bSYour Name  *
1753*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
1754*5113495bSYour Name  *
1755*5113495bSYour Name  * Return: QDF Status
1756*5113495bSYour Name  */
1757*5113495bSYour Name static inline
ucfg_mlme_get_sap_channel_switch_mode(struct wlan_objmgr_psoc * psoc,bool * value)1758*5113495bSYour Name QDF_STATUS ucfg_mlme_get_sap_channel_switch_mode(struct wlan_objmgr_psoc *psoc,
1759*5113495bSYour Name 						 bool *value)
1760*5113495bSYour Name {
1761*5113495bSYour Name 	return wlan_mlme_get_sap_chn_switch_mode(psoc, value);
1762*5113495bSYour Name }
1763*5113495bSYour Name 
1764*5113495bSYour Name /**
1765*5113495bSYour Name  * ucfg_mlme_get_sap_internal_restart() - get sap internal restart value
1766*5113495bSYour Name  * @psoc: pointer to psoc object
1767*5113495bSYour Name  * @value: Value that needs to be set from the caller
1768*5113495bSYour Name  *
1769*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
1770*5113495bSYour Name  *
1771*5113495bSYour Name  * Return: QDF Status
1772*5113495bSYour Name  */
1773*5113495bSYour Name static inline
ucfg_mlme_get_sap_internal_restart(struct wlan_objmgr_psoc * psoc,bool * value)1774*5113495bSYour Name QDF_STATUS ucfg_mlme_get_sap_internal_restart(struct wlan_objmgr_psoc *psoc,
1775*5113495bSYour Name 					      bool *value)
1776*5113495bSYour Name {
1777*5113495bSYour Name 	return wlan_mlme_get_sap_internal_restart(psoc, value);
1778*5113495bSYour Name }
1779*5113495bSYour Name 
1780*5113495bSYour Name /**
1781*5113495bSYour Name  * ucfg_mlme_get_sap_max_modulated_dtim() - get sap max modulated dtim
1782*5113495bSYour Name  * @psoc: pointer to psoc object
1783*5113495bSYour Name  * @value: Value that needs to be set from the caller
1784*5113495bSYour Name  *
1785*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
1786*5113495bSYour Name  *
1787*5113495bSYour Name  * Return: QDF Status
1788*5113495bSYour Name  */
1789*5113495bSYour Name static inline
ucfg_mlme_get_sap_max_modulated_dtim(struct wlan_objmgr_psoc * psoc,uint8_t * value)1790*5113495bSYour Name QDF_STATUS ucfg_mlme_get_sap_max_modulated_dtim(struct wlan_objmgr_psoc *psoc,
1791*5113495bSYour Name 						uint8_t *value)
1792*5113495bSYour Name {
1793*5113495bSYour Name 	return wlan_mlme_get_sap_max_modulated_dtim(psoc, value);
1794*5113495bSYour Name }
1795*5113495bSYour Name 
1796*5113495bSYour Name /**
1797*5113495bSYour Name  * ucfg_mlme_get_pref_chan_location() - get sap pref chan location
1798*5113495bSYour Name  * @psoc: pointer to psoc object
1799*5113495bSYour Name  * @value: Value that needs to be set from the caller
1800*5113495bSYour Name  *
1801*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
1802*5113495bSYour Name  *
1803*5113495bSYour Name  * Return: QDF Status
1804*5113495bSYour Name  */
1805*5113495bSYour Name static inline
ucfg_mlme_get_pref_chan_location(struct wlan_objmgr_psoc * psoc,uint8_t * value)1806*5113495bSYour Name QDF_STATUS ucfg_mlme_get_pref_chan_location(struct wlan_objmgr_psoc *psoc,
1807*5113495bSYour Name 					    uint8_t *value)
1808*5113495bSYour Name {
1809*5113495bSYour Name 	return wlan_mlme_get_sap_chan_pref_location(psoc, value);
1810*5113495bSYour Name }
1811*5113495bSYour Name 
1812*5113495bSYour Name /**
1813*5113495bSYour Name  * ucfg_mlme_get_sap_country_priority() - get sap country code priority
1814*5113495bSYour Name  * @psoc: pointer to psoc object
1815*5113495bSYour Name  * @value: Value that needs to be set from the caller
1816*5113495bSYour Name  *
1817*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
1818*5113495bSYour Name  *
1819*5113495bSYour Name  * Return: QDF Status
1820*5113495bSYour Name  */
1821*5113495bSYour Name static inline
ucfg_mlme_get_sap_country_priority(struct wlan_objmgr_psoc * psoc,bool * value)1822*5113495bSYour Name QDF_STATUS ucfg_mlme_get_sap_country_priority(struct wlan_objmgr_psoc *psoc,
1823*5113495bSYour Name 					      bool *value)
1824*5113495bSYour Name {
1825*5113495bSYour Name 	return wlan_mlme_get_sap_country_priority(psoc, value);
1826*5113495bSYour Name }
1827*5113495bSYour Name 
1828*5113495bSYour Name /**
1829*5113495bSYour Name  * ucfg_mlme_get_sap_reduces_beacon_interval() - get the sap reduces beacon
1830*5113495bSYour Name  * interval
1831*5113495bSYour Name  * @psoc: pointer to psoc object
1832*5113495bSYour Name  * @value: Value that needs to be set from the caller
1833*5113495bSYour Name  *
1834*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
1835*5113495bSYour Name  *
1836*5113495bSYour Name  * Return: QDF Status
1837*5113495bSYour Name  */
1838*5113495bSYour Name static inline
ucfg_mlme_get_sap_reduces_beacon_interval(struct wlan_objmgr_psoc * psoc,int * value)1839*5113495bSYour Name QDF_STATUS ucfg_mlme_get_sap_reduces_beacon_interval(struct wlan_objmgr_psoc
1840*5113495bSYour Name 						     *psoc, int *value)
1841*5113495bSYour Name {
1842*5113495bSYour Name 	return wlan_mlme_get_sap_reduced_beacon_interval(psoc, value);
1843*5113495bSYour Name }
1844*5113495bSYour Name 
1845*5113495bSYour Name /**
1846*5113495bSYour Name  * ucfg_mlme_get_sap_chan_switch_rate_enabled() - get the sap channel
1847*5113495bSYour Name  * switch rate enabled.
1848*5113495bSYour Name  * @psoc: pointer to psoc object
1849*5113495bSYour Name  * @value: Value that needs to be set from the caller
1850*5113495bSYour Name  *
1851*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
1852*5113495bSYour Name  *
1853*5113495bSYour Name  * Return: QDF Status
1854*5113495bSYour Name  */
1855*5113495bSYour Name static inline
ucfg_mlme_get_sap_chan_switch_rate_enabled(struct wlan_objmgr_psoc * psoc,bool * value)1856*5113495bSYour Name QDF_STATUS ucfg_mlme_get_sap_chan_switch_rate_enabled(struct wlan_objmgr_psoc
1857*5113495bSYour Name 						      *psoc, bool *value)
1858*5113495bSYour Name {
1859*5113495bSYour Name 	return wlan_mlme_get_sap_chan_switch_rate_enabled(psoc, value);
1860*5113495bSYour Name }
1861*5113495bSYour Name 
1862*5113495bSYour Name /**
1863*5113495bSYour Name  * ucfg_mlme_get_sap_force_11n_for_11ac() - get the sap 11n for 11ac
1864*5113495bSYour Name  *
1865*5113495bSYour Name  * @psoc: pointer to psoc object
1866*5113495bSYour Name  * @value: Value that needs to be set from the caller
1867*5113495bSYour Name  *
1868*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
1869*5113495bSYour Name  *
1870*5113495bSYour Name  * Return: QDF Status
1871*5113495bSYour Name  */
1872*5113495bSYour Name static inline
ucfg_mlme_get_sap_force_11n_for_11ac(struct wlan_objmgr_psoc * psoc,bool * value)1873*5113495bSYour Name QDF_STATUS ucfg_mlme_get_sap_force_11n_for_11ac(struct wlan_objmgr_psoc
1874*5113495bSYour Name 						*psoc, bool *value)
1875*5113495bSYour Name {
1876*5113495bSYour Name 	return wlan_mlme_get_sap_force_11n_for_11ac(psoc, value);
1877*5113495bSYour Name }
1878*5113495bSYour Name 
1879*5113495bSYour Name /**
1880*5113495bSYour Name  * ucfg_mlme_get_go_force_11n_for_11ac() - get the GO 11n for 11ac
1881*5113495bSYour Name  *
1882*5113495bSYour Name  * @psoc: pointer to psoc object
1883*5113495bSYour Name  * @value: Value that needs to be set from the caller
1884*5113495bSYour Name  *
1885*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
1886*5113495bSYour Name  *
1887*5113495bSYour Name  * Return: QDF Status
1888*5113495bSYour Name  */
1889*5113495bSYour Name static inline
ucfg_mlme_get_go_force_11n_for_11ac(struct wlan_objmgr_psoc * psoc,bool * value)1890*5113495bSYour Name QDF_STATUS ucfg_mlme_get_go_force_11n_for_11ac(struct wlan_objmgr_psoc
1891*5113495bSYour Name 					       *psoc, bool *value)
1892*5113495bSYour Name {
1893*5113495bSYour Name 	return wlan_mlme_get_go_force_11n_for_11ac(psoc, value);
1894*5113495bSYour Name }
1895*5113495bSYour Name 
1896*5113495bSYour Name /**
1897*5113495bSYour Name  * ucfg_mlme_is_sap_11ac_override() - Override 11ac bandwdith for SAP
1898*5113495bSYour Name  *
1899*5113495bSYour Name  * @psoc: pointer to psoc object
1900*5113495bSYour Name  * @value: Value that needs to be set from the caller
1901*5113495bSYour Name  *
1902*5113495bSYour Name  * Return: QDF Status
1903*5113495bSYour Name  */
1904*5113495bSYour Name static inline
ucfg_mlme_is_sap_11ac_override(struct wlan_objmgr_psoc * psoc,bool * value)1905*5113495bSYour Name QDF_STATUS ucfg_mlme_is_sap_11ac_override(struct wlan_objmgr_psoc *psoc,
1906*5113495bSYour Name 					  bool *value)
1907*5113495bSYour Name {
1908*5113495bSYour Name 	return wlan_mlme_is_sap_11ac_override(psoc, value);
1909*5113495bSYour Name }
1910*5113495bSYour Name 
1911*5113495bSYour Name /**
1912*5113495bSYour Name  * ucfg_mlme_is_go_11ac_override() - Override 11ac bandwdith for P2P GO
1913*5113495bSYour Name  *
1914*5113495bSYour Name  * @psoc: pointer to psoc object
1915*5113495bSYour Name  * @value: pointer to the value which will be filled for the caller
1916*5113495bSYour Name  *
1917*5113495bSYour Name  * Return: QDF Status
1918*5113495bSYour Name  */
1919*5113495bSYour Name static inline
ucfg_mlme_is_go_11ac_override(struct wlan_objmgr_psoc * psoc,bool * value)1920*5113495bSYour Name QDF_STATUS ucfg_mlme_is_go_11ac_override(struct wlan_objmgr_psoc *psoc,
1921*5113495bSYour Name 					 bool *value)
1922*5113495bSYour Name {
1923*5113495bSYour Name 	return wlan_mlme_is_go_11ac_override(psoc, value);
1924*5113495bSYour Name }
1925*5113495bSYour Name 
1926*5113495bSYour Name /**
1927*5113495bSYour Name  * ucfg_mlme_set_sap_11ac_override() - Set override 11ac bandwdith for SAP
1928*5113495bSYour Name  *
1929*5113495bSYour Name  * @psoc: pointer to psoc object
1930*5113495bSYour Name  * @value: Value that needs to be set from the caller
1931*5113495bSYour Name  *
1932*5113495bSYour Name  * Return: QDF Status
1933*5113495bSYour Name  */
1934*5113495bSYour Name static inline
ucfg_mlme_set_sap_11ac_override(struct wlan_objmgr_psoc * psoc,bool value)1935*5113495bSYour Name QDF_STATUS ucfg_mlme_set_sap_11ac_override(struct wlan_objmgr_psoc *psoc,
1936*5113495bSYour Name 					   bool value)
1937*5113495bSYour Name {
1938*5113495bSYour Name 	return wlan_mlme_set_sap_11ac_override(psoc, value);
1939*5113495bSYour Name }
1940*5113495bSYour Name 
1941*5113495bSYour Name /**
1942*5113495bSYour Name  * ucfg_mlme_set_go_11ac_override() - Set override 11ac bandwdith for P2P GO
1943*5113495bSYour Name  *
1944*5113495bSYour Name  * @psoc: pointer to psoc object
1945*5113495bSYour Name  * @value: pointer to the value which will be filled for the caller
1946*5113495bSYour Name  *
1947*5113495bSYour Name  * Return: QDF Status
1948*5113495bSYour Name  */
1949*5113495bSYour Name static inline
ucfg_mlme_set_go_11ac_override(struct wlan_objmgr_psoc * psoc,bool value)1950*5113495bSYour Name QDF_STATUS ucfg_mlme_set_go_11ac_override(struct wlan_objmgr_psoc *psoc,
1951*5113495bSYour Name 					  bool value)
1952*5113495bSYour Name {
1953*5113495bSYour Name 	return wlan_mlme_set_go_11ac_override(psoc, value);
1954*5113495bSYour Name }
1955*5113495bSYour Name 
1956*5113495bSYour Name /**
1957*5113495bSYour Name  * ucfg_mlme_get_oce_sta_enabled_info() - Get OCE feature enable/disable
1958*5113495bSYour Name  * info for STA
1959*5113495bSYour Name  *
1960*5113495bSYour Name  * @psoc: pointer to psoc object
1961*5113495bSYour Name  * @value: pointer to the value which will be filled for the caller
1962*5113495bSYour Name  *
1963*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers to get the
1964*5113495bSYour Name  * OCE STA feature enable value
1965*5113495bSYour Name  *
1966*5113495bSYour Name  * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE
1967*5113495bSYour Name  */
1968*5113495bSYour Name static inline
ucfg_mlme_get_oce_sta_enabled_info(struct wlan_objmgr_psoc * psoc,bool * value)1969*5113495bSYour Name QDF_STATUS ucfg_mlme_get_oce_sta_enabled_info(struct wlan_objmgr_psoc *psoc,
1970*5113495bSYour Name 					      bool *value)
1971*5113495bSYour Name {
1972*5113495bSYour Name 	return wlan_mlme_get_oce_sta_enabled_info(psoc, value);
1973*5113495bSYour Name }
1974*5113495bSYour Name 
1975*5113495bSYour Name /**
1976*5113495bSYour Name  * ucfg_mlme_get_bigtk_support() - Get whether bigtk is supported or not.
1977*5113495bSYour Name  *
1978*5113495bSYour Name  * @psoc: pointer to psoc object
1979*5113495bSYour Name  * @value: pointer to the value which will be filled for the caller
1980*5113495bSYour Name  *
1981*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers to get the BIGTK support
1982*5113495bSYour Name  *
1983*5113495bSYour Name  * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE
1984*5113495bSYour Name  */
1985*5113495bSYour Name static inline
ucfg_mlme_get_bigtk_support(struct wlan_objmgr_psoc * psoc,bool * value)1986*5113495bSYour Name QDF_STATUS ucfg_mlme_get_bigtk_support(struct wlan_objmgr_psoc *psoc,
1987*5113495bSYour Name 				       bool *value)
1988*5113495bSYour Name {
1989*5113495bSYour Name 	return wlan_mlme_get_bigtk_support(psoc, value);
1990*5113495bSYour Name }
1991*5113495bSYour Name 
1992*5113495bSYour Name /**
1993*5113495bSYour Name  * ucfg_mlme_get_ocv_support() - Get whether ocv is supported or not.
1994*5113495bSYour Name  *
1995*5113495bSYour Name  * @psoc: pointer to psoc object
1996*5113495bSYour Name  * @value: pointer to the value which will be filled for the caller
1997*5113495bSYour Name  *
1998*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers to get the OCV support
1999*5113495bSYour Name  *
2000*5113495bSYour Name  * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE
2001*5113495bSYour Name  */
2002*5113495bSYour Name static inline
ucfg_mlme_get_ocv_support(struct wlan_objmgr_psoc * psoc,bool * value)2003*5113495bSYour Name QDF_STATUS ucfg_mlme_get_ocv_support(struct wlan_objmgr_psoc *psoc,
2004*5113495bSYour Name 				     bool *value)
2005*5113495bSYour Name {
2006*5113495bSYour Name 	return wlan_mlme_get_ocv_support(psoc, value);
2007*5113495bSYour Name }
2008*5113495bSYour Name 
2009*5113495bSYour Name /**
2010*5113495bSYour Name  * ucfg_mlme_get_oce_sap_enabled_info() - Get OCE feature enable/disable
2011*5113495bSYour Name  * info for SAP
2012*5113495bSYour Name  *
2013*5113495bSYour Name  * @psoc: pointer to psoc object
2014*5113495bSYour Name  * @value: pointer to the value which will be filled for the caller
2015*5113495bSYour Name  *
2016*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers to get the
2017*5113495bSYour Name  * OCE SAP feature enable value
2018*5113495bSYour Name  *
2019*5113495bSYour Name  * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE
2020*5113495bSYour Name  */
2021*5113495bSYour Name static inline
ucfg_mlme_get_oce_sap_enabled_info(struct wlan_objmgr_psoc * psoc,bool * value)2022*5113495bSYour Name QDF_STATUS ucfg_mlme_get_oce_sap_enabled_info(struct wlan_objmgr_psoc *psoc,
2023*5113495bSYour Name 					      bool *value)
2024*5113495bSYour Name {
2025*5113495bSYour Name 	return wlan_mlme_get_oce_sap_enabled_info(psoc, value);
2026*5113495bSYour Name }
2027*5113495bSYour Name 
2028*5113495bSYour Name /**
2029*5113495bSYour Name  * ucfg_mlme_update_oce_flags: Update the OCE flags
2030*5113495bSYour Name  *
2031*5113495bSYour Name  * @pdev: pointer to pdev object
2032*5113495bSYour Name  *
2033*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers to update the
2034*5113495bSYour Name  * OCE feature flags
2035*5113495bSYour Name  *
2036*5113495bSYour Name  * Return: void
2037*5113495bSYour Name  */
2038*5113495bSYour Name static inline
ucfg_mlme_update_oce_flags(struct wlan_objmgr_pdev * pdev)2039*5113495bSYour Name void ucfg_mlme_update_oce_flags(struct wlan_objmgr_pdev *pdev)
2040*5113495bSYour Name {
2041*5113495bSYour Name 	wlan_mlme_update_oce_flags(pdev);
2042*5113495bSYour Name }
2043*5113495bSYour Name 
2044*5113495bSYour Name /**
2045*5113495bSYour Name  * ucfg_mlme_is_ap_prot_enabled() - Check if sap is enabled
2046*5113495bSYour Name  * @psoc: pointer to psoc object
2047*5113495bSYour Name  *
2048*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers to get the
2049*5113495bSYour Name  * sap protection enabled/disabled
2050*5113495bSYour Name  *
2051*5113495bSYour Name  * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE
2052*5113495bSYour Name  */
2053*5113495bSYour Name static inline
ucfg_mlme_is_ap_prot_enabled(struct wlan_objmgr_psoc * psoc)2054*5113495bSYour Name bool ucfg_mlme_is_ap_prot_enabled(struct wlan_objmgr_psoc *psoc)
2055*5113495bSYour Name {
2056*5113495bSYour Name 	return wlan_mlme_is_ap_prot_enabled(psoc);
2057*5113495bSYour Name }
2058*5113495bSYour Name 
2059*5113495bSYour Name /**
2060*5113495bSYour Name  * ucfg_mlme_get_ap_protection_mode() - Get ap protection mode info
2061*5113495bSYour Name  * @psoc: pointer to psoc object
2062*5113495bSYour Name  * @value: pointer to the value which will be filled for the caller
2063*5113495bSYour Name  *
2064*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers to get the
2065*5113495bSYour Name  * ap protection mode value
2066*5113495bSYour Name  *
2067*5113495bSYour Name  * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE
2068*5113495bSYour Name  */
2069*5113495bSYour Name static inline
ucfg_mlme_get_ap_protection_mode(struct wlan_objmgr_psoc * psoc,uint16_t * value)2070*5113495bSYour Name QDF_STATUS ucfg_mlme_get_ap_protection_mode(struct wlan_objmgr_psoc *psoc,
2071*5113495bSYour Name 					    uint16_t *value)
2072*5113495bSYour Name {
2073*5113495bSYour Name 	return wlan_mlme_get_ap_protection_mode(psoc, value);
2074*5113495bSYour Name }
2075*5113495bSYour Name 
2076*5113495bSYour Name /**
2077*5113495bSYour Name  * ucfg_mlme_is_ap_obss_prot_enabled() - Get ap obss protection enable/disable
2078*5113495bSYour Name  * @psoc: pointer to psoc object
2079*5113495bSYour Name  * @value: pointer to the value which will be filled for the caller
2080*5113495bSYour Name  *
2081*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers to get the
2082*5113495bSYour Name  * obss protection enable value
2083*5113495bSYour Name  *
2084*5113495bSYour Name  * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE
2085*5113495bSYour Name  */
2086*5113495bSYour Name static inline
ucfg_mlme_is_ap_obss_prot_enabled(struct wlan_objmgr_psoc * psoc,bool * value)2087*5113495bSYour Name QDF_STATUS ucfg_mlme_is_ap_obss_prot_enabled(struct wlan_objmgr_psoc *psoc,
2088*5113495bSYour Name 					     bool *value)
2089*5113495bSYour Name {
2090*5113495bSYour Name 	return wlan_mlme_is_ap_obss_prot_enabled(psoc, value);
2091*5113495bSYour Name }
2092*5113495bSYour Name 
2093*5113495bSYour Name /**
2094*5113495bSYour Name  * ucfg_mlme_get_rts_threshold() - Get the rts threshold config
2095*5113495bSYour Name  * @psoc: pointer to psoc object
2096*5113495bSYour Name  * @value: pointer to the value which will be filled for the caller
2097*5113495bSYour Name  *
2098*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
2099*5113495bSYour Name  *
2100*5113495bSYour Name  * Return: QDF Status
2101*5113495bSYour Name  */
2102*5113495bSYour Name static inline
ucfg_mlme_get_rts_threshold(struct wlan_objmgr_psoc * psoc,uint32_t * value)2103*5113495bSYour Name QDF_STATUS ucfg_mlme_get_rts_threshold(struct wlan_objmgr_psoc *psoc,
2104*5113495bSYour Name 				       uint32_t *value)
2105*5113495bSYour Name {
2106*5113495bSYour Name 	return wlan_mlme_get_rts_threshold(psoc, value);
2107*5113495bSYour Name }
2108*5113495bSYour Name 
2109*5113495bSYour Name /**
2110*5113495bSYour Name  * ucfg_mlme_set_rts_threshold() - Set the rts threshold config
2111*5113495bSYour Name  * @psoc: pointer to psoc object
2112*5113495bSYour Name  * @value: pointer to the value which will be filled for the caller
2113*5113495bSYour Name  *
2114*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
2115*5113495bSYour Name  *
2116*5113495bSYour Name  * Return: QDF Status
2117*5113495bSYour Name  */
2118*5113495bSYour Name static inline
ucfg_mlme_set_rts_threshold(struct wlan_objmgr_psoc * psoc,uint32_t value)2119*5113495bSYour Name QDF_STATUS ucfg_mlme_set_rts_threshold(struct wlan_objmgr_psoc *psoc,
2120*5113495bSYour Name 				       uint32_t value)
2121*5113495bSYour Name {
2122*5113495bSYour Name 	return wlan_mlme_set_rts_threshold(psoc, value);
2123*5113495bSYour Name }
2124*5113495bSYour Name 
2125*5113495bSYour Name /**
2126*5113495bSYour Name  * ucfg_mlme_get_frag_threshold() - Get the fragmentation threshold
2127*5113495bSYour Name  *                                  config
2128*5113495bSYour Name  * @psoc: pointer to psoc object
2129*5113495bSYour Name  * @value: Value that needs to be set from the caller
2130*5113495bSYour Name  *
2131*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
2132*5113495bSYour Name  *
2133*5113495bSYour Name  * Return: QDF Status
2134*5113495bSYour Name  */
2135*5113495bSYour Name static inline
ucfg_mlme_get_frag_threshold(struct wlan_objmgr_psoc * psoc,uint32_t * value)2136*5113495bSYour Name QDF_STATUS ucfg_mlme_get_frag_threshold(struct wlan_objmgr_psoc *psoc,
2137*5113495bSYour Name 					uint32_t *value)
2138*5113495bSYour Name {
2139*5113495bSYour Name 	return wlan_mlme_get_frag_threshold(psoc, value);
2140*5113495bSYour Name }
2141*5113495bSYour Name 
2142*5113495bSYour Name /**
2143*5113495bSYour Name  * ucfg_mlme_set_frag_threshold() - set the frag threshold config
2144*5113495bSYour Name  * @psoc: pointer to psoc object
2145*5113495bSYour Name  * @value: pointer to the value which will be filled for the caller
2146*5113495bSYour Name  *
2147*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
2148*5113495bSYour Name  *
2149*5113495bSYour Name  * Return: QDF Status
2150*5113495bSYour Name  */
2151*5113495bSYour Name static inline
ucfg_mlme_set_frag_threshold(struct wlan_objmgr_psoc * psoc,uint32_t value)2152*5113495bSYour Name QDF_STATUS ucfg_mlme_set_frag_threshold(struct wlan_objmgr_psoc *psoc,
2153*5113495bSYour Name 					uint32_t value)
2154*5113495bSYour Name {
2155*5113495bSYour Name 	return wlan_mlme_set_frag_threshold(psoc, value);
2156*5113495bSYour Name }
2157*5113495bSYour Name 
2158*5113495bSYour Name /**
2159*5113495bSYour Name  * ucfg_mlme_get_fils_enabled_info() - Get fils enable/disable info
2160*5113495bSYour Name  *
2161*5113495bSYour Name  * @psoc: pointer to psoc object
2162*5113495bSYour Name  * @value: pointer to the value which will be filled for the caller
2163*5113495bSYour Name  *
2164*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers to get the
2165*5113495bSYour Name  * fils enable value
2166*5113495bSYour Name  *
2167*5113495bSYour Name  * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE
2168*5113495bSYour Name  */
2169*5113495bSYour Name static inline
ucfg_mlme_get_fils_enabled_info(struct wlan_objmgr_psoc * psoc,bool * value)2170*5113495bSYour Name QDF_STATUS ucfg_mlme_get_fils_enabled_info(struct wlan_objmgr_psoc *psoc,
2171*5113495bSYour Name 					   bool *value)
2172*5113495bSYour Name {
2173*5113495bSYour Name 	return wlan_mlme_get_fils_enabled_info(psoc, value);
2174*5113495bSYour Name }
2175*5113495bSYour Name 
2176*5113495bSYour Name /**
2177*5113495bSYour Name  * ucfg_mlme_set_fils_enabled_info() - Set fils enable info
2178*5113495bSYour Name  *
2179*5113495bSYour Name  * @psoc: pointer to psoc object
2180*5113495bSYour Name  * @value: value that needs to be set from the caller
2181*5113495bSYour Name  *
2182*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers to set the
2183*5113495bSYour Name  * fils enable value
2184*5113495bSYour Name  *
2185*5113495bSYour Name  * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE
2186*5113495bSYour Name  */
2187*5113495bSYour Name static inline
ucfg_mlme_set_fils_enabled_info(struct wlan_objmgr_psoc * psoc,bool value)2188*5113495bSYour Name QDF_STATUS ucfg_mlme_set_fils_enabled_info(struct wlan_objmgr_psoc *psoc,
2189*5113495bSYour Name 					   bool value)
2190*5113495bSYour Name {
2191*5113495bSYour Name 	return wlan_mlme_set_fils_enabled_info(psoc, value);
2192*5113495bSYour Name }
2193*5113495bSYour Name 
2194*5113495bSYour Name /**
2195*5113495bSYour Name  * ucfg_mlme_set_primary_interface() - Set primary STA iface id
2196*5113495bSYour Name  *
2197*5113495bSYour Name  * @psoc: pointer to psoc object
2198*5113495bSYour Name  * @value: value that needs to be set from the caller
2199*5113495bSYour Name  *
2200*5113495bSYour Name  * When a vdev is set as primary then based on the dual sta policy
2201*5113495bSYour Name  * "qca_wlan_concurrent_sta_policy_config" mcc preference and roaming has
2202*5113495bSYour Name  * to be enabled on the primary vdev
2203*5113495bSYour Name  *
2204*5113495bSYour Name  * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE
2205*5113495bSYour Name  */
2206*5113495bSYour Name static inline
ucfg_mlme_set_primary_interface(struct wlan_objmgr_psoc * psoc,uint8_t value)2207*5113495bSYour Name QDF_STATUS ucfg_mlme_set_primary_interface(struct wlan_objmgr_psoc *psoc,
2208*5113495bSYour Name 					   uint8_t value)
2209*5113495bSYour Name {
2210*5113495bSYour Name 	return wlan_mlme_set_primary_interface(psoc, value);
2211*5113495bSYour Name }
2212*5113495bSYour Name 
2213*5113495bSYour Name /**
2214*5113495bSYour Name  * ucfg_mlme_get_mcc_duty_cycle_percentage() - Get primary STA iface MCC
2215*5113495bSYour Name  *                                             duty-cycle
2216*5113495bSYour Name  * @pdev: pointer to pdev object
2217*5113495bSYour Name  *
2218*5113495bSYour Name  * primary and secondary STA iface MCC duty-cycle value in below format
2219*5113495bSYour Name  * ******************************************************
2220*5113495bSYour Name  * |bit 31-24 | bit 23-16 | bits 15-8   |bits 7-0   |
2221*5113495bSYour Name  * | Unused   | Quota for | chan. # for |chan. # for|
2222*5113495bSYour Name  * |          | 1st chan  | 1st chan.   |2nd chan.  |
2223*5113495bSYour Name  * *****************************************************
2224*5113495bSYour Name  *
2225*5113495bSYour Name  * Return: primary iface MCC duty-cycle value
2226*5113495bSYour Name  */
2227*5113495bSYour Name static inline
ucfg_mlme_get_mcc_duty_cycle_percentage(struct wlan_objmgr_pdev * pdev)2228*5113495bSYour Name int ucfg_mlme_get_mcc_duty_cycle_percentage(struct wlan_objmgr_pdev *pdev)
2229*5113495bSYour Name {
2230*5113495bSYour Name 	return wlan_mlme_get_mcc_duty_cycle_percentage(pdev);
2231*5113495bSYour Name }
2232*5113495bSYour Name 
2233*5113495bSYour Name /**
2234*5113495bSYour Name  * ucfg_mlme_set_enable_bcast_probe_rsp() - Set enable bcast probe resp info
2235*5113495bSYour Name  * @psoc: pointer to psoc object
2236*5113495bSYour Name  * @value: value that needs to be set from the caller
2237*5113495bSYour Name  *
2238*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers to set the
2239*5113495bSYour Name  * enable bcast probe resp info
2240*5113495bSYour Name  *
2241*5113495bSYour Name  * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE
2242*5113495bSYour Name  */
2243*5113495bSYour Name static inline
ucfg_mlme_set_enable_bcast_probe_rsp(struct wlan_objmgr_psoc * psoc,bool value)2244*5113495bSYour Name QDF_STATUS ucfg_mlme_set_enable_bcast_probe_rsp(struct wlan_objmgr_psoc *psoc,
2245*5113495bSYour Name 						bool value)
2246*5113495bSYour Name {
2247*5113495bSYour Name 	return wlan_mlme_set_enable_bcast_probe_rsp(psoc, value);
2248*5113495bSYour Name }
2249*5113495bSYour Name 
2250*5113495bSYour Name /**
2251*5113495bSYour Name  * ucfg_mlme_set_vht_ch_width() - set the vht supported channel width cfg
2252*5113495bSYour Name  * @psoc: psoc context
2253*5113495bSYour Name  * @value: data to be set
2254*5113495bSYour Name  *
2255*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
2256*5113495bSYour Name  *
2257*5113495bSYour Name  * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE
2258*5113495bSYour Name  */
2259*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_set_vht_ch_width(struct wlan_objmgr_psoc * psoc,uint8_t value)2260*5113495bSYour Name ucfg_mlme_set_vht_ch_width(struct wlan_objmgr_psoc *psoc, uint8_t value)
2261*5113495bSYour Name {
2262*5113495bSYour Name 	return wlan_mlme_cfg_set_vht_chan_width(psoc, value);
2263*5113495bSYour Name }
2264*5113495bSYour Name 
2265*5113495bSYour Name /**
2266*5113495bSYour Name  * ucfg_mlme_cfg_get_vht_chan_width() - gets vht supported channel width into
2267*5113495bSYour Name  * cfg item
2268*5113495bSYour Name  * @psoc: psoc context
2269*5113495bSYour Name  * @value: data to be set
2270*5113495bSYour Name  *
2271*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
2272*5113495bSYour Name  *
2273*5113495bSYour Name  * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE
2274*5113495bSYour Name  */
2275*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_cfg_get_vht_chan_width(struct wlan_objmgr_psoc * psoc,uint8_t * value)2276*5113495bSYour Name ucfg_mlme_cfg_get_vht_chan_width(struct wlan_objmgr_psoc *psoc, uint8_t *value)
2277*5113495bSYour Name {
2278*5113495bSYour Name 	return wlan_mlme_cfg_get_vht_chan_width(psoc, value);
2279*5113495bSYour Name }
2280*5113495bSYour Name 
2281*5113495bSYour Name /**
2282*5113495bSYour Name  * ucfg_mlme_cfg_set_vht_ldpc_coding_cap() - sets vht ldpc coding cap into
2283*5113495bSYour Name  * cfg item
2284*5113495bSYour Name  * @psoc: psoc context
2285*5113495bSYour Name  * @value: data to be set
2286*5113495bSYour Name  *
2287*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
2288*5113495bSYour Name  *
2289*5113495bSYour Name  * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE
2290*5113495bSYour Name  */
2291*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_cfg_set_vht_ldpc_coding_cap(struct wlan_objmgr_psoc * psoc,bool value)2292*5113495bSYour Name ucfg_mlme_cfg_set_vht_ldpc_coding_cap(struct wlan_objmgr_psoc *psoc, bool value)
2293*5113495bSYour Name {
2294*5113495bSYour Name 	return wlan_mlme_cfg_set_vht_ldpc_coding_cap(psoc, value);
2295*5113495bSYour Name }
2296*5113495bSYour Name 
2297*5113495bSYour Name /**
2298*5113495bSYour Name  * ucfg_mlme_cfg_get_short_gi_160_mhz() - Get SHORT GI 160MHZ from cfg item
2299*5113495bSYour Name  * @psoc: psoc context
2300*5113495bSYour Name  * @value: data to be set
2301*5113495bSYour Name  *
2302*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers to get the
2303*5113495bSYour Name  * ignore_peer_ht_opmode flag value
2304*5113495bSYour Name  *
2305*5113495bSYour Name  * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE
2306*5113495bSYour Name  */
2307*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_cfg_get_short_gi_160_mhz(struct wlan_objmgr_psoc * psoc,bool * value)2308*5113495bSYour Name ucfg_mlme_cfg_get_short_gi_160_mhz(struct wlan_objmgr_psoc *psoc, bool *value)
2309*5113495bSYour Name {
2310*5113495bSYour Name 	return wlan_mlme_cfg_get_short_gi_160_mhz(psoc, value);
2311*5113495bSYour Name }
2312*5113495bSYour Name 
2313*5113495bSYour Name /**
2314*5113495bSYour Name  * ucfg_mlme_cfg_set_short_gi_160_mhz() - sets basic set SHORT GI 160MHZ into
2315*5113495bSYour Name  * cfg item
2316*5113495bSYour Name  * @psoc: psoc context
2317*5113495bSYour Name  * @value: data to be set
2318*5113495bSYour Name  *
2319*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers to get the
2320*5113495bSYour Name  * ignore_peer_ht_opmode flag value
2321*5113495bSYour Name  *
2322*5113495bSYour Name  * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE
2323*5113495bSYour Name  */
2324*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_cfg_set_short_gi_160_mhz(struct wlan_objmgr_psoc * psoc,bool value)2325*5113495bSYour Name ucfg_mlme_cfg_set_short_gi_160_mhz(struct wlan_objmgr_psoc *psoc, bool value)
2326*5113495bSYour Name {
2327*5113495bSYour Name 	return wlan_mlme_cfg_set_short_gi_160_mhz(psoc, value);
2328*5113495bSYour Name }
2329*5113495bSYour Name 
2330*5113495bSYour Name /**
2331*5113495bSYour Name  * ucfg_mlme_cfg_get_vht_tx_stbc() - gets vht tx stbc from
2332*5113495bSYour Name  * cfg item
2333*5113495bSYour Name  * @psoc: psoc context
2334*5113495bSYour Name  * @value: pointer to get required data
2335*5113495bSYour Name  *
2336*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers to get the
2337*5113495bSYour Name  * ignore_peer_ht_opmode flag value
2338*5113495bSYour Name  *
2339*5113495bSYour Name  * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE
2340*5113495bSYour Name  */
2341*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_cfg_get_vht_tx_stbc(struct wlan_objmgr_psoc * psoc,bool * value)2342*5113495bSYour Name ucfg_mlme_cfg_get_vht_tx_stbc(struct wlan_objmgr_psoc *psoc, bool *value)
2343*5113495bSYour Name {
2344*5113495bSYour Name 	return wlan_mlme_cfg_get_vht_tx_stbc(psoc, value);
2345*5113495bSYour Name }
2346*5113495bSYour Name 
2347*5113495bSYour Name /**
2348*5113495bSYour Name  * ucfg_mlme_cfg_get_vht_rx_stbc() - gets vht rx stbc from
2349*5113495bSYour Name  * cfg item
2350*5113495bSYour Name  * @psoc: psoc context
2351*5113495bSYour Name  * @value: pointer to get required data
2352*5113495bSYour Name  *
2353*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers to get the
2354*5113495bSYour Name  * ignore_peer_ht_opmode flag value
2355*5113495bSYour Name  *
2356*5113495bSYour Name  * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE
2357*5113495bSYour Name  */
2358*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_cfg_get_vht_rx_stbc(struct wlan_objmgr_psoc * psoc,bool * value)2359*5113495bSYour Name ucfg_mlme_cfg_get_vht_rx_stbc(struct wlan_objmgr_psoc *psoc, bool *value)
2360*5113495bSYour Name {
2361*5113495bSYour Name 	return wlan_mlme_cfg_get_vht_rx_stbc(psoc, value);
2362*5113495bSYour Name }
2363*5113495bSYour Name 
2364*5113495bSYour Name /**
2365*5113495bSYour Name  * ucfg_mlme_cfg_set_vht_tx_bfee_ant_supp() - sets vht Beamformee antenna
2366*5113495bSYour Name  * support cap into cfg item
2367*5113495bSYour Name  * @psoc: psoc context
2368*5113495bSYour Name  * @value: data to be set
2369*5113495bSYour Name  *
2370*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
2371*5113495bSYour Name  *
2372*5113495bSYour Name  * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE
2373*5113495bSYour Name  */
2374*5113495bSYour Name static inline
ucfg_mlme_cfg_set_vht_tx_bfee_ant_supp(struct wlan_objmgr_psoc * psoc,uint8_t value)2375*5113495bSYour Name QDF_STATUS ucfg_mlme_cfg_set_vht_tx_bfee_ant_supp(struct wlan_objmgr_psoc *psoc,
2376*5113495bSYour Name 						  uint8_t value)
2377*5113495bSYour Name {
2378*5113495bSYour Name 	return wlan_mlme_cfg_set_vht_tx_bfee_ant_supp(psoc, value);
2379*5113495bSYour Name }
2380*5113495bSYour Name 
2381*5113495bSYour Name /**
2382*5113495bSYour Name  * ucfg_mlme_cfg_get_vht_tx_bfee_ant_supp() - gets vht Beamformee antenna
2383*5113495bSYour Name  * support cap into cfg item
2384*5113495bSYour Name  * @psoc: psoc context
2385*5113495bSYour Name  * @value: data to be set
2386*5113495bSYour Name  *
2387*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
2388*5113495bSYour Name  *
2389*5113495bSYour Name  * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE
2390*5113495bSYour Name  */
2391*5113495bSYour Name static inline
ucfg_mlme_cfg_get_vht_tx_bfee_ant_supp(struct wlan_objmgr_psoc * psoc,uint8_t * value)2392*5113495bSYour Name QDF_STATUS ucfg_mlme_cfg_get_vht_tx_bfee_ant_supp(struct wlan_objmgr_psoc *psoc,
2393*5113495bSYour Name 						  uint8_t *value)
2394*5113495bSYour Name {
2395*5113495bSYour Name 	return wlan_mlme_cfg_get_vht_tx_bfee_ant_supp(psoc, value);
2396*5113495bSYour Name }
2397*5113495bSYour Name 
2398*5113495bSYour Name /**
2399*5113495bSYour Name  * ucfg_mlme_cfg_get_vht_rx_mcs_map() - gets vht rx mcs map from
2400*5113495bSYour Name  * cfg item
2401*5113495bSYour Name  * @psoc: psoc context
2402*5113495bSYour Name  * @value: pointer to get required data
2403*5113495bSYour Name  *
2404*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers to get the
2405*5113495bSYour Name  * ignore_peer_ht_opmode flag value
2406*5113495bSYour Name  *
2407*5113495bSYour Name  * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE
2408*5113495bSYour Name  */
2409*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_cfg_get_vht_rx_mcs_map(struct wlan_objmgr_psoc * psoc,uint32_t * value)2410*5113495bSYour Name ucfg_mlme_cfg_get_vht_rx_mcs_map(struct wlan_objmgr_psoc *psoc, uint32_t *value)
2411*5113495bSYour Name {
2412*5113495bSYour Name 	return wlan_mlme_cfg_get_vht_rx_mcs_map(psoc, value);
2413*5113495bSYour Name }
2414*5113495bSYour Name 
2415*5113495bSYour Name /**
2416*5113495bSYour Name  * ucfg_mlme_cfg_set_vht_rx_mcs_map() - sets rx mcs map into
2417*5113495bSYour Name  * cfg item
2418*5113495bSYour Name  * @psoc: psoc context
2419*5113495bSYour Name  * @value: data to be set
2420*5113495bSYour Name  *
2421*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
2422*5113495bSYour Name  *
2423*5113495bSYour Name  * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE
2424*5113495bSYour Name  */
2425*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_cfg_set_vht_rx_mcs_map(struct wlan_objmgr_psoc * psoc,uint32_t value)2426*5113495bSYour Name ucfg_mlme_cfg_set_vht_rx_mcs_map(struct wlan_objmgr_psoc *psoc, uint32_t value)
2427*5113495bSYour Name {
2428*5113495bSYour Name 	return wlan_mlme_cfg_set_vht_rx_mcs_map(psoc, value);
2429*5113495bSYour Name }
2430*5113495bSYour Name 
2431*5113495bSYour Name /**
2432*5113495bSYour Name  * ucfg_mlme_cfg_get_vht_tx_mcs_map() - gets vht tx mcs map from
2433*5113495bSYour Name  * cfg item
2434*5113495bSYour Name  * @psoc: psoc context
2435*5113495bSYour Name  * @value: pointer to get required data
2436*5113495bSYour Name  *
2437*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers to get the
2438*5113495bSYour Name  * ignore_peer_ht_opmode flag value
2439*5113495bSYour Name  *
2440*5113495bSYour Name  * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE
2441*5113495bSYour Name  */
2442*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_cfg_get_vht_tx_mcs_map(struct wlan_objmgr_psoc * psoc,uint32_t * value)2443*5113495bSYour Name ucfg_mlme_cfg_get_vht_tx_mcs_map(struct wlan_objmgr_psoc *psoc, uint32_t *value)
2444*5113495bSYour Name {
2445*5113495bSYour Name 	return wlan_mlme_cfg_get_vht_tx_mcs_map(psoc, value);
2446*5113495bSYour Name }
2447*5113495bSYour Name 
2448*5113495bSYour Name /**
2449*5113495bSYour Name  * ucfg_mlme_cfg_set_vht_tx_mcs_map() - sets tx mcs map into
2450*5113495bSYour Name  * cfg item
2451*5113495bSYour Name  * @psoc: psoc context
2452*5113495bSYour Name  * @value: data to be set
2453*5113495bSYour Name  *
2454*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
2455*5113495bSYour Name  *
2456*5113495bSYour Name  * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE
2457*5113495bSYour Name  */
2458*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_cfg_set_vht_tx_mcs_map(struct wlan_objmgr_psoc * psoc,uint32_t value)2459*5113495bSYour Name ucfg_mlme_cfg_set_vht_tx_mcs_map(struct wlan_objmgr_psoc *psoc, uint32_t value)
2460*5113495bSYour Name {
2461*5113495bSYour Name 	return wlan_mlme_cfg_set_vht_tx_mcs_map(psoc, value);
2462*5113495bSYour Name }
2463*5113495bSYour Name 
2464*5113495bSYour Name /**
2465*5113495bSYour Name  * ucfg_mlme_cfg_set_vht_rx_supp_data_rate() - sets rx supported data
2466*5113495bSYour Name  * rate into cfg item
2467*5113495bSYour Name  * @psoc: psoc context
2468*5113495bSYour Name  * @value: data to be set
2469*5113495bSYour Name  *
2470*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
2471*5113495bSYour Name  *
2472*5113495bSYour Name  * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE
2473*5113495bSYour Name  */
2474*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_cfg_set_vht_rx_supp_data_rate(struct wlan_objmgr_psoc * psoc,uint32_t value)2475*5113495bSYour Name ucfg_mlme_cfg_set_vht_rx_supp_data_rate(struct wlan_objmgr_psoc *psoc,
2476*5113495bSYour Name 					uint32_t value)
2477*5113495bSYour Name {
2478*5113495bSYour Name 	return wlan_mlme_cfg_set_vht_rx_supp_data_rate(psoc, value);
2479*5113495bSYour Name }
2480*5113495bSYour Name 
2481*5113495bSYour Name /**
2482*5113495bSYour Name  * ucfg_mlme_cfg_set_vht_tx_supp_data_rate() - sets tx supported data rate into
2483*5113495bSYour Name  * cfg item
2484*5113495bSYour Name  * @psoc: psoc context
2485*5113495bSYour Name  * @value: data to be set
2486*5113495bSYour Name  *
2487*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
2488*5113495bSYour Name  *
2489*5113495bSYour Name  * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE
2490*5113495bSYour Name  */
2491*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_cfg_set_vht_tx_supp_data_rate(struct wlan_objmgr_psoc * psoc,uint32_t value)2492*5113495bSYour Name ucfg_mlme_cfg_set_vht_tx_supp_data_rate(struct wlan_objmgr_psoc *psoc,
2493*5113495bSYour Name 					uint32_t value)
2494*5113495bSYour Name {
2495*5113495bSYour Name 	return wlan_mlme_cfg_set_vht_tx_supp_data_rate(psoc, value);
2496*5113495bSYour Name }
2497*5113495bSYour Name 
2498*5113495bSYour Name /**
2499*5113495bSYour Name  * ucfg_mlme_cfg_get_vht_basic_mcs_set() - gets basic mcs set from
2500*5113495bSYour Name  * cfg item
2501*5113495bSYour Name  * @psoc: psoc context
2502*5113495bSYour Name  * @value: data to be set
2503*5113495bSYour Name  *
2504*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers to get the
2505*5113495bSYour Name  * ignore_peer_ht_opmode flag value
2506*5113495bSYour Name  *
2507*5113495bSYour Name  * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE
2508*5113495bSYour Name  */
2509*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_cfg_get_vht_basic_mcs_set(struct wlan_objmgr_psoc * psoc,uint32_t * value)2510*5113495bSYour Name ucfg_mlme_cfg_get_vht_basic_mcs_set(struct wlan_objmgr_psoc *psoc,
2511*5113495bSYour Name 				    uint32_t *value)
2512*5113495bSYour Name {
2513*5113495bSYour Name 	return wlan_mlme_cfg_get_vht_basic_mcs_set(psoc, value);
2514*5113495bSYour Name }
2515*5113495bSYour Name 
2516*5113495bSYour Name /**
2517*5113495bSYour Name  * ucfg_mlme_cfg_set_vht_basic_mcs_set() - sets basic mcs set into
2518*5113495bSYour Name  * cfg item
2519*5113495bSYour Name  * @psoc: psoc context
2520*5113495bSYour Name  * @value: data to be set
2521*5113495bSYour Name  *
2522*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers to get the
2523*5113495bSYour Name  * ignore_peer_ht_opmode flag value
2524*5113495bSYour Name  *
2525*5113495bSYour Name  * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE
2526*5113495bSYour Name  */
2527*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_cfg_set_vht_basic_mcs_set(struct wlan_objmgr_psoc * psoc,uint32_t value)2528*5113495bSYour Name ucfg_mlme_cfg_set_vht_basic_mcs_set(struct wlan_objmgr_psoc *psoc,
2529*5113495bSYour Name 				    uint32_t value)
2530*5113495bSYour Name {
2531*5113495bSYour Name 	return wlan_mlme_cfg_set_vht_basic_mcs_set(psoc, value);
2532*5113495bSYour Name }
2533*5113495bSYour Name 
2534*5113495bSYour Name /**
2535*5113495bSYour Name  * ucfg_mlme_get_vht_enable_tx_bf() - gets enable TXBF for 20MHZ
2536*5113495bSYour Name  * for 11ac
2537*5113495bSYour Name  * @psoc: psoc context
2538*5113495bSYour Name  * @value: data to be set
2539*5113495bSYour Name  *
2540*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers to get the
2541*5113495bSYour Name  * ignore_peer_ht_opmode flag value
2542*5113495bSYour Name  *
2543*5113495bSYour Name  * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE
2544*5113495bSYour Name  */
2545*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_vht_enable_tx_bf(struct wlan_objmgr_psoc * psoc,bool * value)2546*5113495bSYour Name ucfg_mlme_get_vht_enable_tx_bf(struct wlan_objmgr_psoc *psoc, bool *value)
2547*5113495bSYour Name {
2548*5113495bSYour Name 	return wlan_mlme_get_vht_enable_tx_bf(psoc, value);
2549*5113495bSYour Name }
2550*5113495bSYour Name 
2551*5113495bSYour Name /**
2552*5113495bSYour Name  * ucfg_mlme_get_vht_tx_su_beamformer() - gets enable tx_su_beamformer
2553*5113495bSYour Name  * for 11ac
2554*5113495bSYour Name  * @psoc: psoc context
2555*5113495bSYour Name  * @value: data to be set
2556*5113495bSYour Name  *
2557*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers to get the
2558*5113495bSYour Name  * ignore_peer_ht_opmode flag value
2559*5113495bSYour Name  *
2560*5113495bSYour Name  * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE
2561*5113495bSYour Name  */
2562*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_vht_tx_su_beamformer(struct wlan_objmgr_psoc * psoc,bool * value)2563*5113495bSYour Name ucfg_mlme_get_vht_tx_su_beamformer(struct wlan_objmgr_psoc *psoc, bool *value)
2564*5113495bSYour Name {
2565*5113495bSYour Name 	return wlan_mlme_get_vht_tx_su_beamformer(psoc, value);
2566*5113495bSYour Name }
2567*5113495bSYour Name 
2568*5113495bSYour Name /**
2569*5113495bSYour Name  * ucfg_mlme_get_vht_channel_width() - gets Channel width capability
2570*5113495bSYour Name  * for 11ac
2571*5113495bSYour Name  * @psoc: psoc context
2572*5113495bSYour Name  * @value: data to be set
2573*5113495bSYour Name  *
2574*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers to get the
2575*5113495bSYour Name  * ignore_peer_ht_opmode flag value
2576*5113495bSYour Name  *
2577*5113495bSYour Name  * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE
2578*5113495bSYour Name  */
2579*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_vht_channel_width(struct wlan_objmgr_psoc * psoc,uint8_t * value)2580*5113495bSYour Name ucfg_mlme_get_vht_channel_width(struct wlan_objmgr_psoc *psoc, uint8_t *value)
2581*5113495bSYour Name {
2582*5113495bSYour Name 	return wlan_mlme_get_vht_channel_width(psoc, value);
2583*5113495bSYour Name }
2584*5113495bSYour Name 
2585*5113495bSYour Name /**
2586*5113495bSYour Name  * ucfg_mlme_get_vht_rx_mcs_8_9() - VHT Rx MCS capability for 1x1 mode
2587*5113495bSYour Name  * for 11ac
2588*5113495bSYour Name  * @psoc: psoc context
2589*5113495bSYour Name  * @value: data to be set
2590*5113495bSYour Name  *
2591*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers to get the
2592*5113495bSYour Name  * ignore_peer_ht_opmode flag value
2593*5113495bSYour Name  *
2594*5113495bSYour Name  * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE
2595*5113495bSYour Name  */
2596*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_vht_rx_mcs_8_9(struct wlan_objmgr_psoc * psoc,uint8_t * value)2597*5113495bSYour Name ucfg_mlme_get_vht_rx_mcs_8_9(struct wlan_objmgr_psoc *psoc, uint8_t *value)
2598*5113495bSYour Name {
2599*5113495bSYour Name 	return wlan_mlme_get_vht_rx_mcs_8_9(psoc, value);
2600*5113495bSYour Name }
2601*5113495bSYour Name 
2602*5113495bSYour Name /**
2603*5113495bSYour Name  * ucfg_mlme_get_vht_tx_mcs_8_9() - VHT Tx MCS capability for 1x1 mode
2604*5113495bSYour Name  * for 11ac
2605*5113495bSYour Name  * @psoc: psoc context
2606*5113495bSYour Name  * @value: data to be set
2607*5113495bSYour Name  *
2608*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers to get the
2609*5113495bSYour Name  * ignore_peer_ht_opmode flag value
2610*5113495bSYour Name  *
2611*5113495bSYour Name  * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE
2612*5113495bSYour Name  */
2613*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_vht_tx_mcs_8_9(struct wlan_objmgr_psoc * psoc,uint8_t * value)2614*5113495bSYour Name ucfg_mlme_get_vht_tx_mcs_8_9(struct wlan_objmgr_psoc *psoc, uint8_t *value)
2615*5113495bSYour Name {
2616*5113495bSYour Name 	return wlan_mlme_get_vht_tx_mcs_8_9(psoc, value);
2617*5113495bSYour Name }
2618*5113495bSYour Name 
2619*5113495bSYour Name /**
2620*5113495bSYour Name  * ucfg_mlme_get_vht_rx_mcs_2x2() - VHT Rx MCS capability for 2x2 mode
2621*5113495bSYour Name  * for 11ac
2622*5113495bSYour Name  * @psoc: psoc context
2623*5113495bSYour Name  * @value: data to be set
2624*5113495bSYour Name  *
2625*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers to get the
2626*5113495bSYour Name  * ignore_peer_ht_opmode flag value
2627*5113495bSYour Name  *
2628*5113495bSYour Name  * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE
2629*5113495bSYour Name  */
2630*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_vht_rx_mcs_2x2(struct wlan_objmgr_psoc * psoc,uint8_t * value)2631*5113495bSYour Name ucfg_mlme_get_vht_rx_mcs_2x2(struct wlan_objmgr_psoc *psoc, uint8_t *value)
2632*5113495bSYour Name {
2633*5113495bSYour Name 	return wlan_mlme_get_vht_rx_mcs_2x2(psoc, value);
2634*5113495bSYour Name }
2635*5113495bSYour Name 
2636*5113495bSYour Name /**
2637*5113495bSYour Name  * ucfg_mlme_get_vht_tx_mcs_2x2() - VHT Tx MCS capability for 2x2 mode
2638*5113495bSYour Name  * for 11ac
2639*5113495bSYour Name  * @psoc: psoc context
2640*5113495bSYour Name  * @value: data to be set
2641*5113495bSYour Name  *
2642*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers to get the
2643*5113495bSYour Name  * ignore_peer_ht_opmode flag value
2644*5113495bSYour Name  *
2645*5113495bSYour Name  * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE
2646*5113495bSYour Name  */
2647*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_vht_tx_mcs_2x2(struct wlan_objmgr_psoc * psoc,uint8_t * value)2648*5113495bSYour Name ucfg_mlme_get_vht_tx_mcs_2x2(struct wlan_objmgr_psoc *psoc, uint8_t *value)
2649*5113495bSYour Name {
2650*5113495bSYour Name 	return wlan_mlme_get_vht_tx_mcs_2x2(psoc, value);
2651*5113495bSYour Name }
2652*5113495bSYour Name 
2653*5113495bSYour Name /**
2654*5113495bSYour Name  * ucfg_mlme_peer_get_assoc_rsp_ies() - Get assoc response sent to peer
2655*5113495bSYour Name  * @peer: WLAN peer objmgr
2656*5113495bSYour Name  * @ie_buf: Pointer to IE buffer
2657*5113495bSYour Name  * @ie_len: Length of the IE buffer
2658*5113495bSYour Name  *
2659*5113495bSYour Name  * This API is used to get the assoc response sent to peer
2660*5113495bSYour Name  * as part of association.
2661*5113495bSYour Name  * Caller to hold reference for peer.
2662*5113495bSYour Name  *
2663*5113495bSYour Name  * Return: QDF_STATUS
2664*5113495bSYour Name  */
2665*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_peer_get_assoc_rsp_ies(struct wlan_objmgr_peer * peer,const uint8_t ** ie_buf,size_t * ie_len)2666*5113495bSYour Name ucfg_mlme_peer_get_assoc_rsp_ies(struct wlan_objmgr_peer *peer,
2667*5113495bSYour Name 				 const uint8_t **ie_buf,
2668*5113495bSYour Name 				 size_t *ie_len)
2669*5113495bSYour Name {
2670*5113495bSYour Name 	return wlan_mlme_peer_get_assoc_rsp_ies(peer, ie_buf, ie_len);
2671*5113495bSYour Name }
2672*5113495bSYour Name 
2673*5113495bSYour Name /**
2674*5113495bSYour Name  * ucfg_mlme_get_ini_vdev_config() - get the ini capability of vdev
2675*5113495bSYour Name  * @vdev: pointer to the vdev obj
2676*5113495bSYour Name  *
2677*5113495bSYour Name  * This API will get the ini config of the vdev related to
2678*5113495bSYour Name  * the nss, chains params
2679*5113495bSYour Name  *
2680*5113495bSYour Name  * Return: pointer to the nss, chain param ini cfg structure
2681*5113495bSYour Name  */
2682*5113495bSYour Name static inline struct wlan_mlme_nss_chains *
ucfg_mlme_get_ini_vdev_config(struct wlan_objmgr_vdev * vdev)2683*5113495bSYour Name ucfg_mlme_get_ini_vdev_config(struct wlan_objmgr_vdev *vdev)
2684*5113495bSYour Name {
2685*5113495bSYour Name 	return mlme_get_ini_vdev_config(vdev);
2686*5113495bSYour Name }
2687*5113495bSYour Name 
2688*5113495bSYour Name /**
2689*5113495bSYour Name  * ucfg_mlme_get_dynamic_vdev_config() - get the dynamic capability of vdev
2690*5113495bSYour Name  * @vdev: pointer to the vdev obj
2691*5113495bSYour Name  *
2692*5113495bSYour Name  * This API will get the dynamic config of the vdev related to nss,
2693*5113495bSYour Name  * chains params
2694*5113495bSYour Name  *
2695*5113495bSYour Name  * Return: pointer to the nss, chain param dynamic cfg structure
2696*5113495bSYour Name  */
2697*5113495bSYour Name static inline struct wlan_mlme_nss_chains *
ucfg_mlme_get_dynamic_vdev_config(struct wlan_objmgr_vdev * vdev)2698*5113495bSYour Name ucfg_mlme_get_dynamic_vdev_config(struct wlan_objmgr_vdev *vdev)
2699*5113495bSYour Name {
2700*5113495bSYour Name 	return mlme_get_dynamic_vdev_config(vdev);
2701*5113495bSYour Name }
2702*5113495bSYour Name 
2703*5113495bSYour Name /**
2704*5113495bSYour Name  * ucfg_mlme_get_vht20_mcs9() - Enables VHT MCS9 in 20M BW operation
2705*5113495bSYour Name  * @psoc: psoc context
2706*5113495bSYour Name  * @value: data to be set
2707*5113495bSYour Name  *
2708*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers to get the
2709*5113495bSYour Name  * ignore_peer_ht_opmode flag value
2710*5113495bSYour Name  *
2711*5113495bSYour Name  * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE
2712*5113495bSYour Name  */
2713*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_vht20_mcs9(struct wlan_objmgr_psoc * psoc,bool * value)2714*5113495bSYour Name ucfg_mlme_get_vht20_mcs9(struct wlan_objmgr_psoc *psoc, bool *value)
2715*5113495bSYour Name {
2716*5113495bSYour Name 	return wlan_mlme_get_vht20_mcs9(psoc, value);
2717*5113495bSYour Name }
2718*5113495bSYour Name 
2719*5113495bSYour Name /**
2720*5113495bSYour Name  * ucfg_mlme_get_enable_dynamic_nss_chains_cfg() - API to get whether dynamic
2721*5113495bSYour Name  * nss and chain config is enabled or not
2722*5113495bSYour Name  * @psoc: psoc context
2723*5113495bSYour Name  * @value: data to be set
2724*5113495bSYour Name  *
2725*5113495bSYour Name  * API to get whether dynamic nss and chain config is enabled or not
2726*5113495bSYour Name  *
2727*5113495bSYour Name  * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE
2728*5113495bSYour Name  */
2729*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_enable_dynamic_nss_chains_cfg(struct wlan_objmgr_psoc * psoc,bool * value)2730*5113495bSYour Name ucfg_mlme_get_enable_dynamic_nss_chains_cfg(struct wlan_objmgr_psoc *psoc,
2731*5113495bSYour Name 					    bool *value)
2732*5113495bSYour Name {
2733*5113495bSYour Name 	return wlan_mlme_get_enable_dynamic_nss_chains_cfg(psoc, value);
2734*5113495bSYour Name }
2735*5113495bSYour Name 
2736*5113495bSYour Name /**
2737*5113495bSYour Name  * ucfg_mlme_get_restart_sap_on_dynamic_nss_chains_cfg() - API to get whether
2738*5113495bSYour Name  * SAP needs to be restarted or not on dynamic nss chain config
2739*5113495bSYour Name  * @psoc: psoc context
2740*5113495bSYour Name  * @value: data to be set
2741*5113495bSYour Name  *
2742*5113495bSYour Name  * API to get whether SAP needs to be restarted or not on dynamic nss chain
2743*5113495bSYour Name  * config
2744*5113495bSYour Name  *
2745*5113495bSYour Name  * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE
2746*5113495bSYour Name  */
2747*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_restart_sap_on_dynamic_nss_chains_cfg(struct wlan_objmgr_psoc * psoc,bool * value)2748*5113495bSYour Name ucfg_mlme_get_restart_sap_on_dynamic_nss_chains_cfg(
2749*5113495bSYour Name 					struct wlan_objmgr_psoc *psoc,
2750*5113495bSYour Name 					bool *value)
2751*5113495bSYour Name {
2752*5113495bSYour Name 	return wlan_mlme_get_restart_sap_on_dynamic_nss_chains_cfg(psoc, value);
2753*5113495bSYour Name }
2754*5113495bSYour Name 
2755*5113495bSYour Name /**
2756*5113495bSYour Name  * ucfg_mlme_update_dynamic_nss_chains_support() - API to update
2757*5113495bSYour Name  * dynamic_nss_chains_support
2758*5113495bSYour Name  *
2759*5113495bSYour Name  * @psoc: psoc context
2760*5113495bSYour Name  * @val: data to be set
2761*5113495bSYour Name  *
2762*5113495bSYour Name  * API is used to update dynamic_nss_chains_support flag in wlan_mlme_cfg
2763*5113495bSYour Name  * to maintain this value in mlme context
2764*5113495bSYour Name  *
2765*5113495bSYour Name  * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE
2766*5113495bSYour Name  */
2767*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_update_dynamic_nss_chains_support(struct wlan_objmgr_psoc * psoc,bool val)2768*5113495bSYour Name ucfg_mlme_update_dynamic_nss_chains_support(struct wlan_objmgr_psoc *psoc,
2769*5113495bSYour Name 					    bool val)
2770*5113495bSYour Name {
2771*5113495bSYour Name 	return wlan_mlme_cfg_set_dynamic_nss_chains_support(psoc, val);
2772*5113495bSYour Name }
2773*5113495bSYour Name 
2774*5113495bSYour Name /**
2775*5113495bSYour Name  * ucfg_mlme_get_sta_num_tx_chains() - UCFG API to get station num tx chains
2776*5113495bSYour Name  *
2777*5113495bSYour Name  * @psoc: psoc context
2778*5113495bSYour Name  * @vdev: pointer to vdev
2779*5113495bSYour Name  * @tx_chains : tx_chains out parameter
2780*5113495bSYour Name  *
2781*5113495bSYour Name  * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE
2782*5113495bSYour Name  */
2783*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_sta_num_tx_chains(struct wlan_objmgr_psoc * psoc,struct wlan_objmgr_vdev * vdev,uint8_t * tx_chains)2784*5113495bSYour Name ucfg_mlme_get_sta_num_tx_chains(struct wlan_objmgr_psoc *psoc,
2785*5113495bSYour Name 				struct wlan_objmgr_vdev *vdev,
2786*5113495bSYour Name 				uint8_t *tx_chains)
2787*5113495bSYour Name {
2788*5113495bSYour Name 	return wlan_mlme_get_sta_num_tx_chains(psoc, vdev, tx_chains);
2789*5113495bSYour Name }
2790*5113495bSYour Name 
2791*5113495bSYour Name /**
2792*5113495bSYour Name  * ucfg_mlme_get_sta_num_rx_chains() - UCFG API to get station num rx chains
2793*5113495bSYour Name  *
2794*5113495bSYour Name  * @psoc: psoc context
2795*5113495bSYour Name  * @vdev: pointer to vdev
2796*5113495bSYour Name  * @rx_chains : rx_chains out parameter
2797*5113495bSYour Name  *
2798*5113495bSYour Name  * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE
2799*5113495bSYour Name  */
2800*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_sta_num_rx_chains(struct wlan_objmgr_psoc * psoc,struct wlan_objmgr_vdev * vdev,uint8_t * rx_chains)2801*5113495bSYour Name ucfg_mlme_get_sta_num_rx_chains(struct wlan_objmgr_psoc *psoc,
2802*5113495bSYour Name 				struct wlan_objmgr_vdev *vdev,
2803*5113495bSYour Name 				uint8_t *rx_chains)
2804*5113495bSYour Name {
2805*5113495bSYour Name 	return wlan_mlme_get_sta_num_rx_chains(psoc, vdev, rx_chains);
2806*5113495bSYour Name }
2807*5113495bSYour Name 
2808*5113495bSYour Name /**
2809*5113495bSYour Name  * ucfg_mlme_get_sta_tx_nss() - UCFG API to get station tx NSS
2810*5113495bSYour Name  *
2811*5113495bSYour Name  * @psoc: psoc context
2812*5113495bSYour Name  * @vdev: pointer to vdev
2813*5113495bSYour Name  * @tx_nss : tx_nss out parameter
2814*5113495bSYour Name  *
2815*5113495bSYour Name  * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE
2816*5113495bSYour Name  */
2817*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_sta_tx_nss(struct wlan_objmgr_psoc * psoc,struct wlan_objmgr_vdev * vdev,uint8_t * tx_nss)2818*5113495bSYour Name ucfg_mlme_get_sta_tx_nss(struct wlan_objmgr_psoc *psoc,
2819*5113495bSYour Name 			 struct wlan_objmgr_vdev *vdev, uint8_t *tx_nss)
2820*5113495bSYour Name {
2821*5113495bSYour Name 	return wlan_mlme_get_sta_tx_nss(psoc, vdev, tx_nss);
2822*5113495bSYour Name }
2823*5113495bSYour Name 
2824*5113495bSYour Name /**
2825*5113495bSYour Name  * ucfg_mlme_get_sta_rx_nss() - UCFG API to get station rx NSS
2826*5113495bSYour Name  *
2827*5113495bSYour Name  * @psoc: psoc context
2828*5113495bSYour Name  * @vdev: pointer to vdev
2829*5113495bSYour Name  * @rx_nss : rx_nss out parameter
2830*5113495bSYour Name  *
2831*5113495bSYour Name  * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE
2832*5113495bSYour Name  */
2833*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_sta_rx_nss(struct wlan_objmgr_psoc * psoc,struct wlan_objmgr_vdev * vdev,uint8_t * rx_nss)2834*5113495bSYour Name ucfg_mlme_get_sta_rx_nss(struct wlan_objmgr_psoc *psoc,
2835*5113495bSYour Name 			 struct wlan_objmgr_vdev *vdev,
2836*5113495bSYour Name 			 uint8_t *rx_nss)
2837*5113495bSYour Name {
2838*5113495bSYour Name 	return wlan_mlme_get_sta_rx_nss(psoc, vdev, rx_nss);
2839*5113495bSYour Name }
2840*5113495bSYour Name 
2841*5113495bSYour Name /**
2842*5113495bSYour Name  * ucfg_mlme_get_vht_enable2x2() - Enables/disables VHT Tx/Rx MCS values for 2x2
2843*5113495bSYour Name  * @psoc: psoc context
2844*5113495bSYour Name  * @value: data to be set
2845*5113495bSYour Name  *
2846*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers to get the
2847*5113495bSYour Name  * ignore_peer_ht_opmode flag value
2848*5113495bSYour Name  *
2849*5113495bSYour Name  * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE
2850*5113495bSYour Name  */
2851*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_vht_enable2x2(struct wlan_objmgr_psoc * psoc,bool * value)2852*5113495bSYour Name ucfg_mlme_get_vht_enable2x2(struct wlan_objmgr_psoc *psoc, bool *value)
2853*5113495bSYour Name {
2854*5113495bSYour Name 	return wlan_mlme_get_vht_enable2x2(psoc, value);
2855*5113495bSYour Name }
2856*5113495bSYour Name 
2857*5113495bSYour Name /**
2858*5113495bSYour Name  * ucfg_mlme_get_force_sap_enabled() - Get the value of force SAP enabled
2859*5113495bSYour Name  * @psoc: psoc context
2860*5113495bSYour Name  * @value: data to get
2861*5113495bSYour Name  *
2862*5113495bSYour Name  * Get the value of force SAP enabled
2863*5113495bSYour Name  *
2864*5113495bSYour Name  * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE
2865*5113495bSYour Name  */
2866*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_force_sap_enabled(struct wlan_objmgr_psoc * psoc,bool * value)2867*5113495bSYour Name ucfg_mlme_get_force_sap_enabled(struct wlan_objmgr_psoc *psoc, bool *value)
2868*5113495bSYour Name {
2869*5113495bSYour Name 	return wlan_mlme_get_force_sap_enabled(psoc, value);
2870*5113495bSYour Name }
2871*5113495bSYour Name 
2872*5113495bSYour Name /**
2873*5113495bSYour Name  * ucfg_mlme_set_vht_enable2x2() - Enables/disables VHT Tx/Rx MCS values for 2x2
2874*5113495bSYour Name  * @psoc: psoc context
2875*5113495bSYour Name  * @value: data to be set
2876*5113495bSYour Name  *
2877*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers to get the
2878*5113495bSYour Name  * ignore_peer_ht_opmode flag value
2879*5113495bSYour Name  *
2880*5113495bSYour Name  * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE
2881*5113495bSYour Name  */
2882*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_set_vht_enable2x2(struct wlan_objmgr_psoc * psoc,bool value)2883*5113495bSYour Name ucfg_mlme_set_vht_enable2x2(struct wlan_objmgr_psoc *psoc, bool value)
2884*5113495bSYour Name {
2885*5113495bSYour Name 	return wlan_mlme_set_vht_enable2x2(psoc, value);
2886*5113495bSYour Name }
2887*5113495bSYour Name 
2888*5113495bSYour Name /**
2889*5113495bSYour Name  * ucfg_mlme_get_vht_enable_paid() - Enables/disables paid feature
2890*5113495bSYour Name  * @psoc: psoc context
2891*5113495bSYour Name  * @value: data to be set
2892*5113495bSYour Name  *
2893*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers to get the
2894*5113495bSYour Name  * ignore_peer_ht_opmode flag value
2895*5113495bSYour Name  *
2896*5113495bSYour Name  * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE
2897*5113495bSYour Name  */
2898*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_vht_enable_paid(struct wlan_objmgr_psoc * psoc,bool * value)2899*5113495bSYour Name ucfg_mlme_get_vht_enable_paid(struct wlan_objmgr_psoc *psoc, bool *value)
2900*5113495bSYour Name {
2901*5113495bSYour Name 	return wlan_mlme_get_vht_enable_paid(psoc, value);
2902*5113495bSYour Name }
2903*5113495bSYour Name 
2904*5113495bSYour Name /**
2905*5113495bSYour Name  * ucfg_mlme_get_vht_enable_gid() - Enables/disables gid feature
2906*5113495bSYour Name  * @psoc: psoc context
2907*5113495bSYour Name  * @value: data to be set
2908*5113495bSYour Name  *
2909*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers to get the
2910*5113495bSYour Name  * ignore_peer_ht_opmode flag value
2911*5113495bSYour Name  *
2912*5113495bSYour Name  * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE
2913*5113495bSYour Name  */
2914*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_vht_enable_gid(struct wlan_objmgr_psoc * psoc,bool * value)2915*5113495bSYour Name ucfg_mlme_get_vht_enable_gid(struct wlan_objmgr_psoc *psoc, bool *value)
2916*5113495bSYour Name {
2917*5113495bSYour Name 	return wlan_mlme_get_vht_enable_gid(psoc, value);
2918*5113495bSYour Name }
2919*5113495bSYour Name 
2920*5113495bSYour Name /**
2921*5113495bSYour Name  * ucfg_mlme_get_vht_for_24ghz() - Get mlme cfg of vht for 24ghz
2922*5113495bSYour Name  * @psoc: psoc context
2923*5113495bSYour Name  * @value: data to get
2924*5113495bSYour Name  *
2925*5113495bSYour Name  * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE
2926*5113495bSYour Name  */
2927*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_vht_for_24ghz(struct wlan_objmgr_psoc * psoc,bool * value)2928*5113495bSYour Name ucfg_mlme_get_vht_for_24ghz(struct wlan_objmgr_psoc *psoc, bool *value)
2929*5113495bSYour Name {
2930*5113495bSYour Name 	return wlan_mlme_get_vht_for_24ghz(psoc, value);
2931*5113495bSYour Name }
2932*5113495bSYour Name 
2933*5113495bSYour Name /**
2934*5113495bSYour Name  * ucfg_mlme_set_vht_for_24ghz() - Enables/disables vht for 24ghz
2935*5113495bSYour Name  * @psoc: psoc context
2936*5113495bSYour Name  * @value: data to be set
2937*5113495bSYour Name  *
2938*5113495bSYour Name  * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE
2939*5113495bSYour Name  */
2940*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_set_vht_for_24ghz(struct wlan_objmgr_psoc * psoc,bool value)2941*5113495bSYour Name ucfg_mlme_set_vht_for_24ghz(struct wlan_objmgr_psoc *psoc, bool value)
2942*5113495bSYour Name {
2943*5113495bSYour Name 	return wlan_mlme_set_vht_for_24ghz(psoc, value);
2944*5113495bSYour Name }
2945*5113495bSYour Name 
2946*5113495bSYour Name /**
2947*5113495bSYour Name  * ucfg_mlme_get_vendor_vht_for_24ghz() - Get mlme cfg of vendor vht for 24ghz
2948*5113495bSYour Name  * @psoc: psoc context
2949*5113495bSYour Name  * @value: data to be set
2950*5113495bSYour Name  *
2951*5113495bSYour Name  * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE
2952*5113495bSYour Name  */
2953*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_vendor_vht_for_24ghz(struct wlan_objmgr_psoc * psoc,bool * value)2954*5113495bSYour Name ucfg_mlme_get_vendor_vht_for_24ghz(struct wlan_objmgr_psoc *psoc, bool *value)
2955*5113495bSYour Name {
2956*5113495bSYour Name 	return wlan_mlme_get_vendor_vht_for_24ghz(psoc, value);
2957*5113495bSYour Name }
2958*5113495bSYour Name 
2959*5113495bSYour Name /**
2960*5113495bSYour Name  * ucfg_mlme_update_vht_cap() - Update vht capabilities
2961*5113495bSYour Name  * @psoc: psoc context
2962*5113495bSYour Name  * @cfg: data to be set
2963*5113495bSYour Name  *
2964*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers to get the
2965*5113495bSYour Name  * ignore_peer_ht_opmode flag value
2966*5113495bSYour Name  *
2967*5113495bSYour Name  * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE
2968*5113495bSYour Name  */
2969*5113495bSYour Name static inline
ucfg_mlme_update_vht_cap(struct wlan_objmgr_psoc * psoc,struct wma_tgt_vht_cap * cfg)2970*5113495bSYour Name QDF_STATUS ucfg_mlme_update_vht_cap(struct wlan_objmgr_psoc *psoc,
2971*5113495bSYour Name 				    struct wma_tgt_vht_cap *cfg)
2972*5113495bSYour Name {
2973*5113495bSYour Name 	return mlme_update_vht_cap(psoc, cfg);
2974*5113495bSYour Name }
2975*5113495bSYour Name 
2976*5113495bSYour Name /**
2977*5113495bSYour Name  * ucfg_mlme_update_nss_vht_cap() - Update the number of spatial
2978*5113495bSYour Name  *                                  streams supported for vht
2979*5113495bSYour Name  * @psoc: psoc context
2980*5113495bSYour Name  *
2981*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers to get the
2982*5113495bSYour Name  * ignore_peer_ht_opmode flag value
2983*5113495bSYour Name  *
2984*5113495bSYour Name  * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE
2985*5113495bSYour Name  */
2986*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_update_nss_vht_cap(struct wlan_objmgr_psoc * psoc)2987*5113495bSYour Name ucfg_mlme_update_nss_vht_cap(struct wlan_objmgr_psoc *psoc)
2988*5113495bSYour Name {
2989*5113495bSYour Name 	return mlme_update_nss_vht_cap(psoc);
2990*5113495bSYour Name }
2991*5113495bSYour Name 
2992*5113495bSYour Name /**
2993*5113495bSYour Name  * ucfg_mlme_is_11h_enabled() - Get 11h flag
2994*5113495bSYour Name  * @psoc: pointer to psoc object
2995*5113495bSYour Name  * @value: Value that needs to be set from the caller
2996*5113495bSYour Name  *
2997*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
2998*5113495bSYour Name  *
2999*5113495bSYour Name  * Return: QDF Status
3000*5113495bSYour Name  */
3001*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_is_11h_enabled(struct wlan_objmgr_psoc * psoc,bool * value)3002*5113495bSYour Name ucfg_mlme_is_11h_enabled(struct wlan_objmgr_psoc *psoc, bool *value)
3003*5113495bSYour Name {
3004*5113495bSYour Name 	return wlan_mlme_is_11h_enabled(psoc, value);
3005*5113495bSYour Name }
3006*5113495bSYour Name 
3007*5113495bSYour Name /**
3008*5113495bSYour Name  * ucfg_mlme_set_11h_enabled() - Set 11h flag
3009*5113495bSYour Name  * @psoc: pointer to psoc object
3010*5113495bSYour Name  * @value: Value that needs to be set from the caller
3011*5113495bSYour Name  *
3012*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
3013*5113495bSYour Name  *
3014*5113495bSYour Name  * Return: QDF Status
3015*5113495bSYour Name  */
3016*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_set_11h_enabled(struct wlan_objmgr_psoc * psoc,bool value)3017*5113495bSYour Name ucfg_mlme_set_11h_enabled(struct wlan_objmgr_psoc *psoc, bool value)
3018*5113495bSYour Name {
3019*5113495bSYour Name 	return wlan_mlme_set_11h_enabled(psoc, value);
3020*5113495bSYour Name }
3021*5113495bSYour Name 
3022*5113495bSYour Name /**
3023*5113495bSYour Name  * ucfg_mlme_is_11d_enabled() - Get 11d flag
3024*5113495bSYour Name  * @psoc: pointer to psoc object
3025*5113495bSYour Name  * @value: Value that needs to be set from the caller
3026*5113495bSYour Name  *
3027*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
3028*5113495bSYour Name  *
3029*5113495bSYour Name  * Return: QDF Status
3030*5113495bSYour Name  */
3031*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_is_11d_enabled(struct wlan_objmgr_psoc * psoc,bool * value)3032*5113495bSYour Name ucfg_mlme_is_11d_enabled(struct wlan_objmgr_psoc *psoc, bool *value)
3033*5113495bSYour Name {
3034*5113495bSYour Name 	return wlan_mlme_is_11d_enabled(psoc, value);
3035*5113495bSYour Name }
3036*5113495bSYour Name 
3037*5113495bSYour Name /**
3038*5113495bSYour Name  * ucfg_mlme_set_11d_enabled() - Set 11d flag
3039*5113495bSYour Name  * @psoc: pointer to psoc object
3040*5113495bSYour Name  * @value: Value that needs to be set from the caller
3041*5113495bSYour Name  *
3042*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
3043*5113495bSYour Name  *
3044*5113495bSYour Name  * Return: QDF Status
3045*5113495bSYour Name  */
3046*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_set_11d_enabled(struct wlan_objmgr_psoc * psoc,bool value)3047*5113495bSYour Name ucfg_mlme_set_11d_enabled(struct wlan_objmgr_psoc *psoc, bool value)
3048*5113495bSYour Name {
3049*5113495bSYour Name 	return wlan_mlme_set_11d_enabled(psoc, value);
3050*5113495bSYour Name }
3051*5113495bSYour Name 
3052*5113495bSYour Name /**
3053*5113495bSYour Name  * ucfg_mlme_is_rf_test_mode_enabled() - Get rf test mode flag
3054*5113495bSYour Name  * @psoc: pointer to psoc object
3055*5113495bSYour Name  * @value: Value that needs to be set from the caller
3056*5113495bSYour Name  *
3057*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
3058*5113495bSYour Name  *
3059*5113495bSYour Name  * Return: QDF Status
3060*5113495bSYour Name  */
3061*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_is_rf_test_mode_enabled(struct wlan_objmgr_psoc * psoc,bool * value)3062*5113495bSYour Name ucfg_mlme_is_rf_test_mode_enabled(struct wlan_objmgr_psoc *psoc, bool *value)
3063*5113495bSYour Name {
3064*5113495bSYour Name 	return wlan_mlme_is_rf_test_mode_enabled(psoc, value);
3065*5113495bSYour Name }
3066*5113495bSYour Name 
3067*5113495bSYour Name /**
3068*5113495bSYour Name  * ucfg_mlme_set_rf_test_mode_enabled() - Set rf test mode flag
3069*5113495bSYour Name  * @psoc: pointer to psoc object
3070*5113495bSYour Name  * @value: Value that needs to be set from the caller
3071*5113495bSYour Name  *
3072*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
3073*5113495bSYour Name  *
3074*5113495bSYour Name  * Return: QDF Status
3075*5113495bSYour Name  */
3076*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_set_rf_test_mode_enabled(struct wlan_objmgr_psoc * psoc,bool value)3077*5113495bSYour Name ucfg_mlme_set_rf_test_mode_enabled(struct wlan_objmgr_psoc *psoc, bool value)
3078*5113495bSYour Name {
3079*5113495bSYour Name 	return wlan_mlme_set_rf_test_mode_enabled(psoc, value);
3080*5113495bSYour Name }
3081*5113495bSYour Name 
3082*5113495bSYour Name /**
3083*5113495bSYour Name  * ucfg_mlme_is_disable_vlp_sta_conn_to_sp_ap_enabled() - Get disable vlp sta
3084*5113495bSYour Name  *                                                        conn to sp ap flag
3085*5113495bSYour Name  * @psoc: pointer to psoc object
3086*5113495bSYour Name  * @value: pointer to hold the value of flag
3087*5113495bSYour Name  *
3088*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
3089*5113495bSYour Name  *
3090*5113495bSYour Name  * Return: QDF Status
3091*5113495bSYour Name  */
3092*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_is_disable_vlp_sta_conn_to_sp_ap_enabled(struct wlan_objmgr_psoc * psoc,bool * value)3093*5113495bSYour Name ucfg_mlme_is_disable_vlp_sta_conn_to_sp_ap_enabled(
3094*5113495bSYour Name 						struct wlan_objmgr_psoc *psoc,
3095*5113495bSYour Name 						bool *value)
3096*5113495bSYour Name {
3097*5113495bSYour Name 	return wlan_mlme_is_disable_vlp_sta_conn_to_sp_ap_enabled(psoc, value);
3098*5113495bSYour Name }
3099*5113495bSYour Name 
3100*5113495bSYour Name /**
3101*5113495bSYour Name  * ucfg_mlme_is_standard_6ghz_conn_policy_enabled() - Get 6ghz standard
3102*5113495bSYour Name  *                                                    connection policy flag
3103*5113495bSYour Name  * @psoc: pointer to psoc object
3104*5113495bSYour Name  * @value: pointer to hold the value of flag
3105*5113495bSYour Name  *
3106*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
3107*5113495bSYour Name  *
3108*5113495bSYour Name  * Return: QDF Status
3109*5113495bSYour Name  */
3110*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_is_standard_6ghz_conn_policy_enabled(struct wlan_objmgr_psoc * psoc,bool * value)3111*5113495bSYour Name ucfg_mlme_is_standard_6ghz_conn_policy_enabled(struct wlan_objmgr_psoc *psoc,
3112*5113495bSYour Name 					       bool *value)
3113*5113495bSYour Name {
3114*5113495bSYour Name 	return wlan_mlme_is_standard_6ghz_conn_policy_enabled(psoc, value);
3115*5113495bSYour Name }
3116*5113495bSYour Name 
3117*5113495bSYour Name /**
3118*5113495bSYour Name  * ucfg_mlme_set_eht_mode() - Set EHT mode of operation
3119*5113495bSYour Name  * @psoc: pointer to psoc object
3120*5113495bSYour Name  * @value: EHT mode value that needs to be set from the caller
3121*5113495bSYour Name  *
3122*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
3123*5113495bSYour Name  *
3124*5113495bSYour Name  * Return: QDF Status
3125*5113495bSYour Name  */
3126*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_set_eht_mode(struct wlan_objmgr_psoc * psoc,enum wlan_eht_mode value)3127*5113495bSYour Name ucfg_mlme_set_eht_mode(struct wlan_objmgr_psoc *psoc, enum wlan_eht_mode value)
3128*5113495bSYour Name {
3129*5113495bSYour Name 	return wlan_mlme_set_eht_mode(psoc, value);
3130*5113495bSYour Name }
3131*5113495bSYour Name 
3132*5113495bSYour Name /**
3133*5113495bSYour Name  * ucfg_mlme_get_eht_mode() - Get EHT mode of operation
3134*5113495bSYour Name  * @psoc: pointer to psoc object
3135*5113495bSYour Name  * @value: EHT mode value that is set by the user
3136*5113495bSYour Name  *
3137*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
3138*5113495bSYour Name  *
3139*5113495bSYour Name  * Return: QDF Status
3140*5113495bSYour Name  */
3141*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_eht_mode(struct wlan_objmgr_psoc * psoc,enum wlan_eht_mode * value)3142*5113495bSYour Name ucfg_mlme_get_eht_mode(struct wlan_objmgr_psoc *psoc, enum wlan_eht_mode *value)
3143*5113495bSYour Name {
3144*5113495bSYour Name 	return wlan_mlme_get_eht_mode(psoc, value);
3145*5113495bSYour Name }
3146*5113495bSYour Name 
3147*5113495bSYour Name /**
3148*5113495bSYour Name  * ucfg_mlme_is_multipass_sap() - check whether FW supports
3149*5113495bSYour Name  * multipass sap capabilities
3150*5113495bSYour Name  * @psoc: pointer to psoc object
3151*5113495bSYour Name  *
3152*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
3153*5113495bSYour Name  *
3154*5113495bSYour Name  * Return: True if FW support mulitpass sap
3155*5113495bSYour Name  */
3156*5113495bSYour Name static inline bool
ucfg_mlme_is_multipass_sap(struct wlan_objmgr_psoc * psoc)3157*5113495bSYour Name ucfg_mlme_is_multipass_sap(struct wlan_objmgr_psoc *psoc)
3158*5113495bSYour Name {
3159*5113495bSYour Name 	return  wlan_mlme_is_multipass_sap(psoc);
3160*5113495bSYour Name }
3161*5113495bSYour Name 
3162*5113495bSYour Name /**
3163*5113495bSYour Name  * ucfg_mlme_set_emlsr_mode_enabled() - Set eMLSR mode flag
3164*5113495bSYour Name  * @psoc: pointer to psoc object
3165*5113495bSYour Name  * @value: Value that needs to be set from the caller
3166*5113495bSYour Name  *
3167*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
3168*5113495bSYour Name  *
3169*5113495bSYour Name  * Return: QDF Status
3170*5113495bSYour Name  */
3171*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_set_emlsr_mode_enabled(struct wlan_objmgr_psoc * psoc,bool value)3172*5113495bSYour Name ucfg_mlme_set_emlsr_mode_enabled(struct wlan_objmgr_psoc *psoc, bool value)
3173*5113495bSYour Name {
3174*5113495bSYour Name 	return wlan_mlme_set_emlsr_mode_enabled(psoc, value);
3175*5113495bSYour Name }
3176*5113495bSYour Name 
3177*5113495bSYour Name /**
3178*5113495bSYour Name  * ucfg_mlme_get_emlsr_mode_enabled() - Get eMLSR mode flag
3179*5113495bSYour Name  * @psoc: pointer to psoc object
3180*5113495bSYour Name  * @value: Value that is set by the user
3181*5113495bSYour Name  *
3182*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
3183*5113495bSYour Name  *
3184*5113495bSYour Name  * Return: QDF Status
3185*5113495bSYour Name  */
3186*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_emlsr_mode_enabled(struct wlan_objmgr_psoc * psoc,bool * value)3187*5113495bSYour Name ucfg_mlme_get_emlsr_mode_enabled(struct wlan_objmgr_psoc *psoc, bool *value)
3188*5113495bSYour Name {
3189*5113495bSYour Name 	return wlan_mlme_get_emlsr_mode_enabled(psoc, value);
3190*5113495bSYour Name }
3191*5113495bSYour Name 
3192*5113495bSYour Name /**
3193*5113495bSYour Name  * ucfg_mlme_set_t2lm_negotiation_supported() - Enables/disables t2lm
3194*5113495bSYour Name  * negotiation support value
3195*5113495bSYour Name  * @psoc: psoc context
3196*5113495bSYour Name  * @value: data to be set
3197*5113495bSYour Name  *
3198*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers to set the
3199*5113495bSYour Name  * t2lm negotiation supported value
3200*5113495bSYour Name  *
3201*5113495bSYour Name  * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE
3202*5113495bSYour Name  */
3203*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_set_t2lm_negotiation_supported(struct wlan_objmgr_psoc * psoc,bool value)3204*5113495bSYour Name ucfg_mlme_set_t2lm_negotiation_supported(struct wlan_objmgr_psoc *psoc,
3205*5113495bSYour Name 					 bool value)
3206*5113495bSYour Name {
3207*5113495bSYour Name 	return wlan_mlme_set_t2lm_negotiation_supported(psoc, value);
3208*5113495bSYour Name }
3209*5113495bSYour Name 
3210*5113495bSYour Name /**
3211*5113495bSYour Name  * ucfg_mlme_get_opr_rate() - Get operational rate set
3212*5113495bSYour Name  * @vdev: pointer to vdev object
3213*5113495bSYour Name  * @buf: buffer to get rates set
3214*5113495bSYour Name  * @len: length of the buffer
3215*5113495bSYour Name  *
3216*5113495bSYour Name  * Return: length of the rates set
3217*5113495bSYour Name  */
3218*5113495bSYour Name static inline qdf_size_t
ucfg_mlme_get_opr_rate(struct wlan_objmgr_vdev * vdev,uint8_t * buf,qdf_size_t len)3219*5113495bSYour Name ucfg_mlme_get_opr_rate(struct wlan_objmgr_vdev *vdev, uint8_t *buf,
3220*5113495bSYour Name 		       qdf_size_t len)
3221*5113495bSYour Name {
3222*5113495bSYour Name 	return mlme_get_opr_rate(vdev, buf, len);
3223*5113495bSYour Name }
3224*5113495bSYour Name 
3225*5113495bSYour Name /**
3226*5113495bSYour Name  * ucfg_mlme_get_ext_opr_rate() - Get extended operational rate set
3227*5113495bSYour Name  * @vdev: pointer to vdev object
3228*5113495bSYour Name  * @buf: buffer to get rates set
3229*5113495bSYour Name  * @len: length of the buffer
3230*5113495bSYour Name  *
3231*5113495bSYour Name  * Return: length of the rates set
3232*5113495bSYour Name  */
3233*5113495bSYour Name static inline qdf_size_t
ucfg_mlme_get_ext_opr_rate(struct wlan_objmgr_vdev * vdev,uint8_t * buf,qdf_size_t len)3234*5113495bSYour Name ucfg_mlme_get_ext_opr_rate(struct wlan_objmgr_vdev *vdev, uint8_t *buf,
3235*5113495bSYour Name 			   qdf_size_t len)
3236*5113495bSYour Name {
3237*5113495bSYour Name 	return mlme_get_ext_opr_rate(vdev, buf, len);
3238*5113495bSYour Name }
3239*5113495bSYour Name 
3240*5113495bSYour Name /**
3241*5113495bSYour Name  * ucfg_mlme_get_mcs_rate() - Get MCS based rate set
3242*5113495bSYour Name  * @vdev: pointer to vdev object
3243*5113495bSYour Name  * @buf: buffer to get rates set
3244*5113495bSYour Name  * @len: length of the buffer
3245*5113495bSYour Name  *
3246*5113495bSYour Name  * Return: length of the rates set
3247*5113495bSYour Name  */
3248*5113495bSYour Name static inline qdf_size_t
ucfg_mlme_get_mcs_rate(struct wlan_objmgr_vdev * vdev,uint8_t * buf,qdf_size_t len)3249*5113495bSYour Name ucfg_mlme_get_mcs_rate(struct wlan_objmgr_vdev *vdev, uint8_t *buf,
3250*5113495bSYour Name 		       qdf_size_t len)
3251*5113495bSYour Name {
3252*5113495bSYour Name 	return mlme_get_mcs_rate(vdev, buf, len);
3253*5113495bSYour Name }
3254*5113495bSYour Name 
3255*5113495bSYour Name /**
3256*5113495bSYour Name  * ucfg_mlme_get_supported_mcs_set() - Get Supported MCS set
3257*5113495bSYour Name  * @psoc: pointer to psoc object
3258*5113495bSYour Name  * @buf:  caller buffer to copy mcs set info
3259*5113495bSYour Name  * @len: length of the buffer
3260*5113495bSYour Name  * Return: QDF Status
3261*5113495bSYour Name  */
3262*5113495bSYour Name QDF_STATUS
3263*5113495bSYour Name ucfg_mlme_get_supported_mcs_set(struct wlan_objmgr_psoc *psoc, uint8_t *buf,
3264*5113495bSYour Name 				qdf_size_t *len);
3265*5113495bSYour Name 
3266*5113495bSYour Name /**
3267*5113495bSYour Name  * ucfg_mlme_set_supported_mcs_set() - Get Supported MCS set
3268*5113495bSYour Name  * @psoc: pointer to psoc object
3269*5113495bSYour Name  * @buf: caller buffer having mcs set info
3270*5113495bSYour Name  * @len: length of the buffer
3271*5113495bSYour Name  * Return: QDF Status
3272*5113495bSYour Name  */
3273*5113495bSYour Name QDF_STATUS
3274*5113495bSYour Name ucfg_mlme_set_supported_mcs_set(struct wlan_objmgr_psoc *psoc, uint8_t *buf,
3275*5113495bSYour Name 				qdf_size_t len);
3276*5113495bSYour Name 
3277*5113495bSYour Name /**
3278*5113495bSYour Name  * ucfg_mlme_get_current_mcs_set() - Get current MCS set
3279*5113495bSYour Name  * @psoc: pointer to psoc object
3280*5113495bSYour Name  * @buf:  caller buffer to copy mcs set info
3281*5113495bSYour Name  * @len: length of the buffer
3282*5113495bSYour Name  * Return: QDF Status
3283*5113495bSYour Name  */
3284*5113495bSYour Name QDF_STATUS
3285*5113495bSYour Name ucfg_mlme_get_current_mcs_set(struct wlan_objmgr_psoc *psoc, uint8_t *buf,
3286*5113495bSYour Name 			      qdf_size_t *len);
3287*5113495bSYour Name 
3288*5113495bSYour Name /**
3289*5113495bSYour Name  * ucfg_mlme_get_sta_keepalive_method() - Get sta_keepalive_method
3290*5113495bSYour Name  * @psoc: pointer to psoc object
3291*5113495bSYour Name  * @val:  Value to pass to the caller
3292*5113495bSYour Name  *
3293*5113495bSYour Name  * Return: QDF Status
3294*5113495bSYour Name  */
3295*5113495bSYour Name QDF_STATUS
3296*5113495bSYour Name ucfg_mlme_get_sta_keepalive_method(struct wlan_objmgr_psoc *psoc,
3297*5113495bSYour Name 				   enum station_keepalive_method *val);
3298*5113495bSYour Name 
3299*5113495bSYour Name /**
3300*5113495bSYour Name  * ucfg_mlme_stats_get_periodic_display_time() - get display time
3301*5113495bSYour Name  * @psoc: pointer to psoc object
3302*5113495bSYour Name  * @periodic_display_time: buffer to hold value
3303*5113495bSYour Name  *
3304*5113495bSYour Name  * Return: QDF Status
3305*5113495bSYour Name  */
3306*5113495bSYour Name QDF_STATUS
3307*5113495bSYour Name ucfg_mlme_stats_get_periodic_display_time(struct wlan_objmgr_psoc *psoc,
3308*5113495bSYour Name 					  uint32_t *periodic_display_time);
3309*5113495bSYour Name 
3310*5113495bSYour Name /**
3311*5113495bSYour Name  * ucfg_mlme_stats_get_cfg_values() - get stats cfg values
3312*5113495bSYour Name  * @psoc: pointer to psoc object
3313*5113495bSYour Name  * @link_speed_rssi_high: link speed high limit
3314*5113495bSYour Name  * @link_speed_rssi_mid: link speed high mid
3315*5113495bSYour Name  * @link_speed_rssi_low: link speed high low
3316*5113495bSYour Name  * @link_speed_rssi_report: link speed report limit
3317*5113495bSYour Name  *
3318*5113495bSYour Name  * Return: QDF Status
3319*5113495bSYour Name  */
3320*5113495bSYour Name QDF_STATUS
3321*5113495bSYour Name ucfg_mlme_stats_get_cfg_values(struct wlan_objmgr_psoc *psoc,
3322*5113495bSYour Name 			       int *link_speed_rssi_high,
3323*5113495bSYour Name 			       int *link_speed_rssi_mid,
3324*5113495bSYour Name 			       int *link_speed_rssi_low,
3325*5113495bSYour Name 			       uint32_t *link_speed_rssi_report);
3326*5113495bSYour Name 
3327*5113495bSYour Name /**
3328*5113495bSYour Name  * ucfg_mlme_stats_is_link_speed_report_actual() - is link speed report set
3329*5113495bSYour Name  * actual
3330*5113495bSYour Name  * @psoc: pointer to psoc object
3331*5113495bSYour Name  *
3332*5113495bSYour Name  * Return: True is report set to actual
3333*5113495bSYour Name  */
3334*5113495bSYour Name bool
3335*5113495bSYour Name ucfg_mlme_stats_is_link_speed_report_actual(struct wlan_objmgr_psoc *psoc);
3336*5113495bSYour Name 
3337*5113495bSYour Name /**
3338*5113495bSYour Name  * ucfg_mlme_stats_is_link_speed_report_max() - is link speed report set max
3339*5113495bSYour Name  * @psoc: pointer to psoc object
3340*5113495bSYour Name  *
3341*5113495bSYour Name  * Return: True is report set to max
3342*5113495bSYour Name  */
3343*5113495bSYour Name bool
3344*5113495bSYour Name ucfg_mlme_stats_is_link_speed_report_max(struct wlan_objmgr_psoc *psoc);
3345*5113495bSYour Name 
3346*5113495bSYour Name /**
3347*5113495bSYour Name  * ucfg_mlme_stats_is_link_speed_report_max_scaled() - is link speed report set
3348*5113495bSYour Name  *                                                     max scaled
3349*5113495bSYour Name  * @psoc: pointer to psoc object
3350*5113495bSYour Name  *
3351*5113495bSYour Name  * Return: True is report set to max scaled
3352*5113495bSYour Name  */
3353*5113495bSYour Name bool
3354*5113495bSYour Name ucfg_mlme_stats_is_link_speed_report_max_scaled(struct wlan_objmgr_psoc *psoc);
3355*5113495bSYour Name 
3356*5113495bSYour Name /**
3357*5113495bSYour Name  * ucfg_mlme_get_tl_delayed_trgr_frm_int() - Get delay interval(in ms)
3358*5113495bSYour Name  *                                           of UAPSD auto trigger.
3359*5113495bSYour Name  * @psoc: pointer to psoc object
3360*5113495bSYour Name  * @value: Value that needs to be set from the caller
3361*5113495bSYour Name  *
3362*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
3363*5113495bSYour Name  *
3364*5113495bSYour Name  * Return: None
3365*5113495bSYour Name  */
3366*5113495bSYour Name static inline
ucfg_mlme_get_tl_delayed_trgr_frm_int(struct wlan_objmgr_psoc * psoc,uint32_t * value)3367*5113495bSYour Name void ucfg_mlme_get_tl_delayed_trgr_frm_int(struct wlan_objmgr_psoc *psoc,
3368*5113495bSYour Name 					   uint32_t *value)
3369*5113495bSYour Name {
3370*5113495bSYour Name 	wlan_mlme_get_tl_delayed_trgr_frm_int(psoc, value);
3371*5113495bSYour Name }
3372*5113495bSYour Name 
3373*5113495bSYour Name /**
3374*5113495bSYour Name  * ucfg_mlme_get_wmm_dir_ac_vi() - Get TSPEC direction for VI
3375*5113495bSYour Name  * @psoc: pointer to psoc object
3376*5113495bSYour Name  * @value: Value that needs to be set from the caller
3377*5113495bSYour Name  *
3378*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
3379*5113495bSYour Name  *
3380*5113495bSYour Name  * Return: QDF Status
3381*5113495bSYour Name  */
3382*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_wmm_dir_ac_vi(struct wlan_objmgr_psoc * psoc,uint8_t * value)3383*5113495bSYour Name ucfg_mlme_get_wmm_dir_ac_vi(struct wlan_objmgr_psoc *psoc, uint8_t *value)
3384*5113495bSYour Name {
3385*5113495bSYour Name 	return wlan_mlme_get_wmm_dir_ac_vi(psoc, value);
3386*5113495bSYour Name }
3387*5113495bSYour Name 
3388*5113495bSYour Name /**
3389*5113495bSYour Name  * ucfg_mlme_get_wmm_nom_msdu_size_ac_vi() - Get normal MSDU size for VI
3390*5113495bSYour Name  * @psoc: pointer to psoc object
3391*5113495bSYour Name  * @value: Value that needs to be set from the caller
3392*5113495bSYour Name  *
3393*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
3394*5113495bSYour Name  *
3395*5113495bSYour Name  * Return: QDF Status
3396*5113495bSYour Name  */
3397*5113495bSYour Name static inline
ucfg_mlme_get_wmm_nom_msdu_size_ac_vi(struct wlan_objmgr_psoc * psoc,uint16_t * value)3398*5113495bSYour Name QDF_STATUS ucfg_mlme_get_wmm_nom_msdu_size_ac_vi(struct wlan_objmgr_psoc *psoc,
3399*5113495bSYour Name 						 uint16_t *value)
3400*5113495bSYour Name {
3401*5113495bSYour Name 	return wlan_mlme_get_wmm_nom_msdu_size_ac_vi(psoc, value);
3402*5113495bSYour Name }
3403*5113495bSYour Name 
3404*5113495bSYour Name /**
3405*5113495bSYour Name  * ucfg_mlme_get_wmm_mean_data_rate_ac_vi() - mean data rate for VI
3406*5113495bSYour Name  * @psoc: pointer to psoc object
3407*5113495bSYour Name  * @value: Value that needs to be set from the caller
3408*5113495bSYour Name  *
3409*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
3410*5113495bSYour Name  *
3411*5113495bSYour Name  * Return: QDF Status
3412*5113495bSYour Name  */
3413*5113495bSYour Name static inline
ucfg_mlme_get_wmm_mean_data_rate_ac_vi(struct wlan_objmgr_psoc * psoc,uint32_t * value)3414*5113495bSYour Name QDF_STATUS ucfg_mlme_get_wmm_mean_data_rate_ac_vi(struct wlan_objmgr_psoc *psoc,
3415*5113495bSYour Name 						  uint32_t *value)
3416*5113495bSYour Name {
3417*5113495bSYour Name 	return wlan_mlme_get_wmm_mean_data_rate_ac_vi(psoc, value);
3418*5113495bSYour Name }
3419*5113495bSYour Name 
3420*5113495bSYour Name /**
3421*5113495bSYour Name  * ucfg_mlme_get_wmm_min_phy_rate_ac_vi() - min PHY rate for VI
3422*5113495bSYour Name  * @psoc: pointer to psoc object
3423*5113495bSYour Name  * @value: Value that needs to be set from the caller
3424*5113495bSYour Name  *
3425*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
3426*5113495bSYour Name  *
3427*5113495bSYour Name  * Return: QDF Status
3428*5113495bSYour Name  */
3429*5113495bSYour Name static inline
ucfg_mlme_get_wmm_min_phy_rate_ac_vi(struct wlan_objmgr_psoc * psoc,uint32_t * value)3430*5113495bSYour Name QDF_STATUS ucfg_mlme_get_wmm_min_phy_rate_ac_vi(struct wlan_objmgr_psoc *psoc,
3431*5113495bSYour Name 						uint32_t *value)
3432*5113495bSYour Name {
3433*5113495bSYour Name 	return wlan_mlme_get_wmm_min_phy_rate_ac_vi(psoc, value);
3434*5113495bSYour Name }
3435*5113495bSYour Name 
3436*5113495bSYour Name /**
3437*5113495bSYour Name  * ucfg_mlme_get_wmm_sba_ac_vi() - surplus bandwidth allowance for VI
3438*5113495bSYour Name  * @psoc: pointer to psoc object
3439*5113495bSYour Name  * @value: Value that needs to be set from the caller
3440*5113495bSYour Name  *
3441*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
3442*5113495bSYour Name  *
3443*5113495bSYour Name  * Return: QDF Status
3444*5113495bSYour Name  */
3445*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_wmm_sba_ac_vi(struct wlan_objmgr_psoc * psoc,uint16_t * value)3446*5113495bSYour Name ucfg_mlme_get_wmm_sba_ac_vi(struct wlan_objmgr_psoc *psoc, uint16_t *value)
3447*5113495bSYour Name {
3448*5113495bSYour Name 	return wlan_mlme_get_wmm_sba_ac_vi(psoc, value);
3449*5113495bSYour Name }
3450*5113495bSYour Name 
3451*5113495bSYour Name /**
3452*5113495bSYour Name  * ucfg_mlme_get_wmm_uapsd_vi_srv_intv() - Get Uapsd service
3453*5113495bSYour Name  *                                         interval for video
3454*5113495bSYour Name  * @psoc: pointer to psoc object
3455*5113495bSYour Name  * @value: pointer to the value which will be filled for the caller
3456*5113495bSYour Name  *
3457*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
3458*5113495bSYour Name  *
3459*5113495bSYour Name  * Return: QDF Status
3460*5113495bSYour Name  */
3461*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_wmm_uapsd_vi_srv_intv(struct wlan_objmgr_psoc * psoc,uint32_t * value)3462*5113495bSYour Name ucfg_mlme_get_wmm_uapsd_vi_srv_intv(struct wlan_objmgr_psoc *psoc,
3463*5113495bSYour Name 				    uint32_t *value)
3464*5113495bSYour Name {
3465*5113495bSYour Name 	return wlan_mlme_get_wmm_uapsd_vi_srv_intv(psoc, value);
3466*5113495bSYour Name }
3467*5113495bSYour Name 
3468*5113495bSYour Name /**
3469*5113495bSYour Name  * ucfg_mlme_get_wmm_uapsd_vi_sus_intv() - Get Uapsd suspension
3470*5113495bSYour Name  *                                         interval for video
3471*5113495bSYour Name  * @psoc: pointer to psoc object
3472*5113495bSYour Name  * @value: Value that needs to be set from the caller
3473*5113495bSYour Name  *
3474*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
3475*5113495bSYour Name  *
3476*5113495bSYour Name  * Return: QDF Status
3477*5113495bSYour Name  */
3478*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_wmm_uapsd_vi_sus_intv(struct wlan_objmgr_psoc * psoc,uint32_t * value)3479*5113495bSYour Name ucfg_mlme_get_wmm_uapsd_vi_sus_intv(struct wlan_objmgr_psoc *psoc,
3480*5113495bSYour Name 				    uint32_t *value)
3481*5113495bSYour Name {
3482*5113495bSYour Name 	return wlan_mlme_get_wmm_uapsd_vi_sus_intv(psoc, value);
3483*5113495bSYour Name }
3484*5113495bSYour Name 
3485*5113495bSYour Name /**
3486*5113495bSYour Name  * ucfg_mlme_get_wmm_dir_ac_be() - Get TSPEC direction for BE
3487*5113495bSYour Name  * @psoc: pointer to psoc object
3488*5113495bSYour Name  * @value: Value that needs to be set from the caller
3489*5113495bSYour Name  *
3490*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
3491*5113495bSYour Name  *
3492*5113495bSYour Name  * Return: QDF Status
3493*5113495bSYour Name  */
3494*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_wmm_dir_ac_be(struct wlan_objmgr_psoc * psoc,uint8_t * value)3495*5113495bSYour Name ucfg_mlme_get_wmm_dir_ac_be(struct wlan_objmgr_psoc *psoc, uint8_t *value)
3496*5113495bSYour Name {
3497*5113495bSYour Name 	return wlan_mlme_get_wmm_dir_ac_be(psoc, value);
3498*5113495bSYour Name }
3499*5113495bSYour Name 
3500*5113495bSYour Name /**
3501*5113495bSYour Name  * ucfg_mlme_get_wmm_nom_msdu_size_ac_be() - Get normal MSDU size for BE
3502*5113495bSYour Name  * @psoc: pointer to psoc object
3503*5113495bSYour Name  * @value: Value that needs to be set from the caller
3504*5113495bSYour Name  *
3505*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
3506*5113495bSYour Name  *
3507*5113495bSYour Name  * Return: QDF Status
3508*5113495bSYour Name  */
3509*5113495bSYour Name static inline
ucfg_mlme_get_wmm_nom_msdu_size_ac_be(struct wlan_objmgr_psoc * psoc,uint16_t * value)3510*5113495bSYour Name QDF_STATUS ucfg_mlme_get_wmm_nom_msdu_size_ac_be(struct wlan_objmgr_psoc *psoc,
3511*5113495bSYour Name 						 uint16_t *value)
3512*5113495bSYour Name {
3513*5113495bSYour Name 	return wlan_mlme_get_wmm_nom_msdu_size_ac_be(psoc, value);
3514*5113495bSYour Name }
3515*5113495bSYour Name 
3516*5113495bSYour Name /**
3517*5113495bSYour Name  * ucfg_mlme_get_wmm_mean_data_rate_ac_be() - mean data rate for BE
3518*5113495bSYour Name  * @psoc: pointer to psoc object
3519*5113495bSYour Name  * @value: Value that needs to be set from the caller
3520*5113495bSYour Name  *
3521*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
3522*5113495bSYour Name  *
3523*5113495bSYour Name  * Return: QDF Status
3524*5113495bSYour Name  */
3525*5113495bSYour Name static inline
ucfg_mlme_get_wmm_mean_data_rate_ac_be(struct wlan_objmgr_psoc * psoc,uint32_t * value)3526*5113495bSYour Name QDF_STATUS ucfg_mlme_get_wmm_mean_data_rate_ac_be(struct wlan_objmgr_psoc *psoc,
3527*5113495bSYour Name 						  uint32_t *value)
3528*5113495bSYour Name {
3529*5113495bSYour Name 	return wlan_mlme_get_wmm_mean_data_rate_ac_be(psoc, value);
3530*5113495bSYour Name }
3531*5113495bSYour Name 
3532*5113495bSYour Name /**
3533*5113495bSYour Name  * ucfg_mlme_get_wmm_min_phy_rate_ac_be() - min PHY rate for BE
3534*5113495bSYour Name  * @psoc: pointer to psoc object
3535*5113495bSYour Name  * @value: Value that needs to be set from the caller
3536*5113495bSYour Name  *
3537*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
3538*5113495bSYour Name  *
3539*5113495bSYour Name  * Return: QDF Status
3540*5113495bSYour Name  */
3541*5113495bSYour Name static inline
ucfg_mlme_get_wmm_min_phy_rate_ac_be(struct wlan_objmgr_psoc * psoc,uint32_t * value)3542*5113495bSYour Name QDF_STATUS ucfg_mlme_get_wmm_min_phy_rate_ac_be(struct wlan_objmgr_psoc *psoc,
3543*5113495bSYour Name 						uint32_t *value)
3544*5113495bSYour Name {
3545*5113495bSYour Name 	return wlan_mlme_get_wmm_min_phy_rate_ac_be(psoc, value);
3546*5113495bSYour Name }
3547*5113495bSYour Name 
3548*5113495bSYour Name /**
3549*5113495bSYour Name  * ucfg_mlme_get_wmm_sba_ac_be() - surplus bandwidth allowance for BE
3550*5113495bSYour Name  * @psoc: pointer to psoc object
3551*5113495bSYour Name  * @value: Value that needs to be set from the caller
3552*5113495bSYour Name  *
3553*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
3554*5113495bSYour Name  *
3555*5113495bSYour Name  * Return: QDF Status
3556*5113495bSYour Name  */
3557*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_wmm_sba_ac_be(struct wlan_objmgr_psoc * psoc,uint16_t * value)3558*5113495bSYour Name ucfg_mlme_get_wmm_sba_ac_be(struct wlan_objmgr_psoc *psoc, uint16_t *value)
3559*5113495bSYour Name {
3560*5113495bSYour Name 	return wlan_mlme_get_wmm_sba_ac_be(psoc, value);
3561*5113495bSYour Name }
3562*5113495bSYour Name 
3563*5113495bSYour Name /**
3564*5113495bSYour Name  * ucfg_mlme_get_wmm_uapsd_be_srv_intv() - Get Uapsd service interval for BE
3565*5113495bSYour Name  * @psoc: pointer to psoc object
3566*5113495bSYour Name  * @value: pointer to the value which will be filled for the caller
3567*5113495bSYour Name  *
3568*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
3569*5113495bSYour Name  *
3570*5113495bSYour Name  * Return: QDF Status
3571*5113495bSYour Name  */
3572*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_wmm_uapsd_be_srv_intv(struct wlan_objmgr_psoc * psoc,uint32_t * value)3573*5113495bSYour Name ucfg_mlme_get_wmm_uapsd_be_srv_intv(struct wlan_objmgr_psoc *psoc,
3574*5113495bSYour Name 				    uint32_t *value)
3575*5113495bSYour Name {
3576*5113495bSYour Name 	return wlan_mlme_get_wmm_uapsd_be_srv_intv(psoc, value);
3577*5113495bSYour Name }
3578*5113495bSYour Name 
3579*5113495bSYour Name /**
3580*5113495bSYour Name  * ucfg_mlme_get_wmm_uapsd_be_sus_intv() - Get Uapsd suspension interval for BE
3581*5113495bSYour Name  * @psoc: pointer to psoc object
3582*5113495bSYour Name  * @value: Value that needs to be set from the caller
3583*5113495bSYour Name  *
3584*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
3585*5113495bSYour Name  *
3586*5113495bSYour Name  * Return: QDF Status
3587*5113495bSYour Name  */
3588*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_wmm_uapsd_be_sus_intv(struct wlan_objmgr_psoc * psoc,uint32_t * value)3589*5113495bSYour Name ucfg_mlme_get_wmm_uapsd_be_sus_intv(struct wlan_objmgr_psoc *psoc,
3590*5113495bSYour Name 				    uint32_t *value)
3591*5113495bSYour Name {
3592*5113495bSYour Name 	return wlan_mlme_get_wmm_uapsd_be_sus_intv(psoc, value);
3593*5113495bSYour Name }
3594*5113495bSYour Name 
3595*5113495bSYour Name /**
3596*5113495bSYour Name  * ucfg_mlme_get_wmm_dir_ac_bk() - Get TSPEC direction for BK
3597*5113495bSYour Name  * @psoc: pointer to psoc object
3598*5113495bSYour Name  * @value: Value that needs to be set from the caller
3599*5113495bSYour Name  *
3600*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
3601*5113495bSYour Name  *
3602*5113495bSYour Name  * Return: QDF Status
3603*5113495bSYour Name  */
3604*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_wmm_dir_ac_bk(struct wlan_objmgr_psoc * psoc,uint8_t * value)3605*5113495bSYour Name ucfg_mlme_get_wmm_dir_ac_bk(struct wlan_objmgr_psoc *psoc, uint8_t *value)
3606*5113495bSYour Name {
3607*5113495bSYour Name 	return wlan_mlme_get_wmm_dir_ac_bk(psoc, value);
3608*5113495bSYour Name }
3609*5113495bSYour Name 
3610*5113495bSYour Name /**
3611*5113495bSYour Name  * ucfg_mlme_get_wmm_nom_msdu_size_ac_bk() - Get normal MSDU size for BK
3612*5113495bSYour Name  * @psoc: pointer to psoc object
3613*5113495bSYour Name  * @value: Value that needs to be set from the caller
3614*5113495bSYour Name  *
3615*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
3616*5113495bSYour Name  *
3617*5113495bSYour Name  * Return: QDF Status
3618*5113495bSYour Name  */
3619*5113495bSYour Name static inline
ucfg_mlme_get_wmm_nom_msdu_size_ac_bk(struct wlan_objmgr_psoc * psoc,uint16_t * value)3620*5113495bSYour Name QDF_STATUS ucfg_mlme_get_wmm_nom_msdu_size_ac_bk(struct wlan_objmgr_psoc *psoc,
3621*5113495bSYour Name 						 uint16_t *value)
3622*5113495bSYour Name {
3623*5113495bSYour Name 	return wlan_mlme_get_wmm_nom_msdu_size_ac_bk(psoc, value);
3624*5113495bSYour Name }
3625*5113495bSYour Name 
3626*5113495bSYour Name /**
3627*5113495bSYour Name  * ucfg_mlme_get_wmm_mean_data_rate_ac_bk() - mean data rate for BK
3628*5113495bSYour Name  * @psoc: pointer to psoc object
3629*5113495bSYour Name  * @value: Value that needs to be set from the caller
3630*5113495bSYour Name  *
3631*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
3632*5113495bSYour Name  *
3633*5113495bSYour Name  * Return: QDF Status
3634*5113495bSYour Name  */
3635*5113495bSYour Name static inline
ucfg_mlme_get_wmm_mean_data_rate_ac_bk(struct wlan_objmgr_psoc * psoc,uint32_t * value)3636*5113495bSYour Name QDF_STATUS ucfg_mlme_get_wmm_mean_data_rate_ac_bk(struct wlan_objmgr_psoc *psoc,
3637*5113495bSYour Name 						  uint32_t *value)
3638*5113495bSYour Name {
3639*5113495bSYour Name 	return wlan_mlme_get_wmm_mean_data_rate_ac_bk(psoc, value);
3640*5113495bSYour Name }
3641*5113495bSYour Name 
3642*5113495bSYour Name /**
3643*5113495bSYour Name  * ucfg_mlme_get_wmm_min_phy_rate_ac_bk() - min PHY rate for BE
3644*5113495bSYour Name  * @psoc: pointer to psoc object
3645*5113495bSYour Name  * @value: Value that needs to be set from the caller
3646*5113495bSYour Name  *
3647*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
3648*5113495bSYour Name  *
3649*5113495bSYour Name  * Return: QDF Status
3650*5113495bSYour Name  */
3651*5113495bSYour Name static inline
ucfg_mlme_get_wmm_min_phy_rate_ac_bk(struct wlan_objmgr_psoc * psoc,uint32_t * value)3652*5113495bSYour Name QDF_STATUS ucfg_mlme_get_wmm_min_phy_rate_ac_bk(struct wlan_objmgr_psoc *psoc,
3653*5113495bSYour Name 						uint32_t *value)
3654*5113495bSYour Name {
3655*5113495bSYour Name 	return wlan_mlme_get_wmm_min_phy_rate_ac_bk(psoc, value);
3656*5113495bSYour Name }
3657*5113495bSYour Name 
3658*5113495bSYour Name /**
3659*5113495bSYour Name  * ucfg_mlme_get_wmm_sba_ac_bk() - surplus bandwidt allowance for BE
3660*5113495bSYour Name  * @psoc: pointer to psoc object
3661*5113495bSYour Name  * @value: Value that needs to be set from the caller
3662*5113495bSYour Name  *
3663*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
3664*5113495bSYour Name  *
3665*5113495bSYour Name  * Return: QDF Status
3666*5113495bSYour Name  */
3667*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_wmm_sba_ac_bk(struct wlan_objmgr_psoc * psoc,uint16_t * value)3668*5113495bSYour Name ucfg_mlme_get_wmm_sba_ac_bk(struct wlan_objmgr_psoc *psoc, uint16_t *value)
3669*5113495bSYour Name {
3670*5113495bSYour Name 	return wlan_mlme_get_wmm_sba_ac_bk(psoc, value);
3671*5113495bSYour Name }
3672*5113495bSYour Name 
3673*5113495bSYour Name /**
3674*5113495bSYour Name  * ucfg_mlme_get_wmm_uapsd_bk_srv_intv() - Get Uapsd service interval for BK
3675*5113495bSYour Name  * @psoc: pointer to psoc object
3676*5113495bSYour Name  * @value: pointer to the value which will be filled for the caller
3677*5113495bSYour Name  *
3678*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
3679*5113495bSYour Name  *
3680*5113495bSYour Name  * Return: QDF Status
3681*5113495bSYour Name  */
3682*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_wmm_uapsd_bk_srv_intv(struct wlan_objmgr_psoc * psoc,uint32_t * value)3683*5113495bSYour Name ucfg_mlme_get_wmm_uapsd_bk_srv_intv(struct wlan_objmgr_psoc *psoc,
3684*5113495bSYour Name 				    uint32_t *value)
3685*5113495bSYour Name {
3686*5113495bSYour Name 	return wlan_mlme_get_wmm_uapsd_bk_srv_intv(psoc, value);
3687*5113495bSYour Name }
3688*5113495bSYour Name 
3689*5113495bSYour Name /**
3690*5113495bSYour Name  * ucfg_mlme_get_wmm_uapsd_bk_sus_intv() - Get Uapsd suspension interval for BK
3691*5113495bSYour Name  * @psoc: pointer to psoc object
3692*5113495bSYour Name  * @value: Value that needs to be set from the caller
3693*5113495bSYour Name  *
3694*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
3695*5113495bSYour Name  *
3696*5113495bSYour Name  * Return: QDF Status
3697*5113495bSYour Name  */
3698*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_wmm_uapsd_bk_sus_intv(struct wlan_objmgr_psoc * psoc,uint32_t * value)3699*5113495bSYour Name ucfg_mlme_get_wmm_uapsd_bk_sus_intv(struct wlan_objmgr_psoc *psoc,
3700*5113495bSYour Name 				    uint32_t *value)
3701*5113495bSYour Name {
3702*5113495bSYour Name 	return wlan_mlme_get_wmm_uapsd_bk_sus_intv(psoc, value);
3703*5113495bSYour Name }
3704*5113495bSYour Name 
3705*5113495bSYour Name /**
3706*5113495bSYour Name  * ucfg_mlme_get_wmm_mode() - Enable WMM feature
3707*5113495bSYour Name  * @psoc: pointer to psoc object
3708*5113495bSYour Name  * @value: Value that needs to be set from the caller
3709*5113495bSYour Name  *
3710*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
3711*5113495bSYour Name  *
3712*5113495bSYour Name  * Return: QDF Status
3713*5113495bSYour Name  */
3714*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_wmm_mode(struct wlan_objmgr_psoc * psoc,uint8_t * value)3715*5113495bSYour Name ucfg_mlme_get_wmm_mode(struct wlan_objmgr_psoc *psoc, uint8_t *value)
3716*5113495bSYour Name {
3717*5113495bSYour Name 	return wlan_mlme_get_wmm_mode(psoc, value);
3718*5113495bSYour Name }
3719*5113495bSYour Name 
3720*5113495bSYour Name /**
3721*5113495bSYour Name  * ucfg_mlme_cfg_get_wlm_level() - Get the WLM level value
3722*5113495bSYour Name  * @psoc: pointer to psoc object
3723*5113495bSYour Name  * @level: level that needs to be filled.
3724*5113495bSYour Name  *
3725*5113495bSYour Name  * Return: QDF Status
3726*5113495bSYour Name  */
3727*5113495bSYour Name static inline
ucfg_mlme_cfg_get_wlm_level(struct wlan_objmgr_psoc * psoc,uint8_t * level)3728*5113495bSYour Name QDF_STATUS ucfg_mlme_cfg_get_wlm_level(struct wlan_objmgr_psoc *psoc,
3729*5113495bSYour Name 				       uint8_t *level)
3730*5113495bSYour Name {
3731*5113495bSYour Name 	return mlme_get_cfg_wlm_level(psoc, level);
3732*5113495bSYour Name }
3733*5113495bSYour Name 
3734*5113495bSYour Name /**
3735*5113495bSYour Name  * ucfg_mlme_cfg_get_wlm_reset() - Get the WLM reset flag
3736*5113495bSYour Name  * @psoc: pointer to psoc object
3737*5113495bSYour Name  * @reset: reset that needs to be filled.
3738*5113495bSYour Name  *
3739*5113495bSYour Name  * Return: QDF Status
3740*5113495bSYour Name  */
3741*5113495bSYour Name static inline
ucfg_mlme_cfg_get_wlm_reset(struct wlan_objmgr_psoc * psoc,bool * reset)3742*5113495bSYour Name QDF_STATUS ucfg_mlme_cfg_get_wlm_reset(struct wlan_objmgr_psoc *psoc,
3743*5113495bSYour Name 				       bool *reset)
3744*5113495bSYour Name {
3745*5113495bSYour Name 	return mlme_get_cfg_wlm_reset(psoc, reset);
3746*5113495bSYour Name }
3747*5113495bSYour Name 
3748*5113495bSYour Name #ifdef WLAN_FEATURE_11AX
3749*5113495bSYour Name /**
3750*5113495bSYour Name  * ucfg_mlme_update_tgt_he_cap() - Update tgt he cap in mlme component
3751*5113495bSYour Name  *
3752*5113495bSYour Name  * @psoc: pointer to psoc object
3753*5113495bSYour Name  * @cfg: pointer to config params from target
3754*5113495bSYour Name  *
3755*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers to update
3756*5113495bSYour Name  * he caps in mlme.
3757*5113495bSYour Name  *
3758*5113495bSYour Name  * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE
3759*5113495bSYour Name  */
3760*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_update_tgt_he_cap(struct wlan_objmgr_psoc * psoc,struct wma_tgt_cfg * cfg)3761*5113495bSYour Name ucfg_mlme_update_tgt_he_cap(struct wlan_objmgr_psoc *psoc,
3762*5113495bSYour Name 			    struct wma_tgt_cfg *cfg)
3763*5113495bSYour Name {
3764*5113495bSYour Name 	return mlme_update_tgt_he_caps_in_cfg(psoc, cfg);
3765*5113495bSYour Name }
3766*5113495bSYour Name 
3767*5113495bSYour Name /**
3768*5113495bSYour Name  * ucfg_mlme_cfg_get_he_caps() - Get the HE capability info
3769*5113495bSYour Name  * @psoc: pointer to psoc object
3770*5113495bSYour Name  * @he_cap: Caps that needs to be filled.
3771*5113495bSYour Name  *
3772*5113495bSYour Name  * Return: QDF Status
3773*5113495bSYour Name  */
3774*5113495bSYour Name static inline
ucfg_mlme_cfg_get_he_caps(struct wlan_objmgr_psoc * psoc,tDot11fIEhe_cap * he_cap)3775*5113495bSYour Name QDF_STATUS ucfg_mlme_cfg_get_he_caps(struct wlan_objmgr_psoc *psoc,
3776*5113495bSYour Name 				     tDot11fIEhe_cap *he_cap)
3777*5113495bSYour Name {
3778*5113495bSYour Name 	return mlme_cfg_get_he_caps(psoc, he_cap);
3779*5113495bSYour Name }
3780*5113495bSYour Name 
3781*5113495bSYour Name /**
3782*5113495bSYour Name  * ucfg_mlme_cfg_get_he_ul_mumimo() - Get the HE Ul Mumio
3783*5113495bSYour Name  * @psoc: pointer to psoc object
3784*5113495bSYour Name  * @value: Value that needs to be set from the caller
3785*5113495bSYour Name  *
3786*5113495bSYour Name  * Return: QDF Status
3787*5113495bSYour Name  */
3788*5113495bSYour Name static inline
ucfg_mlme_cfg_get_he_ul_mumimo(struct wlan_objmgr_psoc * psoc,uint32_t * value)3789*5113495bSYour Name QDF_STATUS ucfg_mlme_cfg_get_he_ul_mumimo(struct wlan_objmgr_psoc *psoc,
3790*5113495bSYour Name 					  uint32_t *value)
3791*5113495bSYour Name {
3792*5113495bSYour Name 	return wlan_mlme_cfg_get_he_ul_mumimo(psoc, value);
3793*5113495bSYour Name }
3794*5113495bSYour Name 
3795*5113495bSYour Name /**
3796*5113495bSYour Name  * ucfg_mlme_cfg_set_he_ul_mumimo() - Set the HE Ul Mumio
3797*5113495bSYour Name  * @psoc: pointer to psoc object
3798*5113495bSYour Name  * @value: Value that needs to be set from the caller
3799*5113495bSYour Name  *
3800*5113495bSYour Name  * Return: QDF Status
3801*5113495bSYour Name  */
3802*5113495bSYour Name static inline
ucfg_mlme_cfg_set_he_ul_mumimo(struct wlan_objmgr_psoc * psoc,uint32_t value)3803*5113495bSYour Name QDF_STATUS ucfg_mlme_cfg_set_he_ul_mumimo(struct wlan_objmgr_psoc *psoc,
3804*5113495bSYour Name 					  uint32_t value)
3805*5113495bSYour Name {
3806*5113495bSYour Name 	return wlan_mlme_cfg_set_he_ul_mumimo(psoc, value);
3807*5113495bSYour Name }
3808*5113495bSYour Name 
3809*5113495bSYour Name /**
3810*5113495bSYour Name  * ucfg_mlme_cfg_get_enable_ul_mimo() - Get the HE Ul mimo
3811*5113495bSYour Name  * @psoc: pointer to psoc object
3812*5113495bSYour Name  * @value: Value that needs to be set from the caller
3813*5113495bSYour Name  *
3814*5113495bSYour Name  * Return: QDF Status
3815*5113495bSYour Name  */
3816*5113495bSYour Name static inline
ucfg_mlme_cfg_get_enable_ul_mimo(struct wlan_objmgr_psoc * psoc,uint8_t * value)3817*5113495bSYour Name QDF_STATUS ucfg_mlme_cfg_get_enable_ul_mimo(struct wlan_objmgr_psoc *psoc,
3818*5113495bSYour Name 					    uint8_t *value)
3819*5113495bSYour Name {
3820*5113495bSYour Name 	return wlan_mlme_cfg_get_enable_ul_mimo(psoc, value);
3821*5113495bSYour Name }
3822*5113495bSYour Name 
3823*5113495bSYour Name /**
3824*5113495bSYour Name  * ucfg_mlme_cfg_get_enable_ul_ofdm() - Get enable ul ofdm
3825*5113495bSYour Name  * @psoc: pointer to psoc object
3826*5113495bSYour Name  * @value: Value that needs to be set from the caller
3827*5113495bSYour Name  *
3828*5113495bSYour Name  * Return: QDF Status
3829*5113495bSYour Name  */
3830*5113495bSYour Name static inline
ucfg_mlme_cfg_get_enable_ul_ofdm(struct wlan_objmgr_psoc * psoc,uint8_t * value)3831*5113495bSYour Name QDF_STATUS ucfg_mlme_cfg_get_enable_ul_ofdm(struct wlan_objmgr_psoc *psoc,
3832*5113495bSYour Name 					    uint8_t *value)
3833*5113495bSYour Name {
3834*5113495bSYour Name 	return wlan_mlme_cfg_get_enable_ul_ofdm(psoc, value);
3835*5113495bSYour Name }
3836*5113495bSYour Name #endif
3837*5113495bSYour Name 
3838*5113495bSYour Name #ifdef WLAN_FEATURE_11BE
3839*5113495bSYour Name /**
3840*5113495bSYour Name  * ucfg_mlme_update_tgt_eht_cap() - Update tgt EHT cap in mlme component
3841*5113495bSYour Name  *
3842*5113495bSYour Name  * @psoc: pointer to psoc object
3843*5113495bSYour Name  * @cfg: pointer to config params from target
3844*5113495bSYour Name  *
3845*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers to update
3846*5113495bSYour Name  * EHT caps in mlme.
3847*5113495bSYour Name  *
3848*5113495bSYour Name  * Return: QDF_STATUS_SUCCESS or QDF_STATUS_FAILURE
3849*5113495bSYour Name  */
3850*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_update_tgt_eht_cap(struct wlan_objmgr_psoc * psoc,struct wma_tgt_cfg * cfg)3851*5113495bSYour Name ucfg_mlme_update_tgt_eht_cap(struct wlan_objmgr_psoc *psoc,
3852*5113495bSYour Name 			     struct wma_tgt_cfg *cfg)
3853*5113495bSYour Name {
3854*5113495bSYour Name 	return mlme_update_tgt_eht_caps_in_cfg(psoc, cfg);
3855*5113495bSYour Name }
3856*5113495bSYour Name 
3857*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_update_tgt_mlo_cap(struct wlan_objmgr_psoc * psoc)3858*5113495bSYour Name ucfg_mlme_update_tgt_mlo_cap(struct wlan_objmgr_psoc *psoc)
3859*5113495bSYour Name {
3860*5113495bSYour Name 	return mlme_update_tgt_mlo_caps_in_cfg(psoc);
3861*5113495bSYour Name }
3862*5113495bSYour Name 
3863*5113495bSYour Name /**
3864*5113495bSYour Name  * ucfg_mlme_get_usr_disable_sta_eht() - Get user disable sta eht flag
3865*5113495bSYour Name  * @psoc: psoc object
3866*5113495bSYour Name  *
3867*5113495bSYour Name  * Return: true if user has disabled eht in connect request
3868*5113495bSYour Name  */
3869*5113495bSYour Name static inline
ucfg_mlme_get_usr_disable_sta_eht(struct wlan_objmgr_psoc * psoc)3870*5113495bSYour Name bool ucfg_mlme_get_usr_disable_sta_eht(struct wlan_objmgr_psoc *psoc)
3871*5113495bSYour Name {
3872*5113495bSYour Name 	return wlan_mlme_get_usr_disable_sta_eht(psoc);
3873*5113495bSYour Name }
3874*5113495bSYour Name 
3875*5113495bSYour Name /**
3876*5113495bSYour Name  * ucfg_mlme_set_usr_disable_sta_eht() - Set user disable sta eht flag
3877*5113495bSYour Name  * @psoc: psoc object
3878*5113495bSYour Name  * @disable: eht disable flag
3879*5113495bSYour Name  *
3880*5113495bSYour Name  * Return: void
3881*5113495bSYour Name  */
3882*5113495bSYour Name static inline
ucfg_mlme_set_usr_disable_sta_eht(struct wlan_objmgr_psoc * psoc,bool disable)3883*5113495bSYour Name void ucfg_mlme_set_usr_disable_sta_eht(struct wlan_objmgr_psoc *psoc,
3884*5113495bSYour Name 				       bool disable)
3885*5113495bSYour Name {
3886*5113495bSYour Name 	wlan_mlme_set_usr_disable_sta_eht(psoc, disable);
3887*5113495bSYour Name }
3888*5113495bSYour Name #else
3889*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_update_tgt_mlo_cap(struct wlan_objmgr_psoc * psoc)3890*5113495bSYour Name ucfg_mlme_update_tgt_mlo_cap(struct wlan_objmgr_psoc *psoc)
3891*5113495bSYour Name {
3892*5113495bSYour Name 	return QDF_STATUS_SUCCESS;
3893*5113495bSYour Name }
3894*5113495bSYour Name 
3895*5113495bSYour Name static inline
ucfg_mlme_get_usr_disable_sta_eht(struct wlan_objmgr_psoc * psoc)3896*5113495bSYour Name bool ucfg_mlme_get_usr_disable_sta_eht(struct wlan_objmgr_psoc *psoc)
3897*5113495bSYour Name {
3898*5113495bSYour Name 	return true;
3899*5113495bSYour Name }
3900*5113495bSYour Name 
3901*5113495bSYour Name static inline
ucfg_mlme_set_usr_disable_sta_eht(struct wlan_objmgr_psoc * psoc,bool disable)3902*5113495bSYour Name void ucfg_mlme_set_usr_disable_sta_eht(struct wlan_objmgr_psoc *psoc,
3903*5113495bSYour Name 				       bool disable)
3904*5113495bSYour Name {
3905*5113495bSYour Name }
3906*5113495bSYour Name #endif
3907*5113495bSYour Name 
3908*5113495bSYour Name #ifdef WLAN_FEATURE_11BE_MLO
3909*5113495bSYour Name /**
3910*5113495bSYour Name  * ucfg_mlme_get_eht_mld_id() - Get the MLD ID of the requested BSS
3911*5113495bSYour Name  * @psoc: pointer to psoc object
3912*5113495bSYour Name  *
3913*5113495bSYour Name  * This API gives the MLD ID of the requested BSS
3914*5113495bSYour Name  *
3915*5113495bSYour Name  * Return: MLD ID of the requested BSS
3916*5113495bSYour Name  */
3917*5113495bSYour Name static inline uint8_t
ucfg_mlme_get_eht_mld_id(struct wlan_objmgr_psoc * psoc)3918*5113495bSYour Name ucfg_mlme_get_eht_mld_id(struct wlan_objmgr_psoc *psoc)
3919*5113495bSYour Name {
3920*5113495bSYour Name 	return wlan_mlme_get_eht_mld_id(psoc);
3921*5113495bSYour Name }
3922*5113495bSYour Name 
3923*5113495bSYour Name /**
3924*5113495bSYour Name  * ucfg_mlme_set_eht_mld_id() - Set MLD ID of the requested BSS information
3925*5113495bSYour Name  * @psoc: pointer to psoc object
3926*5113495bSYour Name  * @value: set MLD ID
3927*5113495bSYour Name  *
3928*5113495bSYour Name  * This API sets the MLD ID of the requested BSS information within the ML
3929*5113495bSYour Name  * probe request.
3930*5113495bSYour Name  *
3931*5113495bSYour Name  * Return: QDF_STATUS
3932*5113495bSYour Name  */
3933*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_set_eht_mld_id(struct wlan_objmgr_psoc * psoc,uint8_t value)3934*5113495bSYour Name ucfg_mlme_set_eht_mld_id(struct wlan_objmgr_psoc *psoc,
3935*5113495bSYour Name 			 uint8_t value)
3936*5113495bSYour Name {
3937*5113495bSYour Name 	return wlan_mlme_set_eht_mld_id(psoc, value);
3938*5113495bSYour Name }
3939*5113495bSYour Name #else
3940*5113495bSYour Name static inline uint8_t
ucfg_mlme_get_eht_mld_id(struct wlan_objmgr_psoc * psoc)3941*5113495bSYour Name ucfg_mlme_get_eht_mld_id(struct wlan_objmgr_psoc *psoc)
3942*5113495bSYour Name {
3943*5113495bSYour Name 	return 0;
3944*5113495bSYour Name }
3945*5113495bSYour Name 
3946*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_set_eht_mld_id(struct wlan_objmgr_psoc * psoc,uint8_t value)3947*5113495bSYour Name ucfg_mlme_set_eht_mld_id(struct wlan_objmgr_psoc *psoc, uint8_t value)
3948*5113495bSYour Name {
3949*5113495bSYour Name 	return QDF_STATUS_E_NOSUPPORT;
3950*5113495bSYour Name }
3951*5113495bSYour Name #endif /* WLAN_FEATURE_11BE_MLO */
3952*5113495bSYour Name 
3953*5113495bSYour Name /**
3954*5113495bSYour Name  * ucfg_mlme_get_80211e_is_enabled() - Enable 802.11e feature
3955*5113495bSYour Name  * @psoc: pointer to psoc object
3956*5113495bSYour Name  * @value: Value that needs to be set from the caller
3957*5113495bSYour Name  *
3958*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
3959*5113495bSYour Name  *
3960*5113495bSYour Name  * Return: QDF Status
3961*5113495bSYour Name  */
3962*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_80211e_is_enabled(struct wlan_objmgr_psoc * psoc,bool * value)3963*5113495bSYour Name ucfg_mlme_get_80211e_is_enabled(struct wlan_objmgr_psoc *psoc, bool *value)
3964*5113495bSYour Name {
3965*5113495bSYour Name 	return wlan_mlme_get_80211e_is_enabled(psoc, value);
3966*5113495bSYour Name }
3967*5113495bSYour Name 
3968*5113495bSYour Name /**
3969*5113495bSYour Name  * ucfg_mlme_get_wmm_uapsd_mask() - setup U-APSD mask for ACs
3970*5113495bSYour Name  * @psoc: pointer to psoc object
3971*5113495bSYour Name  * @value: Value that needs to be set from the caller
3972*5113495bSYour Name  *
3973*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
3974*5113495bSYour Name  *
3975*5113495bSYour Name  * Return: QDF Status
3976*5113495bSYour Name  */
3977*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_wmm_uapsd_mask(struct wlan_objmgr_psoc * psoc,uint8_t * value)3978*5113495bSYour Name ucfg_mlme_get_wmm_uapsd_mask(struct wlan_objmgr_psoc *psoc, uint8_t *value)
3979*5113495bSYour Name {
3980*5113495bSYour Name 	return wlan_mlme_get_wmm_uapsd_mask(psoc, value);
3981*5113495bSYour Name }
3982*5113495bSYour Name 
3983*5113495bSYour Name #ifdef FEATURE_WLAN_ESE
3984*5113495bSYour Name /**
3985*5113495bSYour Name  * ucfg_mlme_get_inactivity_interval() - Infra Inactivity Interval
3986*5113495bSYour Name  * @psoc: pointer to psoc object
3987*5113495bSYour Name  * @value: Value that needs to be get from the caller
3988*5113495bSYour Name  *
3989*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
3990*5113495bSYour Name  *
3991*5113495bSYour Name  * Return: None
3992*5113495bSYour Name  */
3993*5113495bSYour Name static inline void
ucfg_mlme_get_inactivity_interval(struct wlan_objmgr_psoc * psoc,uint32_t * value)3994*5113495bSYour Name ucfg_mlme_get_inactivity_interval(struct wlan_objmgr_psoc *psoc,
3995*5113495bSYour Name 				  uint32_t *value)
3996*5113495bSYour Name {
3997*5113495bSYour Name 	wlan_mlme_get_inactivity_interval(psoc, value);
3998*5113495bSYour Name }
3999*5113495bSYour Name 
4000*5113495bSYour Name /**
4001*5113495bSYour Name  * ucfg_mlme_is_ese_enabled() - ese feature enable or not
4002*5113495bSYour Name  * @psoc: pointer to psoc object
4003*5113495bSYour Name  * @val:  Pointer to the value which will be filled for the caller
4004*5113495bSYour Name  *
4005*5113495bSYour Name  * Return: QDF Status
4006*5113495bSYour Name  */
4007*5113495bSYour Name QDF_STATUS
4008*5113495bSYour Name ucfg_mlme_is_ese_enabled(struct wlan_objmgr_psoc *psoc, bool *val);
4009*5113495bSYour Name #endif /* FEATURE_WLAN_ESE */
4010*5113495bSYour Name 
4011*5113495bSYour Name /**
4012*5113495bSYour Name  * ucfg_mlme_get_is_ts_burst_size_enable() - Get TS burst size flag
4013*5113495bSYour Name  * @psoc: pointer to psoc object
4014*5113495bSYour Name  * @value: Value that needs to be get from the caller
4015*5113495bSYour Name  *
4016*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
4017*5113495bSYour Name  *
4018*5113495bSYour Name  * Return: None
4019*5113495bSYour Name  */
4020*5113495bSYour Name static inline
ucfg_mlme_get_is_ts_burst_size_enable(struct wlan_objmgr_psoc * psoc,bool * value)4021*5113495bSYour Name void ucfg_mlme_get_is_ts_burst_size_enable(struct wlan_objmgr_psoc *psoc,
4022*5113495bSYour Name 					   bool *value)
4023*5113495bSYour Name {
4024*5113495bSYour Name 	wlan_mlme_get_is_ts_burst_size_enable(psoc, value);
4025*5113495bSYour Name }
4026*5113495bSYour Name 
4027*5113495bSYour Name /**
4028*5113495bSYour Name  * ucfg_mlme_get_ts_info_ack_policy() - Get TS ack policy
4029*5113495bSYour Name  * @psoc: pointer to psoc object
4030*5113495bSYour Name  * @value: Value that needs to be get from the caller
4031*5113495bSYour Name  *
4032*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
4033*5113495bSYour Name  *
4034*5113495bSYour Name  * Return: None
4035*5113495bSYour Name  */
4036*5113495bSYour Name static inline void
ucfg_mlme_get_ts_info_ack_policy(struct wlan_objmgr_psoc * psoc,enum mlme_ts_info_ack_policy * value)4037*5113495bSYour Name ucfg_mlme_get_ts_info_ack_policy(struct wlan_objmgr_psoc *psoc,
4038*5113495bSYour Name 				 enum mlme_ts_info_ack_policy *value)
4039*5113495bSYour Name {
4040*5113495bSYour Name 	wlan_mlme_get_ts_info_ack_policy(psoc, value);
4041*5113495bSYour Name }
4042*5113495bSYour Name 
4043*5113495bSYour Name /**
4044*5113495bSYour Name  * ucfg_mlme_get_ts_acm_value_for_ac() - Get ACM value for AC
4045*5113495bSYour Name  * @psoc: pointer to psoc object
4046*5113495bSYour Name  * @value: Value that needs to be get from the caller
4047*5113495bSYour Name  *
4048*5113495bSYour Name  *
4049*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
4050*5113495bSYour Name  *
4051*5113495bSYour Name  * Return: QDF Status
4052*5113495bSYour Name  */
4053*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_ts_acm_value_for_ac(struct wlan_objmgr_psoc * psoc,bool * value)4054*5113495bSYour Name ucfg_mlme_get_ts_acm_value_for_ac(struct wlan_objmgr_psoc *psoc, bool *value)
4055*5113495bSYour Name {
4056*5113495bSYour Name 	return wlan_mlme_get_ts_acm_value_for_ac(psoc, value);
4057*5113495bSYour Name }
4058*5113495bSYour Name 
4059*5113495bSYour Name /*
4060*5113495bSYour Name  * ucfg_mlme_is_sap_uapsd_enabled() - SAP UAPSD enabled status.
4061*5113495bSYour Name  * @psoc: pointer to psoc object
4062*5113495bSYour Name  * @value: sap uapsd enabled flag value requested from the caller
4063*5113495bSYour Name  *
4064*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
4065*5113495bSYour Name  *
4066*5113495bSYour Name  * Return: QDF Status
4067*5113495bSYour Name  */
4068*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_is_sap_uapsd_enabled(struct wlan_objmgr_psoc * psoc,bool * value)4069*5113495bSYour Name ucfg_mlme_is_sap_uapsd_enabled(struct wlan_objmgr_psoc *psoc, bool *value)
4070*5113495bSYour Name {
4071*5113495bSYour Name 	return wlan_mlme_is_sap_uapsd_enabled(psoc, value);
4072*5113495bSYour Name }
4073*5113495bSYour Name 
4074*5113495bSYour Name /*
4075*5113495bSYour Name  * ucfg_mlme_set_sap_uapsd_flag() - SAP UAPSD enabled status.
4076*5113495bSYour Name  * @psoc: pointer to psoc object
4077*5113495bSYour Name  * @value: Value that needs to be set from the caller
4078*5113495bSYour Name  *
4079*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
4080*5113495bSYour Name  *
4081*5113495bSYour Name  * Return: QDF Status
4082*5113495bSYour Name  */
4083*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_set_sap_uapsd_flag(struct wlan_objmgr_psoc * psoc,bool value)4084*5113495bSYour Name ucfg_mlme_set_sap_uapsd_flag(struct wlan_objmgr_psoc *psoc, bool value)
4085*5113495bSYour Name {
4086*5113495bSYour Name 	return wlan_mlme_set_sap_uapsd_flag(psoc, value);
4087*5113495bSYour Name }
4088*5113495bSYour Name 
4089*5113495bSYour Name /**
4090*5113495bSYour Name  * ucfg_mlme_get_enable_deauth_to_disassoc_map() - Enable deauth_to_disassoc_map
4091*5113495bSYour Name  * @psoc: pointer to psoc object
4092*5113495bSYour Name  * @value: Value that needs to be set from the caller
4093*5113495bSYour Name  *
4094*5113495bSYour Name  * UCFG API to be used by HDD/OSIF callers
4095*5113495bSYour Name  *
4096*5113495bSYour Name  * Return: QDF Status
4097*5113495bSYour Name  */
4098*5113495bSYour Name QDF_STATUS
4099*5113495bSYour Name ucfg_mlme_get_enable_deauth_to_disassoc_map(struct wlan_objmgr_psoc *psoc,
4100*5113495bSYour Name 					    bool *value);
4101*5113495bSYour Name 
4102*5113495bSYour Name /**
4103*5113495bSYour Name  * ucfg_mlme_get_ap_random_bssid_enable() - Enable random bssid
4104*5113495bSYour Name  * @psoc: pointer to psoc object
4105*5113495bSYour Name  * @value: Value that needs to be set from the caller
4106*5113495bSYour Name  *
4107*5113495bSYour Name  * UCFG API to be used by HDD/OSIF callers
4108*5113495bSYour Name  *
4109*5113495bSYour Name  * Return: QDF Status
4110*5113495bSYour Name  */
4111*5113495bSYour Name QDF_STATUS
4112*5113495bSYour Name ucfg_mlme_get_ap_random_bssid_enable(struct wlan_objmgr_psoc *psoc,
4113*5113495bSYour Name 				     bool *value);
4114*5113495bSYour Name 
4115*5113495bSYour Name /**
4116*5113495bSYour Name  * ucfg_mlme_get_sta_miracast_mcc_rest_time() - Get STA/MIRACAST MCC rest time
4117*5113495bSYour Name  *
4118*5113495bSYour Name  * @psoc: pointer to psoc object
4119*5113495bSYour Name  * @value: value which needs to filled by API
4120*5113495bSYour Name  *
4121*5113495bSYour Name  * This API gives rest time to be used when STA and MIRACAST MCC conc happens
4122*5113495bSYour Name  *
4123*5113495bSYour Name  * Return: QDF_STATUS
4124*5113495bSYour Name  */
4125*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_sta_miracast_mcc_rest_time(struct wlan_objmgr_psoc * psoc,uint32_t * value)4126*5113495bSYour Name ucfg_mlme_get_sta_miracast_mcc_rest_time(struct wlan_objmgr_psoc *psoc,
4127*5113495bSYour Name 					 uint32_t *value)
4128*5113495bSYour Name {
4129*5113495bSYour Name 	return wlan_mlme_get_sta_miracast_mcc_rest_time(psoc, value);
4130*5113495bSYour Name }
4131*5113495bSYour Name 
4132*5113495bSYour Name /**
4133*5113495bSYour Name  * ucfg_mlme_get_max_modulated_dtim_ms() - get sap max modulated dtim
4134*5113495bSYour Name  * @psoc: pointer to psoc object
4135*5113495bSYour Name  * @value: Value that needs to be set from the caller
4136*5113495bSYour Name  *
4137*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
4138*5113495bSYour Name  *
4139*5113495bSYour Name  * Return: QDF Status
4140*5113495bSYour Name  */
4141*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_max_modulated_dtim_ms(struct wlan_objmgr_psoc * psoc,uint16_t * value)4142*5113495bSYour Name ucfg_mlme_get_max_modulated_dtim_ms(struct wlan_objmgr_psoc *psoc,
4143*5113495bSYour Name 				    uint16_t *value)
4144*5113495bSYour Name {
4145*5113495bSYour Name 	return wlan_mlme_get_max_modulated_dtim_ms(psoc, value);
4146*5113495bSYour Name }
4147*5113495bSYour Name 
4148*5113495bSYour Name /**
4149*5113495bSYour Name  * ucfg_mlme_get_sap_mcc_chnl_avoid() - Check if SAP MCC needs to be avoided
4150*5113495bSYour Name  *
4151*5113495bSYour Name  * @psoc: pointer to psoc object
4152*5113495bSYour Name  * @value: value which needs to filled by API
4153*5113495bSYour Name  *
4154*5113495bSYour Name  * This API fetches the user setting to determine if SAP MCC with other persona
4155*5113495bSYour Name  * to be avoided.
4156*5113495bSYour Name  *
4157*5113495bSYour Name  * Return: QDF_STATUS
4158*5113495bSYour Name  */
4159*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_sap_mcc_chnl_avoid(struct wlan_objmgr_psoc * psoc,uint8_t * value)4160*5113495bSYour Name ucfg_mlme_get_sap_mcc_chnl_avoid(struct wlan_objmgr_psoc *psoc,
4161*5113495bSYour Name 				 uint8_t *value)
4162*5113495bSYour Name {
4163*5113495bSYour Name 	return wlan_mlme_get_sap_mcc_chnl_avoid(psoc, value);
4164*5113495bSYour Name }
4165*5113495bSYour Name 
4166*5113495bSYour Name /**
4167*5113495bSYour Name  * ucfg_mlme_get_mcc_bcast_prob_resp() - Get broadcast probe rsp in MCC
4168*5113495bSYour Name  *
4169*5113495bSYour Name  * @psoc: pointer to psoc object
4170*5113495bSYour Name  * @value: value which needs to filled by API
4171*5113495bSYour Name  *
4172*5113495bSYour Name  * To get INI value which helps to determe whether to enable/disable use of
4173*5113495bSYour Name  * broadcast probe response to increase the detectability of SAP in MCC mode.
4174*5113495bSYour Name  *
4175*5113495bSYour Name  *
4176*5113495bSYour Name  * Return: QDF_STATUS
4177*5113495bSYour Name  */
4178*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_mcc_bcast_prob_resp(struct wlan_objmgr_psoc * psoc,uint8_t * value)4179*5113495bSYour Name ucfg_mlme_get_mcc_bcast_prob_resp(struct wlan_objmgr_psoc *psoc,
4180*5113495bSYour Name 				  uint8_t *value)
4181*5113495bSYour Name {
4182*5113495bSYour Name 	return wlan_mlme_get_mcc_bcast_prob_resp(psoc, value);
4183*5113495bSYour Name }
4184*5113495bSYour Name 
4185*5113495bSYour Name /**
4186*5113495bSYour Name  * ucfg_mlme_get_mcc_rts_cts_prot() - To get RTS-CTS protection in MCC.
4187*5113495bSYour Name  *
4188*5113495bSYour Name  * @psoc: pointer to psoc object
4189*5113495bSYour Name  * @value: value which needs to filled by API
4190*5113495bSYour Name  *
4191*5113495bSYour Name  * To get INI value which helps to determine whether to enable/disable
4192*5113495bSYour Name  * use of long duration RTS-CTS protection when SAP goes off
4193*5113495bSYour Name  * channel in MCC mode.
4194*5113495bSYour Name  *
4195*5113495bSYour Name  * Return: QDF_STATUS
4196*5113495bSYour Name  */
4197*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_mcc_rts_cts_prot(struct wlan_objmgr_psoc * psoc,uint8_t * value)4198*5113495bSYour Name ucfg_mlme_get_mcc_rts_cts_prot(struct wlan_objmgr_psoc *psoc,
4199*5113495bSYour Name 			       uint8_t *value)
4200*5113495bSYour Name {
4201*5113495bSYour Name 	return wlan_mlme_get_mcc_rts_cts_prot(psoc, value);
4202*5113495bSYour Name }
4203*5113495bSYour Name 
4204*5113495bSYour Name /**
4205*5113495bSYour Name  * ucfg_mlme_get_mcc_feature() - To find out to enable/disable MCC feature
4206*5113495bSYour Name  *
4207*5113495bSYour Name  * @psoc: pointer to psoc object
4208*5113495bSYour Name  * @value: value which needs to filled by API
4209*5113495bSYour Name  *
4210*5113495bSYour Name  * To get INI value which helps to determine whether to enable MCC feature
4211*5113495bSYour Name  *
4212*5113495bSYour Name  * Return: QDF_STATUS
4213*5113495bSYour Name  */
4214*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_mcc_feature(struct wlan_objmgr_psoc * psoc,uint8_t * value)4215*5113495bSYour Name ucfg_mlme_get_mcc_feature(struct wlan_objmgr_psoc *psoc,
4216*5113495bSYour Name 			  uint8_t *value)
4217*5113495bSYour Name {
4218*5113495bSYour Name 	return wlan_mlme_get_mcc_feature(psoc, value);
4219*5113495bSYour Name }
4220*5113495bSYour Name 
4221*5113495bSYour Name /**
4222*5113495bSYour Name  * ucfg_wlan_mlme_get_rrm_enabled() - Get the rrm enabled
4223*5113495bSYour Name  * @psoc: pointer to psoc object
4224*5113495bSYour Name  * @value: Value that needs to be get from the caller
4225*5113495bSYour Name  *
4226*5113495bSYour Name  * Return: QDF Status
4227*5113495bSYour Name  */
4228*5113495bSYour Name static inline
ucfg_wlan_mlme_get_rrm_enabled(struct wlan_objmgr_psoc * psoc,bool * value)4229*5113495bSYour Name QDF_STATUS ucfg_wlan_mlme_get_rrm_enabled(struct wlan_objmgr_psoc *psoc,
4230*5113495bSYour Name 					  bool *value)
4231*5113495bSYour Name {
4232*5113495bSYour Name 	return wlan_mlme_get_rrm_enabled(psoc, value);
4233*5113495bSYour Name }
4234*5113495bSYour Name 
4235*5113495bSYour Name /**
4236*5113495bSYour Name  * ucfg_mlme_get_latency_enable() - Get the latency_enable
4237*5113495bSYour Name  * @psoc: pointer to psoc object
4238*5113495bSYour Name  * @value: Value that needs to be get from the caller
4239*5113495bSYour Name  *
4240*5113495bSYour Name  * Return: QDF Status
4241*5113495bSYour Name  */
4242*5113495bSYour Name QDF_STATUS
4243*5113495bSYour Name ucfg_mlme_get_latency_enable(struct wlan_objmgr_psoc *psoc, bool *value);
4244*5113495bSYour Name 
4245*5113495bSYour Name /**
4246*5113495bSYour Name  * ucfg_mlme_get_latency_level() - Get the latency level
4247*5113495bSYour Name  * @psoc: pointer to psoc object
4248*5113495bSYour Name  * @value: Value that needs to be get from the caller
4249*5113495bSYour Name  *         latency values are defined in WMI_WLM_LATENCY_LEVEL
4250*5113495bSYour Name  *
4251*5113495bSYour Name  * Return: QDF Status
4252*5113495bSYour Name  */
4253*5113495bSYour Name QDF_STATUS
4254*5113495bSYour Name ucfg_mlme_get_latency_level(struct wlan_objmgr_psoc *psoc, uint8_t *value);
4255*5113495bSYour Name 
4256*5113495bSYour Name /**
4257*5113495bSYour Name  * ucfg_mlme_get_latency_host_flags() - Get host flags for latency level
4258*5113495bSYour Name  * @psoc: pointer to psoc object
4259*5113495bSYour Name  * @latency_level: latency level
4260*5113495bSYour Name  * @value: Value that needs to be get from the caller
4261*5113495bSYour Name  *
4262*5113495bSYour Name  * Return: QDF Status
4263*5113495bSYour Name  */
4264*5113495bSYour Name QDF_STATUS
4265*5113495bSYour Name ucfg_mlme_get_latency_host_flags(struct wlan_objmgr_psoc *psoc,
4266*5113495bSYour Name 				 uint8_t latency_level, uint32_t *value);
4267*5113495bSYour Name 
4268*5113495bSYour Name /**
4269*5113495bSYour Name  * ucfg_mlme_get_dtim_selection_diversity() - get dtim selection diversity
4270*5113495bSYour Name  * bitmap
4271*5113495bSYour Name  * @psoc: pointer to psoc object
4272*5113495bSYour Name  * @dtim_selection_div: value that is requested by the caller
4273*5113495bSYour Name  *
4274*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
4275*5113495bSYour Name  *
4276*5113495bSYour Name  * Return: QDF_STATUS_SUCCESS - in case of success
4277*5113495bSYour Name  */
4278*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_dtim_selection_diversity(struct wlan_objmgr_psoc * psoc,uint32_t * dtim_selection_div)4279*5113495bSYour Name ucfg_mlme_get_dtim_selection_diversity(struct wlan_objmgr_psoc *psoc,
4280*5113495bSYour Name 				       uint32_t *dtim_selection_div)
4281*5113495bSYour Name {
4282*5113495bSYour Name 	return wlan_mlme_get_dtim_selection_diversity(psoc, dtim_selection_div);
4283*5113495bSYour Name }
4284*5113495bSYour Name 
4285*5113495bSYour Name /**
4286*5113495bSYour Name  * ucfg_mlme_get_bmps_min_listen_interval() - get beacon mode powersave
4287*5113495bSYour Name  * minimum listen interval value
4288*5113495bSYour Name  * @psoc: pointer to psoc object
4289*5113495bSYour Name  * @value: value that is requested by the caller
4290*5113495bSYour Name  *
4291*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
4292*5113495bSYour Name  *
4293*5113495bSYour Name  * Return: QDF_STATUS_SUCCESS - in case of success
4294*5113495bSYour Name  */
4295*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_bmps_min_listen_interval(struct wlan_objmgr_psoc * psoc,uint32_t * value)4296*5113495bSYour Name ucfg_mlme_get_bmps_min_listen_interval(struct wlan_objmgr_psoc *psoc,
4297*5113495bSYour Name 				       uint32_t *value)
4298*5113495bSYour Name {
4299*5113495bSYour Name 	return wlan_mlme_get_bmps_min_listen_interval(psoc, value);
4300*5113495bSYour Name }
4301*5113495bSYour Name 
4302*5113495bSYour Name /**
4303*5113495bSYour Name  * ucfg_mlme_get_bmps_max_listen_interval() - get beacon mode powersave
4304*5113495bSYour Name  * maximum listen interval value
4305*5113495bSYour Name  * @psoc: pointer to psoc object
4306*5113495bSYour Name  * @value: value that is requested by the caller
4307*5113495bSYour Name  *
4308*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
4309*5113495bSYour Name  *
4310*5113495bSYour Name  * Return: QDF_STATUS_SUCCESS - in case of success
4311*5113495bSYour Name  */
4312*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_bmps_max_listen_interval(struct wlan_objmgr_psoc * psoc,uint32_t * value)4313*5113495bSYour Name ucfg_mlme_get_bmps_max_listen_interval(struct wlan_objmgr_psoc *psoc,
4314*5113495bSYour Name 				       uint32_t *value)
4315*5113495bSYour Name {
4316*5113495bSYour Name 	return wlan_mlme_get_bmps_max_listen_interval(psoc, value);
4317*5113495bSYour Name }
4318*5113495bSYour Name 
4319*5113495bSYour Name /**
4320*5113495bSYour Name  * ucfg_mlme_get_auto_bmps_timer_value() - get bmps timer value
4321*5113495bSYour Name  * minimum listen interval value
4322*5113495bSYour Name  * @psoc: pointer to psoc object
4323*5113495bSYour Name  * @value: value that is requested by the caller
4324*5113495bSYour Name  *
4325*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
4326*5113495bSYour Name  *
4327*5113495bSYour Name  * Return: QDF_STATUS_SUCCESS - in case of success
4328*5113495bSYour Name  */
4329*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_auto_bmps_timer_value(struct wlan_objmgr_psoc * psoc,uint32_t * value)4330*5113495bSYour Name ucfg_mlme_get_auto_bmps_timer_value(struct wlan_objmgr_psoc *psoc,
4331*5113495bSYour Name 				    uint32_t *value)
4332*5113495bSYour Name {
4333*5113495bSYour Name 	return wlan_mlme_get_auto_bmps_timer_value(psoc, value);
4334*5113495bSYour Name }
4335*5113495bSYour Name 
4336*5113495bSYour Name /**
4337*5113495bSYour Name  * ucfg_mlme_is_bmps_enabled() - check if beacon mode powersave is
4338*5113495bSYour Name  * enabled/disabled
4339*5113495bSYour Name  * @psoc: pointer to psoc object
4340*5113495bSYour Name  * @value: value that is requested by the caller
4341*5113495bSYour Name  *
4342*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
4343*5113495bSYour Name  *
4344*5113495bSYour Name  * Return: QDF_STATUS_SUCCESS - in case of success
4345*5113495bSYour Name  */
4346*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_is_bmps_enabled(struct wlan_objmgr_psoc * psoc,bool * value)4347*5113495bSYour Name ucfg_mlme_is_bmps_enabled(struct wlan_objmgr_psoc *psoc, bool *value)
4348*5113495bSYour Name {
4349*5113495bSYour Name 	return wlan_mlme_is_bmps_enabled(psoc, value);
4350*5113495bSYour Name }
4351*5113495bSYour Name 
4352*5113495bSYour Name /**
4353*5113495bSYour Name  * ucfg_mlme_is_imps_enabled() - check if idle mode powersave is
4354*5113495bSYour Name  * enabled/disabled
4355*5113495bSYour Name  * @psoc: pointer to psoc object
4356*5113495bSYour Name  * @value: value that is requested by the caller
4357*5113495bSYour Name  *
4358*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
4359*5113495bSYour Name  *
4360*5113495bSYour Name  * Return: QDF_STATUS_SUCCESS - in case of success
4361*5113495bSYour Name  */
4362*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_is_imps_enabled(struct wlan_objmgr_psoc * psoc,bool * value)4363*5113495bSYour Name ucfg_mlme_is_imps_enabled(struct wlan_objmgr_psoc *psoc, bool *value)
4364*5113495bSYour Name {
4365*5113495bSYour Name 	return wlan_mlme_is_imps_enabled(psoc, value);
4366*5113495bSYour Name }
4367*5113495bSYour Name 
4368*5113495bSYour Name /**
4369*5113495bSYour Name  * ucfg_mlme_override_bmps_imps() - disable imps/bmps as part of
4370*5113495bSYour Name  * override to disable all ps features
4371*5113495bSYour Name  * @psoc: pointer to psoc object
4372*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
4373*5113495bSYour Name  *
4374*5113495bSYour Name  * Return: QDF_STATUS_SUCCESS - in case of success
4375*5113495bSYour Name  */
4376*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_override_bmps_imps(struct wlan_objmgr_psoc * psoc)4377*5113495bSYour Name ucfg_mlme_override_bmps_imps(struct wlan_objmgr_psoc *psoc)
4378*5113495bSYour Name {
4379*5113495bSYour Name 	return wlan_mlme_override_bmps_imps(psoc);
4380*5113495bSYour Name }
4381*5113495bSYour Name 
4382*5113495bSYour Name #ifdef MWS_COEX
4383*5113495bSYour Name /**
4384*5113495bSYour Name  * ucfg_mlme_get_mws_coex_4g_quick_tdm() - Get mws coex 4g quick tdm
4385*5113495bSYour Name  * @psoc: pointer to psoc object
4386*5113495bSYour Name  * @val:  Pointer to the value which will be filled for the caller
4387*5113495bSYour Name  *
4388*5113495bSYour Name  * Return: QDF Status
4389*5113495bSYour Name  */
4390*5113495bSYour Name QDF_STATUS
4391*5113495bSYour Name ucfg_mlme_get_mws_coex_4g_quick_tdm(struct wlan_objmgr_psoc *psoc,
4392*5113495bSYour Name 				    uint32_t *val);
4393*5113495bSYour Name 
4394*5113495bSYour Name /**
4395*5113495bSYour Name  * ucfg_mlme_get_mws_coex_5g_nr_pwr_limit() - Get mws coex 5g nr pwr limit
4396*5113495bSYour Name  * @psoc: pointer to psoc object
4397*5113495bSYour Name  * @val:  Pointer to the value which will be filled for the caller
4398*5113495bSYour Name  *
4399*5113495bSYour Name  * Return: QDF Status
4400*5113495bSYour Name  */
4401*5113495bSYour Name QDF_STATUS
4402*5113495bSYour Name ucfg_mlme_get_mws_coex_5g_nr_pwr_limit(struct wlan_objmgr_psoc *psoc,
4403*5113495bSYour Name 				       uint32_t *val);
4404*5113495bSYour Name 
4405*5113495bSYour Name /**
4406*5113495bSYour Name  * ucfg_mlme_get_mws_coex_pcc_channel_avoid_delay() - Get mws coex pcc
4407*5113495bSYour Name  *                                                    avoid channel delay
4408*5113495bSYour Name  * @psoc: pointer to psoc object
4409*5113495bSYour Name  * @val:  Pointer to the value which will be filled for the caller
4410*5113495bSYour Name  *
4411*5113495bSYour Name  * Return: QDF Status
4412*5113495bSYour Name  */
4413*5113495bSYour Name QDF_STATUS
4414*5113495bSYour Name ucfg_mlme_get_mws_coex_pcc_channel_avoid_delay(struct wlan_objmgr_psoc *psoc,
4415*5113495bSYour Name 					       uint32_t *val);
4416*5113495bSYour Name 
4417*5113495bSYour Name /**
4418*5113495bSYour Name  * ucfg_mlme_get_mws_coex_scc_channel_avoid_delay() - Get mws coex scc
4419*5113495bSYour Name  *                                                    avoidance channel delay
4420*5113495bSYour Name  * @psoc: pointer to psoc object
4421*5113495bSYour Name  * @val:  Pointer to the value which will be filled for the caller
4422*5113495bSYour Name  *
4423*5113495bSYour Name  * Return: QDF Status
4424*5113495bSYour Name  */
4425*5113495bSYour Name QDF_STATUS
4426*5113495bSYour Name ucfg_mlme_get_mws_coex_scc_channel_avoid_delay(struct wlan_objmgr_psoc *psoc,
4427*5113495bSYour Name 					       uint32_t *val);
4428*5113495bSYour Name #endif
4429*5113495bSYour Name 
4430*5113495bSYour Name /**
4431*5113495bSYour Name  * ucfg_mlme_get_etsi_srd_chan_in_master_mode  - get etsi srd chan
4432*5113495bSYour Name  * in master mode
4433*5113495bSYour Name  * @psoc:   pointer to psoc object
4434*5113495bSYour Name  * @value:  pointer to the value which will be filled for the caller
4435*5113495bSYour Name  *
4436*5113495bSYour Name  * Return: QDF Status
4437*5113495bSYour Name  */
4438*5113495bSYour Name QDF_STATUS
4439*5113495bSYour Name ucfg_mlme_get_etsi_srd_chan_in_master_mode(struct wlan_objmgr_psoc *psoc,
4440*5113495bSYour Name 					   uint8_t *value);
4441*5113495bSYour Name 
4442*5113495bSYour Name /**
4443*5113495bSYour Name  * ucfg_mlme_get_5dot9_ghz_chan_in_master_mode  - get fcc 5.9 GHz chan
4444*5113495bSYour Name  * in master mode
4445*5113495bSYour Name  * @psoc:   pointer to psoc object
4446*5113495bSYour Name  * @value:  pointer to the value which will be filled for the caller
4447*5113495bSYour Name  *
4448*5113495bSYour Name  * Return: QDF Status
4449*5113495bSYour Name  */
4450*5113495bSYour Name QDF_STATUS
4451*5113495bSYour Name ucfg_mlme_get_5dot9_ghz_chan_in_master_mode(struct wlan_objmgr_psoc *psoc,
4452*5113495bSYour Name 					    bool *value);
4453*5113495bSYour Name 
4454*5113495bSYour Name /**
4455*5113495bSYour Name  * ucfg_mlme_get_srd_master_mode_for_vdev()  - Get SRD master mode for vdev
4456*5113495bSYour Name  * @psoc:          pointer to psoc object
4457*5113495bSYour Name  * @vdev_opmode:   vdev opmode
4458*5113495bSYour Name  * @value:  pointer to the value which will be filled for the caller
4459*5113495bSYour Name  *
4460*5113495bSYour Name  * Return: QDF Status
4461*5113495bSYour Name  */
4462*5113495bSYour Name QDF_STATUS
4463*5113495bSYour Name ucfg_mlme_get_srd_master_mode_for_vdev(struct wlan_objmgr_psoc *psoc,
4464*5113495bSYour Name 				       enum QDF_OPMODE vdev_opmode,
4465*5113495bSYour Name 				       bool *value);
4466*5113495bSYour Name 
4467*5113495bSYour Name #ifdef SAP_AVOID_ACS_FREQ_LIST
4468*5113495bSYour Name /**
4469*5113495bSYour Name  * ucfg_mlme_get_acs_avoid_freq_list  - get acs avoid frequency list
4470*5113495bSYour Name  * @psoc: pointer to psoc object
4471*5113495bSYour Name  * @freq_list: Pointer to output freq list
4472*5113495bSYour Name  * @freq_list_num: Pointer to the output number of frequencies filled
4473*5113495bSYour Name  * in the freq_list
4474*5113495bSYour Name  *
4475*5113495bSYour Name  * Return: QDF Status
4476*5113495bSYour Name  */
4477*5113495bSYour Name QDF_STATUS
4478*5113495bSYour Name ucfg_mlme_get_acs_avoid_freq_list(struct wlan_objmgr_psoc *psoc,
4479*5113495bSYour Name 				  uint16_t *freq_list, uint8_t *freq_list_num);
4480*5113495bSYour Name 
4481*5113495bSYour Name #else
4482*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_acs_avoid_freq_list(struct wlan_objmgr_psoc * psoc,uint16_t * freq_list,uint8_t * freq_list_num)4483*5113495bSYour Name ucfg_mlme_get_acs_avoid_freq_list(struct wlan_objmgr_psoc *psoc,
4484*5113495bSYour Name 				  uint16_t *freq_list, uint8_t *freq_list_num)
4485*5113495bSYour Name {
4486*5113495bSYour Name 	*freq_list_num = 0;
4487*5113495bSYour Name 	return QDF_STATUS_E_INVAL;
4488*5113495bSYour Name }
4489*5113495bSYour Name #endif
4490*5113495bSYour Name 
4491*5113495bSYour Name /**
4492*5113495bSYour Name  * ucfg_mlme_get_11d_in_world_mode  - get whether 11d is enabled in world mode
4493*5113495bSYour Name  * in master mode
4494*5113495bSYour Name  * @psoc:   pointer to psoc object
4495*5113495bSYour Name  * @value:  pointer to the value which will be filled for the caller
4496*5113495bSYour Name  *
4497*5113495bSYour Name  * Return: QDF Status
4498*5113495bSYour Name  */
4499*5113495bSYour Name QDF_STATUS
4500*5113495bSYour Name ucfg_mlme_get_11d_in_world_mode(struct wlan_objmgr_psoc *psoc,
4501*5113495bSYour Name 				bool *value);
4502*5113495bSYour Name 
4503*5113495bSYour Name /**
4504*5113495bSYour Name  * ucfg_mlme_get_restart_beaconing_on_ch_avoid() - get restart beaconing on
4505*5113495bSYour Name  *                                                 channel avoid
4506*5113495bSYour Name  * @psoc:   pointer to psoc object
4507*5113495bSYour Name  * @value:  pointer to the value which will be filled for the caller
4508*5113495bSYour Name  *
4509*5113495bSYour Name  * Return: QDF Status
4510*5113495bSYour Name  */
4511*5113495bSYour Name QDF_STATUS
4512*5113495bSYour Name ucfg_mlme_get_restart_beaconing_on_ch_avoid(struct wlan_objmgr_psoc *psoc,
4513*5113495bSYour Name 					    uint32_t *value);
4514*5113495bSYour Name 
4515*5113495bSYour Name /**
4516*5113495bSYour Name  * ucfg_mlme_get_indoor_channel_support() - get indoor channel support
4517*5113495bSYour Name  * @psoc:   pointer to psoc object
4518*5113495bSYour Name  * @value:  pointer to the value which will be filled for the caller
4519*5113495bSYour Name  *
4520*5113495bSYour Name  * Return: QDF Status
4521*5113495bSYour Name  */
4522*5113495bSYour Name QDF_STATUS
4523*5113495bSYour Name ucfg_mlme_get_indoor_channel_support(struct wlan_objmgr_psoc *psoc,
4524*5113495bSYour Name 				     bool *value);
4525*5113495bSYour Name 
4526*5113495bSYour Name /**
4527*5113495bSYour Name  * ucfg_mlme_get_scan_11d_interval() - get scan 11d interval
4528*5113495bSYour Name  * @psoc: pointer to psoc object
4529*5113495bSYour Name  * @value:  Pointer to the value which will be filled for the caller
4530*5113495bSYour Name  *
4531*5113495bSYour Name  * Return: QDF Status
4532*5113495bSYour Name  */
4533*5113495bSYour Name QDF_STATUS
4534*5113495bSYour Name ucfg_mlme_get_scan_11d_interval(struct wlan_objmgr_psoc *psoc,
4535*5113495bSYour Name 				uint32_t *value);
4536*5113495bSYour Name 
4537*5113495bSYour Name /**
4538*5113495bSYour Name  * ucfg_mlme_get_nol_across_regdmn() - get scan 11d interval
4539*5113495bSYour Name  * @psoc: pointer to psoc object
4540*5113495bSYour Name  * @value:  Pointer to the value which will be filled for the caller
4541*5113495bSYour Name  *
4542*5113495bSYour Name  * Return: QDF Status
4543*5113495bSYour Name  */
4544*5113495bSYour Name 
4545*5113495bSYour Name QDF_STATUS
4546*5113495bSYour Name ucfg_mlme_get_nol_across_regdmn(struct wlan_objmgr_psoc *psoc, bool *value);
4547*5113495bSYour Name 
4548*5113495bSYour Name /**
4549*5113495bSYour Name  * ucfg_mlme_get_valid_channel_freq_list() - get valid channel
4550*5113495bSYour Name  * list
4551*5113495bSYour Name  * @psoc: pointer to psoc object
4552*5113495bSYour Name  * @channel_list: pointer to return channel list
4553*5113495bSYour Name  * @channel_list_num: pointer to return channel list number
4554*5113495bSYour Name  *
4555*5113495bSYour Name  * Return: QDF Status
4556*5113495bSYour Name  */
4557*5113495bSYour Name QDF_STATUS
4558*5113495bSYour Name ucfg_mlme_get_valid_channel_freq_list(struct wlan_objmgr_psoc *psoc,
4559*5113495bSYour Name 				      uint32_t *channel_list,
4560*5113495bSYour Name 				      uint32_t *channel_list_num);
4561*5113495bSYour Name 
4562*5113495bSYour Name #ifdef FEATURE_LFR_SUBNET_DETECTION
4563*5113495bSYour Name /**
4564*5113495bSYour Name  * ucfg_mlme_is_subnet_detection_enabled() - check if sub net detection is
4565*5113495bSYour Name  * enabled/disabled
4566*5113495bSYour Name  * @psoc: pointer to psoc object
4567*5113495bSYour Name  * @val: value that is requested by the caller
4568*5113495bSYour Name  *
4569*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
4570*5113495bSYour Name  *
4571*5113495bSYour Name  * Return: QDF_STATUS_SUCCESS - in case of success
4572*5113495bSYour Name  */
4573*5113495bSYour Name QDF_STATUS
4574*5113495bSYour Name ucfg_mlme_is_subnet_detection_enabled(struct wlan_objmgr_psoc *psoc, bool *val);
4575*5113495bSYour Name #else
4576*5113495bSYour Name static QDF_STATUS
ucfg_mlme_is_subnet_detection_enabled(struct wlan_objmgr_psoc * psoc,bool * val)4577*5113495bSYour Name ucfg_mlme_is_subnet_detection_enabled(struct wlan_objmgr_psoc *psoc, bool *val)
4578*5113495bSYour Name {
4579*5113495bSYour Name 	*val = false;
4580*5113495bSYour Name 
4581*5113495bSYour Name 	return QDF_STATUS_SUCCESS;
4582*5113495bSYour Name }
4583*5113495bSYour Name #endif /* FEATURE_LFR_SUBNET_DETECTION */
4584*5113495bSYour Name 
4585*5113495bSYour Name /**
4586*5113495bSYour Name  * ucfg_mlme_set_current_tx_power_level() - set current tx power level
4587*5113495bSYour Name  * @psoc:   pointer to psoc object
4588*5113495bSYour Name  * @value:  data to be set
4589*5113495bSYour Name  *
4590*5113495bSYour Name  * Return: QDF Status
4591*5113495bSYour Name  */
4592*5113495bSYour Name QDF_STATUS
4593*5113495bSYour Name ucfg_mlme_set_current_tx_power_level(struct wlan_objmgr_psoc *psoc,
4594*5113495bSYour Name 				     uint8_t value);
4595*5113495bSYour Name 
4596*5113495bSYour Name /**
4597*5113495bSYour Name  * ucfg_mlme_get_current_tx_power_level() - get current tx power level
4598*5113495bSYour Name  * @psoc:   pointer to psoc object
4599*5113495bSYour Name  * @value:  pointer to the value which will be filled for the caller
4600*5113495bSYour Name  *
4601*5113495bSYour Name  * Return: QDF Status
4602*5113495bSYour Name  */
4603*5113495bSYour Name QDF_STATUS
4604*5113495bSYour Name ucfg_mlme_get_current_tx_power_level(struct wlan_objmgr_psoc *psoc,
4605*5113495bSYour Name 				     uint8_t *value);
4606*5113495bSYour Name 
4607*5113495bSYour Name /**
4608*5113495bSYour Name  * ucfg_wlan_mlme_get_reg_tpc_info() - get current regulatory tpc info
4609*5113495bSYour Name  * @vdev:   pointer to vdev object
4610*5113495bSYour Name  * @tpc_info:  pointer to tpc info buffer
4611*5113495bSYour Name  *
4612*5113495bSYour Name  * Return: QDF Status
4613*5113495bSYour Name  */
4614*5113495bSYour Name QDF_STATUS
4615*5113495bSYour Name ucfg_wlan_mlme_get_reg_tpc_info(struct wlan_objmgr_vdev *vdev,
4616*5113495bSYour Name 				struct reg_tpc_power_info *tpc_info);
4617*5113495bSYour Name 
4618*5113495bSYour Name /**
4619*5113495bSYour Name  * ucfg_mlme_set_obss_detection_offload_enabled() - Enable obss offload
4620*5113495bSYour Name  * @psoc:   pointer to psoc object
4621*5113495bSYour Name  * @value:  enable or disable
4622*5113495bSYour Name  *
4623*5113495bSYour Name  * Return: QDF Status
4624*5113495bSYour Name  */
4625*5113495bSYour Name QDF_STATUS
4626*5113495bSYour Name ucfg_mlme_set_obss_detection_offload_enabled(struct wlan_objmgr_psoc *psoc,
4627*5113495bSYour Name 					     uint8_t value);
4628*5113495bSYour Name 
4629*5113495bSYour Name /**
4630*5113495bSYour Name  * ucfg_mlme_set_obss_color_collision_offload_enabled() - Enable obss color
4631*5113495bSYour Name  * collision offload
4632*5113495bSYour Name  * @psoc:   pointer to psoc object
4633*5113495bSYour Name  * @value:  enable or disable
4634*5113495bSYour Name  *
4635*5113495bSYour Name  * Return: QDF Status
4636*5113495bSYour Name  */
4637*5113495bSYour Name QDF_STATUS
4638*5113495bSYour Name ucfg_mlme_set_obss_color_collision_offload_enabled(
4639*5113495bSYour Name 		struct wlan_objmgr_psoc *psoc, uint8_t value);
4640*5113495bSYour Name 
4641*5113495bSYour Name /**
4642*5113495bSYour Name  * ucfg_mlme_set_bss_color_collision_det_sta() - Enable bss color
4643*5113495bSYour Name  * collision detection offload for STA mode
4644*5113495bSYour Name  * @psoc:   pointer to psoc object
4645*5113495bSYour Name  * @value:  enable or disable
4646*5113495bSYour Name  *
4647*5113495bSYour Name  * Return: QDF Status
4648*5113495bSYour Name  */
4649*5113495bSYour Name QDF_STATUS
4650*5113495bSYour Name ucfg_mlme_set_bss_color_collision_det_sta(struct wlan_objmgr_psoc *psoc,
4651*5113495bSYour Name 					  bool value);
4652*5113495bSYour Name 
4653*5113495bSYour Name /**
4654*5113495bSYour Name  * ucfg_mlme_set_bss_color_collision_det_support() - Set bss color collision
4655*5113495bSYour Name  * detection offload support from FW for STA mode
4656*5113495bSYour Name  * @psoc:  pointer to psoc object
4657*5113495bSYour Name  * @value: enable or disable
4658*5113495bSYour Name  *
4659*5113495bSYour Name  * Return: QDF Status
4660*5113495bSYour Name  */
4661*5113495bSYour Name QDF_STATUS
4662*5113495bSYour Name ucfg_mlme_set_bss_color_collision_det_support(struct wlan_objmgr_psoc *psoc,
4663*5113495bSYour Name 					      bool value);
4664*5113495bSYour Name 
4665*5113495bSYour Name /**
4666*5113495bSYour Name  * ucfg_mlme_get_bss_color_collision_det_support() - Get bss color collision
4667*5113495bSYour Name  * detection offload FW support for STA mode
4668*5113495bSYour Name  * @psoc:  pointer to psoc object
4669*5113495bSYour Name  * @value: pointer to the value which will be filled for the caller
4670*5113495bSYour Name  *
4671*5113495bSYour Name  * Return: QDF Status
4672*5113495bSYour Name  */
4673*5113495bSYour Name QDF_STATUS
4674*5113495bSYour Name ucfg_mlme_get_bss_color_collision_det_support(struct wlan_objmgr_psoc *psoc,
4675*5113495bSYour Name 					      bool *value);
4676*5113495bSYour Name 
4677*5113495bSYour Name /**
4678*5113495bSYour Name  * ucfg_mlme_set_restricted_80p80_bw_supp() - Set the restricted 80p80 support
4679*5113495bSYour Name  * @psoc: pointer to psoc object
4680*5113495bSYour Name  * @restricted_80p80_supp: Value to be set from the caller
4681*5113495bSYour Name  *
4682*5113495bSYour Name  * Return: QDF Status
4683*5113495bSYour Name  */
4684*5113495bSYour Name QDF_STATUS ucfg_mlme_set_restricted_80p80_bw_supp(struct wlan_objmgr_psoc *psoc,
4685*5113495bSYour Name 						  bool restricted_80p80_supp);
4686*5113495bSYour Name 
4687*5113495bSYour Name /**
4688*5113495bSYour Name  * ucfg_mlme_get_restricted_80p80_bw_supp() - Get the restricted 80p80 support
4689*5113495bSYour Name  * @psoc: pointer to psoc object
4690*5113495bSYour Name  *
4691*5113495bSYour Name  * Return: true or false
4692*5113495bSYour Name  */
4693*5113495bSYour Name bool ucfg_mlme_get_restricted_80p80_bw_supp(struct wlan_objmgr_psoc *psoc);
4694*5113495bSYour Name 
4695*5113495bSYour Name /**
4696*5113495bSYour Name  * ucfg_mlme_get_update_chan_width_allowed  - Get value of INI
4697*5113495bSYour Name  * is_update_chan_width_allowed
4698*5113495bSYour Name  * @psoc: pointer to psoc object
4699*5113495bSYour Name  * @value: pointer to the value which will be filled for the caller
4700*5113495bSYour Name  *
4701*5113495bSYour Name  * Return: QDF Status
4702*5113495bSYour Name  */
4703*5113495bSYour Name QDF_STATUS
4704*5113495bSYour Name ucfg_mlme_get_update_chan_width_allowed(struct wlan_objmgr_psoc *psoc,
4705*5113495bSYour Name 					bool *value);
4706*5113495bSYour Name 
4707*5113495bSYour Name /**
4708*5113495bSYour Name  * ucfg_mlme_get_channel_bonding_24ghz() - get channel bonding mode of 24ghz
4709*5113495bSYour Name  * @psoc:   pointer to psoc object
4710*5113495bSYour Name  * @value:  pointer to the value which will be filled for the caller
4711*5113495bSYour Name  *
4712*5113495bSYour Name  * Return: QDF Status
4713*5113495bSYour Name  */
4714*5113495bSYour Name QDF_STATUS
4715*5113495bSYour Name ucfg_mlme_get_channel_bonding_24ghz(struct wlan_objmgr_psoc *psoc,
4716*5113495bSYour Name 				    uint32_t *value);
4717*5113495bSYour Name 
4718*5113495bSYour Name /**
4719*5113495bSYour Name  * ucfg_mlme_set_channel_bonding_24ghz() - set channel bonding mode for 24ghz
4720*5113495bSYour Name  * @psoc:   pointer to psoc object
4721*5113495bSYour Name  * @value:  channel bonding mode
4722*5113495bSYour Name  *
4723*5113495bSYour Name  * Return: QDF Status
4724*5113495bSYour Name  */
4725*5113495bSYour Name QDF_STATUS
4726*5113495bSYour Name ucfg_mlme_set_channel_bonding_24ghz(struct wlan_objmgr_psoc *psoc,
4727*5113495bSYour Name 				    uint32_t value);
4728*5113495bSYour Name 
4729*5113495bSYour Name /**
4730*5113495bSYour Name  * ucfg_mlme_get_channel_bonding_5ghz() - get channel bonding mode of 5ghz
4731*5113495bSYour Name  * @psoc:   pointer to psoc object
4732*5113495bSYour Name  * @value:  pointer to the value which will be filled for the caller
4733*5113495bSYour Name  *
4734*5113495bSYour Name  * Return: QDF Status
4735*5113495bSYour Name  */
4736*5113495bSYour Name QDF_STATUS
4737*5113495bSYour Name ucfg_mlme_get_channel_bonding_5ghz(struct wlan_objmgr_psoc *psoc,
4738*5113495bSYour Name 				   uint32_t *value);
4739*5113495bSYour Name 
4740*5113495bSYour Name /**
4741*5113495bSYour Name  * ucfg_mlme_set_channel_bonding_5ghz() - set channel bonding mode for 5ghz
4742*5113495bSYour Name  * @psoc:   pointer to psoc object
4743*5113495bSYour Name  * @value:    channel bonding mode
4744*5113495bSYour Name  *
4745*5113495bSYour Name  * Return: QDF Status
4746*5113495bSYour Name  */
4747*5113495bSYour Name QDF_STATUS
4748*5113495bSYour Name ucfg_mlme_set_channel_bonding_5ghz(struct wlan_objmgr_psoc *psoc,
4749*5113495bSYour Name 				   uint32_t value);
4750*5113495bSYour Name 
4751*5113495bSYour Name /**
4752*5113495bSYour Name  * ucfg_mlme_get_scan_probe_unicast_ra() - Get scan probe unicast RA cfg
4753*5113495bSYour Name  *
4754*5113495bSYour Name  * @psoc: pointer to psoc object
4755*5113495bSYour Name  * @value: value which needs to filled by API
4756*5113495bSYour Name  *
4757*5113495bSYour Name  * This API gives scan probe request with unicast RA user config
4758*5113495bSYour Name  *
4759*5113495bSYour Name  * Return: QDF_STATUS
4760*5113495bSYour Name  */
4761*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_scan_probe_unicast_ra(struct wlan_objmgr_psoc * psoc,bool * value)4762*5113495bSYour Name ucfg_mlme_get_scan_probe_unicast_ra(struct wlan_objmgr_psoc *psoc,
4763*5113495bSYour Name 				    bool *value)
4764*5113495bSYour Name {
4765*5113495bSYour Name 	return wlan_mlme_get_scan_probe_unicast_ra(psoc, value);
4766*5113495bSYour Name }
4767*5113495bSYour Name 
4768*5113495bSYour Name /**
4769*5113495bSYour Name  * ucfg_mlme_set_scan_probe_unicast_ra() - Set scan probe unicast RA cfg
4770*5113495bSYour Name  *
4771*5113495bSYour Name  * @psoc: pointer to psoc object
4772*5113495bSYour Name  * @value: set value
4773*5113495bSYour Name  *
4774*5113495bSYour Name  * This API sets scan probe request with unicast RA user config
4775*5113495bSYour Name  *
4776*5113495bSYour Name  * Return: QDF_STATUS
4777*5113495bSYour Name  */
4778*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_set_scan_probe_unicast_ra(struct wlan_objmgr_psoc * psoc,bool value)4779*5113495bSYour Name ucfg_mlme_set_scan_probe_unicast_ra(struct wlan_objmgr_psoc *psoc,
4780*5113495bSYour Name 				    bool value)
4781*5113495bSYour Name {
4782*5113495bSYour Name 	return wlan_mlme_set_scan_probe_unicast_ra(psoc, value);
4783*5113495bSYour Name }
4784*5113495bSYour Name 
4785*5113495bSYour Name /**
4786*5113495bSYour Name  * ucfg_mlme_get_peer_phymode() - get phymode of peer
4787*5113495bSYour Name  * @psoc: pointer to psoc object
4788*5113495bSYour Name  * @mac:  Pointer to the mac addr of the peer
4789*5113495bSYour Name  * @peer_phymode: phymode
4790*5113495bSYour Name  *
4791*5113495bSYour Name  * Return: QDF Status
4792*5113495bSYour Name  */
4793*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_peer_phymode(struct wlan_objmgr_psoc * psoc,uint8_t * mac,enum wlan_phymode * peer_phymode)4794*5113495bSYour Name ucfg_mlme_get_peer_phymode(struct wlan_objmgr_psoc *psoc, uint8_t *mac,
4795*5113495bSYour Name 			   enum wlan_phymode *peer_phymode)
4796*5113495bSYour Name {
4797*5113495bSYour Name 	return mlme_get_peer_phymode(psoc, mac, peer_phymode);
4798*5113495bSYour Name }
4799*5113495bSYour Name 
4800*5113495bSYour Name /**
4801*5113495bSYour Name  * ucfg_mlme_validate_full_roam_scan_period() - Validate full roam scan period
4802*5113495bSYour Name  * @full_roam_scan_period: Idle period in seconds between two successive
4803*5113495bSYour Name  * full channel roam scans
4804*5113495bSYour Name  *
4805*5113495bSYour Name  * Return: True if full_roam_scan_period is in expected range, false otherwise.
4806*5113495bSYour Name  */
4807*5113495bSYour Name bool ucfg_mlme_validate_full_roam_scan_period(uint32_t full_roam_scan_period);
4808*5113495bSYour Name 
4809*5113495bSYour Name /**
4810*5113495bSYour Name  * ucfg_mlme_validate_scan_period() - Validate if scan period is in valid range
4811*5113495bSYour Name  * @psoc: Pointer to soc
4812*5113495bSYour Name  * @roam_scan_period: Scan period in msec
4813*5113495bSYour Name  *
4814*5113495bSYour Name  * Return: True if roam_scan_period is in expected range, false otherwise.
4815*5113495bSYour Name  */
4816*5113495bSYour Name bool ucfg_mlme_validate_scan_period(struct wlan_objmgr_psoc *psoc,
4817*5113495bSYour Name 				    uint32_t roam_scan_period);
4818*5113495bSYour Name /**
4819*5113495bSYour Name  * ucfg_mlme_get_ignore_fw_reg_offload_ind() - Get the
4820*5113495bSYour Name  * ignore_fw_reg_offload_ind ini
4821*5113495bSYour Name  * @psoc: pointer to psoc object
4822*5113495bSYour Name  * @disabled: output pointer to hold user config
4823*5113495bSYour Name  *
4824*5113495bSYour Name  * Return: QDF Status
4825*5113495bSYour Name  */
4826*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_ignore_fw_reg_offload_ind(struct wlan_objmgr_psoc * psoc,bool * disabled)4827*5113495bSYour Name ucfg_mlme_get_ignore_fw_reg_offload_ind(struct wlan_objmgr_psoc *psoc,
4828*5113495bSYour Name 					bool *disabled)
4829*5113495bSYour Name {
4830*5113495bSYour Name 	return wlan_mlme_get_ignore_fw_reg_offload_ind(psoc, disabled);
4831*5113495bSYour Name }
4832*5113495bSYour Name 
4833*5113495bSYour Name /**
4834*5113495bSYour Name  * ucfg_mlme_get_peer_unmap_conf() - Indicate if peer unmap confirmation
4835*5113495bSYour Name  * support is enabled or disabled
4836*5113495bSYour Name  * @psoc: pointer to psoc object
4837*5113495bSYour Name  *
4838*5113495bSYour Name  * Return: true if peer unmap confirmation support is enabled, else false
4839*5113495bSYour Name  */
4840*5113495bSYour Name static inline
ucfg_mlme_get_peer_unmap_conf(struct wlan_objmgr_psoc * psoc)4841*5113495bSYour Name QDF_STATUS ucfg_mlme_get_peer_unmap_conf(struct wlan_objmgr_psoc *psoc)
4842*5113495bSYour Name {
4843*5113495bSYour Name 	return wlan_mlme_get_peer_unmap_conf(psoc);
4844*5113495bSYour Name }
4845*5113495bSYour Name 
4846*5113495bSYour Name #ifdef WLAN_FEATURE_ROAM_OFFLOAD
4847*5113495bSYour Name /**
4848*5113495bSYour Name  * ucfg_mlme_get_roam_reason_vsie_status() - Get roam reason vsie is
4849*5113495bSYour Name  * enabled or disabled
4850*5113495bSYour Name  * @psoc: pointer to psoc object
4851*5113495bSYour Name  * @roam_reason_vsie_enabled: pointer to hold value of roam reason vsie
4852*5113495bSYour Name  *
4853*5113495bSYour Name  * Return: Success if able to get bcn rpt err vsie value, else failure
4854*5113495bSYour Name  */
4855*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_roam_reason_vsie_status(struct wlan_objmgr_psoc * psoc,uint8_t * roam_reason_vsie_enabled)4856*5113495bSYour Name ucfg_mlme_get_roam_reason_vsie_status(struct wlan_objmgr_psoc *psoc,
4857*5113495bSYour Name 				      uint8_t *roam_reason_vsie_enabled)
4858*5113495bSYour Name {
4859*5113495bSYour Name 	return wlan_mlme_get_roam_reason_vsie_status(psoc,
4860*5113495bSYour Name 					roam_reason_vsie_enabled);
4861*5113495bSYour Name }
4862*5113495bSYour Name 
4863*5113495bSYour Name /**
4864*5113495bSYour Name  * ucfg_mlme_set_roam_reason_vsie_status() - Update roam reason vsie status
4865*5113495bSYour Name  * value with user configured value
4866*5113495bSYour Name  * @psoc: pointer to psoc object
4867*5113495bSYour Name  * @roam_reason_vsie_enabled: value of roam reason vsie status
4868*5113495bSYour Name  *
4869*5113495bSYour Name  * Return: Success if able to get bcn rpt err vsie value, else failure
4870*5113495bSYour Name  */
4871*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_set_roam_reason_vsie_status(struct wlan_objmgr_psoc * psoc,uint8_t roam_reason_vsie_enabled)4872*5113495bSYour Name ucfg_mlme_set_roam_reason_vsie_status(struct wlan_objmgr_psoc *psoc,
4873*5113495bSYour Name 				      uint8_t roam_reason_vsie_enabled)
4874*5113495bSYour Name {
4875*5113495bSYour Name 	return wlan_mlme_set_roam_reason_vsie_status(psoc,
4876*5113495bSYour Name 					roam_reason_vsie_enabled);
4877*5113495bSYour Name }
4878*5113495bSYour Name 
4879*5113495bSYour Name #endif
4880*5113495bSYour Name 
4881*5113495bSYour Name /**
4882*5113495bSYour Name  * ucfg_mlme_set_vdev_wifi_std()  - Set vdev wifi standard support
4883*5113495bSYour Name  * @psoc: pointer to psoc object
4884*5113495bSYour Name  * @vdev_id: Vdev id
4885*5113495bSYour Name  * @wifi_std: wifi standard version
4886*5113495bSYour Name  *
4887*5113495bSYour Name  * Return: QDF_STATUS
4888*5113495bSYour Name  */
4889*5113495bSYour Name QDF_STATUS
4890*5113495bSYour Name ucfg_mlme_set_vdev_wifi_std(struct wlan_objmgr_psoc *psoc, uint8_t vdev_id,
4891*5113495bSYour Name 			    WMI_HOST_WIFI_STANDARD wifi_std);
4892*5113495bSYour Name 
4893*5113495bSYour Name /**
4894*5113495bSYour Name  * ucfg_mlme_set_vdev_traffic_low_latency()  - Set/clear vdev low latency
4895*5113495bSYour Name  * config
4896*5113495bSYour Name  * @psoc: pointer to psoc object
4897*5113495bSYour Name  * @vdev_id: Vdev id
4898*5113495bSYour Name  * @set: Flag to indicate set or clear
4899*5113495bSYour Name  *
4900*5113495bSYour Name  * Return: QDF_STATUS
4901*5113495bSYour Name  */
4902*5113495bSYour Name QDF_STATUS
4903*5113495bSYour Name ucfg_mlme_set_vdev_traffic_low_latency(struct wlan_objmgr_psoc *psoc,
4904*5113495bSYour Name 				       uint8_t vdev_id, bool set);
4905*5113495bSYour Name 
4906*5113495bSYour Name /**
4907*5113495bSYour Name  * ucfg_mlme_update_bss_rate_flags() - update bss rate flag as per new channel
4908*5113495bSYour Name  * width
4909*5113495bSYour Name  * @psoc: pointer to psoc object
4910*5113495bSYour Name  * @vdev_id: Vdev id
4911*5113495bSYour Name  * @ch_width: channel width to update
4912*5113495bSYour Name  * @eht_present: connected bss is eht capable or not
4913*5113495bSYour Name  * @he_present: connected bss is he capable or not
4914*5113495bSYour Name  * @vht_present: connected bss is vht capable or not
4915*5113495bSYour Name  * @ht_present: connected bss is ht capable or not
4916*5113495bSYour Name  *
4917*5113495bSYour Name  * Return: QDF_STATUS
4918*5113495bSYour Name  */
4919*5113495bSYour Name QDF_STATUS ucfg_mlme_update_bss_rate_flags(struct wlan_objmgr_psoc *psoc,
4920*5113495bSYour Name 					   uint8_t vdev_id,
4921*5113495bSYour Name 					   enum phy_ch_width ch_width,
4922*5113495bSYour Name 					   uint8_t eht_present,
4923*5113495bSYour Name 					   uint8_t he_present,
4924*5113495bSYour Name 					   uint8_t vht_present,
4925*5113495bSYour Name 					   uint8_t ht_present);
4926*5113495bSYour Name 
4927*5113495bSYour Name /**
4928*5113495bSYour Name  * ucfg_mlme_send_ch_width_update_with_notify() - Send chwidth with notify
4929*5113495bSYour Name  * capability of FW
4930*5113495bSYour Name  * @psoc: pointer to psoc object
4931*5113495bSYour Name  * @link_vdev: Link VDEV object
4932*5113495bSYour Name  * @ch_width: channel width to update
4933*5113495bSYour Name  * @link_vdev_id: vdev id for each link
4934*5113495bSYour Name  *
4935*5113495bSYour Name  * Return: QDF_STATUS
4936*5113495bSYour Name  */
4937*5113495bSYour Name QDF_STATUS
4938*5113495bSYour Name ucfg_mlme_send_ch_width_update_with_notify(struct wlan_objmgr_psoc *psoc,
4939*5113495bSYour Name 					   struct wlan_objmgr_vdev *link_vdev,
4940*5113495bSYour Name 					   enum phy_ch_width ch_width,
4941*5113495bSYour Name 					   uint8_t link_vdev_id);
4942*5113495bSYour Name 
4943*5113495bSYour Name /**
4944*5113495bSYour Name  * ucfg_mlme_is_chwidth_with_notify_supported() - Get chwidth with notify
4945*5113495bSYour Name  * capability of FW
4946*5113495bSYour Name  * @psoc: pointer to psoc object
4947*5113495bSYour Name  *
4948*5113495bSYour Name  * Return: true if chwidth with notify feature supported
4949*5113495bSYour Name  */
4950*5113495bSYour Name bool
4951*5113495bSYour Name ucfg_mlme_is_chwidth_with_notify_supported(struct wlan_objmgr_psoc *psoc);
4952*5113495bSYour Name 
4953*5113495bSYour Name /**
4954*5113495bSYour Name  * ucfg_mlme_connected_chan_stats_request() - process connected channel stats
4955*5113495bSYour Name  * request
4956*5113495bSYour Name  * @psoc: pointer to psoc object
4957*5113495bSYour Name  * @vdev_id: Vdev id
4958*5113495bSYour Name  *
4959*5113495bSYour Name  * Return: QDF_STATUS
4960*5113495bSYour Name  */
4961*5113495bSYour Name QDF_STATUS ucfg_mlme_connected_chan_stats_request(struct wlan_objmgr_psoc *psoc,
4962*5113495bSYour Name 						  uint8_t vdev_id);
4963*5113495bSYour Name 
4964*5113495bSYour Name /**
4965*5113495bSYour Name  * ucfg_mlme_set_vdev_traffic_high_throughput()  - Set/clear vdev high
4966*5113495bSYour Name  * throughput config
4967*5113495bSYour Name  * @psoc: pointer to psoc object
4968*5113495bSYour Name  * @vdev_id: Vdev id
4969*5113495bSYour Name  * @set: Flag to indicate set or clear
4970*5113495bSYour Name  *
4971*5113495bSYour Name  * Return: QDF_STATUS
4972*5113495bSYour Name  */
4973*5113495bSYour Name QDF_STATUS
4974*5113495bSYour Name ucfg_mlme_set_vdev_traffic_high_throughput(struct wlan_objmgr_psoc *psoc,
4975*5113495bSYour Name 					   uint8_t vdev_id, bool set);
4976*5113495bSYour Name 
4977*5113495bSYour Name /**
4978*5113495bSYour Name  * ucfg_mlme_set_user_ps()  - Set the PS user config
4979*5113495bSYour Name  * @psoc: pointer to psoc object
4980*5113495bSYour Name  * @vdev_id: Vdev id
4981*5113495bSYour Name  * @ps_enable: Flag to indicate if user PS is enabled
4982*5113495bSYour Name  *
4983*5113495bSYour Name  * Return: QDF_STATUS
4984*5113495bSYour Name  */
4985*5113495bSYour Name static inline
ucfg_mlme_set_user_ps(struct wlan_objmgr_psoc * psoc,uint8_t vdev_id,bool ps_enable)4986*5113495bSYour Name QDF_STATUS ucfg_mlme_set_user_ps(struct wlan_objmgr_psoc *psoc, uint8_t vdev_id,
4987*5113495bSYour Name 				 bool ps_enable)
4988*5113495bSYour Name {
4989*5113495bSYour Name 	return mlme_set_user_ps(psoc, vdev_id, ps_enable);
4990*5113495bSYour Name }
4991*5113495bSYour Name 
4992*5113495bSYour Name /**
4993*5113495bSYour Name  * ucfg_mlme_get_user_ps()  - Get user PS flag
4994*5113495bSYour Name  * @psoc: pointer to psoc object
4995*5113495bSYour Name  * @vdev_id: Vdev id
4996*5113495bSYour Name  *
4997*5113495bSYour Name  * Return: True if user ps is enabled else false
4998*5113495bSYour Name  */
4999*5113495bSYour Name static inline
ucfg_mlme_get_user_ps(struct wlan_objmgr_psoc * psoc,uint8_t vdev_id)5000*5113495bSYour Name bool ucfg_mlme_get_user_ps(struct wlan_objmgr_psoc *psoc, uint8_t vdev_id)
5001*5113495bSYour Name {
5002*5113495bSYour Name 	return mlme_get_user_ps(psoc, vdev_id);
5003*5113495bSYour Name }
5004*5113495bSYour Name 
5005*5113495bSYour Name /**
5006*5113495bSYour Name  * ucfg_mlme_set_ft_over_ds() - update ft_over_ds status with user configured
5007*5113495bSYour Name  * value
5008*5113495bSYour Name  * @psoc: pointer to psoc object
5009*5113495bSYour Name  * @ft_over_ds_enable: value of ft_over_ds
5010*5113495bSYour Name  *
5011*5113495bSYour Name  * Return: QDF Status
5012*5113495bSYour Name  */
5013*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_set_ft_over_ds(struct wlan_objmgr_psoc * psoc,uint8_t ft_over_ds_enable)5014*5113495bSYour Name ucfg_mlme_set_ft_over_ds(struct wlan_objmgr_psoc *psoc,
5015*5113495bSYour Name 			 uint8_t ft_over_ds_enable)
5016*5113495bSYour Name {
5017*5113495bSYour Name 	return wlan_mlme_set_ft_over_ds(psoc, ft_over_ds_enable);
5018*5113495bSYour Name }
5019*5113495bSYour Name 
5020*5113495bSYour Name /**
5021*5113495bSYour Name  * ucfg_mlme_is_sta_mon_conc_supported() - Check if STA + Monitor mode
5022*5113495bSYour Name  * concurrency is supported
5023*5113495bSYour Name  * @psoc: pointer to psoc object
5024*5113495bSYour Name  *
5025*5113495bSYour Name  * Return: True if supported, else false.
5026*5113495bSYour Name  */
5027*5113495bSYour Name static inline bool
ucfg_mlme_is_sta_mon_conc_supported(struct wlan_objmgr_psoc * psoc)5028*5113495bSYour Name ucfg_mlme_is_sta_mon_conc_supported(struct wlan_objmgr_psoc *psoc)
5029*5113495bSYour Name {
5030*5113495bSYour Name 	return wlan_mlme_is_sta_mon_conc_supported(psoc);
5031*5113495bSYour Name }
5032*5113495bSYour Name 
5033*5113495bSYour Name /**
5034*5113495bSYour Name  * ucfg_mlme_cfg_get_eht_caps() - Get the EHT capability info
5035*5113495bSYour Name  * @psoc: pointer to psoc object
5036*5113495bSYour Name  * @eht_cap: Caps that needs to be filled.
5037*5113495bSYour Name  *
5038*5113495bSYour Name  * Return: QDF Status
5039*5113495bSYour Name  */
5040*5113495bSYour Name static inline
ucfg_mlme_cfg_get_eht_caps(struct wlan_objmgr_psoc * psoc,tDot11fIEeht_cap * eht_cap)5041*5113495bSYour Name QDF_STATUS ucfg_mlme_cfg_get_eht_caps(struct wlan_objmgr_psoc *psoc,
5042*5113495bSYour Name 				      tDot11fIEeht_cap *eht_cap)
5043*5113495bSYour Name {
5044*5113495bSYour Name 	return mlme_cfg_get_eht_caps(psoc, eht_cap);
5045*5113495bSYour Name }
5046*5113495bSYour Name 
5047*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_cfg_get_vht_ampdu_len_exp(struct wlan_objmgr_psoc * psoc,uint8_t * value)5048*5113495bSYour Name ucfg_mlme_cfg_get_vht_ampdu_len_exp(struct wlan_objmgr_psoc *psoc,
5049*5113495bSYour Name 				    uint8_t *value)
5050*5113495bSYour Name {
5051*5113495bSYour Name 	return wlan_mlme_cfg_get_vht_ampdu_len_exp(psoc, value);
5052*5113495bSYour Name }
5053*5113495bSYour Name 
5054*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_cfg_get_vht_max_mpdu_len(struct wlan_objmgr_psoc * psoc,uint8_t * value)5055*5113495bSYour Name ucfg_mlme_cfg_get_vht_max_mpdu_len(struct wlan_objmgr_psoc *psoc,
5056*5113495bSYour Name 				   uint8_t *value)
5057*5113495bSYour Name {
5058*5113495bSYour Name 	return wlan_mlme_cfg_get_vht_max_mpdu_len(psoc, value);
5059*5113495bSYour Name }
5060*5113495bSYour Name 
5061*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_cfg_get_ht_smps(struct wlan_objmgr_psoc * psoc,uint8_t * value)5062*5113495bSYour Name ucfg_mlme_cfg_get_ht_smps(struct wlan_objmgr_psoc *psoc,
5063*5113495bSYour Name 			  uint8_t *value)
5064*5113495bSYour Name {
5065*5113495bSYour Name 	return wlan_mlme_cfg_get_ht_smps(psoc, value);
5066*5113495bSYour Name }
5067*5113495bSYour Name 
5068*5113495bSYour Name #ifdef FEATURE_WLAN_CH_AVOID_EXT
5069*5113495bSYour Name /**
5070*5113495bSYour Name  * ucfg_mlme_get_coex_unsafe_chan_nb_user_prefer() - get coex unsafe nb
5071*5113495bSYour Name  * support
5072*5113495bSYour Name  * @psoc:   pointer to psoc object
5073*5113495bSYour Name  *
5074*5113495bSYour Name  * Return: coex_unsafe_chan_nb_user_prefer
5075*5113495bSYour Name  */
5076*5113495bSYour Name bool ucfg_mlme_get_coex_unsafe_chan_nb_user_prefer(
5077*5113495bSYour Name 		struct wlan_objmgr_psoc *psoc);
5078*5113495bSYour Name 
5079*5113495bSYour Name bool ucfg_mlme_get_coex_unsafe_chan_nb_user_prefer_for_sap(
5080*5113495bSYour Name 		struct wlan_objmgr_psoc *psoc);
5081*5113495bSYour Name 
5082*5113495bSYour Name /**
5083*5113495bSYour Name  * ucfg_mlme_get_coex_unsafe_chan_reg_disable() - get reg disable cap for
5084*5113495bSYour Name  * coex unsafe channels support
5085*5113495bSYour Name  * @psoc:   pointer to psoc object
5086*5113495bSYour Name  *
5087*5113495bSYour Name  * Return: coex_unsafe_chan_reg_disable
5088*5113495bSYour Name  */
5089*5113495bSYour Name bool ucfg_mlme_get_coex_unsafe_chan_reg_disable(
5090*5113495bSYour Name 		struct wlan_objmgr_psoc *psoc);
5091*5113495bSYour Name #else
5092*5113495bSYour Name static inline
ucfg_mlme_get_coex_unsafe_chan_nb_user_prefer(struct wlan_objmgr_psoc * psoc)5093*5113495bSYour Name bool ucfg_mlme_get_coex_unsafe_chan_nb_user_prefer(
5094*5113495bSYour Name 		struct wlan_objmgr_psoc *psoc)
5095*5113495bSYour Name {
5096*5113495bSYour Name 	return false;
5097*5113495bSYour Name }
5098*5113495bSYour Name 
5099*5113495bSYour Name static inline
ucfg_mlme_get_coex_unsafe_chan_nb_user_prefer_for_sap(struct wlan_objmgr_psoc * psoc)5100*5113495bSYour Name bool ucfg_mlme_get_coex_unsafe_chan_nb_user_prefer_for_sap(
5101*5113495bSYour Name 		struct wlan_objmgr_psoc *psoc)
5102*5113495bSYour Name {
5103*5113495bSYour Name 	return false;
5104*5113495bSYour Name }
5105*5113495bSYour Name 
5106*5113495bSYour Name static inline
ucfg_mlme_get_coex_unsafe_chan_reg_disable(struct wlan_objmgr_psoc * psoc)5107*5113495bSYour Name bool ucfg_mlme_get_coex_unsafe_chan_reg_disable(
5108*5113495bSYour Name 		struct wlan_objmgr_psoc *psoc)
5109*5113495bSYour Name {
5110*5113495bSYour Name 	return false;
5111*5113495bSYour Name }
5112*5113495bSYour Name #endif
5113*5113495bSYour Name 
5114*5113495bSYour Name /**
5115*5113495bSYour Name  * ucfg_set_ratemask_params() - Set ratemask config
5116*5113495bSYour Name  * @vdev:   pointer to vdev object
5117*5113495bSYour Name  * @num_ratemask: number of ratemask params
5118*5113495bSYour Name  * @rate_params: ratemask params
5119*5113495bSYour Name  *
5120*5113495bSYour Name  * Return: QDF_STATUS
5121*5113495bSYour Name  */
5122*5113495bSYour Name static inline QDF_STATUS
ucfg_set_ratemask_params(struct wlan_objmgr_vdev * vdev,uint8_t num_ratemask,struct config_ratemask_params * rate_params)5123*5113495bSYour Name ucfg_set_ratemask_params(struct wlan_objmgr_vdev *vdev,
5124*5113495bSYour Name 			 uint8_t num_ratemask,
5125*5113495bSYour Name 			 struct config_ratemask_params *rate_params)
5126*5113495bSYour Name {
5127*5113495bSYour Name 	return wlan_mlme_update_ratemask_params(vdev, num_ratemask,
5128*5113495bSYour Name 						rate_params);
5129*5113495bSYour Name }
5130*5113495bSYour Name 
5131*5113495bSYour Name /*
5132*5113495bSYour Name  * ucfg_mlme_set_user_mcc_quota() - Set the user set mcc quota in mlme
5133*5113495bSYour Name  * value
5134*5113495bSYour Name  * @psoc: pointer to psoc object
5135*5113495bSYour Name  * @quota: pointer to user mcc quota object
5136*5113495bSYour Name  *
5137*5113495bSYour Name  * Return: QDF Status
5138*5113495bSYour Name  */
5139*5113495bSYour Name static inline
ucfg_mlme_set_user_mcc_quota(struct wlan_objmgr_psoc * psoc,struct wlan_user_mcc_quota * quota)5140*5113495bSYour Name QDF_STATUS ucfg_mlme_set_user_mcc_quota(struct wlan_objmgr_psoc *psoc,
5141*5113495bSYour Name 					struct wlan_user_mcc_quota *quota)
5142*5113495bSYour Name {
5143*5113495bSYour Name 	return wlan_mlme_set_user_mcc_quota(psoc, quota);
5144*5113495bSYour Name }
5145*5113495bSYour Name 
5146*5113495bSYour Name /**
5147*5113495bSYour Name  * ucfg_mlme_get_user_mcc_quota() - Get the user set mcc quota from mlme
5148*5113495bSYour Name  * value
5149*5113495bSYour Name  * @psoc: pointer to psoc object
5150*5113495bSYour Name  * @quota: pointer to user mcc quota object
5151*5113495bSYour Name  *
5152*5113495bSYour Name  * Return: QDF Status
5153*5113495bSYour Name  */
5154*5113495bSYour Name static inline
ucfg_mlme_get_user_mcc_quota(struct wlan_objmgr_psoc * psoc,struct wlan_user_mcc_quota * quota)5155*5113495bSYour Name QDF_STATUS ucfg_mlme_get_user_mcc_quota(struct wlan_objmgr_psoc *psoc,
5156*5113495bSYour Name 					struct wlan_user_mcc_quota *quota)
5157*5113495bSYour Name {
5158*5113495bSYour Name 	return wlan_mlme_get_user_mcc_quota(psoc, quota);
5159*5113495bSYour Name }
5160*5113495bSYour Name 
5161*5113495bSYour Name /**
5162*5113495bSYour Name  * ucfg_mlme_get_user_mcc_quota_percentage() - Get user mcc quota percentage
5163*5113495bSYour Name  * duty-cycle for a i/f type or mode
5164*5113495bSYour Name  * @psoc: pointer to psoc object
5165*5113495bSYour Name  *
5166*5113495bSYour Name  * MCC duty-cycle value in below format
5167*5113495bSYour Name  * ******************************************************
5168*5113495bSYour Name  * |bit 31-24 | bit 23-16 | bits 15-8   |bits 7-0   |
5169*5113495bSYour Name  * | Unused   | Quota for | chan. # for |chan. # for|
5170*5113495bSYour Name  * |          | 1st chan  | 1st chan.   |2nd chan.  |
5171*5113495bSYour Name  * *****************************************************
5172*5113495bSYour Name  *
5173*5113495bSYour Name  * Return: primary iface MCC duty-cycle value
5174*5113495bSYour Name  */
5175*5113495bSYour Name static inline
ucfg_mlme_get_user_mcc_quota_percentage(struct wlan_objmgr_psoc * psoc)5176*5113495bSYour Name uint32_t ucfg_mlme_get_user_mcc_quota_percentage(struct wlan_objmgr_psoc *psoc)
5177*5113495bSYour Name {
5178*5113495bSYour Name 	return  wlan_mlme_get_user_mcc_duty_cycle_percentage(psoc);
5179*5113495bSYour Name }
5180*5113495bSYour Name 
5181*5113495bSYour Name /**
5182*5113495bSYour Name  * ucfg_mlme_get_wds_mode() - Get the configured WDS mode
5183*5113495bSYour Name  * @psoc: pointer to psoc object
5184*5113495bSYour Name  *
5185*5113495bSYour Name  * Return: supported wds mode from enum wlan_wds_mode
5186*5113495bSYour Name  */
5187*5113495bSYour Name static inline uint32_t
ucfg_mlme_get_wds_mode(struct wlan_objmgr_psoc * psoc)5188*5113495bSYour Name ucfg_mlme_get_wds_mode(struct wlan_objmgr_psoc *psoc)
5189*5113495bSYour Name {
5190*5113495bSYour Name 	return wlan_mlme_get_wds_mode(psoc);
5191*5113495bSYour Name }
5192*5113495bSYour Name 
5193*5113495bSYour Name /**
5194*5113495bSYour Name  * ucfg_mlme_set_wds_mode() - Set the configured WDS mode
5195*5113495bSYour Name  * @psoc: pointer to psoc object
5196*5113495bSYour Name  * @mode: wds mode to set
5197*5113495bSYour Name  *
5198*5113495bSYour Name  * Return: void
5199*5113495bSYour Name  */
5200*5113495bSYour Name static inline void
ucfg_mlme_set_wds_mode(struct wlan_objmgr_psoc * psoc,uint32_t mode)5201*5113495bSYour Name ucfg_mlme_set_wds_mode(struct wlan_objmgr_psoc *psoc, uint32_t mode)
5202*5113495bSYour Name {
5203*5113495bSYour Name 	wlan_mlme_set_wds_mode(psoc, mode);
5204*5113495bSYour Name }
5205*5113495bSYour Name 
5206*5113495bSYour Name #ifdef WLAN_FEATURE_SON
5207*5113495bSYour Name /**
5208*5113495bSYour Name  * ucfg_mlme_get_vdev_max_mcs_idx() - Get max mcs idx of given vdev
5209*5113495bSYour Name  * @vdev: pointer to vdev object
5210*5113495bSYour Name  *
5211*5113495bSYour Name  * Return: max mcs idx of given vdev
5212*5113495bSYour Name  */
5213*5113495bSYour Name static inline uint8_t
ucfg_mlme_get_vdev_max_mcs_idx(struct wlan_objmgr_vdev * vdev)5214*5113495bSYour Name ucfg_mlme_get_vdev_max_mcs_idx(struct wlan_objmgr_vdev *vdev)
5215*5113495bSYour Name {
5216*5113495bSYour Name 	return mlme_get_vdev_max_mcs_idx(vdev);
5217*5113495bSYour Name }
5218*5113495bSYour Name #endif /* WLAN_FEATURE_SON */
5219*5113495bSYour Name 
5220*5113495bSYour Name #if defined(CONFIG_AFC_SUPPORT) && defined(CONFIG_BAND_6GHZ)
5221*5113495bSYour Name /**
5222*5113495bSYour Name  * ucfg_mlme_get_enable_6ghz_sp_mode_support() - Get 6 GHz SP mode support cfg
5223*5113495bSYour Name  * @psoc: pointer to psoc object
5224*5113495bSYour Name  * @value: value to be set
5225*5113495bSYour Name  *
5226*5113495bSYour Name  * Return: QDF Status
5227*5113495bSYour Name  */
5228*5113495bSYour Name QDF_STATUS
5229*5113495bSYour Name ucfg_mlme_get_enable_6ghz_sp_mode_support(struct wlan_objmgr_psoc *psoc,
5230*5113495bSYour Name 					  bool *value);
5231*5113495bSYour Name 
5232*5113495bSYour Name /**
5233*5113495bSYour Name  * ucfg_mlme_get_afc_disable_timer_check() - Get AFC timer check cfg
5234*5113495bSYour Name  * @psoc: pointer to psoc object
5235*5113495bSYour Name  * @value: value to be set
5236*5113495bSYour Name  *
5237*5113495bSYour Name  * Return: QDF Status
5238*5113495bSYour Name  */
5239*5113495bSYour Name QDF_STATUS
5240*5113495bSYour Name ucfg_mlme_get_afc_disable_timer_check(struct wlan_objmgr_psoc *psoc,
5241*5113495bSYour Name 				      bool *value);
5242*5113495bSYour Name /**
5243*5113495bSYour Name  * ucfg_mlme_get_afc_disable_request_id_check() - Get AFC request id check cfg
5244*5113495bSYour Name  * @psoc: pointer to psoc object
5245*5113495bSYour Name  * @value: value to be set
5246*5113495bSYour Name  *
5247*5113495bSYour Name  * Return: QDF Status
5248*5113495bSYour Name  */
5249*5113495bSYour Name QDF_STATUS
5250*5113495bSYour Name ucfg_mlme_get_afc_disable_request_id_check(struct wlan_objmgr_psoc *psoc,
5251*5113495bSYour Name 					   bool *value);
5252*5113495bSYour Name 
5253*5113495bSYour Name /**
5254*5113495bSYour Name  * ucfg_mlme_get_afc_reg_noaction() - Get AFC no action cfg
5255*5113495bSYour Name  * @psoc: pointer to psoc object
5256*5113495bSYour Name  * @value: value to be set
5257*5113495bSYour Name  *
5258*5113495bSYour Name  * Return: QDF Status
5259*5113495bSYour Name  */
5260*5113495bSYour Name QDF_STATUS
5261*5113495bSYour Name ucfg_mlme_get_afc_reg_noaction(struct wlan_objmgr_psoc *psoc, bool *value);
5262*5113495bSYour Name #else
5263*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_enable_6ghz_sp_mode_support(struct wlan_objmgr_psoc * psoc,bool * value)5264*5113495bSYour Name ucfg_mlme_get_enable_6ghz_sp_mode_support(struct wlan_objmgr_psoc *psoc,
5265*5113495bSYour Name 					  bool *value)
5266*5113495bSYour Name {
5267*5113495bSYour Name 	return QDF_STATUS_E_NOSUPPORT;
5268*5113495bSYour Name }
5269*5113495bSYour Name 
5270*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_afc_disable_timer_check(struct wlan_objmgr_psoc * psoc,bool * value)5271*5113495bSYour Name ucfg_mlme_get_afc_disable_timer_check(struct wlan_objmgr_psoc *psoc,
5272*5113495bSYour Name 				      bool *value)
5273*5113495bSYour Name {
5274*5113495bSYour Name 	return QDF_STATUS_E_NOSUPPORT;
5275*5113495bSYour Name }
5276*5113495bSYour Name 
5277*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_afc_disable_request_id_check(struct wlan_objmgr_psoc * psoc,bool * value)5278*5113495bSYour Name ucfg_mlme_get_afc_disable_request_id_check(struct wlan_objmgr_psoc *psoc,
5279*5113495bSYour Name 					   bool *value)
5280*5113495bSYour Name {
5281*5113495bSYour Name 	return QDF_STATUS_E_NOSUPPORT;
5282*5113495bSYour Name }
5283*5113495bSYour Name 
5284*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_afc_reg_noaction(struct wlan_objmgr_psoc * psoc,bool * value)5285*5113495bSYour Name ucfg_mlme_get_afc_reg_noaction(struct wlan_objmgr_psoc *psoc, bool *value)
5286*5113495bSYour Name {
5287*5113495bSYour Name 	return QDF_STATUS_E_NOSUPPORT;
5288*5113495bSYour Name }
5289*5113495bSYour Name #endif
5290*5113495bSYour Name 
5291*5113495bSYour Name #ifdef CONNECTION_ROAMING_CFG
5292*5113495bSYour Name /**
5293*5113495bSYour Name  * ucfg_mlme_set_connection_roaming_ini_present() - Set connection roaming ini
5294*5113495bSYour Name  * present
5295*5113495bSYour Name  * @psoc: pointer to psoc object
5296*5113495bSYour Name  * @value:  Value to be set
5297*5113495bSYour Name  *
5298*5113495bSYour Name  * Return: QDF Status
5299*5113495bSYour Name  */
5300*5113495bSYour Name QDF_STATUS
5301*5113495bSYour Name ucfg_mlme_set_connection_roaming_ini_present(struct wlan_objmgr_psoc *psoc,
5302*5113495bSYour Name 					     bool value);
5303*5113495bSYour Name 
5304*5113495bSYour Name /**
5305*5113495bSYour Name  * ucfg_mlme_get_connection_roaming_ini_present() - Get connection roaming ini
5306*5113495bSYour Name  * present
5307*5113495bSYour Name  * @psoc: pointer to psoc object
5308*5113495bSYour Name  * @value:  Value to be get
5309*5113495bSYour Name  *
5310*5113495bSYour Name  * Return: QDF Status
5311*5113495bSYour Name  */
5312*5113495bSYour Name QDF_STATUS
5313*5113495bSYour Name ucfg_mlme_get_connection_roaming_ini_present(struct wlan_objmgr_psoc *psoc,
5314*5113495bSYour Name 					     bool *value);
5315*5113495bSYour Name #else
5316*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_set_connection_roaming_ini_present(struct wlan_objmgr_psoc * psoc,bool value)5317*5113495bSYour Name ucfg_mlme_set_connection_roaming_ini_present(struct wlan_objmgr_psoc *psoc,
5318*5113495bSYour Name 					     bool value)
5319*5113495bSYour Name {
5320*5113495bSYour Name 	return QDF_STATUS_E_NOSUPPORT;
5321*5113495bSYour Name }
5322*5113495bSYour Name 
5323*5113495bSYour Name static inline QDF_STATUS
ucfg_mlme_get_connection_roaming_ini_present(struct wlan_objmgr_psoc * psoc,bool * value)5324*5113495bSYour Name ucfg_mlme_get_connection_roaming_ini_present(struct wlan_objmgr_psoc *psoc,
5325*5113495bSYour Name 					     bool *value)
5326*5113495bSYour Name {
5327*5113495bSYour Name 	return QDF_STATUS_E_NOSUPPORT;
5328*5113495bSYour Name }
5329*5113495bSYour Name #endif /* CONNECTION_ROAMING_CFG */
5330*5113495bSYour Name 
5331*5113495bSYour Name /**
5332*5113495bSYour Name  * ucfg_mlme_get_ch_width_from_phymode() - Convert phymode to ch_width
5333*5113495bSYour Name  * @phy_mode: phy mode
5334*5113495bSYour Name  *
5335*5113495bSYour Name  * Return: enum phy_ch_width
5336*5113495bSYour Name  */
5337*5113495bSYour Name static inline enum phy_ch_width
ucfg_mlme_get_ch_width_from_phymode(enum wlan_phymode phy_mode)5338*5113495bSYour Name ucfg_mlme_get_ch_width_from_phymode(enum wlan_phymode phy_mode)
5339*5113495bSYour Name {
5340*5113495bSYour Name 	return wlan_mlme_get_ch_width_from_phymode(phy_mode);
5341*5113495bSYour Name }
5342*5113495bSYour Name 
5343*5113495bSYour Name /**
5344*5113495bSYour Name  * ucfg_mlme_get_peer_ch_width() - get ch_width of the given peer
5345*5113495bSYour Name  * @psoc: pointer to psoc object
5346*5113495bSYour Name  * @mac: peer mac
5347*5113495bSYour Name  *
5348*5113495bSYour Name  * Return: enum phy_ch_width
5349*5113495bSYour Name  */
5350*5113495bSYour Name static inline enum phy_ch_width
ucfg_mlme_get_peer_ch_width(struct wlan_objmgr_psoc * psoc,uint8_t * mac)5351*5113495bSYour Name ucfg_mlme_get_peer_ch_width(struct wlan_objmgr_psoc *psoc, uint8_t *mac)
5352*5113495bSYour Name {
5353*5113495bSYour Name 	return wlan_mlme_get_peer_ch_width(psoc, mac);
5354*5113495bSYour Name }
5355*5113495bSYour Name 
5356*5113495bSYour Name /**
5357*5113495bSYour Name  * ucfg_mlme_get_vdev_phy_mode() - Get phymode of a vdev
5358*5113495bSYour Name  * @psoc: pointer to psoc object
5359*5113495bSYour Name  * @vdev_id: vdev id
5360*5113495bSYour Name  *
5361*5113495bSYour Name  * Return: enum wlan_phymode
5362*5113495bSYour Name  */
5363*5113495bSYour Name enum wlan_phymode
5364*5113495bSYour Name ucfg_mlme_get_vdev_phy_mode(struct wlan_objmgr_psoc *psoc, uint8_t vdev_id);
5365*5113495bSYour Name 
5366*5113495bSYour Name #if defined(WLAN_FEATURE_SR)
5367*5113495bSYour Name /**
5368*5113495bSYour Name  * ucfg_mlme_get_sr_enable_modes() - check for which mode SR is enabled
5369*5113495bSYour Name  *
5370*5113495bSYour Name  * @psoc: pointer to psoc object
5371*5113495bSYour Name  * @val: SR(Spatial Reuse) enable modes
5372*5113495bSYour Name  *
5373*5113495bSYour Name  * Return: void
5374*5113495bSYour Name  */
5375*5113495bSYour Name static inline void
ucfg_mlme_get_sr_enable_modes(struct wlan_objmgr_psoc * psoc,uint8_t * val)5376*5113495bSYour Name ucfg_mlme_get_sr_enable_modes(struct wlan_objmgr_psoc *psoc,
5377*5113495bSYour Name 			      uint8_t *val)
5378*5113495bSYour Name {
5379*5113495bSYour Name 	wlan_mlme_get_sr_enable_modes(psoc, val);
5380*5113495bSYour Name }
5381*5113495bSYour Name #else
5382*5113495bSYour Name static inline void
ucfg_mlme_get_sr_enable_modes(struct wlan_objmgr_psoc * psoc,uint8_t * val)5383*5113495bSYour Name ucfg_mlme_get_sr_enable_modes(struct wlan_objmgr_psoc *psoc,
5384*5113495bSYour Name 			      uint8_t *val)
5385*5113495bSYour Name {
5386*5113495bSYour Name 	*val = 0;
5387*5113495bSYour Name }
5388*5113495bSYour Name #endif
5389*5113495bSYour Name 
5390*5113495bSYour Name /**
5391*5113495bSYour Name  * ucfg_mlme_get_valid_channels  - get valid channels for
5392*5113495bSYour Name  * current regulatory domain
5393*5113495bSYour Name  * @psoc: pointer to psoc object
5394*5113495bSYour Name  * @ch_freq_list: list of the valid channel frequencies
5395*5113495bSYour Name  * @list_len: length of the channel list
5396*5113495bSYour Name  *
5397*5113495bSYour Name  * This function will get valid channels for current regulatory domain
5398*5113495bSYour Name  *
5399*5113495bSYour Name  * Return: QDF_STATUS_SUCCESS or non-zero on failure
5400*5113495bSYour Name  */
5401*5113495bSYour Name QDF_STATUS
5402*5113495bSYour Name ucfg_mlme_get_valid_channels(struct wlan_objmgr_psoc *psoc,
5403*5113495bSYour Name 			     uint32_t *ch_freq_list, uint32_t *list_len);
5404*5113495bSYour Name 
5405*5113495bSYour Name /**
5406*5113495bSYour Name  * ucfg_mlme_set_ul_mu_config - set ul mu config
5407*5113495bSYour Name  * @psoc: pointer to psoc object
5408*5113495bSYour Name  * @vdev_id : vdev ID
5409*5113495bSYour Name  * @ulmu_disable: ul mu value
5410*5113495bSYour Name  *
5411*5113495bSYour Name  * Inline UCFG API to be used by HDD/OSIF callers
5412*5113495bSYour Name  *
5413*5113495bSYour Name  * Return: QDF_STATUS_SUCCESS or non-zero on failure
5414*5113495bSYour Name  */
5415*5113495bSYour Name static inline
ucfg_mlme_set_ul_mu_config(struct wlan_objmgr_psoc * psoc,uint8_t vdev_id,uint8_t ulmu_disable)5416*5113495bSYour Name QDF_STATUS ucfg_mlme_set_ul_mu_config(struct wlan_objmgr_psoc *psoc,
5417*5113495bSYour Name 				      uint8_t vdev_id,
5418*5113495bSYour Name 				      uint8_t ulmu_disable)
5419*5113495bSYour Name {
5420*5113495bSYour Name 	return wlan_mlme_set_ul_mu_config(psoc, vdev_id, ulmu_disable);
5421*5113495bSYour Name }
5422*5113495bSYour Name 
5423*5113495bSYour Name /**
5424*5113495bSYour Name  * ucfg_mlme_assemble_rate_code - assemble rate code to be sent to FW
5425*5113495bSYour Name  * @preamble: rate preamble
5426*5113495bSYour Name  * @nss: number of spatial streams
5427*5113495bSYour Name  * @rate: rate index
5428*5113495bSYour Name  *
5429*5113495bSYour Name  * Rate code assembling is different for targets which are 11ax capable.
5430*5113495bSYour Name  * Check for the target support and assemble the rate code accordingly.
5431*5113495bSYour Name  *
5432*5113495bSYour Name  * Return: assembled rate code
5433*5113495bSYour Name  */
5434*5113495bSYour Name static inline uint32_t
ucfg_mlme_assemble_rate_code(uint8_t preamble,uint8_t nss,uint8_t rate)5435*5113495bSYour Name ucfg_mlme_assemble_rate_code(uint8_t preamble, uint8_t nss, uint8_t rate)
5436*5113495bSYour Name {
5437*5113495bSYour Name 	return wlan_mlme_assemble_rate_code(preamble, nss, rate);
5438*5113495bSYour Name }
5439*5113495bSYour Name 
5440*5113495bSYour Name /**
5441*5113495bSYour Name  * ucfg_mlme_get_keepalive_period() - Get keep alive period
5442*5113495bSYour Name  * @vdev: VDEV object
5443*5113495bSYour Name  *
5444*5113495bSYour Name  * Return: Keep alive period.
5445*5113495bSYour Name  */
5446*5113495bSYour Name static inline
ucfg_mlme_get_keepalive_period(struct wlan_objmgr_vdev * vdev)5447*5113495bSYour Name uint16_t ucfg_mlme_get_keepalive_period(struct wlan_objmgr_vdev *vdev)
5448*5113495bSYour Name {
5449*5113495bSYour Name 	return wlan_mlme_get_keepalive_period(vdev);
5450*5113495bSYour Name }
5451*5113495bSYour Name #endif /* _WLAN_MLME_UCFG_API_H_ */
5452