telephonyprotocols/pdplayer/umts/spudfsm/src/tpdpstatechangingqos.cpp
changeset 73 70d75957b98f
parent 44 8b72faa1200f
equal deleted inserted replaced
69:b982c3e940f3 73:70d75957b98f
    32 #include "pdpfsmnmspace.h"
    32 #include "pdpfsmnmspace.h"
    33 #include "cpdpfsm.h"
    33 #include "cpdpfsm.h"
    34 
    34 
    35 TInt TPdpStateChangingQoS::Input (CPdpFsm& aFsm, const TInt aOperation, const TInt aErrorCode)
    35 TInt TPdpStateChangingQoS::Input (CPdpFsm& aFsm, const TInt aOperation, const TInt aErrorCode)
    36 {
    36 {
    37 	OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, TPDPSTATECHANGINGQOS_INPUT_1, ">>TPdpStateChangingQoS::Input()");
       
    38 	OstTraceDefExt2(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, TPDPSTATECHANGINGQOS_INPUT_2, "aOperation : %S(%d)", *(LogOperation(aFsm, aOperation)), aOperation);
       
    39 
       
    40 	switch (aOperation)
    37 	switch (aOperation)
    41 	{
    38 	{
    42 	case PdpFsm::EQoSSet:
    39 	case PdpFsm::EQoSSet:
    43 		aFsm.ChangeStateToOpen();
    40 		aFsm.ChangeStateToOpen();
    44 		SpudManNotify (aFsm, KContextQoSSetEvent, KErrNone);
    41 		SpudManNotify (aFsm, KContextQoSSetEvent, KErrNone);
    45 		OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, TPDPSTATECHANGINGQOS_INPUT_3, "<<TPdpStateChangingQoS::Input()");
       
    46 		return KErrNone;
    42 		return KErrNone;
    47 	case PdpFsm::EQoSSetFailed:
    43 	case PdpFsm::EQoSSetFailed:
       
    44         OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, TPDPSTATECHANGINGQOS_INPUT_1, "*** QOS SET FAILED ***");
    48 		aFsm.ChangeStateToOpen();
    45 		aFsm.ChangeStateToOpen();
    49 		SpudManNotify (aFsm, KContextQoSSetEvent, aErrorCode);
    46 		SpudManNotify (aFsm, KContextQoSSetEvent, aErrorCode);
    50 		OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, TPDPSTATECHANGINGQOS_INPUT_4, "<<TPdpStateChangingQoS::Input()");
       
    51 		return KErrNone;
    47 		return KErrNone;
    52 	
    48 	
    53 	// no default	
    49 	// no default	
    54 	}
    50 	}
    55 	
    51 
    56 	// default error handling
    52 	// default error handling
    57 	OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, TPDPSTATECHANGINGQOS_INPUT_5, "<<TPdpStateChangingQoS::Input()");
       
    58 	return TPdpState::Input(aFsm, aOperation, aErrorCode);
    53 	return TPdpState::Input(aFsm, aOperation, aErrorCode);
    59 }
    54 }
    60 
       
    61