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 /// \brief structure ParameterSet
39 stServiceFlowParamSI sfParameterSet
;
41 //USE_MEMORY_MANAGER();
42 }stLocalSFAddRequestAlt
;
44 /// \brief structure stLocalSFAddIndication
45 typedef struct stLocalSFAddIndicationAlt
{
53 /// \brief structure AuthorizedSet
54 stServiceFlowParamSI sfAuthorizedSet
;
55 /// \brief structure AdmittedSet
56 stServiceFlowParamSI sfAdmittedSet
;
57 /// \brief structure ActiveSet
58 stServiceFlowParamSI sfActiveSet
;
60 B_UINT8 u8CC
; /**< Confirmation Code*/
61 B_UINT8 u8Padd
; /**< 8-bit Padding */
62 B_UINT16 u16Padd
; /**< 16 bit Padding */
63 // USE_MEMORY_MANAGER();
64 }stLocalSFAddIndicationAlt
;
66 /// \brief structure stLocalSFAddConfirmation
67 typedef struct stLocalSFAddConfirmationAlt
{
75 /// \brief structure AuthorizedSet
76 stServiceFlowParamSI sfAuthorizedSet
;
77 /// \brief structure AdmittedSet
78 stServiceFlowParamSI sfAdmittedSet
;
79 /// \brief structure ActiveSet
80 stServiceFlowParamSI sfActiveSet
;
81 }stLocalSFAddConfirmationAlt
;
84 /// \brief structure stLocalSFChangeRequest
85 typedef struct stLocalSFChangeRequestAlt
{
94 //Pointer location at which following Service Flow param Structure can be read
95 //from the target. We get only the address location and we need to read out the
96 //entire SF param structure at the given location on target
98 /// \brief structure AuthorizedSet
99 stServiceFlowParamSI sfAuthorizedSet
;
100 /// \brief structure AdmittedSet
101 stServiceFlowParamSI sfAdmittedSet
;
102 /// \brief structure ParameterSet
103 stServiceFlowParamSI sfActiveSet
;
105 B_UINT8 u8CC
; /**< Confirmation Code*/
106 B_UINT8 u8Padd
; /**< 8-bit Padding */
107 B_UINT16 u16Padd
; /**< 16 bit */
109 }stLocalSFChangeRequestAlt
;
111 /// \brief structure stLocalSFChangeConfirmation
112 typedef struct stLocalSFChangeConfirmationAlt
{
120 /// \brief structure AuthorizedSet
121 stServiceFlowParamSI sfAuthorizedSet
;
122 /// \brief structure AdmittedSet
123 stServiceFlowParamSI sfAdmittedSet
;
124 /// \brief structure ActiveSet
125 stServiceFlowParamSI sfActiveSet
;
127 }stLocalSFChangeConfirmationAlt
;
129 /// \brief structure stLocalSFChangeIndication
130 typedef struct stLocalSFChangeIndicationAlt
{
138 /// \brief structure AuthorizedSet
139 stServiceFlowParamSI sfAuthorizedSet
;
140 /// \brief structure AdmittedSet
141 stServiceFlowParamSI sfAdmittedSet
;
142 /// \brief structure ActiveSet
143 stServiceFlowParamSI sfActiveSet
;
145 B_UINT8 u8CC
; /**< Confirmation Code*/
146 B_UINT8 u8Padd
; /**< 8-bit Padding */
147 B_UINT16 u16Padd
; /**< 16 bit */
149 }stLocalSFChangeIndicationAlt
;
151 ULONG
StoreCmControlResponseMessage(PMINI_ADAPTER Adapter
,PVOID pvBuffer
,UINT
*puBufferLength
);
153 INT
AllocAdapterDsxBuffer(PMINI_ADAPTER Adapter
);
155 INT
FreeAdapterDsxBuffer(PMINI_ADAPTER Adapter
);
156 ULONG
SetUpTargetDsxBuffers(PMINI_ADAPTER Adapter
);
158 BOOLEAN
CmControlResponseMessage(PMINI_ADAPTER Adapter
,PVOID pvBuffer
);