1 /****************************************************************************** 2 * 3 * Copyright(c) 2019 - 2020 Realtek Corporation. 4 * 5 * This program is free software; you can redistribute it and/or modify it 6 * under the terms of version 2 of the GNU General Public License as 7 * published by the Free Software Foundation. 8 * 9 * This program is distributed in the hope that it will be useful, but WITHOUT 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 12 * more details. 13 * 14 *****************************************************************************/ 15 #ifndef __PHL_BTC_FSM_H__ 16 #define __PHL_BTC_FSM_H__ 17 18 /* Header file for application to invoke btcoex service */ 19 20 #define RTW_BTC_FWBUF_NUM 4 21 #define RTW_BTC_NAME_MAX 20 22 23 struct fsm_root; 24 struct fsm_main; 25 struct btc_obj; 26 27 /* function form btcoex service management */ 28 struct fsm_main *phl_btc_new_fsm(struct fsm_root *fsm_m, 29 struct phl_info_t *phl_info); 30 void phl_btc_destory_fsm(struct fsm_main *fsm); 31 struct btc_obj *phl_btc_new_obj(struct fsm_main *fsm, 32 struct phl_info_t *phl_info); 33 void phl_btc_destory_obj(struct btc_obj *pbtc); 34 35 /* function form btcoex service */ 36 enum rtw_phl_status phl_btc_start(struct btc_obj *pbtc); 37 enum rtw_phl_status phl_btc_cancel(struct btc_obj *pbtc); 38 39 #endif /* __PHL_BTC_FSM_H__ */ 40 41