xref: /wlan-driver/qcacld-3.0/components/umac/mlme/mlo_mgr/dispatcher/inc/wlan_mlo_epcs_ucfg_api.h (revision 5113495b16420b49004c444715d2daae2066e7dc)
1 /*
2  * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
3  *
4  * Permission to use, copy, modify, and/or distribute this software for any
5  * purpose with or without fee is hereby granted, provided that the above
6  * copyright notice and this permission notice appear in all copies.
7  *
8  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15  */
16 
17 /*
18  * DOC: wlan_mlo_epcs_ucfg_api.h
19  *
20  * Implementation for mlo epcs public ucfg API interfaces.
21  */
22 
23 #ifndef _WLAN_MLO_EPCS_UCFG_API_H_
24 #define _WLAN_MLO_EPCS_UCFG_API_H_
25 
26 #include "wlan_epcs_api.h"
27 
28 /**
29  * ucfg_epcs_deliver_cmd() - Handler to deliver EPCS command
30  * @vdev: vdev pointer
31  * @event: EPCS event
32  *
33  * Return: QDF_STATUS
34  */
35 QDF_STATUS ucfg_epcs_deliver_cmd(struct wlan_objmgr_vdev *vdev,
36 				 enum wlan_epcs_evt event);
37 
38 /**
39  * ucfg_epcs_set_config() - Set EPCS enable/disable config
40  * @vdev: vdev pointer
41  * @flag: EPCS flag
42  *
43  * Return: QDF_STATUS
44  */
45 QDF_STATUS ucfg_epcs_set_config(struct wlan_objmgr_vdev *vdev, uint8_t flag);
46 
47 #endif /* _WLAN_MLO_EPCS_UCFG_API_H_ */
48