mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
qcacld-3.0: Get the newtork queues status during NUD Failure
In some cases i.e. after successful roaming, NUD FAILURE is triggered due to no ARP REQ packets are sent out by netdev. Currently, we do not have any information to verify if ARP packets are not sent because netdev queues are paused or not. Retrieve the netdev queues status in case of NUD FAILURE to verify if TX is stopped due to paused queue. Change-Id: I324afdc349cf6b028471a21ed89bc702f99e5f99 CRs-Fixed: 2441513
This commit is contained in:
parent
8f638fc7a3
commit
600d9647f4
1 changed files with 13 additions and 0 deletions
|
|
@ -107,6 +107,9 @@ void hdd_nud_reset_tracking(struct hdd_adapter *adapter)
|
|||
*/
|
||||
static void hdd_nud_stats_info(struct hdd_adapter *adapter)
|
||||
{
|
||||
struct netdev_queue *txq;
|
||||
int i = 0;
|
||||
|
||||
hdd_debug("**** NUD STATS: ****");
|
||||
hdd_debug("NUD Probe Tx : %d",
|
||||
adapter->nud_tracking.tx_rx_stats.pre_tx_packets);
|
||||
|
|
@ -123,6 +126,16 @@ static void hdd_nud_stats_info(struct hdd_adapter *adapter)
|
|||
hdd_debug("NUD Gateway Rx : %d",
|
||||
qdf_atomic_read(&adapter
|
||||
->nud_tracking.tx_rx_stats.gw_rx_packets));
|
||||
|
||||
hdd_debug("carrier state: %d", netif_carrier_ok(adapter->dev));
|
||||
|
||||
for (i = 0; i < NUM_TX_QUEUES; i++) {
|
||||
txq = netdev_get_tx_queue(adapter->dev, i);
|
||||
hdd_debug("Queue: %d status: %d txq->trans_start: %lu",
|
||||
i, netif_tx_queue_stopped(txq), txq->trans_start);
|
||||
}
|
||||
|
||||
hdd_debug("Current pause_map value %x", adapter->pause_map);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue