2
0
mirror of https://github.com/xcat2/xNBA.git synced 2024-12-05 02:54:38 +00:00

[netdevice] Adjust maximum link-layer header length for 802.11

Signed-off-by: Michael Brown <mcb30@etherboot.org>
This commit is contained in:
Joshua Oreman 2009-06-15 11:39:45 -07:00 committed by Michael Brown
parent eb3ca2a36f
commit 254bdc2a8e

View File

@ -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