qcacmn: Post various events to the RCAC state machine
Trigger Rolling CAC SM events from - NOL expiry (EV_RCAC_START) to trigger RCAC START with a new channel if possible and not already running. - Agile radar (EV_ADFS_RADAR_FOUND) to restart RCAC with a new random channel. - vdev restart (EV_RCAC_STOP) to stop the running RCAC when the primary channel changes. Start will be based on the availability of the new channel. In case of the rolling CAC feature, a channel is programmed to the agile detector on which CAC is running continuously. Introduce an API that finds an RCAC completed channel and return the channel params which will be used for the next channel change. Also add a boolean argument in dfs_set_current_channel api to indicate if the dfs current channel is updated in the API "dfs_set_current_channel". CRs-Fixed: 2674621 Change-Id: Ica54a57f131cd54e47138f1cbeef2dd0023390ed
This commit is contained in:
@@ -362,17 +362,15 @@ struct seq_store {
|
||||
/**
|
||||
* 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,
|
||||
DFS_RCAC_SM_EV_RCAC_STOP = 1,
|
||||
DFS_RCAC_SM_EV_RCAC_DONE = 2,
|
||||
DFS_RCAC_SM_EV_ADFS_RADAR_FOUND = 3,
|
||||
};
|
||||
|
||||
#endif /* _DFS_IOCTL_H_ */
|
||||
|
Reference in New Issue
Block a user