Update build system, documentation and delete temp files
[wave300.git] / wireless / shared_mbss_mac / mhi_ieee_address.h
blob9e9e13404927ac01efaeb75e84af57673616eaea
1 /******************************************************************************
3 Copyright (c) 2012
4 Lantiq Deutschland GmbH
6 For licensing information, see the file 'LICENSE' in the root folder of
7 this software module.
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 $
23 ** BY: $Author: njk $
25 ****************************************************************************
27 **
29 **
31 ****************************************************************************
32 ****************************************************************************/
34 #ifndef __MHI_IEEE_ADDRESS_H
35 #define __MHI_IEEE_ADDRESS_H
38 #define MTLK_PACK_ON
39 #include "mtlkpack.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 */
56 #define MTLK_PACK_OFF
57 #include "mtlkpack.h"
59 #endif /* !__MHI_IEEE_ADDRESS_H */