qcacmn: FR65980: Add MLO timestamp support for pktlog
Whenever firmware receives the sync interrupt, it would update the MLO offset to the scratch registers. Additionally, firmware also sends a HTT message. The values from the HTT message are copied into two structures: 1. into the dp_pdev structure, for monitor mode usage 2. into the scn structure for updating the pktlog header A new WDI event is introduced for MLO timestamp sync into pktlog header. Host sends the WDI event once it receives htt msg and the data gets parsed in the pktlog handler and eventually pktlog header gets updated with those values. Whenever pktlog memory is being filled, the latest value from scn structure is filled into the pktlog header. Upon receiving a new HTT message, the value in the scn structure is updated and subsequently into the pktlog records as well. All the 8 bytes from the HTT message are required to calculate the MLO timestamp offset. The calculation of MLO timestamp offset is to be taken care by the PKTLOG parsing script. Change-Id: If1d40b4a889e58b358f0feae692958bca2b8e1de CRs-Fixed: 3074184
This commit is contained in:

committed by
Madan Koyyalamudi

parent
3664b4c5c2
commit
c96961a186
@@ -569,6 +569,9 @@ enum WDI_EVENT {
|
||||
WDI_EVENT_HOST_SW_EVENT,
|
||||
#ifdef QCA_WIFI_QCN9224
|
||||
WDI_EVENT_HYBRID_TX,
|
||||
#ifdef WLAN_FEATURE_11BE_MLO
|
||||
WDI_EVENT_MLO_TSTMP,
|
||||
#endif
|
||||
#endif
|
||||
/* End of new event items */
|
||||
WDI_EVENT_LAST
|
||||
|
Reference in New Issue
Block a user