|
@@ -7178,6 +7178,8 @@ __wlan_hdd_cfg80211_get_wifi_info(struct wiphy *wiphy,
|
|
|
int status;
|
|
|
struct sk_buff *reply_skb;
|
|
|
uint32_t skb_len = 0, count = 0;
|
|
|
+ struct pld_soc_info info;
|
|
|
+ bool stt_flag = false;
|
|
|
|
|
|
hdd_enter_dev(wdev->netdev);
|
|
|
|
|
@@ -7208,15 +7210,19 @@ __wlan_hdd_cfg80211_get_wifi_info(struct wiphy *wiphy,
|
|
|
|
|
|
if (tb_vendor[QCA_WLAN_VENDOR_ATTR_WIFI_INFO_FIRMWARE_VERSION]) {
|
|
|
hdd_debug("Rcvd req for FW version");
|
|
|
+ if (!pld_get_soc_info(hdd_ctx->parent_dev, &info))
|
|
|
+ stt_flag = true;
|
|
|
+
|
|
|
snprintf(firmware_version, sizeof(firmware_version),
|
|
|
- "FW:%d.%d.%d.%d.%d.%d HW:%s",
|
|
|
+ "FW:%d.%d.%d.%d.%d.%d HW:%s STT:%s",
|
|
|
hdd_ctx->fw_version_info.major_spid,
|
|
|
hdd_ctx->fw_version_info.minor_spid,
|
|
|
hdd_ctx->fw_version_info.siid,
|
|
|
hdd_ctx->fw_version_info.rel_id,
|
|
|
hdd_ctx->fw_version_info.crmid,
|
|
|
hdd_ctx->fw_version_info.sub_id,
|
|
|
- hdd_ctx->target_hw_name);
|
|
|
+ hdd_ctx->target_hw_name,
|
|
|
+ (stt_flag ? info.fw_build_id : " "));
|
|
|
skb_len += strlen(firmware_version) + 1;
|
|
|
count++;
|
|
|
}
|