OSDN Git Service

cnss2: Add device version to SOC info structure
authorYue Ma <yuem@codeaurora.org>
Wed, 17 Apr 2019 22:05:28 +0000 (15:05 -0700)
committerGerrit - the friendly Code Review server <code-review@localhost>
Fri, 19 Apr 2019 01:32:19 +0000 (18:32 -0700)
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>
include/net/cnss2.h

index de01619..c3d1a30 100644 (file)
@@ -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 {