1 /* 2 * Copyright: Copyright (c) 2020 HiSilicon (Shanghai) Technologies CO., LIMITED. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 * Description: hmac_btcoex_ba.c的头文件 15 * Date: 2023-02-09 09:51 16 */ 17 #ifndef __HMAC_BTCOEX_BA_H__ 18 #define __HMAC_BTCOEX_BA_H__ 19 20 #include "hmac_btcoex.h" 21 22 #ifdef __cplusplus 23 #if __cplusplus 24 extern "C" { 25 #endif 26 #endif 27 /***************************************************************************** 28 8 ROM预留回调函数类型定义 29 *****************************************************************************/ 30 31 /***************************************************************************** 32 10 函数声明 33 *****************************************************************************/ 34 osal_void hmac_btcoex_update_ba_size(const hmac_vap_stru *hmac_vap, 35 hmac_user_btcoex_delba_stru *btcoex_delba, const hal_btcoex_btble_status_stru *btble_status); 36 osal_u32 hmac_btcoex_delba_event_process(const hal_btcoex_btble_status_stru *btble_status, 37 hmac_vap_stru *hmac_vap); 38 osal_void hmac_btcoex_delba_trigger(hmac_vap_stru *hmac_vap, oal_bool_enum_uint8 need_delba, 39 hmac_user_btcoex_delba_stru *btcoex_delba); 40 osal_s32 hmac_btcoex_action_dela_ba_handler(hmac_vap_stru *hmac_vap); 41 osal_void hmac_btcoex_tx_addba_rsp_check(const oal_netbuf_stru *netbuf, hmac_user_stru *hmac_user); 42 43 typedef osal_u32 (*hmac_btcoex_check_by_ba_size_etc_cb)(hmac_user_stru *hmac_user); 44 typedef osal_void (*hmac_btcoex_adjust_addba_rsp_basize_cb)(hmac_vap_stru *hmac_vap, 45 hmac_ba_rx_stru *addba_rsp); 46 47 osal_u32 hmac_btcoex_ba_init(osal_void); 48 osal_void hmac_btcoex_ba_deinit(osal_void); 49 50 #ifdef __cplusplus 51 #if __cplusplus 52 } 53 #endif 54 #endif 55 56 #endif /* end of __HMAC_BTCOEX_BA_H__ */