summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ti/wlcore/boot.h
diff options
context:
space:
mode:
authorLuciano Coelho <coelho@ti.com>2012-05-10 09:14:10 (GMT)
committerLuciano Coelho <coelho@ti.com>2012-06-05 12:58:20 (GMT)
commit7140df6e51ecca70e8963f18e9836e62090221c2 (patch)
tree1ca50fe5978940f0fce150c71ece37cc7e0fa4f5 /drivers/net/wireless/ti/wlcore/boot.h
parent8c0ea1021c38cfd2f0ba5d8fdd48a9e9827bbc03 (diff)
downloadlinux-7140df6e51ecca70e8963f18e9836e62090221c2.tar.xz
wlcore: create private static_data area and add operation to parse it
The wl18xx firmware has more information in the static_data than wl12xx. To be able to parse that in an abstracted way, this patch adds a priv area to the static data struct and an operation that allows the lower driver to parse it if necessary. Signed-off-by: Luciano Coelho <coelho@ti.com> Signed-off-by: Arik Nemtsov <arik@wizery.com>
Diffstat (limited to 'drivers/net/wireless/ti/wlcore/boot.h')
-rw-r--r--drivers/net/wireless/ti/wlcore/boot.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ti/wlcore/boot.h b/drivers/net/wireless/ti/wlcore/boot.h
index 094981d..a525225 100644
--- a/drivers/net/wireless/ti/wlcore/boot.h
+++ b/drivers/net/wireless/ti/wlcore/boot.h
@@ -40,6 +40,7 @@ struct wl1271_static_data {
u8 fw_version[WL1271_FW_VERSION_MAX_LEN];
u32 hw_version;
u8 tx_power_table[WL1271_NO_SUBBANDS][WL1271_NO_POWER_LEVELS];
+ u8 priv[0];
};
/* number of times we try to read the INIT interrupt */