qcacmn: Fill WTC duration in roam stats event
Currently the WTC duration is not filled from the roam stats event. This causes the WTC duration to be always 0. Fill WTC duration from Roam stats event. Change-Id: Ie616ea1e9a61168f918dc2ac1b5a217901795405 CRs-Fixed: 3073673
This commit is contained in:

committato da
Madan Koyyalamudi

parent
e3d4f6b095
commit
b9b1b7f8ef
@@ -1,5 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2016-2021 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
@@ -7586,6 +7587,7 @@ struct wmi_roam_deauth_trigger_data {
|
||||
* threshold for 5g & 6g AP to host or not
|
||||
* @wtc_candi_rssi_th_5g: 5g candidate AP rssi threshold
|
||||
* @wtc_candi_rssi_th_6g: 6g candidate AP rssi threshold
|
||||
* @duration: WTC duration
|
||||
*/
|
||||
struct wmi_roam_wtc_btm_trigger_data {
|
||||
uint32_t roaming_mode;
|
||||
@@ -7598,6 +7600,7 @@ struct wmi_roam_wtc_btm_trigger_data {
|
||||
uint32_t wtc_candi_rssi_ext_present;
|
||||
uint32_t wtc_candi_rssi_th_5g;
|
||||
uint32_t wtc_candi_rssi_th_6g;
|
||||
uint32_t duration;
|
||||
};
|
||||
|
||||
/**
|
||||
|
@@ -15363,6 +15363,8 @@ extract_roam_trigger_stats_tlv(wmi_unified_t wmi_handle, void *evt_buf,
|
||||
src_data->vendor_specific2[1];
|
||||
trig->wtc_btm_trig_data.wtc_candi_rssi_th_6g =
|
||||
src_data->vendor_specific2[2];
|
||||
trig->wtc_btm_trig_data.duration =
|
||||
src_data->vendor_specific2[3];
|
||||
|
||||
return QDF_STATUS_SUCCESS;
|
||||
default:
|
||||
|
Fai riferimento in un nuovo problema
Block a user