qcacmn: Add WCN3990 to hw names
Print out hw name WCN3990_V1 when soc version is 0x40000000.
Change-Id: Ic76cd3ddc46cf9a2b142cc2d455b512e442f189e
CRs-Fixed: 1059083
diff --git a/hif/src/hif_hw_version.h b/hif/src/hif_hw_version.h
index c5b56d8..7630776 100644
--- a/hif/src/hif_hw_version.h
+++ b/hif/src/hif_hw_version.h
@@ -39,6 +39,7 @@
#define AR6320_REV3_2_VERSION 0x5030000
#define AR6320_DEV_VERSION 0x1000000
#define QCA9377_REV1_1_VERSION 0x5020001
+#define WCN3990_v1 0x40000000
struct qwlan_hw {
u32 id;
diff --git a/hif/src/hif_main.c b/hif/src/hif_main.c
index abdb158..9b8dc12 100644
--- a/hif/src/hif_main.c
+++ b/hif/src/hif_main.c
@@ -289,6 +289,11 @@
.id = AR6320_REV3_2_VERSION,
.subid = 0xA,
.name = "AR6320_REV3_2_VERSION",
+ },
+ {
+ .id = WCN3990_v1,
+ .subid = 0x0,
+ .name = "WCN3990_V1",
}
};
diff --git a/hif/src/snoc/if_snoc.c b/hif/src/snoc/if_snoc.c
index a414958..77bc554 100644
--- a/hif/src/snoc/if_snoc.c
+++ b/hif/src/snoc/if_snoc.c
@@ -145,6 +145,10 @@
scn->mem = soc_info.v_addr;
scn->mem_pa = soc_info.p_addr;
+
+ scn->target_info.soc_version = soc_info.soc_id;
+ scn->target_info.target_version = soc_info.soc_id;
+ scn->target_info.target_revision = 0;
return QDF_STATUS_SUCCESS;
}