qcacld-3.0: Print BTM RSP and initial roam info in kmsg

The event WMI_ROAM_STATS_EVENTID is received after
every roam, once the roam synch complete is sent by the host.
This event contains details regarding the btm response.

This helps in debugging/understanding the scenario when roam
failure happens.

Print the info received related to btm rsp and roam initial
info into kmsg.

Change-Id: Icb2058eed5df3265018b3c53548d123f3a4faf4f
CRs-Fixed: 2728267
This commit is contained in:
Abhinav Kumar
2020-06-29 01:01:01 +05:30
committed by snandini
parent 9a80ee261b
commit 87a292e54a
8 changed files with 287 additions and 2 deletions

View File

@@ -3599,6 +3599,8 @@ char *mlme_get_roam_trigger_str(uint32_t roam_scan_trigger)
return "STA KICKOUT";
case WMI_ROAM_TRIGGER_REASON_ESS_RSSI:
return "ESS RSSI";
case WMI_ROAM_TRIGGER_REASON_WTC_BTM:
return "WTC BTM";
case WMI_ROAM_TRIGGER_REASON_NONE:
return "NONE";
default:
@@ -3815,6 +3817,8 @@ char *mlme_get_sub_reason_str(uint32_t sub_reason)
return "LOW RSSI PERIODIC SCAN";
case WMI_ROAM_TRIGGER_SUB_REASON_CU_PERIODIC:
return "CU PERIODIC SCAN";
case WMI_ROAM_TRIGGER_SUB_REASCON_PERIODIC_TIMER_AFTER_INACTIVITY:
return "PERIODIC TIMER AFTER INACTIVITY";
default:
return "NONE";
}