From 71bd0b5f0671b0d75acdfdb1ed56bab3641dd076 Mon Sep 17 00:00:00 2001 From: hqu Date: Mon, 28 Oct 2019 22:38:56 +0800 Subject: [PATCH] qcacmn: Convert SME code legacy channel ID usage Add op_freq for structure host_log_ibss_pkt_type and host_event_wlan_connection_stats. Change-Id: Ic676ac586220489301258f3027527e2df75ba3e1 CRs-Fixed: 2554199 --- utils/host_diag_log/inc/host_diag_core_event.h | 2 ++ utils/host_diag_log/inc/host_diag_core_log.h | 1 + 2 files changed, 3 insertions(+) diff --git a/utils/host_diag_log/inc/host_diag_core_event.h b/utils/host_diag_log/inc/host_diag_core_event.h index b07365dfd3b9..e15a980c7d16 100644 --- a/utils/host_diag_log/inc/host_diag_core_event.h +++ b/utils/host_diag_log/inc/host_diag_core_event.h @@ -316,6 +316,7 @@ typedef struct { * @est_link_speed: link speed of connection, units in Mbps * @result_code: result code of connection success or failure * @reason_code: if failed then what is the reason + * @op_freq: channel frequency in MHz on which AP is connected */ struct host_event_wlan_connection_stats { int8_t rssi; @@ -333,6 +334,7 @@ struct host_event_wlan_connection_stats { uint32_t est_link_speed; uint16_t result_code; uint16_t reason_code; + uint32_t op_freq; } qdf_packed; /*------------------------------------------------------------------------- diff --git a/utils/host_diag_log/inc/host_diag_core_log.h b/utils/host_diag_log/inc/host_diag_core_log.h index 4b72f237e92c..f9b47cb874f3 100644 --- a/utils/host_diag_log/inc/host_diag_core_log.h +++ b/utils/host_diag_log/inc/host_diag_core_log.h @@ -100,6 +100,7 @@ typedef struct { uint8_t operatingChannel; uint8_t beaconInterval; uint8_t status; + uint32_t op_freq; } host_log_ibss_pkt_type; /*---------------------------------------------------------------------------