qcacmn: Rename the RCAC State Machine events, states & APIs

Both (ETSI) PreCAC and RCAC are going to use use the same state
machine. The state machine drives the Agile engine and not very specific
to RCAC or PreCAC, therefore let the state machine be called agile state
machine and change the names of all the associated variables accordingly.

In this preparatory change, modify names of all APIs, states and events
to make them common to Agile RCAC and Agile PreCAC

Change-Id: I67858839589145bf4377a7eafec7c21ca4823141
CRs-Fixed: 2711104
This commit is contained in:
Ananya Barat
2020-07-31 10:52:31 +05:30
کامیت شده توسط snandini
والد cc9f9c7c1f
کامیت bc798a3c5c
12فایلهای تغییر یافته به همراه88 افزوده شده و 82 حذف شده

مشاهده پرونده

@@ -360,17 +360,17 @@ struct seq_store {
#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_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_agile_sm_evt - DFS Agile SM events.
* @DFS_AGILE_SM_EV_AGILE_START: Event to start AGILE PreCAC/RCAC.
* @DFS_AGILE_SM_EV_AGILE_DOWN: Event to stop AGILE PreCAC/RCAC..
* @DFS_AGILE_SM_EV_AGILE_DONE: Event to complete AGILE PreCAC/RCAC..
* @DFS_AGILE_SM_EV_ADFS_RADAR: Event to restart AGILE PreCAC/RCAC after radar.
*/
enum dfs_rcac_sm_evt {
DFS_RCAC_SM_EV_RCAC_START = 0,
DFS_RCAC_SM_EV_RCAC_STOP = 1,
DFS_RCAC_SM_EV_RCAC_DONE = 2,
DFS_RCAC_SM_EV_ADFS_RADAR_FOUND = 3,
enum dfs_agile_sm_evt {
DFS_AGILE_SM_EV_AGILE_START = 0,
DFS_AGILE_SM_EV_AGILE_STOP = 1,
DFS_AGILE_SM_EV_AGILE_DONE = 2,
DFS_AGILE_SM_EV_ADFS_RADAR = 3,
};
#endif /* _DFS_IOCTL_H_ */