qcacmn: Configure agile preCAC timeout values
Send proper minimum and maximum agile preCAC timeout values to the target as part of starting agile DFS detector. Add a common agile preCAC parameter structure with the timeout values, channel and width fields which are to be sent as part of configuring agile detector. Change-Id: If5f5b179aa12a6c549cb9a4402aa10e957129d78 CRs-Fixed: 2482929
このコミットが含まれているのは:
@@ -344,7 +344,7 @@ free_vdevref:
|
||||
}
|
||||
|
||||
QDF_STATUS target_send_agile_ch_cfg_cmd(struct wlan_objmgr_pdev *pdev,
|
||||
uint8_t *ch_freq)
|
||||
struct dfs_agile_cac_params *adfs_param)
|
||||
{
|
||||
wmi_unified_t wmi_handle;
|
||||
struct vdev_adfs_ch_cfg_params param;
|
||||
@@ -373,11 +373,11 @@ QDF_STATUS target_send_agile_ch_cfg_cmd(struct wlan_objmgr_pdev *pdev,
|
||||
qdf_mem_set(¶m, sizeof(param), 0);
|
||||
param.vdev_id = wlan_vdev_get_id(vdev);
|
||||
param.ocac_mode = QUICK_OCAC_MODE;
|
||||
param.min_duration_ms = 60000;
|
||||
param.max_duration_ms = 0;
|
||||
param.chan_freq = *ch_freq;
|
||||
param.chan_width = wlan_vdev_get_ch_width(vdev);
|
||||
param.center_freq = *ch_freq;
|
||||
param.min_duration_ms = adfs_param->min_precac_timeout;
|
||||
param.max_duration_ms = adfs_param->max_precac_timeout;
|
||||
param.chan_freq = adfs_param->precac_chan;
|
||||
param.chan_width = adfs_param->precac_chwidth;
|
||||
param.center_freq = adfs_param->precac_chan;
|
||||
|
||||
status = wmi_unified_send_vdev_adfs_ch_cfg_cmd(wmi_handle, ¶m);
|
||||
if (QDF_IS_STATUS_ERROR(status))
|
||||
|
新しいイシューから参照
ユーザーをブロックする