summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ti/wl18xx/conf.h
diff options
context:
space:
mode:
authorLuciano Coelho <coelho@ti.com>2012-06-07 20:39:27 (GMT)
committerLuciano Coelho <coelho@ti.com>2012-06-08 06:14:08 (GMT)
commit18b70ac9c7fd640cbd5921b5ca2705db0f8b9d83 (patch)
tree372eb61055aac139e99c3668cc9c52edfcc93ca9 /drivers/net/wireless/ti/wl18xx/conf.h
parent34bacf73c62cd71542ee12eba5896e1f360faa9b (diff)
downloadlinux-18b70ac9c7fd640cbd5921b5ca2705db0f8b9d83.tar.xz
wlcore/wl18xx: export conf struct in a debugfs file
Add conf file header structure, magic and version values and export the entire conf struct in debugfs. Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/ti/wl18xx/conf.h')
-rw-r--r--drivers/net/wireless/ti/wl18xx/conf.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/wireless/ti/wl18xx/conf.h b/drivers/net/wireless/ti/wl18xx/conf.h
index b75a6d3..130546a 100644
--- a/drivers/net/wireless/ti/wl18xx/conf.h
+++ b/drivers/net/wireless/ti/wl18xx/conf.h
@@ -22,6 +22,12 @@
#ifndef __WL18XX_CONF_H__
#define __WL18XX_CONF_H__
+#define WL18XX_CONF_MAGIC 0x10e100ca
+#define WL18XX_CONF_VERSION (WLCORE_CONF_VERSION | 0x0001)
+#define WL18XX_CONF_MASK 0x0000ffff
+#define WL18XX_CONF_SIZE (WLCORE_CONF_SIZE + \
+ sizeof(struct wl18xx_priv_conf))
+
struct wl18xx_conf_phy {
u8 phy_standalone;
u8 rdl;