wil6210: export FW/HW versions through debugfs
authorVladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Mon, 14 Jul 2014 06:49:38 +0000 (09:49 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 18 Jul 2014 17:45:23 +0000 (13:45 -0400)
Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/wil6210/debugfs.c

index a868c5eebe37d73a0c4e140473fb2f3e02169278..7435b5a256abab26b505522232f8b6d443dcff31 100644 (file)
@@ -986,6 +986,8 @@ int wil6210_debugfs_init(struct wil6210_priv *wil)
                           &wil->secure_pcp);
        wil_debugfs_create_ulong("status", S_IRUGO | S_IWUSR, dbg,
                                 &wil->status);
+       debugfs_create_u32("fw_version", S_IRUGO, dbg, &wil->fw_version);
+       debugfs_create_x32("hw_version", S_IRUGO, dbg, &wil->hw_version);
 
        wil6210_debugfs_create_ISR(wil, "USER_ICR", dbg,
                                   HOSTADDR(RGF_USER_USER_ICR));