summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/b43/b43.h
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2011-08-11 17:07:15 +0400
committerJohn W. Linville <linville@tuxdriver.com>2011-08-22 22:45:58 +0400
commitefe0249b0fd1e9a32a7e6a5dc9c751d4d97b0adf (patch)
tree1a1db659fda1dbf9fbe6e934d14e2f4b64b53b7b /drivers/net/wireless/b43/b43.h
parent2391b7e8d40e4b3be0756396c628d2323f2d0b8d (diff)
downloadlinux-efe0249b0fd1e9a32a7e6a5dc9c751d4d97b0adf.tar.xz
b43: use enum for firmware header format
Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43/b43.h')
-rw-r--r--drivers/net/wireless/b43/b43.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/wireless/b43/b43.h b/drivers/net/wireless/b43/b43.h
index c818b0bc88ec..39baaaf4088f 100644
--- a/drivers/net/wireless/b43/b43.h
+++ b/drivers/net/wireless/b43/b43.h
@@ -694,6 +694,11 @@ struct b43_firmware_file {
enum b43_firmware_file_type type;
};
+enum b43_firmware_hdr_format {
+ B43_FW_HDR_410,
+ B43_FW_HDR_351,
+};
+
/* Pointers to the firmware data and meta information about it. */
struct b43_firmware {
/* Microcode */
@@ -710,6 +715,9 @@ struct b43_firmware {
/* Firmware patchlevel */
u16 patch;
+ /* Format of header used by firmware */
+ enum b43_firmware_hdr_format hdr_format;
+
/* Set to true, if we are using an opensource firmware.
* Use this to check for proprietary vs opensource. */
bool opensource;