qcacld-3.0: Enable time sync only on connection/roam

Currently WMI_DBGLOG_TIME_STAMP_SYNC_CMDID command sent
every 1 sec causes RTPM collapse and inturn has power
impact. So to avoid this enable time of the day synchronization
only after connection/roaming.

Send WMI_DBGLOG_TIME_STAMP_SYNC_CMDID as part of RSO
start command.

Change-Id: Iee3cefe1318a6e5507a43cefb9666cc2a439fe06
CRs-Fixed: 3060762
This commit is contained in:
Pragaspathi Thilagaraj
2021-10-21 23:06:10 +05:30
committed by Madan Koyyalamudi
parent 1747a03a5e
commit c304893863
6 changed files with 15 additions and 79 deletions

View File

@@ -624,29 +624,6 @@ enum wlan_wds_mode {
0, \
"Enable disable beacon reception stats")
/*
* <ini>
* gRemoveTimeStampSyncCmd - Enable/Disable to remove time stamp sync cmd
* @Min: 0
* @Max: 1
* @Default: 1
*
* This ini is used to enable/disable the removal of time stamp sync cmd.
* If we disable this periodic time sync update to firmware then roaming
* timestamp updates to kmsg will have invalid timestamp as firmware will
* use this timestamp to capture when roaming has happened with respect
* to host timestamp.
*
*
* Usage: External
*
* </ini>
*/
#define CFG_REMOVE_TIME_STAMP_SYNC_CMD CFG_INI_BOOL( \
"gRemoveTimeStampSyncCmd", \
1, \
"Enable to remove time stamp sync cmd")
/*
* <ini>
* disable_4way_hs_offload - Enable/Disable 4 way handshake offload to firmware
@@ -924,7 +901,6 @@ enum wlan_wds_mode {
CFG(CFG_DROPPED_PKT_DISCONNECT_THRESHOLD) \
CFG(CFG_ITO_REPEAT_COUNT) \
CFG(CFG_ENABLE_BEACON_RECEPTION_STATS) \
CFG(CFG_REMOVE_TIME_STAMP_SYNC_CMD) \
CFG(CFG_MGMT_RETRY_MAX) \
CFG(CFG_BMISS_SKIP_FULL_SCAN) \
CFG(CFG_ENABLE_RING_BUFFER) \