wlan: enhance debugging when Tx timeout is detected
Add debug information when tx timeout is detected for
AP mode, and if tx stall perisists issue SSR.
SSR may help is restoring Tx data and will also
help to collect ram-dumps for debugging the issue.
Change-Id: Ie62b127e2fb8ad8fa353cb2dc9c217d331caddad
CRs-Fixed: 685415
diff --git a/CORE/HDD/inc/wlan_hdd_main.h b/CORE/HDD/inc/wlan_hdd_main.h
index caf6f6b..1efdb0b 100644
--- a/CORE/HDD/inc/wlan_hdd_main.h
+++ b/CORE/HDD/inc/wlan_hdd_main.h
@@ -317,6 +317,9 @@
__u32 rxRefused;
__u32 pkt_tx_count; //TX pkt Counter used for dynamic splitscan
__u32 pkt_rx_count; //RX pkt Counter used for dynamic splitscan
+ // tx timeout stats
+ __u32 txTimeoutCount;
+ __u32 continuousTxTimeoutCount;
} hdd_tx_rx_stats_t;
typedef struct hdd_chip_reset_stats_s