qcacld-3.0: Add events to modify Beacon miss disconnection logging

Disconnection is logged even if keepalive indication is
sent to host after firmware sending final beacon miss
event.

Add two new roam failure reason code to indicate roam
failure and send final beacon miss.

ROAM_FAIL_REASON_NO_AP_FOUND_AND_FINAL_BMISS_SENT: Indicate
roam failure when no ap is found and final beacon miss
is sent.

ROAM_FAIL_REASON_NO_CAND_AP_FOUND_AND_FINAL_BMISS_SENT:
Indicate roam failure when no candidate ap is found and
final beacon miss is sent.

Change-Id: I6d7a6034f8be5388dd35dd3c05fecfd40a8d888d
CRs-Fixed: 3437060
This commit is contained in:
Vijay Raj
2023-03-17 04:02:44 -07:00
committed by Madan Koyyalamudi
parent 6156b97c2b
commit 72dfd6a38f
4 changed files with 69 additions and 50 deletions

View File

@@ -4815,6 +4815,10 @@ char *mlme_get_roam_fail_reason_str(enum wlan_roam_failure_reason_code result)
return "SAE preauth failed";
case ROAM_FAIL_REASON_UNABLE_TO_START_ROAM_HO:
return "Start handoff failed- internal error";
case ROAM_FAIL_REASON_NO_AP_FOUND_AND_FINAL_BMISS_SENT:
return "No AP found on final BMISS";
case ROAM_FAIL_REASON_NO_CAND_AP_FOUND_AND_FINAL_BMISS_SENT:
return "No Candidate AP found on final BMISS";
default:
return "UNKNOWN";
}