summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/wl12xx/wl1271.h
diff options
context:
space:
mode:
authorJuuso Oikarinen <juuso.oikarinen@nokia.com>2010-05-07 11:38:58 +0300
committerJohn W. Linville <linville@tuxdriver.com>2010-05-07 14:57:18 -0400
commitd717fd6188b2ea63cf9dc0a870fd312c312841cd (patch)
tree428410070c7ce5aa36f699939344bb3267ad9eed /drivers/net/wireless/wl12xx/wl1271.h
parent2ff6575b1e497f88acf2c7de7e1ba015267b689d (diff)
downloadlwn-d717fd6188b2ea63cf9dc0a870fd312c312841cd.tar.gz
lwn-d717fd6188b2ea63cf9dc0a870fd312c312841cd.zip
wl1271: Add sysfs file to retrieve HW PG-version and ROM-version
This patch reads the HW PG version (along with a ROM-version, embedded in the same value) from the wl1271 hardware and publishes the value in a sysfs -file. Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com> Reviewed-by: Luciano Coelho <luciano.coelho@nokia.com> Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl1271.h')
-rw-r--r--drivers/net/wireless/wl12xx/wl1271.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271.h b/drivers/net/wireless/wl12xx/wl1271.h
index 75887e74205b..3e1769dd1b55 100644
--- a/drivers/net/wireless/wl12xx/wl1271.h
+++ b/drivers/net/wireless/wl12xx/wl1271.h
@@ -388,6 +388,8 @@ struct wl1271 {
size_t fw_len;
struct wl1271_nvs_file *nvs;
+ s8 hw_pg_ver;
+
u8 bssid[ETH_ALEN];
u8 mac_addr[ETH_ALEN];
u8 bss_type;