diff options
author | Luciano Coelho <coelho@ti.com> | 2012-06-07 16:39:27 -0400 |
---|---|---|
committer | Luciano Coelho <coelho@ti.com> | 2012-06-08 02:14:08 -0400 |
commit | 18b70ac9c7fd640cbd5921b5ca2705db0f8b9d83 (patch) | |
tree | 372eb61055aac139e99c3668cc9c52edfcc93ca9 /drivers/net/wireless/ti/wl18xx/conf.h | |
parent | 34bacf73c62cd71542ee12eba5896e1f360faa9b (diff) |
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.h | 6 |
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 b75a6d359712..130546aa970d 100644 --- a/drivers/net/wireless/ti/wl18xx/conf.h +++ b/drivers/net/wireless/ti/wl18xx/conf.h | |||
@@ -22,6 +22,12 @@ | |||
22 | #ifndef __WL18XX_CONF_H__ | 22 | #ifndef __WL18XX_CONF_H__ |
23 | #define __WL18XX_CONF_H__ | 23 | #define __WL18XX_CONF_H__ |
24 | 24 | ||
25 | #define WL18XX_CONF_MAGIC 0x10e100ca | ||
26 | #define WL18XX_CONF_VERSION (WLCORE_CONF_VERSION | 0x0001) | ||
27 | #define WL18XX_CONF_MASK 0x0000ffff | ||
28 | #define WL18XX_CONF_SIZE (WLCORE_CONF_SIZE + \ | ||
29 | sizeof(struct wl18xx_priv_conf)) | ||
30 | |||
25 | struct wl18xx_conf_phy { | 31 | struct wl18xx_conf_phy { |
26 | u8 phy_standalone; | 32 | u8 phy_standalone; |
27 | u8 rdl; | 33 | u8 rdl; |