1 /// **************************************************************************
2 /// (c) Beceem Communications Inc.
3 /// All Rights Reserved
6 /// \author : Rajeev Tirumala
7 /// \date : September 8 , 2006
8 /// \brief : Definitions for Connection Management Requests structure
9 /// which we will use to setup our connection structures.Its high
10 /// time we had a header file for CmHost.cpp to isolate the way
11 /// f/w sends DSx messages and the way we interpret them in code.
14 /// Date Author Version Description
15 /// 08-Sep-06 Rajeev 0.1 Created
16 /// **************************************************************************
23 #define DSX_MESSAGE_EXCHANGE_BUFFER 0xBF60AC84 // This contains the pointer
24 #define DSX_MESSAGE_EXCHANGE_BUFFER_SIZE 72000 // 24 K Bytes
26 /// \brief structure stLocalSFAddRequest
27 typedef struct stLocalSFAddRequestAlt
{
38 struct bcm_connect_mgr_params sfParameterSet
;
40 //USE_MEMORY_MANAGER();
41 }stLocalSFAddRequestAlt
;
43 /// \brief structure stLocalSFAddIndication
44 typedef struct stLocalSFAddIndicationAlt
{
52 struct bcm_connect_mgr_params sfAuthorizedSet
;
53 struct bcm_connect_mgr_params sfAdmittedSet
;
54 struct bcm_connect_mgr_params sfActiveSet
;
56 B_UINT8 u8CC
; /**< Confirmation Code*/
57 B_UINT8 u8Padd
; /**< 8-bit Padding */
58 B_UINT16 u16Padd
; /**< 16 bit Padding */
59 // USE_MEMORY_MANAGER();
60 }stLocalSFAddIndicationAlt
;
62 /// \brief structure stLocalSFAddConfirmation
63 typedef struct stLocalSFAddConfirmationAlt
{
71 struct bcm_connect_mgr_params sfAuthorizedSet
;
72 struct bcm_connect_mgr_params sfAdmittedSet
;
73 struct bcm_connect_mgr_params sfActiveSet
;
74 }stLocalSFAddConfirmationAlt
;
77 /// \brief structure stLocalSFChangeRequest
78 typedef struct stLocalSFChangeRequestAlt
{
87 //Pointer location at which following connection manager param Structure can be read
88 //from the target. We only get the address location and we need to read out the
89 //entire connection manager param structure at the given location on target
91 struct bcm_connect_mgr_params sfAuthorizedSet
;
92 struct bcm_connect_mgr_params sfAdmittedSet
;
93 struct bcm_connect_mgr_params sfActiveSet
;
95 B_UINT8 u8CC
; /**< Confirmation Code*/
96 B_UINT8 u8Padd
; /**< 8-bit Padding */
97 B_UINT16 u16Padd
; /**< 16 bit */
99 }stLocalSFChangeRequestAlt
;
101 /// \brief structure stLocalSFChangeConfirmation
102 typedef struct stLocalSFChangeConfirmationAlt
{
110 struct bcm_connect_mgr_params sfAuthorizedSet
;
111 struct bcm_connect_mgr_params sfAdmittedSet
;
112 struct bcm_connect_mgr_params sfActiveSet
;
114 }stLocalSFChangeConfirmationAlt
;
116 /// \brief structure stLocalSFChangeIndication
117 typedef struct stLocalSFChangeIndicationAlt
{
125 struct bcm_connect_mgr_params sfAuthorizedSet
;
126 struct bcm_connect_mgr_params sfAdmittedSet
;
127 struct bcm_connect_mgr_params sfActiveSet
;
129 B_UINT8 u8CC
; /**< Confirmation Code*/
130 B_UINT8 u8Padd
; /**< 8-bit Padding */
131 B_UINT16 u16Padd
; /**< 16 bit */
133 }stLocalSFChangeIndicationAlt
;
135 ULONG
StoreCmControlResponseMessage(struct bcm_mini_adapter
*Adapter
, PVOID pvBuffer
,UINT
*puBufferLength
);
137 INT
AllocAdapterDsxBuffer(struct bcm_mini_adapter
*Adapter
);
139 INT
FreeAdapterDsxBuffer(struct bcm_mini_adapter
*Adapter
);
140 ULONG
SetUpTargetDsxBuffers(struct bcm_mini_adapter
*Adapter
);
142 BOOLEAN
CmControlResponseMessage(struct bcm_mini_adapter
*Adapter
, PVOID pvBuffer
);