qcacmn: Add time_latency check for tx_completion

This patch adds support to measure latency  for tx completions

Change-Id: Ifda1c2f7ffaf8276f012e7a458f6f167ad931356
This commit is contained in:
Ankit Kumar
2019-02-28 18:17:15 +05:30
committed by nshrivas
parent c9681754d0
commit 8dc0e2a679
5 changed files with 31 additions and 5 deletions

View File

@@ -7978,6 +7978,12 @@ static QDF_STATUS dp_set_pdev_param(struct cdp_pdev *pdev_handle,
case CDP_CONFIG_PRIMARY_RADIO:
pdev->is_primary = val;
break;
case CDP_CONFIG_CAPTURE_LATENCY:
if (val == 1)
pdev->latency_capture_enable = true;
else
pdev->latency_capture_enable = false;
break;
default:
return QDF_STATUS_E_INVAL;
}