1 /* 2 * Copyright (c) 2019-2021 The Linux Foundation. All rights reserved. 3 * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. 4 * 5 * Permission to use, copy, modify, and/or distribute this software for 6 * any purpose with or without fee is hereby granted, provided that the 7 * above copyright notice and this permission notice appear in all 8 * copies. 9 * 10 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL 11 * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED 12 * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE 13 * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL 14 * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR 15 * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 16 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 17 * PERFORMANCE OF THIS SOFTWARE. 18 */ 19 /** 20 * DOC: wlan_ext_mlme_obj_types.h 21 * 22 * This header file is included by the converged control path mlme 23 * component to map legacy private structures to the external 24 * (ext)typedefs used by the converged code. This mechanism allows the 25 * legacy structs to be included as part of the global objmgr objects. 26 */ 27 28 #ifndef __WLAN_EXT_MLME_OBJ_TYPE_H__ 29 #define __WLAN_EXT_MLME_OBJ_TYPE_H__ 30 31 struct opaque_mlme_pdev_ext; 32 33 /** 34 * typedef mlme_pdev_ext_t - Opaque definition of pdev mlme pointer 35 * Define ext_pdev_ptr from external umac/mlme component point to this type 36 */ 37 typedef struct opaque_mlme_pdev_ext mlme_pdev_ext_t; 38 39 /** 40 * typedef mlme_vdev_ext_t - Definition of vdev mlme pointer 41 * Define ext_vdev_ptr from external umac/mlme component point to this type 42 */ 43 typedef struct mlme_legacy_priv mlme_vdev_ext_t; 44 45 /** 46 * typedef mlme_psoc_ext_t - Definition of psoc mlme pointer 47 * Define ext_psoc_ptr from external umac/mlme component point to this type 48 */ 49 typedef struct wlan_mlme_psoc_ext_obj mlme_psoc_ext_t; 50 51 /** 52 * typedef cm_ext_t - Definition of connection manager ext pointer 53 * Define ext_cm_ptr from legacy umac/mlme component to use 54 */ 55 typedef struct cm_ext_obj cm_ext_t; 56 #endif 57