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 |
|