prima: Info logs to indicate time stamps
Kernel uses jiffies, txq->trans_start and dev->trans_start to decide
timeout. Add time stamps for them which will be helpful in knowing
the reason for timeout.
Change-Id: I7117125da9c0eb63c5a6493f93614cb439addd85
CRs-Fixed: 772436
diff --git a/CORE/HDD/src/wlan_hdd_tx_rx.c b/CORE/HDD/src/wlan_hdd_tx_rx.c
index a6abb3c..1302ae4 100644
--- a/CORE/HDD/src/wlan_hdd_tx_rx.c
+++ b/CORE/HDD/src/wlan_hdd_tx_rx.c
@@ -1033,7 +1033,8 @@
v_ULONG_t diff_in_jiffies = 0;
VOS_TRACE( VOS_MODULE_ID_HDD_DATA, VOS_TRACE_LEVEL_ERROR,
- "%s: Transmission timeout occurred", __func__);
+ "%s: Transmission timeout occurred jiffies %lu dev->trans_start %lu",
+ __func__,jiffies,dev->trans_start);
if ( NULL == pAdapter )
{
@@ -1068,7 +1069,8 @@
{
txq = netdev_get_tx_queue(dev, i);
VOS_TRACE( VOS_MODULE_ID_HDD_DATA, VOS_TRACE_LEVEL_ERROR,
- "Queue%d status: %d", i, netif_tx_queue_stopped(txq));
+ "Queue%d status: %d txq->trans_start %lu",
+ i, netif_tx_queue_stopped(txq),txq->trans_start);
}
VOS_TRACE( VOS_MODULE_ID_HDD_DATA, VOS_TRACE_LEVEL_ERROR,