1 /* 2 * Copyright (c) 2021, The Linux Foundation. All rights reserved. 3 * Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved. 4 * 5 * Permission to use, copy, modify, and/or distribute this software for any 6 * purpose with or without fee is hereby granted, provided that the above 7 * copyright notice and this permission notice appear in all copies. 8 * 9 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 15 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 */ 17 18 /** 19 * DOC: mlo_global_h_shmem_arena.h 20 * This file contains APIs that are exposed by the the MLO 21 * global shared memory arena. 22 */ 23 24 #ifndef _MLO_GLOBAL_H_SHMEM_ARENA_API_H_ 25 #define _MLO_GLOBAL_H_SHMEM_ARENA_API_H_ 26 27 #include<qdf_types.h> 28 #include<wlan_lmac_if_def.h> 29 30 #ifdef WLAN_MLO_GLOBAL_SHMEM_SUPPORT 31 /** 32 * global_shmem_register_wifi3_0_ops() - Register wifi3.0 operations of 33 * global shared memory access module 34 * @shmem_local_ops: Pointer to the local ops table of global shared mem module. 35 * 36 * Return: QDF_STATUS of operation 37 */ 38 QDF_STATUS global_shmem_register_wifi3_0_ops( 39 struct wlan_lmac_if_global_shmem_local_ops *shmem_local_ops); 40 41 #ifdef WLAN_MGMT_RX_REO_SUPPORT 42 /** 43 * mgmt_rx_reo_register_wifi3_0_ops() - Register wifi3.0 operations of MGMT Rx 44 * REO module 45 * @reo_low_level_ops: Pointer to low level ops table of MGMT Rx REO module. 46 * 47 * This API fills @reo_low_level_ops table with the wifi3.0 layer functions of 48 * MGMT Rx REO module. 49 * 50 * Return: QDF_STATUS of operation 51 */ 52 QDF_STATUS mgmt_rx_reo_register_wifi3_0_ops( 53 struct wlan_lmac_if_mgmt_rx_reo_low_level_ops *reo_low_level_ops); 54 #endif /* WLAN_MGMT_RX_REO_SUPPORT */ 55 #endif /* WLAN_MLO_GLOBAL_SHMEM_SUPPORT */ 56 #endif /* _MLO_GLOBAL_H_SHMEM_ARENA_API_H_ */ 57