Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 95a84c71 authored by Yue Ma's avatar Yue Ma Committed by Gerrit - the friendly Code Review server
Browse files

cnss2: Add device version to SOC info structure



Interface change to add device version which will provide WLAN
SOC HW version related info.

Change-Id: Ib3de58809146aa0c79e56c6df59794a1849211ea
Signed-off-by: default avatarYue Ma <yuem@codeaurora.org>
parent 4a6d5df1
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -41,6 +41,13 @@ struct cnss_fw_files {
	char evicted_data[CNSS_MAX_FILE_NAME];
};

struct cnss_device_version {
	u32 family_number;
	u32 device_number;
	u32 major_version;
	u32 minor_version;
};

struct cnss_soc_info {
	void __iomem *va;
	phys_addr_t pa;
@@ -50,6 +57,7 @@ struct cnss_soc_info {
	uint32_t soc_id;
	uint32_t fw_version;
	char fw_build_timestamp[CNSS_MAX_TIMESTAMP_LEN + 1];
	struct cnss_device_version device_version;
};

struct cnss_wlan_runtime_ops {