wlan: Non-sec wd bark due to excessive logging
In wlan_hdd_tx_rx.c: function hdd_start_xmit will
cause excessive logs during TDLS transimmission
when there are chnanges in link state
Change-Id: Ib7a4defee50ab68bf3a5199541a5843213bf7ce1
CRs-fixed: 571471
diff --git a/CORE/HDD/src/wlan_hdd_tx_rx.c b/CORE/HDD/src/wlan_hdd_tx_rx.c
index 36e451d..16d1633 100644
--- a/CORE/HDD/src/wlan_hdd_tx_rx.c
+++ b/CORE/HDD/src/wlan_hdd_tx_rx.c
@@ -714,6 +714,22 @@
pAdapter->isTxSuspended[ac] = VOS_TRUE;
txSuspended = VOS_TRUE;
}
+ else
+ {
+ /* In IBSS when a IBSS peer departs, there is no explicit
+ DEAUTH/DISASSOC to detect peer has left the N/W. The only way to
+ detect peer leaving is via heartbeat which is of the order of few
+ seconds. Hence do not back pressure during IBSS as one peer leaving
+ can potentially throttle traffic for other peers in the N/W
+ */
+ ++pAdapter->stats.tx_dropped;
+ ++pAdapter->hdd_stats.hddTxRxStats.txXmitDropped;
+ ++pAdapter->hdd_stats.hddTxRxStats.txXmitDroppedAC[ac];
+ kfree_skb(skb);
+ spin_unlock(&pAdapter->wmm_tx_queue[ac].lock);
+ return NETDEV_TX_OK;
+
+ }
/* If 3/4th of the max queue size is used then enable the flag.
* This flag indicates to place the DHCP packets in VOICE AC queue.*/