1 /** \file mlmeBuilder.h
2 *  \brief 802.11 MLME Builder
3 *
4 *  \see mlmeBuilder.c
5 */
6
7/****************************************************************************
8**+-----------------------------------------------------------------------+**
9**|                                                                       |**
10**| Copyright(c) 1998 - 2008 Texas Instruments. All rights reserved.      |**
11**| All rights reserved.                                                  |**
12**|                                                                       |**
13**| Redistribution and use in source and binary forms, with or without    |**
14**| modification, are permitted provided that the following conditions    |**
15**| are met:                                                              |**
16**|                                                                       |**
17**|  * Redistributions of source code must retain the above copyright     |**
18**|    notice, this list of conditions and the following disclaimer.      |**
19**|  * Redistributions in binary form must reproduce the above copyright  |**
20**|    notice, this list of conditions and the following disclaimer in    |**
21**|    the documentation and/or other materials provided with the         |**
22**|    distribution.                                                      |**
23**|  * Neither the name Texas Instruments nor the names of its            |**
24**|    contributors may be used to endorse or promote products derived    |**
25**|    from this software without specific prior written permission.      |**
26**|                                                                       |**
27**| THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS   |**
28**| "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT     |**
29**| LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |**
30**| A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT  |**
31**| OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |**
32**| SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT      |**
33**| LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |**
34**| DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |**
35**| THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT   |**
36**| (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |**
37**| OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  |**
38**|                                                                       |**
39**+-----------------------------------------------------------------------+**
40****************************************************************************/
41
42/***************************************************************************/
43/*																		   */
44/*		MODULE:	mlmeBuilder.h											   */
45/*    PURPOSE:	802.11 MLME Builder										   */
46/*																	 	   */
47/***************************************************************************/
48
49#ifndef _MLME_BUILDER_H
50#define _MLME_BUILDER_H
51
52#include "802_11Defs.h"
53
54#include "paramOut.h"
55
56#include "mlmeSm.h"
57
58/* Constants */
59
60/* Enumerations */
61
62/* state machine states */
63
64/* Typedefs */
65
66/* Structures */
67
68/* External data definitions */
69
70/* External functions definitions */
71
72/* Function prototypes */
73
74TI_STATUS mlmeBuilder_sendFrame(TI_HANDLE pMlme,
75							 dot11MgmtSubType_e type,
76							 UINT8 *pDataBuff,
77							 UINT32 dataLen,
78							 UINT8 setWepOpt);
79
80TI_STATUS mlmeBuilder_buildFrameCtrl(mlme_t* pMlme,
81								  dot11MgmtSubType_e type,
82								  UINT16* pFctrl,
83								  UINT8 setWepOpt);
84
85#endif
86
87