qcacmn: delta tsf calculation based on use_tqm_timer flag
Add WMI parameters to support delta tsf calculation based on the use_tqm_timer flag. Change-Id: I6346f0b661bdede56874f4589f4dcc4d8b95c439 CRs-Fixed: 3193329
This commit is contained in:

committed by
Madan Koyyalamudi

parent
ba4e301f48
commit
b434bd1dc2
@@ -4711,6 +4711,9 @@ struct wmi_host_tsf_event {
|
|||||||
uint32_t mac_id_valid;
|
uint32_t mac_id_valid;
|
||||||
uint32_t wlan_global_tsf_low;
|
uint32_t wlan_global_tsf_low;
|
||||||
uint32_t wlan_global_tsf_high;
|
uint32_t wlan_global_tsf_high;
|
||||||
|
uint32_t tqm_timer_low;
|
||||||
|
uint32_t tqm_timer_high;
|
||||||
|
uint32_t use_tqm_timer;
|
||||||
};
|
};
|
||||||
|
|
||||||
#define WMI_EVENT_ID_INVALID 0
|
#define WMI_EVENT_ID_INVALID 0
|
||||||
|
@@ -17190,6 +17190,9 @@ extract_vdev_tsf_report_event_tlv(wmi_unified_t wmi_handle, void *evt_buf,
|
|||||||
param->mac_id_valid = evt->mac_id_valid;
|
param->mac_id_valid = evt->mac_id_valid;
|
||||||
param->wlan_global_tsf_low = evt->wlan_global_tsf_low;
|
param->wlan_global_tsf_low = evt->wlan_global_tsf_low;
|
||||||
param->wlan_global_tsf_high = evt->wlan_global_tsf_high;
|
param->wlan_global_tsf_high = evt->wlan_global_tsf_high;
|
||||||
|
param->tqm_timer_low = evt->tqm_timer_low;
|
||||||
|
param->tqm_timer_high = evt->tqm_timer_high;
|
||||||
|
param->use_tqm_timer = evt->use_tqm_timer;
|
||||||
|
|
||||||
return QDF_STATUS_SUCCESS;
|
return QDF_STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user