qcacmn: Refine chirp check for ETSI type 4 radar
Currently if the delta peak of the ETSI type 4 radar pulse is 0, it will be considered as radar false dection, which affects normal dfs ETSI type 4 certification test. More checks are added when delta peak of the ETSI type 4 radar pulse is 0. If psidx_diff, the difference in the FFT peak index between the short FFT and the first long FFT, is greater than 4 and less than 16, it is still considered as valid ETSI type 4 radar pulse. Change-Id: Iee9c22e0c208023bb9f0f70121f8269169b63d18 CRs-Fixed: 2173576
This commit is contained in:
@@ -21203,6 +21203,14 @@ static QDF_STATUS extract_wlan_radar_event_info_tlv(
|
|||||||
wlan_radar_event->peak_sidx = radar_event->peak_sidx;
|
wlan_radar_event->peak_sidx = radar_event->peak_sidx;
|
||||||
wlan_radar_event->delta_peak = radar_event->pulse_delta_peak;
|
wlan_radar_event->delta_peak = radar_event->pulse_delta_peak;
|
||||||
wlan_radar_event->delta_diff = radar_event->pulse_delta_diff;
|
wlan_radar_event->delta_diff = radar_event->pulse_delta_diff;
|
||||||
|
if (radar_event->pulse_flags &
|
||||||
|
WMI_DFS_RADAR_PULSE_FLAG_MASK_PSIDX_DIFF_VALID) {
|
||||||
|
wlan_radar_event->is_psidx_diff_valid = true;
|
||||||
|
wlan_radar_event->psidx_diff = radar_event->psidx_diff;
|
||||||
|
} else {
|
||||||
|
wlan_radar_event->is_psidx_diff_valid = false;
|
||||||
|
}
|
||||||
|
|
||||||
wlan_radar_event->pdev_id = radar_event->pdev_id;
|
wlan_radar_event->pdev_id = radar_event->pdev_id;
|
||||||
|
|
||||||
return QDF_STATUS_SUCCESS;
|
return QDF_STATUS_SUCCESS;
|
||||||
|
Reference in New Issue
Block a user