qcacld-3.0: Fix EAP length and roam candidate info

EAP length is of 2 bytes, but currently the attribute type
used is NLA_U8. This causes the EAP packets with length
greater than 255 to print invalid length.
For roam current AP, the roamed AP info is printed.

Use NLA_U16 attribute for the EAP length and fill
correct event type for the current connected AP.

Change-Id: I9b86055a4817163db17e469ca45b4a0044d5b2d6
CRs-Fixed: 3075012
This commit is contained in:
Pragaspathi Thilagaraj
2021-11-16 16:16:03 +05:30
committed by Madan Koyyalamudi
vanhempi ea0e4245e9
commit a3b3e83cca
2 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa

Näytä tiedosto

@@ -4925,7 +4925,7 @@ void cm_roam_candidate_info_event(struct wmi_roam_candidate_info *ap,
log_record->timestamp_us = qdf_get_time_of_the_day_us();
log_record->fw_timestamp_us = ap->timestamp * 1000;
log_record->ap.is_current_ap = (ap->type == 2);
log_record->ap.is_current_ap = (ap->type == 1);
if (log_record->ap.is_current_ap)
log_record->log_subtype = WLAN_ROAM_SCORE_CURR_AP;
else