diff options
| author | bings <bings@codeaurora.org> | 2018-07-09 11:40:28 +0800 |
|---|---|---|
| committer | bings <bings@codeaurora.org> | 2018-07-09 11:58:51 +0800 |
| commit | 3dfe35df19f9ada7b12a4ff329f9bc7a45f2bb31 (patch) | |
| tree | c4321228aeef95f9013195adcea11929bda6f2ec | |
| parent | dcff449ac780849c2eae8704f153c1c7671def54 (diff) | |
qcacld-2.0: Remove some false radar detection
According to hardware team suggestion, remove pulse duration, PRI
and Peak Index check, which was used to filter invalid pulses with
characteristics similar to real radar pulses.
Change-Id: I12b053efbdd2b6fe01aeb4c6491c3cc1f572877d
CRs-Fixed: 2274808
| -rw-r--r-- | CORE/SERVICES/DFS/src/dfs_process_radarevent.c | 25 |
1 files changed, 1 insertions, 24 deletions
diff --git a/CORE/SERVICES/DFS/src/dfs_process_radarevent.c b/CORE/SERVICES/DFS/src/dfs_process_radarevent.c index 697e283a08e6..b57ff9e893db 100644 --- a/CORE/SERVICES/DFS/src/dfs_process_radarevent.c +++ b/CORE/SERVICES/DFS/src/dfs_process_radarevent.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2014, 2016-2017 The Linux Foundation. All rights reserved. + * Copyright (c) 2002-2014, 2016-2018 The Linux Foundation. All rights reserved. * * Previously licensed under the ISC license by Qualcomm Atheros, Inc. * @@ -819,29 +819,6 @@ dfs_process_radarevent(struct ath_dfs *dfs, struct ieee80211_channel *chan) found = 0; /* - * Use this fix only when device is not in test mode, as - * it drops some valid phyerrors. - * In FCC or JAPAN domain,if the follwing signature matches - * its likely that this is a false radar pulse pattern - * so process the next pulse in the queue. - */ - if ((dfs->disable_dfs_ch_switch == VOS_FALSE) && - (DFS_FCC_DOMAIN == dfs->dfsdomain || - DFS_MKK4_DOMAIN == dfs->dfsdomain) && - (re.re_dur >= 11 && re.re_dur <= 20) && - (diff_ts > 500 || diff_ts <= 305) && - (re.sidx == -4)) { - VOS_TRACE(VOS_MODULE_ID_SAP, VOS_TRACE_LEVEL_INFO, - "\n%s: Rejecting on Peak Index = %d,re.re_dur = %d,diff_ts = %d\n", - __func__,re.sidx, re.re_dur, diff_ts); - - ATH_DFSQ_LOCK(dfs); - empty = STAILQ_EMPTY(&(dfs->dfs_radarq)); - ATH_DFSQ_UNLOCK(dfs); - continue; - } - - /* * Modifying the pulse duration for FCC Type 4 * or JAPAN W56 Type 6 radar pulses when the * following condition is reported in radar |
