qcacmn: Add fw build version in (ext) service event data
FW reports build number in service ready and ext_service ready event.
Save these to display FW build version during brinup.
Change-Id: Ia86a392f826c5bb836be9353e3938ab1f811ab62
CRs-Fixed: 2125667
diff --git a/wmi_unified_tlv.c b/wmi_unified_tlv.c
index 4065699..4507bf4 100644
--- a/wmi_unified_tlv.c
+++ b/wmi_unified_tlv.c
@@ -16231,6 +16231,9 @@
cap->txrx_chainmask = ev->txrx_chainmask;
cap->default_dbs_hw_mode_index = ev->default_dbs_hw_mode_index;
cap->num_msdu_desc = ev->num_msdu_desc;
+ cap->fw_version = ev->fw_build_vers;
+ /* fw_version_1 is not available in TLV. */
+ cap->fw_version_1 = 0;
return QDF_STATUS_SUCCESS;
}
@@ -17864,6 +17867,7 @@
param->he_cap_info = ev->he_cap_info;
param->mpdu_density = ev->mpdu_density;
param->max_bssid_rx_filters = ev->max_bssid_rx_filters;
+ param->fw_build_vers_ext = ev->fw_build_vers_ext;
qdf_mem_copy(¶m->ppet, &ev->ppet, sizeof(param->ppet));
hw_caps = param_buf->soc_hw_mode_caps;