Browse Source

qcacmn: Add logic to log pause/unpause time

Add logic to calculate pause and unpause time for
network queues to debug data path issues.

Change-Id: I825b10837d999384a91ca3c2271e472a71fd8863
CRs-Fixed: 999861
Nirav Shah 9 years ago
parent
commit
c64364e6a9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      dp/inc/cdp_txrx_flow_ctrl_legacy.h

+ 2 - 2
dp/inc/cdp_txrx_flow_ctrl_legacy.h

@@ -45,7 +45,7 @@
  * @WLAN_NETIF_CARRIER_OFF: off carrier
  */
 enum netif_action_type {
-	WLAN_STOP_ALL_NETIF_QUEUE,
+	WLAN_STOP_ALL_NETIF_QUEUE = 1,
 	WLAN_START_ALL_NETIF_QUEUE,
 	WLAN_WAKE_ALL_NETIF_QUEUE,
 	WLAN_STOP_ALL_NETIF_QUEUE_N_CARRIER,
@@ -68,7 +68,7 @@ enum netif_action_type {
  * @WLAN_THERMAL_MITIGATION: because of thermal mitigation
  */
 enum netif_reason_type {
-	WLAN_CONTROL_PATH,
+	WLAN_CONTROL_PATH = 1,
 	WLAN_DATA_FLOW_CONTROL,
 	WLAN_FW_PAUSE,
 	WLAN_TX_ABORT,