telephonyprotocols/pdplayer/umts/spudfsm/src/tpdpstatesettingqos.cpp
changeset 73 70d75957b98f
parent 44 8b72faa1200f
equal deleted inserted replaced
69:b982c3e940f3 73:70d75957b98f
    17 
    17 
    18 /**
    18 /**
    19  @file 
    19  @file 
    20  @internalComponent
    20  @internalComponent
    21 */
    21 */
    22  
       
    23 
       
    24 
    22 
    25 #include "OstTraceDefinitions.h"
    23 #include "OstTraceDefinitions.h"
    26 #ifdef OST_TRACE_COMPILER_IN_USE
    24 #ifdef OST_TRACE_COMPILER_IN_USE
    27 #include "tpdpstatesettingqosTraces.h"
    25 #include "tpdpstatesettingqosTraces.h"
    28 #endif
    26 #endif
    32 #include "pdpfsmnmspace.h"
    30 #include "pdpfsmnmspace.h"
    33 #include "cpdpfsm.h"
    31 #include "cpdpfsm.h"
    34 
    32 
    35 TInt TPdpStateSettingQoS::Input (CPdpFsm& aFsm, const TInt aOperation, const TInt aErrorCode)
    33 TInt TPdpStateSettingQoS::Input (CPdpFsm& aFsm, const TInt aOperation, const TInt aErrorCode)
    36 {
    34 {
    37 	OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, TPDPSTATESETTINGQOS_INPUT_1, ">>TPdpStateSettingQoS::Input()");
       
    38 	OstTraceDefExt2(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, TPDPSTATESETTINGQOS_INPUT_2, "aOperation : %S(%d)", *(LogOperation(aFsm, aOperation)), aOperation);
       
    39 
       
    40 	switch (aOperation)
    35 	switch (aOperation)
    41 	{
    36 	{
    42 	case PdpFsm::EQoSSet:
    37 	case PdpFsm::EQoSSet:
    43 		aFsm.ChangeStateToCreatedSecondary();
    38 		aFsm.ChangeStateToCreatedSecondary();
    44 		SpudManNotify(aFsm, KContextQoSSetEvent, KErrNone);
    39 		SpudManNotify(aFsm, KContextQoSSetEvent, KErrNone);
    45 		OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, TPDPSTATESETTINGQOS_INPUT_3, "<<TPdpStateSettingQoS::Input()");
       
    46 		return KErrNone;
    40 		return KErrNone;
    47 	case PdpFsm::EQoSSetFailed:
    41 	case PdpFsm::EQoSSetFailed:
    48 		aFsm.ChangeStateToCreatedSecondary();
    42 		aFsm.ChangeStateToCreatedSecondary();
    49 		SpudManNotify(aFsm, KContextQoSSetEvent, aErrorCode);
    43 		SpudManNotify(aFsm, KContextQoSSetEvent, aErrorCode);
    50 		OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, TPDPSTATESETTINGQOS_INPUT_4, "<<TPdpStateSettingQoS::Input()");
    44 		OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, TPDPSTATESETTINGQOS_INPUT_1, "*** QOS SET FAILED ***()");
    51 		return KErrNone;
    45 		return KErrNone;
    52 	}
    46 	}
    53 	
    47 	
    54 	// default error handling
    48 	// default error handling
    55 	OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, TPDPSTATESETTINGQOS_INPUT_5, "<<TPdpStateSettingQoS::Input()");
       
    56 	return TPdpState::Input(aFsm, aOperation, aErrorCode);
    49 	return TPdpState::Input(aFsm, aOperation, aErrorCode);
    57 }
    50 }
    58 
       
    59