137 */ |
137 */ |
138 virtual void HandleMsg(TMessageBase* aMsg); |
138 virtual void HandleMsg(TMessageBase* aMsg); |
139 |
139 |
140 /** |
140 /** |
141 * Process a function for this logical channel. |
141 * Process a function for this logical channel. |
142 * This function is executed in the context of client's thread in |
|
143 * supervisor mode. All code executed in this mode MUST NOT |
|
144 * take a lot of time and MUST NOT access the WHA layer. |
|
145 * @param aFunction Defines the operation/function to be performed. |
142 * @param aFunction Defines the operation/function to be performed. |
146 * @param param Function specific parameter |
143 * @param param Function specific parameter |
147 * @return function specific return value. |
144 * @return function specific return value. |
148 */ |
145 */ |
149 virtual TAny* DoControlFast( TInt aFunction, TAny* param ); |
146 virtual TAny* DoControlFast( TInt aFunction, TAny* aParam ); |
150 |
147 |
151 private: |
148 private: |
152 |
149 |
|
150 /** |
|
151 * Process a function for this logical channel. |
|
152 * |
|
153 * @param aFunction Defines the operation/function to be performed. |
|
154 * @param aParam Function specific parameter |
|
155 * @return Function specific return value. |
|
156 */ |
|
157 TAny* OnMgmtSideControlFast( TInt aFunction, TAny* aParam ); |
|
158 |
|
159 /** |
|
160 * Process a function for this logical channel. |
|
161 * |
|
162 * @param aFunction Defines the operation/function to be performed. |
|
163 * @param aParam Function specific parameter |
|
164 * @param aTriggerTx ETrue if Tx operation should be triggered |
|
165 * EFalse otherwise |
|
166 * @return Function specific return value. |
|
167 */ |
|
168 TAny* OnEthernetSideControlFast( |
|
169 TInt aFunction, |
|
170 TAny* aParam, |
|
171 TBool& aTriggerTx ); |
|
172 |
153 /** |
173 /** |
154 * Called from statemachine when oid has been completed. |
174 * Called from statemachine when oid has been completed. |
155 * Triggers handling of a new oid |
175 * Triggers handling of a new oid |
156 * @param aOid OID handled |
176 * @param aOid OID handled |
157 * @param aReason completion code |
177 * @param aReason completion code |
188 * @param aBufferStart first element of the array that holds pointers to |
208 * @param aBufferStart first element of the array that holds pointers to |
189 * Rx frame meta headers |
209 * Rx frame meta headers |
190 * @param aNumOfBuffers number of meta header pointers in the array |
210 * @param aNumOfBuffers number of meta header pointers in the array |
191 */ |
211 */ |
192 virtual void MgmtDataReceiveComplete( |
212 virtual void MgmtDataReceiveComplete( |
193 const TDataBuffer*& aBufferStart, |
213 TDataBuffer*& aBufferStart, |
194 TUint32 aNumOfBuffers ); |
214 TUint32 aNumOfBuffers ); |
195 |
215 |
196 /** |
216 /** |
197 * Completes a data write operation from management side |
217 * Completes a data write operation from management side |
198 * @param aErr completion code |
218 * @param aErr completion code |
254 * @param aNumOfBuffers number of meta header pointers in the array |
274 * @param aNumOfBuffers number of meta header pointers in the array |
255 * @return ETrue if this event was processed successfully |
275 * @return ETrue if this event was processed successfully |
256 * EFalse otherwise |
276 * EFalse otherwise |
257 */ |
277 */ |
258 virtual TBool ProtocolStackDataReceiveComplete( |
278 virtual TBool ProtocolStackDataReceiveComplete( |
259 const TDataBuffer*& aBufferStart, |
279 TDataBuffer*& aBufferStart, |
260 TUint32 aNumOfBuffers ); |
280 TUint32 aNumOfBuffers ); |
261 |
281 |
262 /** |
282 /** |
263 * Determines if the Protocol Stack Side client is ready to handle any |
283 * Determines if the Protocol Stack Side client is ready to handle any |
264 * callbacks from UMAC |
284 * callbacks from UMAC |