Browse Source

qcacld-3.0: Dump DPT and MAC trace after LIM detects disconnection

Dump DPT and MAC trace after LIM detects disconnection caused by
deauth or disassoc such that in case of RX data stall we can get
all required logs.

Change-Id: I28b129e5b787391e0064a16d9750c463f2310199
CRs-Fixed: 2371708
Rajeev Kumar 6 years ago
parent
commit
55d9a526b3

+ 1 - 1
core/mac/src/pe/lim/lim_process_deauth_frame.c

@@ -163,7 +163,7 @@ lim_process_deauth_frame(struct mac_context *mac, uint8_t *pRxPacketInfo,
 		cds_flush_logs(WLAN_LOG_TYPE_FATAL,
 			       WLAN_LOG_INDICATOR_HOST_DRIVER,
 			       WLAN_LOG_REASON_DISCONNECT,
-			       false, false);
+			       true, false);
 	}
 
 	lim_diag_event_report(mac, WLAN_PE_DIAG_DEAUTH_FRAME_EVENT,

+ 1 - 1
core/mac/src/pe/lim/lim_process_disassoc_frame.c

@@ -162,7 +162,7 @@ lim_process_disassoc_frame(struct mac_context *mac, uint8_t *pRxPacketInfo,
 		cds_flush_logs(WLAN_LOG_TYPE_FATAL,
 			       WLAN_LOG_INDICATOR_HOST_DRIVER,
 			       WLAN_LOG_REASON_DISCONNECT,
-			       false, false);
+			       true, false);
 	}
 	/**
 	 * Extract 'associated' context for STA, if any.