qcacld-3.0: decouple TSF auto report from uplink delay feature

TSF auto report is a stand alone feature, which can
be used to sync TQM clock and TSF clock, more than
one features depend on it.
Introduce a new build flag WLAN_FEATURE_TSF_AUTO_REPORT
to decouple it from uplink delay feature.
And also introduce trigger source for TSF auto report to
identify different triggers and maintain the enablement
state.

Change-Id: I61005d0ba29e62995aeb88067d18ad48767bd8b5
CRs-Fixed: 3560239
Este commit está contenido en:
Yu Wang
2023-07-11 23:57:50 -07:00
cometido por Rahul Choudhary
padre a8c35ba698
commit 35c0700b17
Se han modificado 11 ficheros con 188 adiciones y 83 borrados

8
Kbuild
Ver fichero

@@ -4119,8 +4119,14 @@ endif
# Enable feature sync tsf for chips based on Adrastea arch
ccflags-$(CONFIG_WLAN_SYNC_TSF_PLUS_NOIRQ) += -DWLAN_FEATURE_TSF_PLUS_NOIRQ
ifeq ($(CONFIG_WLAN_TSF_UPLINK_DELAY), y)
# Enable uplink delay report feature
ccflags-$(CONFIG_WLAN_TSF_UPLINK_DELAY) += -DWLAN_FEATURE_TSF_UPLINK_DELAY
ccflags-y += -DWLAN_FEATURE_TSF_UPLINK_DELAY
CONFIG_WLAN_TSF_AUTO_REPORT := y
endif
# Enable TSF auto report feature
ccflags-$(CONFIG_WLAN_TSF_AUTO_REPORT) += -DWLAN_FEATURE_TSF_AUTO_REPORT
ccflags-$(CONFIG_ATH_PROCFS_DIAG_SUPPORT) += -DCONFIG_ATH_PROCFS_DIAG_SUPPORT