diff options
| author | Luigi Rizzo <luigi@FreeBSD.org> | 2007-02-20 14:29:09 +0000 |
|---|---|---|
| committer | Luigi Rizzo <luigi@FreeBSD.org> | 2007-02-20 14:29:09 +0000 |
| commit | b8c4cc421e1280ac8975f8f7d9299f6e25f02aed (patch) | |
| tree | 27721fe82570a8f7425124a4c7c3ef1b693733d0 /sys/dev/iwi | |
| parent | a1f3b8390c45f96e6a566613c5f8d97170a77006 (diff) | |
Notes
Diffstat (limited to 'sys/dev/iwi')
| -rw-r--r-- | sys/dev/iwi/if_iwireg.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/dev/iwi/if_iwireg.h b/sys/dev/iwi/if_iwireg.h index 05ce168d3527a..5c7435edcee12 100644 --- a/sys/dev/iwi/if_iwireg.h +++ b/sys/dev/iwi/if_iwireg.h @@ -134,7 +134,10 @@ #define IWI_RATE_OFDM48 1 #define IWI_RATE_OFDM54 3 -/* firmware binary image header, fields in little endian */ +/* + * Old version firmware images start with this header, + * fields are in little endian (le32) format. + */ struct iwi_firmware_ohdr { uint32_t version; uint32_t mode; @@ -150,6 +153,11 @@ struct iwi_firmware_ohdr { #define IWI_FW_MODE_IBSS 1 #define IWI_FW_MODE_MONITOR 2 +/* + * New version firmware images contain boot, ucode and firmware + * all in one chunk. The header at the beginning gives the version + * and the size of each (sub)image, in le32 format. + */ struct iwi_firmware_hdr { uint32_t version; /* version stamp */ uint32_t bsize; /* size of boot image */ |
