1 /******************************************************************************
4 Lantiq Deutschland GmbH
6 For licensing information, see the file 'LICENSE' in the root folder of
9 ******************************************************************************/
10 /****************************************************************************
11 ****************************************************************************
13 ** COMPONENT: ENET SW - RSN 802.11i
15 ** MODULE: $File: //bwp/enet/demo153_sw/develop/src/shared/mhi_ieee_address.h $
17 ** DESCRIPTION: Public interface to IEEE_ADDR class
19 ** AUTHOR: Ross Hetherington
21 ** THIS VERSION: $Revision: #1 $
22 ** CHANGED ON: $Date: 2003/10/27 $
25 ****************************************************************************
31 ****************************************************************************
32 ****************************************************************************/
34 #ifndef __MHI_IEEE_ADDRESS_H
35 #define __MHI_IEEE_ADDRESS_H
41 /* Length of IEEE address (bytes) */
42 #define IEEE_ADDR_LEN (6)
44 /* This type is used for Source and Destination MAC addresses and also as */
45 /* unique identifiers for Stations and Networks. */
47 typedef struct _IEEE_ADDR
49 uint8 au8Addr
[IEEE_ADDR_LEN
]; /* WARNING: Special case! No padding here! This structure must be padded externally! */
50 } __MTLK_PACKED IEEE_ADDR
;
52 #define IEEE_ADDR_CONTROL_BITS_MASK (0x03) /* masks out bottom two bits */
53 #define IEEE_ADDR_UNIVERSAL (0x02) /* the universal/local bit */
54 #define IEEE_ADDR_GROUP (0x01) /* the group/individual bit */
59 #endif /* !__MHI_IEEE_ADDRESS_H */