Browse Source

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
bings 5 years ago
parent
commit
eb28e19903
2 changed files with 7 additions and 0 deletions
  1. 4 0
      Kbuild
  2. 3 0
      configs/qca6174_defconfig

+ 4 - 0
Kbuild

@@ -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

+ 3 - 0
configs/qca6174_defconfig

@@ -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