xref: /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/phl_scan_fsm.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
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_SCAN_FSM_H__
16 #define __PHL_SCAN_FSM_H__
17 
18 /* fsm private struct */
19 struct fsm_root;
20 struct fsm_main;
21 
22 /* scan fsm init api */
23 struct fsm_main *phl_scan_new_fsm(struct fsm_root *fsm_m,
24 	struct phl_info_t *phl_info);
25 void phl_scan_destory_fsm(struct fsm_main *fsm);
26 struct scan_obj *phl_scan_new_obj(struct fsm_main *fsm,
27 	struct phl_info_t *phl_info);
28 void phl_scan_destory_obj(struct scan_obj *pscan);
29 bool phl_fsm_should_stop(struct fsm_main *fsm);
30 
31 #endif /* __PHL_SCAN_FSM_H__ */
32