17 |
17 |
18 /** |
18 /** |
19 @file |
19 @file |
20 @internalComponent |
20 @internalComponent |
21 */ |
21 */ |
22 |
|
23 |
|
24 |
|
25 #include "OstTraceDefinitions.h" |
|
26 #ifdef OST_TRACE_COMPILER_IN_USE |
|
27 #include "tpdpstatecreatedSecondaryTraces.h" |
|
28 #endif |
|
29 |
22 |
30 #include <networking/umtsnifcontrolif.h> |
23 #include <networking/umtsnifcontrolif.h> |
31 #include "tpdpstates.h" |
24 #include "tpdpstates.h" |
32 #include "pdpfsmnmspace.h" |
25 #include "pdpfsmnmspace.h" |
33 #include "pdpfsmnmspace.h" |
26 #include "pdpfsmnmspace.h" |
34 #include "PDPFSM.h" |
27 #include "PDPFSM.h" |
35 #include "cpdpfsm.h" |
28 #include "cpdpfsm.h" |
36 |
29 |
37 TInt TPdpStateCreatedSecondary::Input (CPdpFsm& aFsm, const TInt aOperation, const TInt aErrorCode) |
30 TInt TPdpStateCreatedSecondary::Input (CPdpFsm& aFsm, const TInt aOperation, const TInt aErrorCode) |
38 { |
31 { |
39 OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, TPDPSTATECREATEDSECONDARY_INPUT_1, ">>TPdpStateCreatedSecondary::Input()"); |
|
40 OstTraceDefExt2(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, TPDPSTATECREATEDSECONDARY_INPUT_2, "aOperation : %S(%d)", *(LogOperation(aFsm, aOperation)), aOperation); |
|
41 |
|
42 switch (aOperation) |
32 switch (aOperation) |
43 { |
33 { |
44 case SpudMan::EContextActivate: |
34 case SpudMan::EContextActivate: |
45 aFsm.ChangeStateToActivatingSecondary(); |
35 aFsm.ChangeStateToActivatingSecondary(); |
46 EtelDriverInput(aFsm, EtelDriver::EActivatePdp); |
36 EtelDriverInput(aFsm, EtelDriver::EActivatePdp); |
47 OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, TPDPSTATECREATEDSECONDARY_INPUT_3, "<<TPdpStateCreatedSecondary::Input()"); |
|
48 return KErrNone; |
37 return KErrNone; |
49 case SpudMan::EContextQoSSet: |
38 case SpudMan::EContextQoSSet: |
50 aFsm.ChangeStateToSettingQoS(); |
39 aFsm.ChangeStateToSettingQoS(); |
51 EtelDriverInput(aFsm, EtelDriver::ESetQoS); |
40 EtelDriverInput(aFsm, EtelDriver::ESetQoS); |
52 OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, TPDPSTATECREATEDSECONDARY_INPUT_4, "<<TPdpStateCreatedSecondary::Input()"); |
|
53 return KErrNone; |
41 return KErrNone; |
54 case SpudMan::EContextTFTModify: |
42 case SpudMan::EContextTFTModify: |
55 aFsm.ChangeStateToSettingTFT(); |
43 aFsm.ChangeStateToSettingTFT(); |
56 EtelDriverInput(aFsm, EtelDriver::ESetTft); |
44 EtelDriverInput(aFsm, EtelDriver::ESetTft); |
57 OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, TPDPSTATECREATEDSECONDARY_INPUT_5, "<<TPdpStateCreatedSecondary::Input()"); |
|
58 return KErrNone; |
45 return KErrNone; |
59 } |
46 } |
60 |
47 |
61 // default error handling |
48 // default error handling |
62 OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, TPDPSTATECREATEDSECONDARY_INPUT_6, "<<TPdpStateCreatedSecondary::Input()"); |
|
63 return TPdpState::Input(aFsm, aOperation, aErrorCode); |
49 return TPdpState::Input(aFsm, aOperation, aErrorCode); |
64 } |
50 } |
65 |
51 |
66 |
52 |