qcacld-3.0: Update time sync period based on tsf sync start/stop

Add pld_pcie_set_tsf_sync_period and pld_reset_tsf_sync_period to
update time sync period vote from wlan driver based on use-case
e.g. tsf sync start / stop. Extend gtsf_ptp_options ini config
to control this functionality.

Change-Id: Ie4a6c80beccd6d315c9f3b31263de7f3b8e0ac2a
CRs-Fixed: 3501976
Цей коміт міститься в:
Shailendra Singh
2023-05-17 20:07:49 +05:30
зафіксовано Rahul Choudhary
джерело 1a65fafdf4
коміт 47f9e0f6c0
6 змінених файлів з 120 додано та 1 видалено

Переглянути файл

@@ -591,6 +591,7 @@
* CFG_SET_TSF_PTP_OPT_RAW (0x4)
* CFG_SET_TSF_DBG_FS (0x8)
* CFG_SET_TSF_PTP_OPT_TSF64_TX (0x10)
* CFG_SET_TSF_PTP_SYNC_PERIOD (0x20)
*
* Related: None
*
@@ -603,12 +604,13 @@
#define CFG_SET_TSF_PTP_OPT_RAW (0x4)
#define CFG_SET_TSF_DBG_FS (0x8)
#define CFG_SET_TSF_PTP_OPT_TSF64_TX (0x10)
#define CFG_SET_TSF_PTP_SYNC_PERIOD (0x20)
#define CFG_SET_TSF_PTP_OPT CFG_INI_UINT( \
"gtsf_ptp_options", \
0, \
0xff, \
0xf, \
0x2f, \
CFG_VALUE_OR_DEFAULT, \
"TSF Plus feature options")