diff options
| author | Yue Ma <yuem@codeaurora.org> | 2019-04-17 15:05:28 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2019-04-18 18:32:19 -0700 |
| commit | 27f1619b2f38ac9aadd1e70bcb5d351b89684c50 (patch) | |
| tree | 872791e6e37885dd4474ff78a8ee0c00f77b7516 /include/net | |
| parent | f3ec53af1d65bd3bdb4a5b8e7c029ec5126bc188 (diff) | |
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: Yue Ma <yuem@codeaurora.org>
Diffstat (limited to 'include/net')
| -rw-r--r-- | include/net/cnss2.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/net/cnss2.h b/include/net/cnss2.h index de0161915a75..c3d1a3005bb9 100644 --- a/include/net/cnss2.h +++ b/include/net/cnss2.h @@ -51,6 +51,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; @@ -60,6 +67,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 { |
