qcacmn: Add flag to filter special vendor roam log

Since special vendor roam log is not need for common roam,
add flag to filter the log.

Change-Id: Ide67de16ae68c507a7b4e81672cbf5e0fc0e4c5d
CRs-Fixed: 3442621
This commit is contained in:
chunquan luo
2023-03-23 17:07:53 +08:00
committed by Madan Koyyalamudi
parent b5f74912c1
commit 9ee8244cd8
2 changed files with 4 additions and 0 deletions

View File

@@ -9219,6 +9219,7 @@ struct wmi_neighbor_report_data {
/** /**
* struct wmi_roam_trigger_info() - Roam trigger related details * struct wmi_roam_trigger_info() - Roam trigger related details
* @present: Flag to check if the roam_trigger_info tlv is present * @present: Flag to check if the roam_trigger_info tlv is present
* @common_roam: Flag to indicate common roam or special roam
* @trigger_reason: Roam trigger reason(enum WMI_ROAM_TRIGGER_REASON_ID) * @trigger_reason: Roam trigger reason(enum WMI_ROAM_TRIGGER_REASON_ID)
* @trigger_sub_reason: Sub reason for roam trigger if multiple roam scans * @trigger_sub_reason: Sub reason for roam trigger if multiple roam scans
* @current_rssi: Connected AP RSSI * @current_rssi: Connected AP RSSI
@@ -9244,6 +9245,7 @@ struct wmi_neighbor_report_data {
*/ */
struct wmi_roam_trigger_info { struct wmi_roam_trigger_info {
bool present; bool present;
bool common_roam;
uint32_t trigger_reason; uint32_t trigger_reason;
uint32_t trigger_sub_reason; uint32_t trigger_sub_reason;
uint32_t current_rssi; uint32_t current_rssi;

View File

@@ -18937,6 +18937,7 @@ extract_roam_trigger_stats_tlv(wmi_unified_t wmi_handle, void *evt_buf,
trig->trigger_reason = trig->trigger_reason =
wmi_convert_fw_to_cm_trig_reason(trig_reason); wmi_convert_fw_to_cm_trig_reason(trig_reason);
trig->timestamp = cmn_data->timestamp; trig->timestamp = cmn_data->timestamp;
trig->common_roam = true;
} else if (src_data) { } else if (src_data) {
trig_reason = src_data->trigger_reason; trig_reason = src_data->trigger_reason;
trig->trigger_reason = trig->trigger_reason =
@@ -18945,6 +18946,7 @@ extract_roam_trigger_stats_tlv(wmi_unified_t wmi_handle, void *evt_buf,
wmi_convert_roam_sub_reason(src_data->trigger_sub_reason); wmi_convert_roam_sub_reason(src_data->trigger_sub_reason);
trig->current_rssi = src_data->current_rssi; trig->current_rssi = src_data->current_rssi;
trig->timestamp = src_data->timestamp; trig->timestamp = src_data->timestamp;
trig->common_roam = false;
} }
if (param_buf->roam_trigger_rssi) if (param_buf->roam_trigger_rssi)