qcacld-3.0: Increase roam failure reason buffer size

Increase the roam failure reason string buffer size to
60 from 50.
Also add reason string for roam failure reason.

Change-Id: I42f4332463e4063aa0dee39631ca31965db12b62
CRs-Fixed: 2647260
This commit is contained in:
Pragaspathi Thilagaraj authored and nshrivas committed 2020-03-30 13:11:32 -07:00
1 parent 3f58c1d4ca
commit 9b8c2c8393
2 files changed
+3 -1

No files matched your search

@@ -44,7 +44,7 @@
/* Roam debugging related macro defines */
#define MAX_ROAM_DEBUG_BUF_SIZE 250
#define MAX_ROAM_EVENTS_SUPPORTED 5
#define ROAM_FAILURE_BUF_SIZE 50
#define ROAM_FAILURE_BUF_SIZE 60
#define TIME_STRING_LEN 24
#define ROAM_CHANNEL_BUF_SIZE 300
@@ -3570,6 +3570,8 @@ char *mlme_get_roam_trigger_str(uint32_t roam_scan_trigger)
return "DEAUTH RECEIVED";
case WMI_ROAM_TRIGGER_REASON_IDLE:
return "IDLE STATE SCAN";
case WMI_ROAM_TRIGGER_REASON_STA_KICKOUT:
return "STA KICKOUT";
case WMI_ROAM_TRIGGER_REASON_NONE:
return "NONE";
default: