275 /// Function receives the data message from lower layer. |
275 /// Function receives the data message from lower layer. |
276 /// Data is formatted to Attribute-Value Pairs. |
276 /// Data is formatted to Attribute-Value Pairs. |
277 /// Look at eap_tlv_header_c and eap_tlv_message_data_c. |
277 /// Look at eap_tlv_header_c and eap_tlv_message_data_c. |
278 EAP_FUNC_EXPORT eap_status_e REapSession::process_data(const TEapRequests aMessageType, const void * const data, const u32_t length) |
278 EAP_FUNC_EXPORT eap_status_e REapSession::process_data(const TEapRequests aMessageType, const void * const data, const u32_t length) |
279 { |
279 { |
|
280 EAP_TRACE_DEBUG( |
|
281 iTools, |
|
282 TRACE_FLAGS_DEFAULT, |
|
283 (EAPL("REapSession::process_data(): calls iEapMessageQueue->AddMessage(): iEapMessageQueue=0x%08x\n"), |
|
284 iEapMessageQueue)); |
|
285 |
|
286 EAP_TRACE_RETURN_STRING(iTools, "returns: REapSession::process_data()"); |
|
287 |
280 EAP_TRACE_DATA_DEBUG( |
288 EAP_TRACE_DATA_DEBUG( |
281 iTools, |
289 iTools, |
282 TRACE_FLAGS_DEFAULT, |
290 EAP_TRACE_FLAGS_NEVER, |
283 (EAPL("REapSession::process_data()"), |
291 (EAPL("REapSession::process_data()"), |
284 data, |
292 data, |
285 length)); |
293 length)); |
286 |
|
287 EAP_TRACE_DEBUG( |
|
288 iTools, |
|
289 TRACE_FLAGS_DEFAULT, |
|
290 (EAPL("REapSession::process_data(): calls iEapMessageQueue->AddMessage(): iEapMessageQueue=0x%08x\n"), |
|
291 iEapMessageQueue)); |
|
292 |
|
293 EAP_TRACE_RETURN_STRING(iTools, "returns: REapSession::process_data()"); |
|
294 |
294 |
295 TInt error = iEapMessageQueue->AddMessage(aMessageType, data, length); |
295 TInt error = iEapMessageQueue->AddMessage(aMessageType, data, length); |
296 |
296 |
297 if (error != KErrNone) |
297 if (error != KErrNone) |
298 { |
298 { |