1 /* 2 * Copyright (c) 2020 The Linux Foundation. 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_cm_api.h 19 * 20 * This file maintains declarations of public apis 21 */ 22 23 #ifndef __WLAN_CM_API_H 24 #define __WLAN_CM_API_H 25 26 #ifdef FEATURE_CM_ENABLE 27 #include "wlan_cm_public_struct.h" 28 29 /** 30 * wlan_cm_start_connect() - connect start request 31 * @vdev: vdev pointer 32 * @req: connect req 33 * 34 * Return: QDF_STATUS 35 */ 36 QDF_STATUS wlan_cm_start_connect(struct wlan_objmgr_vdev *vdev, 37 struct wlan_cm_connect_req *req); 38 39 /** 40 * wlan_cm_start_disconnect() - disconnect start request 41 * @vdev: vdev pointer 42 * @req: disconnect req 43 * 44 * Return: QDF_STATUS 45 */ 46 QDF_STATUS wlan_cm_start_disconnect(struct wlan_objmgr_vdev *vdev, 47 struct wlan_cm_disconnect_req *req); 48 49 #endif 50 #endif /* __WLAN_CM_UCFG_API_H */ 51 52