diff options
author | Luciano Coelho <coelho@ti.com> | 2012-06-07 23:39:27 +0300 |
---|---|---|
committer | Luciano Coelho <coelho@ti.com> | 2012-06-08 09:14:08 +0300 |
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 b75a6d35971..130546aa970 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; |