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:
@@ -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_ */
|
||||
|
@@ -980,14 +980,14 @@ void utils_dfs_reset_dfs_prevchan(struct wlan_objmgr_pdev *pdev);
|
||||
|
||||
#ifdef QCA_SUPPORT_ADFS_RCAC
|
||||
/**
|
||||
* utils_dfs_rcac_sm_deliver_evt() - API to post events to DFS rolling CAC SM.
|
||||
* @pdev: Pointer to DFS pdev object.
|
||||
* @event: Event to be posted to DFS RCAC SM.
|
||||
* utils_dfs_agile_sm_deliver_evt() - API to post events to DFS Agile SM.
|
||||
* @pdev: Pointer to DFS pdev object.
|
||||
* @event: Event to be posted to DFS AGILE SM.
|
||||
*
|
||||
* Return: None.
|
||||
*/
|
||||
void utils_dfs_rcac_sm_deliver_evt(struct wlan_objmgr_pdev *pdev,
|
||||
enum dfs_rcac_sm_evt event);
|
||||
void utils_dfs_agile_sm_deliver_evt(struct wlan_objmgr_pdev *pdev,
|
||||
enum dfs_agile_sm_evt event);
|
||||
|
||||
/**
|
||||
* utils_dfs_get_rcac_channel() - Get the completed Rolling CAC channel if
|
||||
@@ -1003,8 +1003,8 @@ QDF_STATUS utils_dfs_get_rcac_channel(struct wlan_objmgr_pdev *pdev,
|
||||
qdf_freq_t *target_chan_freq);
|
||||
#else
|
||||
static inline
|
||||
void utils_dfs_rcac_sm_deliver_evt(struct wlan_objmgr_pdev *pdev,
|
||||
enum dfs_rcac_sm_evt event)
|
||||
void utils_dfs_agile_sm_deliver_evt(struct wlan_objmgr_pdev *pdev,
|
||||
enum dfs_agile_sm_evt event)
|
||||
{
|
||||
}
|
||||
|
||||
|
Fai riferimento in un nuovo problema
Block a user