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 2020-03-23 10:57:18 +05:30 • committed by nshrivas
commit 4281eb0f89
2 changed files with 3 additions and 1 deletions

View file

@ -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

View file

@ -3575,6 +3575,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: