qcacld-3.0: Modify dfs phyerror pulse dur to increase radar detection rate

When radar is injected at +/-30MHz separation from center frequency
in VHT 80MHz mode incorrect pulse duration is reported in the radar
summary reports and lead to decreased radar probablity detection.

Fix the issue by capturing pulses with such characteristics and
modify them to fit within the valid phyerror pulse duration range.

Change-Id: Ic6314a372d6909448fbe4eb694c41736d1719712
CRs-Fixed: 2577632
This commit is contained in:
bings 2019-12-02 15:49:20 +08:00 • committed by nshrivas
commit eb28e19903
2 changed files with 7 additions and 0 deletions

4
Kbuild
View file

@ -2348,6 +2348,10 @@ ifeq ($(CONFIG_QCA_IBSS_SUPPORT), y)
cppflags-$(CONFIG_QCA_IBSS_SUPPORT) += -DQCA_IBSS_SUPPORT
endif
ifeq ($(CONFIG_DFS_FCC_TYPE4_DURATION_CHECK), y)
cppflags-$(CONFIG_DFS_FCC_TYPE4_DURATION_CHECK) += -DDFS_FCC_TYPE4_DURATION_CHECK
endif
cppflags-$(CONFIG_WLAN_SYSFS) += -DWLAN_SYSFS
cppflags-$(CONFIG_FEATURE_WLAN_RMC) += -DFEATURE_WLAN_RMC
cppflags-$(CONFIG_FEATURE_BECN_STATS) += -DWLAN_FEATURE_BEACON_RECEPTION_STATS

View file

@ -27,6 +27,9 @@ ifndef CONFIG_ROME_IF
endif
endif
# Enable FCC TYPE4 DURATION CHECK
CONFIG_DFS_FCC_TYPE4_DURATION_CHECK := y
# Make WLAN as open-source driver by default
WLAN_OPEN_SOURCE := y