mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
qcacmn: Add WCN3990 to hw names
Print out hw name WCN3990_V1 when soc version is 0x40000000. Change-Id: Ic76cd3ddc46cf9a2b142cc2d455b512e442f189e CRs-Fixed: 1059083
This commit is contained in:
parent
4d9b0808da
commit
cd0884a954
3 changed files with 10 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -289,6 +289,11 @@ static const struct qwlan_hw qwlan_hw_list[] = {
|
|||
.id = AR6320_REV3_2_VERSION,
|
||||
.subid = 0xA,
|
||||
.name = "AR6320_REV3_2_VERSION",
|
||||
},
|
||||
{
|
||||
.id = WCN3990_v1,
|
||||
.subid = 0x0,
|
||||
.name = "WCN3990_V1",
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -145,6 +145,10 @@ static QDF_STATUS hif_snoc_get_soc_info(struct hif_softc *scn)
|
|||
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue