Browse Source

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
hqu 5 years ago
parent
commit
71bd0b5f06

+ 2 - 0
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;
 
 /*-------------------------------------------------------------------------

+ 1 - 0
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;
 
 /*---------------------------------------------------------------------------