qcacmn: Add states events and API declarations for RCAC SM
As part of the Rolling CAC State Machine, introduce three state enums (INIT, RUNNING and COMPLETE) and the corresponding state events. Introduce generic APIs such as dfs_rcac_sm_create, dfs_rcac_sm_destroy and dfs_rcac_sm_deliver_evt for rolling CAC State machine operations. CRs-Fixed: 2659666 Change-Id: I528db71aa7d21dced7e47ff4f9cccfbfe94c8c21
This commit is contained in:
@@ -358,4 +358,21 @@ struct seq_store {
|
||||
struct synthetic_seq *seq_arr[0];
|
||||
};
|
||||
#endif /* WLAN_DFS_PARTIAL_OFFLOAD && WLAN_DFS_SYNTHETIC_RADAR */
|
||||
|
||||
/**
|
||||
* enum dfs_rcac_sm_evt - DFS Rolling CAC SM events.
|
||||
* @DFS_RCAC_SM_EV_RCAC_START: Event to start RCAC.
|
||||
* @DFS_RCAC_SM_EV_NOL_EXPIRY: Event to try starting RCAC after NOL expiry.
|
||||
* @DFS_RCAC_SM_EV_RCAC_DOWN: Event to stop RCAC.
|
||||
* @DFS_RCAC_SM_EV_RCAC_DONE: Event to complete RCAC.
|
||||
* @DFS_RCAC_SM_EV_ADFS_RADAR: Event to restart RCAC after radar in agile.
|
||||
*/
|
||||
enum dfs_rcac_sm_evt {
|
||||
DFS_RCAC_SM_EV_RCAC_START = 0,
|
||||
DFS_RCAC_SM_EV_NOL_EXPIRY = 1,
|
||||
DFS_RCAC_SM_EV_RCAC_STOP = 2,
|
||||
DFS_RCAC_SM_EV_RCAC_DONE = 3,
|
||||
DFS_RCAC_SM_EV_ADFS_RADAR_FOUND = 4,
|
||||
};
|
||||
|
||||
#endif /* _DFS_IOCTL_H_ */
|
||||
|
Fai riferimento in un nuovo problema
Block a user