qcacmn: Handle Agile PreCAC in the same SM as RCAC
Following are a part of this change:- 1. Add an API to check if PreCAC/RCAC is enabled. This API is used before delivering an external event to Agile SM. 2. Post an event to the Agile PreCAC SM if Radar is found on agile channel. Radar on primary channel is taken care of by the ensuing channel change. 3. Move all Agile PreCAC changes under macro QCA_SUPPORT_AGILE_DFS, only RCAC specific changes remain under QCA_SUPPORT_ADFS_RCAC. Change-Id: I45d4b9f826d36e9e4093879b394165a15a52f324
此提交包含在:
@@ -1619,7 +1619,8 @@ void utils_dfs_reset_dfs_prevchan(struct wlan_objmgr_pdev *pdev)
|
||||
dfs_reset_dfs_prevchan(dfs);
|
||||
}
|
||||
|
||||
#ifdef QCA_SUPPORT_ADFS_RCAC
|
||||
#ifdef QCA_SUPPORT_AGILE_DFS
|
||||
|
||||
void utils_dfs_agile_sm_deliver_evt(struct wlan_objmgr_pdev *pdev,
|
||||
enum dfs_agile_sm_evt event)
|
||||
{
|
||||
@@ -1635,7 +1636,7 @@ void utils_dfs_agile_sm_deliver_evt(struct wlan_objmgr_pdev *pdev,
|
||||
return;
|
||||
}
|
||||
|
||||
if (!dfs_is_agile_rcac_enabled(dfs))
|
||||
if (!dfs_is_agile_cac_enabled(dfs))
|
||||
return;
|
||||
|
||||
event_data = (void *)dfs;
|
||||
@@ -1645,7 +1646,9 @@ void utils_dfs_agile_sm_deliver_evt(struct wlan_objmgr_pdev *pdev,
|
||||
0,
|
||||
event_data);
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef QCA_SUPPORT_ADFS_RCAC
|
||||
QDF_STATUS utils_dfs_get_rcac_channel(struct wlan_objmgr_pdev *pdev,
|
||||
struct ch_params *chan_params,
|
||||
qdf_freq_t *target_chan_freq)
|
||||
|
新增問題並參考
封鎖使用者