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_ucfg_api.h 19 * 20 * This file maintains declarations of public ucfg apis 21 */ 22 23 #ifndef __WLAN_CM_UCFG_API_H 24 #define __WLAN_CM_UCFG_API_H 25 26 #ifdef FEATURE_CM_ENABLE 27 28 #include <wlan_cm_api.h> 29 30 /** 31 * ucfg_wlan_cm_start_connect() - connect start request 32 * @vdev: vdev pointer 33 * @req: connect req 34 * 35 * Return: QDF_STATUS 36 */ 37 static inline 38 QDF_STATUS ucfg_wlan_cm_start_connect(struct wlan_objmgr_vdev *vdev, 39 struct wlan_cm_connect_req *req) 40 { 41 return wlan_cm_start_connect(vdev, req); 42 } 43 44 45 /** 46 * ucfg_wlan_cm_start_disconnect() - disconnect start request 47 * @vdev: vdev pointer 48 * @req: disconnect req 49 * 50 * Return: QDF_STATUS 51 */ 52 static inline 53 QDF_STATUS ucfg_wlan_cm_start_disconnect(struct wlan_objmgr_vdev *vdev, 54 struct wlan_cm_disconnect_req *req) 55 { 56 return wlan_cm_start_disconnect(vdev, req); 57 } 58 59 #endif 60 #endif /* __WLAN_CM_UCFG_API_H */ 61 62