diff options
| author | Joshua Oreman | 2009-06-15 20:39:45 +0200 |
|---|---|---|
| committer | Michael Brown | 2009-06-23 11:49:50 +0200 |
| commit | 254bdc2a8eaa8a988552dee3ca1daf3c7bacffb1 (patch) | |
| tree | 249165747fa61f1888b1484c63ca254c32f3ee69 /src/include | |
| parent | [netdevice] Add netdev argument to link-layer push and pull handlers (diff) | |
| download | ipxe-254bdc2a8eaa8a988552dee3ca1daf3c7bacffb1.tar.gz ipxe-254bdc2a8eaa8a988552dee3ca1daf3c7bacffb1.tar.xz ipxe-254bdc2a8eaa8a988552dee3ca1daf3c7bacffb1.zip | |
[netdevice] Adjust maximum link-layer header length for 802.11
Signed-off-by: Michael Brown <mcb30@etherboot.org>
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/gpxe/netdevice.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/include/gpxe/netdevice.h b/src/include/gpxe/netdevice.h index 2308f8f48..43c5aa317 100644 --- a/src/include/gpxe/netdevice.h +++ b/src/include/gpxe/netdevice.h @@ -29,11 +29,12 @@ struct device; /** Maximum length of a link-layer header * - * The longest currently-supported link-layer header is for Ethernet. - * (The IPoIB link-layer pseudo-header doesn't actually include - * link-layer addresses; see ipoib.c for details). + * The longest currently-supported link-layer header is for 802.11: a + * 24-byte frame header plus an 8-byte 802.3 LLC/SNAP header. (The + * IPoIB link-layer pseudo-header doesn't actually include link-layer + * addresses; see ipoib.c for details). */ -#define MAX_LL_HEADER_LEN 14 +#define MAX_LL_HEADER_LEN 32 /** Maximum length of a network-layer address */ #define MAX_NET_ADDR_LEN 4 |
