author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
Wed, 23 Jun 2010 19:32:14 +0300 | |
changeset 48 | 14460bf2a402 |
parent 42 | 3adadc800673 |
child 49 | f50f4094acd7 |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/build.config.xml Wed Jun 23 19:32:14 2010 +0300 @@ -0,0 +1,19 @@ +<?xml version="1.0"?> +<!DOCTYPE SystemDefinition SYSTEM "sysdef_1_4_0.dtd" [ + <!ENTITY layer_real_source_path "sf/os/cellularsrv" > +]> + +<SystemDefinition name="cellularsrv" schema="1.4.0"> + <systemModel> + <layer name="os_layer"> + <module name="cellularsrv"> + <unit unitID="cbsdo.cellularsrv" mrp="" bldFile="&layer_real_source_path;/group" name="cellularsrv" /> + </module> + </layer> + <layer name="api_test_layer"> + <module name="cellularsrv_test"> + <unit unitID="cbsdo.cellularsrv.test" mrp="" bldFile="&layer_real_source_path;/group" name="cellularsrv" /> + </module> + </layer> + </systemModel> +</SystemDefinition>
--- a/layers.sysdef.xml Fri Jun 11 14:49:29 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -<?xml version="1.0"?> -<!DOCTYPE SystemDefinition SYSTEM "sysdef_1_4_0.dtd" [ - <!ENTITY layer_real_source_path "sf/os/cellularsrv" > -]> - -<SystemDefinition name="cellularsrv" schema="1.4.0"> - <systemModel> - <layer name="os_layer"> - <module name="cellularsrv"> - <unit unitID="cbsdo.cellularsrv" mrp="" bldFile="&layer_real_source_path;/group" name="cellularsrv" /> - </module> - </layer> - <layer name="api_test_layer"> - <module name="cellularsrv_test"> - <unit unitID="cbsdo.cellularsrv.test" mrp="" bldFile="&layer_real_source_path;/group" name="cellularsrv" /> - </module> - </layer> - </systemModel> -</SystemDefinition>
--- a/package_definition.xml Fri Jun 11 14:49:29 2010 +0300 +++ b/package_definition.xml Wed Jun 23 19:32:14 2010 +0300 @@ -135,5 +135,10 @@ <unit mrp="cellularsrvapitest/telephonydevsoundhaitest/group/telephonydevsoundhaitest.mrp" bldFile="cellularsrvapitest/telephonydevsoundhaitest/group"/> </component> </collection> + <collection id="wapstack" name="WAP Stack" level="plugin"> + <component id="wapmessageapi" name="WAP Message API" purpose="optional"> + <unit bldFile="wapstack/wapmessageapi/group" mrp="wapstack/wapmessageapi/group/wap-stack_wapmessage.mrp" /> + </component> + </collection> </package> </SystemDefinition>
--- a/telephonyprotocols/pdplayer/umts/spudfsm/src/tpdpstates.h Fri Jun 11 14:49:29 2010 +0300 +++ b/telephonyprotocols/pdplayer/umts/spudfsm/src/tpdpstates.h Wed Jun 23 19:32:14 2010 +0300 @@ -27,7 +27,7 @@ class CPdpFsm; -#if _DEBUG +#if (OST_TRACE_CATEGORY & OST_TRACE_CATEGORY_DEBUG) #define DEFINE_TPDPSTATE_CLASS(state) _LIT(KName##state, #state); \ NONSHARABLE_CLASS(TPdpState##state) : public TPdpState \ { \
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/telephonyprotocols/pdplayer/umts/test/te_spudNetworkSide/configs/TE_RawIpSize.cfg Wed Jun 23 19:32:14 2010 +0300 @@ -0,0 +1,1594 @@ +############################################################ +## AUTO-GENERATED CONFIGURATION FILE +## CommsDat Database Dump Utility +## 1.1 +############################################################ + +############################################################ +## Network +## +[Network] +ADD_SECTION +# COMMDB_ID = 1 + Name=Intranet + FIELD_COUNT=1 +END_ADD + +ADD_SECTION +# COMMDB_ID = 2 + Name=Intranet2 + FIELD_COUNT=1 +END_ADD + +ADD_SECTION +# COMMDB_ID = 3 + Name=Intranet3 + FIELD_COUNT=1 +END_ADD + +ADD_SECTION +# COMMDB_ID = 4 + Name=Intranet4 + FIELD_COUNT=1 +END_ADD + +ADD_SECTION +# COMMDB_ID = 5 + Name=Intranet5 + FIELD_COUNT=1 +END_ADD + +ADD_SECTION +# COMMDB_ID = 6 + Name=Intranet6 + FIELD_COUNT=1 +END_ADD + + +############################################################ +## ModemBearer +## +[ModemBearer] +ADD_TEMPLATE + Name=Default Loopback Modem + TSYName=SIM + CSYName=PKTLOOPBACK + LastSocketActivityTimeout=180 + LastSessionClosedTimeout=4 + LastSocketClosedTimeout=6 + DataBits=8 + StopBits=1 + Parity=NONE + Rate=115200 + Handshaking=0 + SpecialRate=0 + XonChar=0 + XoffChar=0 + FaxClassPref=AUTO + SpeakerPref=NEVER + SpeakerVolPref=QUIET + ModemInitString=AT + DataInitString=AT + FaxInitString=AT + DialPauseLength=S8= + SpeakerVolContorlLow=L0 + SpeakerVolControlMedium=L1 + SpeakerVolControlHigh=L2 + SpeakerAlwaysOff=M0 + SpeakerOnUntilCarrier=M1 + SpeakerAlwaysOn=M2 + SpeakerOnAfterUntilCarrier=M3 + DialToneWaitModifier=W + CallProgress1=X1 + CallProgress2=X2 + CallProgress3=X3 + CallProgress4=X4 + EchoOff=E0 + VerboseText=V1 + QuietOff=Q0 + QuietOn=Q1 + DialCommandStateModifier=; + OnLine=O + ResetConfiguration=Z + ReturnToFactoryDefs=&F + DCDOnDuringLink=&C1 + DTRHangUp=&D2 + DSRAlwaysOn=&S0 + RTSCTSHandshake=&K3 + XonXoffHandshake=&K4 + EscapeCharacter=+ + EscapeGuardPeriod=S12 + NoDialTone=NO DIAL TONE + Busy=BUSY + NoAnswer=NO ANSWER + Carrier=CARRIER + Connect=CONNECT + CompressionClass5=COMPRESSION:CLASS 5 + CompressionV42bis=COMPRESSION:V.42 bis + CompressionNone=COMPRESSION:NONE + ProtocolLAPD=PROTOCOL:LAPD + ProtocolALT=PROTOCOL:ALT + ProtocolALTCELLULAR=PROTOCOL:ALT-CELLULAR + ProtocolNone=PROTOCOL:NONE + MessageValidityPeriod=0 + MessageDeliveryReport=FALSE + CommRole=0 + BCAStack=C32Bca + Agent=NULLAGT + FIELD_COUNT=65 +END_TEMPLATE + +ADD_SECTION +# COMMDB_ID = 1 + Name=Loopback_RawIP_1 + IfName=RAWIP + PortName=PKTLOOPBACK::501 + FIELD_COUNT=3 +END_ADD + +ADD_SECTION +# COMMDB_ID = 2 + Name=Loopback_SPUD_2 + IfName=SPUD + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 3 + Name=Loopback_RawIP_3 + IfName=RAWIP + PortName=PKTLOOPBACK::502 + FIELD_COUNT=3 +END_ADD + +ADD_SECTION +# COMMDB_ID = 4 + Name=Loopback_SPUD_4 + IfName=SPUD + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 5 + Name=WinTunnel_SPUD_5 + IfName=SPUD + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 6 + Name=Loopback_SPUD_5 + IfName=SPUD + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 7 + Name=Loopback_SPUD_6 + IfName=SPUD + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 8 + Name=Loopback_SPUD_7 + IfName=SPUD + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 9 + Name=Loopback_SPUD_8 + IfName=SPUD + FIELD_COUNT=2 +END_ADD + + +############################################################ +## Location +## +[Location] +ADD_TEMPLATE + Name=Default Location + IntlPrefixCode=+ + NatPrefixCode=0 + NatCode=44 + Mobile=TRUE + UsePulseDial=FALSE + WaitForDialTone=FALSE + PauseAfterDialout=0 + FIELD_COUNT=8 +END_TEMPLATE + +ADD_SECTION +# COMMDB_ID = 1 + Name=Office + IntlPrefixCode=00 + AreaCode=171 + DialOutCode=9, + Mobile=FALSE + FIELD_COUNT=5 +END_ADD + +ADD_SECTION +# COMMDB_ID = 2 + Name=Mobile + FIELD_COUNT=1 +END_ADD + + +############################################################ +## OutgoingGPRS +## +[OutgoingGPRS] +ADD_TEMPLATE + Name=Default Outgoing GPRS + APN=Test + PDPType=IPV4 + ReqPrecedence=2 + ReqDelay=4 + ReqReliability=3 + ReqPeakThroughput=3 + ReqMeanThroughput=31 + MinPrecedence=2 + MinDelay=4 + MinReliability=3 + MinPeakThroughput=3 + MinMeanThroughput=31 + DataCompression=FALSE + HeaderCompression=FALSE + GprsUseEdge=FALSE + AnonymousAccess=FALSE + IfNetworks=ip + IfPromptForAuth=FALSE + IfAuthName=RasUser + AuthRetries=1 + IpNetMask=255.255.255.0 + IpGateway=0.0.0.1 + IpAddrFromServer=FALSE + IpDNSAddrFromServer=FALSE + IpNameServer1=194.72.6.51 + IpNameServer2=194.72.6.51 + EnableLCPExtension=FALSE + DisablePlainTextAuth=FALSE + UmtsR99QoSAndOn=1 + FIELD_COUNT=30 +END_TEMPLATE + +ADD_SECTION +# COMMDB_ID = 1 + Name=RawIP_Bounce_1 + IpAddr=192.168.1.1 + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 2 + Name=SPUD_Echo_2 + IfParams=lowernif=RAWIP + IpAddrFromServer=TRUE + IpAddr=192.168.1.2 + IpDNSAddrFromServer=TRUE + FIELD_COUNT=5 +END_ADD + +ADD_SECTION +# COMMDB_ID = 3 + Name=RawIP_Bounce_3 + IpAddr=192.168.2.3 + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 4 + Name=SPUD_Echo_4 + IfParams=lowernif=RAWIP + IpAddr=192.168.2.4 + FIELD_COUNT=3 +END_ADD + +ADD_SECTION +# COMMDB_ID = 5 + Name=SPUD_Multi_1 + IfParams=lowernif=RAWIP + IpAddrFromServer=TRUE + IpAddr=192.168.1.10 + IpDNSAddrFromServer=TRUE + FIELD_COUNT=5 +END_ADD + +ADD_SECTION +# COMMDB_ID = 6 + Name=SPUD_Multi_2 + IfParams=lowernif=RAWIP + IpAddrFromServer=TRUE + IpAddr=192.168.1.11 + IpDNSAddrFromServer=TRUE + FIELD_COUNT=5 +END_ADD + +ADD_SECTION +# COMMDB_ID = 7 + Name=SPUD_Multi_3 + IfParams=lowernif=RAWIP + IpAddrFromServer=TRUE + IpAddr=192.168.1.12 + IpDNSAddrFromServer=TRUE + FIELD_COUNT=5 +END_ADD + +ADD_SECTION +# COMMDB_ID = 8 + Name=SPUD_Multi_4 + IfParams=lowernif=RAWIP + IpAddrFromServer=TRUE + IpAddr=192.168.1.13 + IpDNSAddrFromServer=TRUE + FIELD_COUNT=5 +END_ADD + +ADD_SECTION +# COMMDB_ID = 9 + Name=GPRS_BAD_QOS + IfParams=lowernif=RAWIP + IpAddrFromServer=TRUE + IpAddr=192.168.1.2 + IpDNSAddrFromServer=TRUE + UmtsR99QoSAndOn=5 + FIELD_COUNT=6 +END_ADD + + +############################################################ +## DefaultGPRS +## +[DefaultGPRS] +ADD_SECTION +# COMMDB_ID = 1 + Name=Dummy Default GPRS Settings + Usage=1 + APN=Access point name + PDPType=IPV6 + PDPAddress=www.wid.com + Precedence=1 + Delay=1 + Reliability=1 + PeakThroughput=1 + MeanThroughput=1 + MinPrecedence=1 + MinDelay=1 + MinReliability=1 + MinPeakThroughput=1 + MinMeanThroughput=1 + DataCompression=TRUE + HeaderCompression=TRUE + GprsUseEdge=FALSE + AnonymousAccess=TRUE + FIELD_COUNT=19 +END_ADD + + +############################################################ +## APPrioritySelectionPolicyTable +## +[APPrioritySelectionPolicyTable] +ADD_SECTION +# COMMDB_ID = 254 + Id=20000 + Name=APSelPolNetworkDefault + AP1=Link.AccessPointTable.10004 + APCOUNT=1 + FIELD_COUNT=4 +END_ADD + + +############################################################ +## TierTable +## +[TierTable] +ADD_SECTION +# COMMDB_ID = 1 + Id=2048 + Name=Tier1 + TierImplUid=271064536 + TierThreadName=ESock_IP + TierManagerName=NetworkTierManager + DefaultAccessPoint=Link.AccessPointTable.10000 + PromptUser=0 + FIELD_COUNT=7 +END_ADD + +ADD_SECTION +# COMMDB_ID = 2 + Id=271064560 + Name=Tier2 + TierImplUid=271064560 + TierThreadName=ESock_IP + TierManagerName=ProtoTierManager + DefaultAccessPoint=Link.AccessPointTable.10004 + PromptUser=0 + FIELD_COUNT=7 +END_ADD + +ADD_SECTION +# COMMDB_ID = 3 + Id=271064565 + Name=Tier3 + TierImplUid=271064565 + TierThreadName=ESock_IP + TierManagerName=LinkTierManager + DefaultAccessPoint=Link.AccessPointTable.10000 + PromptUser=0 + FIELD_COUNT=7 +END_ADD + +ADD_SECTION +# COMMDB_ID = 4 + Id=536887799 + Name=Tier4 + TierImplUid=536887799 + TierThreadName=ESock_SIP + TierManagerName=SIPTierManager + DefaultAccessPoint=Link.AccessPointTable.10002 + PromptUser=0 + FIELD_COUNT=7 +END_ADD + + +############################################################ +## MCprTable +## +[MCprTable] +ADD_SECTION +# COMMDB_ID = 1 + Name=netmcpr + MCprUid=271009095 + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 2 + Name=ipprotomcpr + MCprUid=271064558 + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 3 + Name=pppmcpr + MCprUid=271064556 + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 4 + Name=ethmcpr + MCprUid=271064572 + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 5 + Name=rawipmcpr + MCprUid=271064576 + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 6 + Name=tunnelmcpr + MCprUid=271064578 + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 7 + Name=qospppmcpr + MCprUid=271064556 + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 8 + Name=dummynifmcpr + MCprUid=271064580 + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 9 + Name=hungrynifmcpr + MCprUid=271064580 + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 10 + Name=pdpmcpr + MCprUid=271065840 + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 11 + Name=sipmcpr + MCprUid=536887801 + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 13 + Name=panethermcpr + MCprUid=271070626 + FIELD_COUNT=2 +END_ADD + + +############################################################ +## CprTable +## +[CprTable] +ADD_SECTION +# COMMDB_ID = 1 + Name=ipcpr + CprUid=270561519 + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 2 + Name=ipprotocpr + CprUid=271064531 + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 3 + Name=agentcpr + CprUid=271064552 + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 4 + Name=vanillacpr + CprUid=271065843 + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 5 + Name=sipcpr + CprUid=271010872 + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 7 + Name=tunnelagentcpr + CprUid=271080968 + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 8 + Name=pdpcpr + CprUid=271065826 + FIELD_COUNT=2 +END_ADD + + +############################################################ +## SCprTable +## +[SCprTable] +ADD_SECTION +# COMMDB_ID = 1 + Name=qosipscpr + SCprUid=270549768 + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 2 + Name=ipprotoscpr + SCprUid=271064529 + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 3 + Name=agentscpr + SCprUid=271064554 + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 4 + Name=pdpscpr + SCprUid=271065824 + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 5 + Name=pppscpr + SCprUid=271065852 + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 6 + Name=vanillascpr + SCprUid=271065844 + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 7 + Name=qosscpr + SCprUid=271065811 + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 8 + Name=sipscpr + SCprUid=271010839 + FIELD_COUNT=2 +END_ADD + + +############################################################ +## ProtocolTable +## +[ProtocolTable] +ADD_SECTION +# COMMDB_ID = 1 + Name=sapshim + ProtocolUid=270496898 + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 2 + Name=ipshim4 + ProtocolUid=271064118 + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 3 + Name=ppp + ProtocolUid=271064143 + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 4 + Name=ethernet + ProtocolUid=271064539 + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 5 + Name=rawip + ProtocolUid=271064562 + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 6 + Name=tunnel + ProtocolUid=271064567 + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 7 + Name=qosppp + ProtocolUid=271064148 + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 8 + Name=dummynif + ProtocolUid=271064123 + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 9 + Name=hungrynif + ProtocolUid=271064125 + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 10 + Name=panether + ProtocolUid=271070627 + FIELD_COUNT=2 +END_ADD + +ADD_SECTION +# COMMDB_ID = 11 + Name=rawip2 + ProtocolUid=271084280 + FIELD_COUNT=2 +END_ADD + + +############################################################ +## BearerTypeTable +## +[BearerTypeTable] +ADD_SECTION +# COMMDB_ID = 1 + Name=ppp + Tier=Link.TierTable.271064565 + MCpr=MCprTable.3 + Cpr=CprTable.3 + SCpr=SCprTable.5 + Protocol=ProtocolTable.3 + FIELD_COUNT=6 +END_ADD + +ADD_SECTION +# COMMDB_ID = 2 + Name=ethint + Tier=Link.TierTable.271064565 + MCpr=MCprTable.4 + Cpr=CprTable.3 + SCpr=SCprTable.3 + Protocol=ProtocolTable.4 + FIELD_COUNT=6 +END_ADD + +ADD_SECTION +# COMMDB_ID = 3 + Name=rawip + Tier=Link.TierTable.271064565 + MCpr=MCprTable.5 + Cpr=CprTable.3 + SCpr=SCprTable.3 + Protocol=ProtocolTable.5 + FIELD_COUNT=6 +END_ADD + +ADD_SECTION +# COMMDB_ID = 4 + Name=tunnelnif + Tier=Link.TierTable.271064565 + MCpr=MCprTable.6 + Cpr=CprTable.7 + SCpr=SCprTable.3 + Protocol=ProtocolTable.6 + FIELD_COUNT=6 +END_ADD + +ADD_SECTION +# COMMDB_ID = 5 + Name=qosppp + Tier=Link.TierTable.271064565 + MCpr=MCprTable.7 + Cpr=CprTable.3 + SCpr=SCprTable.5 + Protocol=ProtocolTable.7 + FIELD_COUNT=6 +END_ADD + +ADD_SECTION +# COMMDB_ID = 6 + Name=dummynif + Tier=Link.TierTable.271064565 + MCpr=MCprTable.8 + Cpr=CprTable.3 + SCpr=SCprTable.3 + Protocol=ProtocolTable.8 + FIELD_COUNT=6 +END_ADD + +ADD_SECTION +# COMMDB_ID = 7 + Name=hungrynif + Tier=Link.TierTable.271064565 + MCpr=MCprTable.9 + Cpr=CprTable.3 + SCpr=SCprTable.3 + Protocol=ProtocolTable.9 + FIELD_COUNT=6 +END_ADD + +ADD_SECTION +# COMMDB_ID = 8 + Name=spud-ppp + Tier=Link.TierTable.271064565 + MCpr=MCprTable.10 + Cpr=CprTable.3 + SCpr=SCprTable.4 + Protocol=ProtocolTable.3 + FIELD_COUNT=6 +END_ADD + +ADD_SECTION +# COMMDB_ID = 9 + Name=spud-rawip + Tier=Link.TierTable.271064565 + MCpr=MCprTable.10 + Cpr=CprTable.3 + SCpr=SCprTable.4 + Protocol=ProtocolTable.5 + FIELD_COUNT=6 +END_ADD + +ADD_SECTION +# COMMDB_ID = 10 + Name=IPProtoDefaultTemplate + Tier=Link.TierTable.271064560 + MCpr=MCprTable.2 + Cpr=CprTable.2 + SCpr=SCprTable.2 + Protocol=ProtocolTable.2 + FIELD_COUNT=6 +END_ADD + +ADD_SECTION +# COMMDB_ID = 11 + Name=NetworkDefaultTemplate + Tier=Link.TierTable.2048 + MCpr=MCprTable.1 + Cpr=CprTable.1 + SCpr=SCprTable.7 + Protocol=ProtocolTable.1 + FIELD_COUNT=6 +END_ADD + +ADD_SECTION +# COMMDB_ID = 12 + Name=rawip2 + Tier=Link.TierTable.271064565 + MCpr=MCprTable.10 + Cpr=CprTable.8 + SCpr=SCprTable.4 + Protocol=ProtocolTable.11 + FIELD_COUNT=6 +END_ADD + +ADD_SECTION +# COMMDB_ID = 13 + Name=spud-rawip2 + Tier=Link.TierTable.271064565 + MCpr=MCprTable.10 + Cpr=CprTable.8 + SCpr=SCprTable.4 + Protocol=ProtocolTable.11 + FIELD_COUNT=6 +END_ADD + + +############################################################ +## AccessPointTable +## +[AccessPointTable] +ADD_SECTION +# COMMDB_ID = 1 + Id=1 + Name=rawipMappedFromIAP1 + AccessPointSelectionPolicy=0 + Tier=Link.TierTable.271064565 + MCpr=MCprTable.5 + Cpr=CprTable.3 + SCpr=SCprTable.3 + Protocol=ProtocolTable.5 + CprConfig=0 + AppSID=0 + Priority=4294967295 + FIELD_COUNT=11 +END_ADD + +ADD_SECTION +# COMMDB_ID = 2 + Id=10003 + Name=IPProto_generated_10003 + AccessPointSelectionPolicy=0 + Tier=Link.TierTable.271064560 + MCpr=MCprTable.2 + Cpr=CprTable.2 + SCpr=SCprTable.2 + Protocol=ProtocolTable.2 + CprConfig=1 + CustomSelectionPolicy=1 + FIELD_COUNT=10 +END_ADD + +ADD_SECTION +# COMMDB_ID = 3 + Id=2 + Name=spud-rawipMappedFromIAP2 + AccessPointSelectionPolicy=0 + Tier=Link.TierTable.271064565 + MCpr=MCprTable.10 + Cpr=CprTable.3 + SCpr=SCprTable.4 + Protocol=ProtocolTable.5 + CprConfig=0 + AppSID=0 + Priority=4294967295 + FIELD_COUNT=11 +END_ADD + +ADD_SECTION +# COMMDB_ID = 4 + Id=10004 + Name=IPProto_generated_10004 + AccessPointSelectionPolicy=0 + Tier=Link.TierTable.271064560 + MCpr=MCprTable.2 + Cpr=CprTable.2 + SCpr=SCprTable.2 + Protocol=ProtocolTable.2 + CprConfig=2 + CustomSelectionPolicy=2 + FIELD_COUNT=10 +END_ADD + +ADD_SECTION +# COMMDB_ID = 5 + Id=3 + Name=rawipMappedFromIAP3 + AccessPointSelectionPolicy=0 + Tier=Link.TierTable.271064565 + MCpr=MCprTable.5 + Cpr=CprTable.3 + SCpr=SCprTable.3 + Protocol=ProtocolTable.5 + CprConfig=0 + AppSID=0 + Priority=4294967295 + FIELD_COUNT=11 +END_ADD + +ADD_SECTION +# COMMDB_ID = 6 + Id=10005 + Name=IPProto_generated_10005 + AccessPointSelectionPolicy=0 + Tier=Link.TierTable.271064560 + MCpr=MCprTable.2 + Cpr=CprTable.2 + SCpr=SCprTable.2 + Protocol=ProtocolTable.2 + CprConfig=3 + CustomSelectionPolicy=3 + FIELD_COUNT=10 +END_ADD + +ADD_SECTION +# COMMDB_ID = 7 + Id=4 + Name=spud-rawipMappedFromIAP4 + AccessPointSelectionPolicy=0 + Tier=Link.TierTable.271064565 + MCpr=MCprTable.10 + Cpr=CprTable.3 + SCpr=SCprTable.4 + Protocol=ProtocolTable.5 + CprConfig=0 + AppSID=0 + Priority=4294967295 + FIELD_COUNT=11 +END_ADD + +ADD_SECTION +# COMMDB_ID = 8 + Id=10006 + Name=IPProto_generated_10006 + AccessPointSelectionPolicy=0 + Tier=Link.TierTable.271064560 + MCpr=MCprTable.2 + Cpr=CprTable.2 + SCpr=SCprTable.2 + Protocol=ProtocolTable.2 + CprConfig=4 + CustomSelectionPolicy=4 + FIELD_COUNT=10 +END_ADD + +ADD_SECTION +# COMMDB_ID = 9 + Id=5 + Name=rawipMappedFromIAP5 + AccessPointSelectionPolicy=0 + Tier=Link.TierTable.271064565 + MCpr=MCprTable.5 + Cpr=CprTable.3 + SCpr=SCprTable.3 + Protocol=ProtocolTable.5 + CprConfig=0 + AppSID=0 + Priority=4294967295 + FIELD_COUNT=11 +END_ADD + +ADD_SECTION +# COMMDB_ID = 10 + Id=10007 + Name=IPProto_generated_10007 + AccessPointSelectionPolicy=0 + Tier=Link.TierTable.271064560 + MCpr=MCprTable.2 + Cpr=CprTable.2 + SCpr=SCprTable.2 + Protocol=ProtocolTable.2 + CprConfig=5 + CustomSelectionPolicy=5 + FIELD_COUNT=10 +END_ADD + +ADD_SECTION +# COMMDB_ID = 11 + Id=6 + Name=spud-rawipMappedFromIAP6 + AccessPointSelectionPolicy=0 + Tier=Link.TierTable.271064565 + MCpr=MCprTable.10 + Cpr=CprTable.3 + SCpr=SCprTable.4 + Protocol=ProtocolTable.5 + CprConfig=0 + AppSID=0 + Priority=4294967295 + FIELD_COUNT=11 +END_ADD + +ADD_SECTION +# COMMDB_ID = 12 + Id=10008 + Name=IPProto_generated_10008 + AccessPointSelectionPolicy=0 + Tier=Link.TierTable.271064560 + MCpr=MCprTable.2 + Cpr=CprTable.2 + SCpr=SCprTable.2 + Protocol=ProtocolTable.2 + CprConfig=6 + CustomSelectionPolicy=6 + FIELD_COUNT=10 +END_ADD + +ADD_SECTION +# COMMDB_ID = 13 + Id=7 + Name=spud-rawipMappedFromIAP7 + AccessPointSelectionPolicy=0 + Tier=Link.TierTable.271064565 + MCpr=MCprTable.10 + Cpr=CprTable.3 + SCpr=SCprTable.4 + Protocol=ProtocolTable.5 + CprConfig=0 + AppSID=0 + Priority=4294967295 + FIELD_COUNT=11 +END_ADD + +ADD_SECTION +# COMMDB_ID = 14 + Id=10009 + Name=IPProto_generated_10009 + AccessPointSelectionPolicy=0 + Tier=Link.TierTable.271064560 + MCpr=MCprTable.2 + Cpr=CprTable.2 + SCpr=SCprTable.2 + Protocol=ProtocolTable.2 + CprConfig=7 + CustomSelectionPolicy=7 + FIELD_COUNT=10 +END_ADD + +ADD_SECTION +# COMMDB_ID = 15 + Id=8 + Name=spud-rawipMappedFromIAP8 + AccessPointSelectionPolicy=0 + Tier=Link.TierTable.271064565 + MCpr=MCprTable.10 + Cpr=CprTable.3 + SCpr=SCprTable.4 + Protocol=ProtocolTable.5 + CprConfig=0 + AppSID=0 + Priority=4294967295 + FIELD_COUNT=11 +END_ADD + +ADD_SECTION +# COMMDB_ID = 16 + Id=10010 + Name=IPProto_generated_10010 + AccessPointSelectionPolicy=0 + Tier=Link.TierTable.271064560 + MCpr=MCprTable.2 + Cpr=CprTable.2 + SCpr=SCprTable.2 + Protocol=ProtocolTable.2 + CprConfig=8 + CustomSelectionPolicy=8 + FIELD_COUNT=10 +END_ADD + +ADD_SECTION +# COMMDB_ID = 17 + Id=9 + Name=spud-rawipMappedFromIAP9 + AccessPointSelectionPolicy=0 + Tier=Link.TierTable.271064565 + MCpr=MCprTable.10 + Cpr=CprTable.3 + SCpr=SCprTable.4 + Protocol=ProtocolTable.5 + CprConfig=0 + AppSID=0 + Priority=4294967295 + FIELD_COUNT=11 +END_ADD + +ADD_SECTION +# COMMDB_ID = 18 + Id=10011 + Name=IPProto_generated_10011 + AccessPointSelectionPolicy=0 + Tier=Link.TierTable.271064560 + MCpr=MCprTable.2 + Cpr=CprTable.2 + SCpr=SCprTable.2 + Protocol=ProtocolTable.2 + CprConfig=9 + CustomSelectionPolicy=9 + FIELD_COUNT=10 +END_ADD + +ADD_SECTION +# COMMDB_ID = 19 + Id=10 + Name=spud-rawipMappedFromIAP10 + AccessPointSelectionPolicy=0 + Tier=Link.TierTable.271064565 + MCpr=MCprTable.10 + Cpr=CprTable.3 + SCpr=SCprTable.4 + Protocol=ProtocolTable.5 + CprConfig=0 + AppSID=0 + Priority=4294967295 + FIELD_COUNT=11 +END_ADD + +ADD_SECTION +# COMMDB_ID = 20 + Id=10012 + Name=IPProto_generated_10012 + AccessPointSelectionPolicy=0 + Tier=Link.TierTable.271064560 + MCpr=MCprTable.2 + Cpr=CprTable.2 + SCpr=SCprTable.2 + Protocol=ProtocolTable.2 + CprConfig=10 + CustomSelectionPolicy=10 + FIELD_COUNT=10 +END_ADD + +ADD_SECTION +# COMMDB_ID = 252 + Id=10002 + Name=SIPDefault + AccessPointSelectionPolicy=0 + Tier=Link.TierTable.536887799 + MCpr=MCprTable.11 + Cpr=CprTable.5 + SCpr=SCprTable.8 + Protocol=ProtocolTable.2 + FIELD_COUNT=8 +END_ADD + +ADD_SECTION +# COMMDB_ID = 254 + Id=10000 + Name=NetworkDefault + AccessPointSelectionPolicy=Link.APPrioritySelectionPolicyTable.20000 + Tier=Link.TierTable.2048 + MCpr=MCprTable.1 + Cpr=CprTable.1 + SCpr=SCprTable.7 + Protocol=ProtocolTable.1 + FIELD_COUNT=8 +END_ADD + + +############################################################ +## GlobalSettings +## +[GlobalSettings] +ADD_TEMPLATE + DefaultTier=1 + FIELD_COUNT=1 +END_TEMPLATE + +ADD_SECTION +# COMMDB_ID = 1 + Name=DefaultRecordName-1 + ConnectionAttempts=2 + RedialAttempts=3 + SmsReceiveMode=2 + GPRSAttachMode=1 + AcceptIncomingGprs=1 + GPRSClassCBearer=GSM + ModemForDataAndFax=2 + ModemForPhoneServicesAndSMS=2 + LocationForDataAndFax=2 + LocationForPhoneServicesAndSMS=2 + DefaultNetwork=1 + BearerAvailabilityCheckTSY=mm + FIELD_COUNT=13 +END_ADD + + +############################################################ +## IAP +## +[IAP] +ADD_SECTION +# COMMDB_ID = 1 + Name=Loopback_GRPS_1 + IAPServiceType=OutgoingGPRS + IAPService=1 + IAPBearerType=ModemBearer + IAPBearer=1 + IAPNetwork=1 + IAPNetworkWeighting=0 + Location=2 + FIELD_COUNT=8 +END_ADD + +ADD_SECTION +# COMMDB_ID = 2 + Name=Loopback_GRPS_2 + IAPServiceType=OutgoingGPRS + IAPService=2 + IAPBearerType=ModemBearer + IAPBearer=2 + IAPNetwork=1 + IAPNetworkWeighting=0 + Location=2 + FIELD_COUNT=8 +END_ADD + +ADD_SECTION +# COMMDB_ID = 3 + Name=Loopback_GRPS_3 + IAPServiceType=OutgoingGPRS + IAPService=3 + IAPBearerType=ModemBearer + IAPBearer=3 + IAPNetwork=2 + IAPNetworkWeighting=0 + Location=2 + FIELD_COUNT=8 +END_ADD + +ADD_SECTION +# COMMDB_ID = 4 + Name=Loopback_GRPS_4 + IAPServiceType=OutgoingGPRS + IAPService=4 + IAPBearerType=ModemBearer + IAPBearer=4 + IAPNetwork=2 + IAPNetworkWeighting=0 + Location=2 + FIELD_COUNT=8 +END_ADD + +ADD_SECTION +# COMMDB_ID = 5 + Name=Loopback_GRPS_5 + IAPServiceType=OutgoingGPRS + IAPService=1 + IAPBearerType=ModemBearer + IAPBearer=3 + IAPNetwork=2 + IAPNetworkWeighting=0 + Location=2 + FIELD_COUNT=8 +END_ADD + +ADD_SECTION +# COMMDB_ID = 6 + Name=Loopback_GRPS_6 + IAPServiceType=OutgoingGPRS + IAPService=1 + IAPBearerType=ModemBearer + IAPBearer=1 + IAPNetwork=3 + IAPNetworkWeighting=0 + Location=2 + FIELD_COUNT=8 +END_ADD + +ADD_SECTION +# COMMDB_ID = 7 + Name=Loopback_GRPS_7 + IAPServiceType=OutgoingGPRS + IAPService=6 + IAPBearerType=ModemBearer + IAPBearer=7 + IAPNetwork=4 + IAPNetworkWeighting=0 + Location=2 + FIELD_COUNT=8 +END_ADD + +ADD_SECTION +# COMMDB_ID = 8 + Name=Loopback_GRPS_8 + IAPServiceType=OutgoingGPRS + IAPService=7 + IAPBearerType=ModemBearer + IAPBearer=8 + IAPNetwork=5 + IAPNetworkWeighting=0 + Location=2 + FIELD_COUNT=8 +END_ADD + +ADD_SECTION +# COMMDB_ID = 9 + Name=Loopback_GRPS_9 + IAPServiceType=OutgoingGPRS + IAPService=8 + IAPBearerType=ModemBearer + IAPBearer=9 + IAPNetwork=6 + IAPNetworkWeighting=0 + Location=2 + FIELD_COUNT=8 +END_ADD + +ADD_SECTION +# COMMDB_ID = 10 + Name=IAP_GRPS_BAD_QOS + IAPServiceType=OutgoingGPRS + IAPService=9 + IAPBearerType=ModemBearer + IAPBearer=2 + IAPNetwork=1 + IAPNetworkWeighting=0 + Location=2 + FIELD_COUNT=8 +END_ADD + + +############################################################ +## ConnectionPreferences +## +[ConnectionPreferences] +ADD_SECTION +# COMMDB_ID = 1 + Name=DefaultRecordName-1 + Ranking=1 + Direction=OUTGOING + BearerSet=PSD + DialogPref=DONOTPROMPT + IAP=2 + FIELD_COUNT=6 +END_ADD + + +############################################################ +## UmtsR99QoSAndOn +## +[UmtsR99QoSAndOn] +ADD_SECTION +# COMMDB_ID = 1 + Name=PRIMARY1 + ReqTrafficClass=1 + MinTrafficClass=1 + ReqDeliveryOrder=1 + MinDeliveryOrder=1 + ReqDeliverErroneousSDU=1 + MinDeliverErroneousSDU=1 + ReqMaxSDUSize=0 + MinAcceptableMaxSDUSize=0 + ReqMaxUplinkRate=0 + ReqMinUplinkRate=0 + ReqMaxDownlinkRate=0 + ReqMinDownlinkRate=0 + ReqBER=1 + MaxBER=1 + ReqSDUErrorRatio=1 + MaxSDUErrorRatio=1 + ReqTrafficHandlingPriority=1 + MinTrafficHandlingPriority=1 + ReqTransferDelay=0 + MaxTransferDelay=0 + ReqGuaranteedUplinkRate=0 + MinGuaranteedUplinkRat=0 + ReqGuaranteedDownlinkRate=0 + MinGuaranteedDownlinkRate=0 + SignallingIndication=FALSE + ImCnSignallingIndication=FALSE + SourceStatisticsDescriptor=0 + FIELD_COUNT=28 +END_ADD + +ADD_SECTION +# COMMDB_ID = 2 + Name=SECONDARY1 + ReqTrafficClass=4 + MinTrafficClass=4 + ReqDeliveryOrder=1 + MinDeliveryOrder=1 + ReqDeliverErroneousSDU=8 + MinDeliverErroneousSDU=8 + ReqMaxSDUSize=768 + MinAcceptableMaxSDUSize=512 + ReqMaxUplinkRate=1024 + ReqMinUplinkRate=1024 + ReqMaxDownlinkRate=1024 + ReqMinDownlinkRate=1024 + ReqBER=0 + MaxBER=0 + ReqSDUErrorRatio=1 + MaxSDUErrorRatio=1 + ReqTrafficHandlingPriority=1 + MinTrafficHandlingPriority=1 + ReqTransferDelay=250 + MaxTransferDelay=250 + ReqGuaranteedUplinkRate=1024 + MinGuaranteedUplinkRat=1024 + ReqGuaranteedDownlinkRate=1024 + MinGuaranteedDownlinkRate=1024 + SignallingIndication=FALSE + ImCnSignallingIndication=FALSE + SourceStatisticsDescriptor=0 + FIELD_COUNT=28 +END_ADD + +ADD_SECTION +# COMMDB_ID = 3 + Name=PRIMARY2 + ReqTrafficClass=1 + MinTrafficClass=1 + ReqDeliveryOrder=1 + MinDeliveryOrder=1 + ReqDeliverErroneousSDU=1 + MinDeliverErroneousSDU=1 + ReqMaxSDUSize=0 + MinAcceptableMaxSDUSize=0 + ReqMaxUplinkRate=0 + ReqMinUplinkRate=0 + ReqMaxDownlinkRate=0 + ReqMinDownlinkRate=0 + ReqBER=1 + MaxBER=1 + ReqSDUErrorRatio=1 + MaxSDUErrorRatio=1 + ReqTrafficHandlingPriority=1 + MinTrafficHandlingPriority=1 + ReqTransferDelay=0 + MaxTransferDelay=0 + ReqGuaranteedUplinkRate=0 + MinGuaranteedUplinkRat=0 + ReqGuaranteedDownlinkRate=0 + MinGuaranteedDownlinkRate=0 + SignallingIndication=FALSE + ImCnSignallingIndication=FALSE + SourceStatisticsDescriptor=0 + FIELD_COUNT=28 +END_ADD + +ADD_SECTION +# COMMDB_ID = 4 + Name=SECONDARY2 + ReqTrafficClass=4 + MinTrafficClass=4 + ReqDeliveryOrder=1 + MinDeliveryOrder=1 + ReqDeliverErroneousSDU=8 + MinDeliverErroneousSDU=8 + ReqMaxSDUSize=768 + MinAcceptableMaxSDUSize=512 + ReqMaxUplinkRate=1024 + ReqMinUplinkRate=1024 + ReqMaxDownlinkRate=1024 + ReqMinDownlinkRate=1024 + ReqBER=0 + MaxBER=0 + ReqSDUErrorRatio=1 + MaxSDUErrorRatio=1 + ReqTrafficHandlingPriority=1 + MinTrafficHandlingPriority=1 + ReqTransferDelay=250 + MaxTransferDelay=250 + ReqGuaranteedUplinkRate=1024 + MinGuaranteedUplinkRat=1024 + ReqGuaranteedDownlinkRate=1024 + MinGuaranteedDownlinkRate=1024 + SignallingIndication=FALSE + ImCnSignallingIndication=FALSE + SourceStatisticsDescriptor=0 + FIELD_COUNT=28 +END_ADD + +ADD_SECTION +# COMMDB_ID = 5 + Name=BAD_QOS + MinTrafficClass=1 + ReqDeliveryOrder=1 + MinDeliveryOrder=1 + ReqDeliverErroneousSDU=1 + MinDeliverErroneousSDU=1 + ReqMaxSDUSize=0 + MinAcceptableMaxSDUSize=0 + ReqMaxUplinkRate=0 + ReqMinUplinkRate=0 + ReqMaxDownlinkRate=0 + ReqMinDownlinkRate=0 + ReqBER=1 + MaxBER=1 + ReqSDUErrorRatio=1 + MaxSDUErrorRatio=1 + ReqTrafficHandlingPriority=1 + MinTrafficHandlingPriority=1 + ReqTransferDelay=0 + MaxTransferDelay=0 + ReqGuaranteedUplinkRate=0 + MinGuaranteedUplinkRat=0 + ReqGuaranteedDownlinkRate=0 + MinGuaranteedDownlinkRate=0 + SignallingIndication=FALSE + ImCnSignallingIndication=FALSE + SourceStatisticsDescriptor=0 + FIELD_COUNT=27 +END_ADD + + +############################################################ +## PolicySelectorTable +## +[PolicySelectorTable] +ADD_SECTION +# COMMDB_ID = 1 + Name=DefaultRecordName-1 + PolicyId=1 + SrcAddress=0.0.0.0 + SrcMask=255.255.255.255 + DstAddress=192.168.1.1 + DstMask=255.255.255.255 + SrcPort=0 + DstPort=3461 + SrcPortMax=1031 + DstPortMax=3461 + ProtocolId=17 + IAPid=2 + Priority=1 + FIELD_COUNT=13 +END_ADD + +ADD_SECTION +# COMMDB_ID = 2 + Name=DefaultRecordName-2 + PolicyId=2 + SrcPort=0 + SrcPortMax=0 + ProtocolId=1 + IAPid=2 + Priority=1 + FIELD_COUNT=7 +END_ADD +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/telephonyprotocols/pdplayer/umts/test/te_spudNetworkSide/configs/TE_RawIpSize.ini Wed Jun 23 19:32:14 2010 +0300 @@ -0,0 +1,6 @@ +[MMUInfo] +SimTsyTestNum = 1 +PrimaryIapId1 = 2 +PrimaryIapId2 = 6 +TestMinMMU = 1 +TestMaxMMU = 2000
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/telephonyprotocols/pdplayer/umts/test/te_spudNetworkSide/configs/TE_RawIpSize_config.txt Wed Jun 23 19:32:14 2010 +0300 @@ -0,0 +1,193 @@ +############################################################################ +############################################################################ +################### T E S T 1 #################### +############################################################################ +############################################################################ +# Test case for success results +############################################################################ +[test1] +# DefaultContextparamGPRS = <TProtocolType>, <TGSNAddress>, <TProtocolAddress>, <PdpDataCompression>, <TAnonymousAccess>, <TUseEdge> +# ProtocolConfigOption = <Authentication Protocol>, <Username>, <Password>, <Challenge>, +# <Response>, <PrimaryDNS>, <SecondaryDNS>, <TUint iId> +DefaultContextparamGPRS= 3, SYMBIAN EMPLOYEE INTRANET, A WAP PORTAL, 2, 1, 1, 1, USER2, PASSWORD2, NULL, NULL, PRIMARYSERVER2, SECONDARYSERVER2, 2 + +# ContextConfigGPRS = <TProtocolType>, <TGSNAddress>, <TProtocolAddress>, <PdpDataCompression>, <TAnonymousAccess>, <TUseEdge> +# ProtocolConfigOption = <Authentication Protocol>, <Username>, <Password>, <Challenge>, +# <Response>, <PrimaryDNS>, <SecondaryDNS>, <TUint iId> +SetContextConfigGPRS = 0,Test,,0,2,0,1,RasUser,,,,,,1 +# TRel99ContextConfig = <TName iContextName>, <TUint iActivatePause>, <TUint iActivateErrorCode>, <TUint iDeactivatePause>, +# <TUint iDeactivateErrorCode>, <TUint iDeletionPause>, <TUint iDeletionErrorCode> <TBool iConnectToNtRas> +R99ContextConfig = PRIMARY1, 0, 0, 0, 0, 0, 0, 0 +R99ContextConfig = PRIMARY2, 0, 0, 0, 0, 0, 0, 0 +R99ContextConfig = PRIMARY3, 0, 0, 0, 0, 0, 0, 0 +R99ContextConfig = PRIMARY4, 0, 0, 0, 0, 0, 0, 0 +R99ContextConfig = PRIMARY5, 0, 0, 0, 0, 0, 0, 0 +R99ContextConfig = SECONDARY1, 0, 0, 0, 0, 0, 0, 0 +R99ContextConfig = SECONDARY2, 0, 0, 0, 0, 0, 0, 0 + +# TFTfilter = 0<id> 1<evaluationPrecedenceIndex> 2<srcAddr> 3<srcAddrSubnetMask> 4<protocolNumberOrNextHeader> +# 5<srcPortMin> 6<srcPortMax> 7<destPortMin> 8<destPortMax> 9<ipSecSPI> 10<toSorTrafficClass> +# 11<flowLabel> +TFTfilter = 1, 96, 0.0.0.0.0.0.0.0.0.0.255.255.192.168.1.1, 255.255.255.255.255.255.255.255.255.255.255.255.255.255.255.255, 17, 3461, 3461, 1031, 1031, 0, 0, 0 +TFTfilter = 1, 0, 0.0.0.0.0.0.0.0.0.0.255.255.192.168.1.1, 255.255.255.255.255.255.255.255.255.255.255.255.255.255.255.255, 17, 3461, 3461, 1031, 1031, 0, 0, 0 +TFTfilter = 1, 1, 0.0.0.0.0.0.0.0.0.0.255.255.192.168.1.1, 255.255.255.255.255.255.255.255.255.255.255.255.255.255.255.255, 17, 3461, 3461, 1031, 1031, 0, 0, 0 + +#TProfileReqR99 = 0<contextName> 1<reqTraffic> 2<minTraffic> 3<reqDeliveryOrder> 4<minDeliveryOrder> +# 5<reqErroneousSDU> 6<minErroneousSDU> 7<maxSDUSize> 8<minSDUSize> +# 9<reqUpLinkBitRate> 10<reqDownLinkBitRate> 11<minUpLinkBitRate> 12<minDownLinkBitRate> +# +# 13<reqBitErrorRatio> 14<minBitErrorRatio> 15<reqSDUErrorRatio> 16<minSDUErrorRatio> +# 17<reqTrafficHandlingPriority> 18<minTrafficHandlingPriority> +# 19<reqTransferDelay> 20<minTransferDelay> 21<reqGuaranteedUpLinkBitRate> 22<reqGuaranteedDownLinkBitRate> +# 23<minGuaranteedUpLinkBitRate> 24<minGuaranteedDownLinkBitRate> +QosProfileReqR99 = PRIMARY1,0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0 +QosProfileReqR99 = PRIMARY2,0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0 +QosProfileReqR99 = PRIMARY3,0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0 +QosProfileReqR99 = PRIMARY4,0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0 +QosProfileReqR99 = PRIMARY5,0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0 +QosProfileReqR99 = SECONDARY1,0x04, 0x04, 0x01, 0x01, 0x08, 0x08, -1, -1, -1, -1, 0, 0, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 250, 250, -1, -1, 0, 0 +QosProfileReqR99 = SECONDARY1,0x04, 0x04, 0x01, 0x01, 0x08, 0x08, -1, -1, -1, -1, 0, 0, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 250, 250, -1, -1, 0, 0 +QosProfileReqR99 = SECONDARY1,0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0 +QosProfileReqR99 = SECONDARY2,0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0 + +QosProfileReqR5 = PRIMARY1,0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0, 0, 0 +QosProfileReqR5 = PRIMARY2,0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0, 0, 0 +QosProfileReqR5 = PRIMARY3,0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0, 0, 0 +QosProfileReqR5 = PRIMARY4,0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0, 0, 0 +QosProfileReqR5 = PRIMARY5,0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0, 0, 0 +QosProfileReqR5 = SECONDARY1,0x04, 0x04, 0x01, 0x01, 0x08, 0x08, -1, -1, -1, -1, 0, 0, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 250, 250, -1, -1, 0, 0, 0, 0 +QosProfileReqR5 = SECONDARY1,0x04, 0x04, 0x01, 0x01, 0x08, 0x08, -1, -1, -1, -1, 0, 0, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 250, 250, -1, -1, 0, 0, 0, 0 +QosProfileReqR5 = SECONDARY1,0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0, 0, 0 +QosProfileReqR5 = SECONDARY2,0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0, 0, 0 + +#TProfileNegR99 =<contextName> <duration> <negTraffic> <negDeliveryOrder> <negErroneousSDUDelivery> <negMaxSDUSize> +# <negBitErrorRatio> <negSDUErrorRatio> <negTrafficHandlingPriority> +# <negTransferDelay> <negGuaranteedUpLinkBitRate> <negGuaranteedDownLinkBitRate> +# <negMaxUpLinkRate> <negMaxDownLinkRate> +QosProfileNegR99 = PRIMARY1, 0x03, 0x01, 0x03, 0x01, 1, 0x03, 0x01, 0x03, 1, 1, 3, 1, 3 +QosProfileNegR99 = PRIMARY1, 0x04, 0x02, 0x04, 0x02, 2, 0x04, 0x02, 0x04, 2, 2, 4, 2, 4 +QosProfileNegR99 = PRIMARY2, 0x03, 0x01, 0x03, 0x01, 1, 0x03, 0x01, 0x03, 1, 1, 3, 1, 3 +QosProfileNegR99 = PRIMARY3, 0x03, 0x01, 0x03, 0x01, 1, 0x03, 0x01, 0x03, 1, 1, 3, 1, 3 +QosProfileNegR99 = PRIMARY4, 0x03, 0x01, 0x03, 0x01, 1, 0x03, 0x01, 0x03, 1, 1, 3, 1, 3 +QosProfileNegR99 = PRIMARY5, 0x03, 0x01, 0x03, 0x01, 1, 0x03, 0x01, 0x03, 1, 1, 3, 1, 3 +QosProfileNegR99 = SECONDARY1, 0x03, 0x01, 0x01, 0x01, 1501, 0x03, 0x01, 0x03, 1, 1, 3, 1, 3 +QosProfileNegR99 = SECONDARY1, 0x03, 0x01, 0x01, 0x01, 1501, 0x03, 0x01, 0x03, 1, 1, 3, 1, 3 +QosProfileNegR99 = SECONDARY1, 0x03, 0x01, 0x03, 0x01, 1, 0x03, 0x01, 0x03, 1, 1, 3, 1, 3 +QosProfileNegR99 = SECONDARY2, 0x04, 0x02, 0x04, 0x02, 2, 0x04, 0x02, 0x04, 2, 2, 4, 2, 4 + +QosProfileNegR5 = PRIMARY1, 0x03, 0x01, 0x03, 0x01, 1, 0x03, 0x01, 0x03, 1, 1, 3, 1, 3, 0, 0 +QosProfileNegR5 = PRIMARY1, 0x04, 0x02, 0x04, 0x02, 2, 0x04, 0x02, 0x04, 2, 2, 4, 2, 4, 0, 0 +QosProfileNegR5 = PRIMARY2, 0x03, 0x01, 0x03, 0x01, 1, 0x03, 0x01, 0x03, 1, 1, 3, 1, 3, 0, 0 +QosProfileNegR5 = PRIMARY3, 0x03, 0x01, 0x03, 0x01, 1, 0x03, 0x01, 0x03, 1, 1, 3, 1, 3, 0, 0 +QosProfileNegR5 = PRIMARY4, 0x03, 0x01, 0x03, 0x01, 1, 0x03, 0x01, 0x03, 1, 1, 3, 1, 3, 0, 0 +QosProfileNegR5 = PRIMARY5, 0x03, 0x01, 0x03, 0x01, 1, 0x03, 0x01, 0x03, 1, 1, 3, 1, 3, 0, 0 +QosProfileNegR5 = SECONDARY1, 0x03, 0x01, 0x01, 0x01, 1501, 0x03, 0x01, 0x03, 1, 1, 3, 1, 3, 0, 0 +QosProfileNegR5 = SECONDARY1, 0x03, 0x01, 0x01, 0x01, 1501, 0x03, 0x01, 0x03, 1, 1, 3, 1, 3, 0, 0 +QosProfileNegR5 = SECONDARY1, 0x03, 0x01, 0x03, 0x01, 1, 0x03, 0x01, 0x03, 1, 1, 3, 1, 3, 0, 0 +QosProfileNegR5 = SECONDARY2, 0x04, 0x02, 0x04, 0x02, 2, 0x04, 0x02, 0x04, 2, 2, 4, 2, 4, 0, 0 + +#TQosProfileCapsR99 = <trafficCap> <deliveryOrderReqCap> <deliverErroneousSDUCap> +# <BERCap> <SDUErrorRatioCap> <trafficHandlingPriorityCap> +QosProfileCapsR99= 0x08, 0x04, 0x02, 0x04, 0x02, 0x04 + +QosNetworkNotificationType = PublishSubscribe +# QosNetworkNotification = <contextName> <duration> <negTraffic> <negDeliveryOrder> <negErroneousSDUDelivery> +# <negBitErrorRatio> <negSDUErrorRatio> <negTrafficHandlingPriority> +# <negTransferDelay> <negGuaranteedUpLinkBitRate> <negGuaranteedDownLinkBitRate> +# <negMaxUpLinkRate> <negMaxDownLinkRate> <negMaxSDUSize> +QosNetworkNotification = PRIMARY1, 0x04, 0x02, 0x04, 0x02, 2, 0x04, 0x02, 0x04, 2, 2, 4, 2, 4 +QosNetworkNotification = PRIMARY2, 0x04, 0x02, 0x04, 0x02, 1, 0x04, 0x02, 0x04, 2, 2, 4, 2, 4 +QosNetworkNotification = PRIMARY3, 0x04, 0x02, 0x04, 0x02, 2, 0x04, 0x02, 0x04, 2, 2, 4, 2, 4 +QosNetworkNotification = PRIMARY4, 0x04, 0x02, 0x04, 0x02, 2, 0x04, 0x02, 0x04, 2, 2, 4, 2, 4 +QosNetworkNotification = PRIMARY5, 0x04, 0x02, 0x04, 0x02, 2, 0x04, 0x02, 0x04, 2, 2, 4, 2, 4 +QosNetworkNotification = SECONDARY1, 0x04, 0x02, 0x04, 0x02, 1, 0x04, 0x02, 0x04, 2, 2, 4, 2, 4 + + +QosR5NetworkNotification = PRIMARY1, 0x04, 0x02, 0x04, 0x02, 2, 0x04, 0x02, 0x04, 2, 2, 4, 2, 4, 0, 0 +QosR5NetworkNotification = PRIMARY2, 0x04, 0x02, 0x04, 0x02, 1, 0x04, 0x02, 0x04, 2, 2, 4, 2, 4, 0, 0 +QosR5NetworkNotification = PRIMARY3, 0x04, 0x02, 0x04, 0x02, 2, 0x04, 0x02, 0x04, 2, 2, 4, 2, 4, 0, 0 +QosR5NetworkNotification = PRIMARY4, 0x04, 0x02, 0x04, 0x02, 2, 0x04, 0x02, 0x04, 2, 2, 4, 2, 4, 0, 0 +QosR5NetworkNotification = PRIMARY5, 0x04, 0x02, 0x04, 0x02, 2, 0x04, 0x02, 0x04, 2, 2, 4, 2, 4, 0, 0 +QosR5NetworkNotification = SECONDARY1, 0x04, 0x02, 0x04, 0x02, 1, 0x04, 0x02, 0x04, 2, 2, 4, 2, 4, 0, 0 + + +#SetProfileFail= <contextName> <numberOfTimes> <errorCode> <setProfileDigit> +SetProfileFail = NEG_99, 0x04, 0x02 + +#QosprofileReqGPRS= <minPrecedence> <reqPrecedence> <minDelay> <reqDelay> <minReliability> <reqReliability> <minPeek> <reqPeek> +# <minMean> <reqMean> +QosProfileReqGPRS= 0x08, 0x04, 0x02, 0x04, 0x02, 0x04, 0x020, 0x080, 0x00004, 0x00020 +QosProfileReqGPRS= 0x04, 0x04, 0x02, 0x04, 0x02, 0x04, 0x020, 0x080, 0x00004, 0x00020 + +#QosProfileNegGPRS=<negPrecedence> <negDelay><negReliability> <negPeek> <negMean> +QosProfileNegGPRS= 0x04, 0x04, 0x04, 0x080, 0x00002 +QosProfileNegGPRS= 0x04, 0x04, 0x04, 0x080, 0x00002 + +#QosProfileCapsGPRS=<negPrecedenceCap> <negDelayCap> <negReliabilityCap><negPeekCap> <negMeanCap> +QosProfileCapsGPRS= 0x04, 0x04, 0x04, 0x080, 0x00002 + +# QosProfileReq +# = <TTrafficClass>, <TTrafficClass>, <TDeliveryOrder>, <TDeliveryOrder> +# <TErroneousSDUDelivery>, <TErroneousSDUDelivery> +# <TErroneousSDUDelivery>, <TInt iReqMaxSDUSize>, <TInt iMinAcceptableMaxSDUSize> +# <TBitRate>, <TBitRate>, <TBitErrorRatio>, +# <TBitErrorRatio>, <TSDUErrorRatio>, <TSDUErrorRatio>, <TTrafficHandlingPriority>, <TTrafficHandlingPriority> +# <TInt iReqTransferDelay>, <TInt iMaxTransferDelay>, <TBitRate>, <TBitRate> + +# QosProfileNeg = <TQoSPrecedence>, <TQoSDelay>, <TQoSReliability>, <TQoSPeakThroughput>, <TQoSMeanThroughput> +# <TTrafficClass>, <TDeliveryOrder>, <TErroneousSDUDelivery>, <TInt iMaxSDUSize>, <TBitRate>, +# <TBitErrorRatio>, <TSDUErrorRatio>, <TTrafficHandlingPriority> +# <TInt iTransferDelay>, <TBitRate> + +DefaultContextparamRel99= 3, ACME INTERNET PROVIDERS LTD, i-MODE GATEWAY, 1, 1, USER2, PASSWORD2, NULL, NULL, PRIMARYSERVER2, SECONDARYSERVER2, 2 +# DefaultContextparamRel99 = <TProtocolType>, <TGSNAddress>, <TProtocolAddress>, <TUseEdge> +# ProtocolConfigOption = <Authentication Protocol>, <Username>, <Password>, <Challenge>, +# <Response>, <PrimaryDNS>, <SecondaryDNS>, <TUint iId> + +ReleaseMode = 5, 5 +# Packet Release mode = <Release> <Duration> + +#RegStatus=<duration> <regStat> <networkIndex> +RegStatus= 5,3 +RegStatus= 2,5,0 +RegStatus= 2,7,3 +RegStatus= 5,2 +RegStatus= 2,5,0 + +# NetworkRegStatus = <Duration>, <RegistrationStatus> +NetworkRegStatusType = PublishSubscribe +NetworkRegStatus= 5,2 +NetworkRegStatus= 5,1 +NetworkRegStatus= 5,1 + +# CommSetup = <CsyName> <portName> <datarate> <handshake> <contextName> +CommSetup= PKTLOOPBACK.CSY, PKTLOOPBACK::502, 18, 0, PRIMARY1 +CommSetup= PKTLOOPBACK.CSY, PKTLOOPBACK::501, 18, 0, PRIMARY2 + +############################################################################ +# failure events +# Configure the context's status to be changed using publish and subscribe +NotifyContextStatusChangeType = PublishSubscribe +# NotifyContextStatusChange <iContextName>, <iDuration>, <iStatus> + +# EStatusDeactivating = 4 EStatusInactive = 1 EStatusDeleted = 6 +NotifyContextStatusChange = PRIMARY1, 0, 6 +NotifyContextStatusChange = PRIMARY1, 0, 4 +NotifyContextStatusChange = PRIMARY1, 0, 1 +NotifyContextStatusChange = PRIMARY2, 0, 6 +NotifyContextStatusChange = PRIMARY3, 0, 6 +NotifyContextStatusChange = PRIMARY4, 0, 6 +NotifyContextStatusChange = PRIMARY5, 0, 6 +NotifyContextStatusChange = SECONDARY1, 0, 6 +NotifyContextStatusChange = SECONDARY1, 0, 4 +NotifyContextStatusChange = SECONDARY1, 0, 1 + +# EStatusSuspended = 5 EStatusActive = 3 +NotifyContextStatusChange = PRIMARY1, 0, 5 +NotifyContextStatusChange = PRIMARY1, 0, 3 +NotifyContextStatusChange = PRIMARY2, 0, 5 +NotifyContextStatusChange = PRIMARY3, 0, 5 +NotifyContextStatusChange = PRIMARY4, 0, 5 +NotifyContextStatusChange = PRIMARY5, 0, 5 +NotifyContextStatusChange = SECONDARY1, 0, 5 +NotifyContextStatusChange = SECONDARY1, 0, 3
--- a/telephonyprotocols/pdplayer/umts/test/te_spudNetworkSide/group/BLD.INF Fri Jun 11 14:49:29 2010 +0300 +++ b/telephonyprotocols/pdplayer/umts/test/te_spudNetworkSide/group/BLD.INF Wed Jun 23 19:32:14 2010 +0300 @@ -45,6 +45,9 @@ //sip tests ../scripts/te_spudnetworkside_sipaddress.script z:/testdata/scripts/te_spudnetworkside_sipaddress.script +//Min Max MMU tests +../scripts/TE_RawIpSize.script z:/testdata/scripts/te_rawipsize.script + #endif ../scripts/TE_spudNetworkSide_ppp_9x.script z:/testdata/scripts/te_spudnetworkside_ppp.script @@ -116,6 +119,11 @@ ../configs/te_spudnetworkside_sipaddress.ini z:/testdata/configs/te_spudnetworkside_sipaddress.ini ../configs/te_spudnetworkside_sipaddress_config.txt z:/testdata/configs/te_spudnetworkside_sipaddress_config.txt +//Min Max MMU tests +../configs/TE_RawIpSize.ini z:/testdata/configs/te_rawipsize.ini +../configs/TE_RawIpSize_config.txt z:/testdata/configs/te_rawipsize_config.txt +../configs/TE_RawIpSize.cfg z:/testdata/configs/te_rawipsize.cfg + #endif // SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY TE_spudNetworkSide.iby /epoc32/rom/include/te_spudnetworkside.iby
--- a/telephonyprotocols/pdplayer/umts/test/te_spudNetworkSide/group/TE_spudNetworkSide.iby Fri Jun 11 14:49:29 2010 +0300 +++ b/telephonyprotocols/pdplayer/umts/test/te_spudNetworkSide/group/TE_spudNetworkSide.iby Wed Jun 23 19:32:14 2010 +0300 @@ -69,4 +69,10 @@ data=EPOCROOT##epoc32\data\z\TestData\Configs\te_spudnetworkside_sipaddress.ini testdata\configs\te_spudnetworkside_sipaddress.ini data=EPOCROOT##epoc32\data\z\testdata\scripts\te_spudnetworkside_sipaddress.script testdata\scripts\te_spudnetworkside_sipaddress.script +//Min Max MMU tests +data=EPOCROOT##epoc32\data\z\TestData\Configs\TE_RawIpSize.ini testdata\configs\te_rawipsize.ini +data=EPOCROOT##epoc32\data\z\TestData\Configs\TE_RawIpSize_config.txt testdata\configs\te_rawipsize_config.txt +data=EPOCROOT##epoc32\data\z\TestData\Configs\TE_RawIpSize.cfg testdata\configs\te_rawipsize.cfg +data=EPOCROOT##epoc32\data\z\testdata\scripts\TE_RawIpSize.script testdata\scripts\te_rawipsize.script + #endif // TE_SPUD_NETWORK_SIDE_IBY
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/telephonyprotocols/pdplayer/umts/test/te_spudNetworkSide/scripts/TE_RawIpSize.script Wed Jun 23 19:32:14 2010 +0300 @@ -0,0 +1,47 @@ +// +// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// under the terms of "Eclipse Public License v1.0" +// which accompanies this distribution, and is available +// at the URL "http://www.eclipse.org/legal/epl-v10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// + +RUN_UTILS MkDir c:\simtsy\ +RUN_UTILS MakeReadWrite c:\simtsy\config.txt +RUN_UTILS MakeReadWrite c:\config.txt +RUN_UTILS MakeReadWrite c:\loopback.ini +RUN_UTILS DeleteFile c:\simtsy\config.txt +RUN_UTILS DeleteFile c:\config.txt +RUN_UTILS DeleteFile c:\loopback.ini + +RUN_UTILS CopyFile z:\TestData\Configs\te_rawipsize_config.txt c:\simtsy\config.txt +RUN_UTILS CopyFile z:\TestData\Configs\te_rawipsize_config.txt c:\config.txt +RUN_UTILS CopyFile z:\TestData\Configs\TE_SpudNetworkSideLoopbackCSY.ini c:\loopback.ini + +run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script +ced -i z:\testdata\configs\te_rawipsize.cfg +run_script z:\TestData\scripts\te_esock_test_loadesock.script + +LOAD_SUITE TE_SpudNetworkSide + +START_TESTCASE CBS-RAWIP-0001 +//! @SYMTestCaseID CBS-RAWIP-0001 +RUN_TEST_STEP 2000 TE_SpudNetworkSide CRawIpMinMaxMMU z:\testdata\configs\te_rawipsize.ini MMUInfo +END_TESTCASE CBS-RAWIP-0001 + +run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script + +RUN_UTILS MakeReadWrite c:\simtsy\config.txt +RUN_UTILS MakeReadWrite c:\config.txt +RUN_UTILS MakeReadWrite c:\loopback.ini +RUN_UTILS DeleteFile c:\simtsy\config.txt +RUN_UTILS DeleteFile c:\config.txt +RUN_UTILS DeleteFile c:\loopback.ini
--- a/telephonyprotocols/pdplayer/umts/test/te_spudNetworkSide/src/te_spudNetworkSideServer.cpp Fri Jun 11 14:49:29 2010 +0300 +++ b/telephonyprotocols/pdplayer/umts/test/te_spudNetworkSide/src/te_spudNetworkSideServer.cpp Wed Jun 23 19:32:14 2010 +0300 @@ -245,6 +245,10 @@ { step = new CIoctlAddressRetrieve; } + else if (aStepName == KCRawIpMinMaxMMU) + { + step = new CRawIpMinMaxMMU; + } return step; }
--- a/telephonyprotocols/pdplayer/umts/test/te_spudNetworkSide/src/te_spudNetworkSideSteps.cpp Fri Jun 11 14:49:29 2010 +0300 +++ b/telephonyprotocols/pdplayer/umts/test/te_spudNetworkSide/src/te_spudNetworkSideSteps.cpp Wed Jun 23 19:32:14 2010 +0300 @@ -20,7 +20,7 @@ @internalComponent */ - +#include <e32math.h> #include "te_spudNetworkSideSteps.h" #include <c32comm.h> // uniquely for the call to StartC32WithCMISuppressions #include "spudNetSideQos.h" @@ -2121,8 +2121,9 @@ #ifdef SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY VerifySubconnectionCountL(_L("SubConnectionCount1"), PDPIAP); #endif - // start a secondary context - InitiateSecondaryStartL(); + + // start a secondary context + InitiateSecondaryStartL(); TInt primaryIapId, secondaryIapId; TestBooleanTrueL(GetIntFromConfig(ConfigSection(), _L("PppIapId1"), primaryIapId), _L("Get Iap ID for first Ppp instance")); @@ -2132,10 +2133,18 @@ CConnectionStart *primaryIfStart = CConnectionStart::NewLC(iEsock, *this, primaryIapId); CConnectionStart *secondaryIfStart = CConnectionStart::NewLC(iEsock, *this, secondaryIapId); + TRequestStatus progressReqSt; + primaryIfStart->iInterface.ProgressNotification(iProgressBuf, progressReqSt, KConnectionUp ); + + WaitForProgressNotificationL(progressReqSt, KConnectionUp, 0); + + secondaryIfStart->iInterface.ProgressNotification(iProgressBuf, progressReqSt, KConnectionUp); + WaitForProgressNotificationL(progressReqSt, KConnectionUp, 0); + + #ifndef SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY WaitForQoSEventL(_L("SecondaryActivationEvent2"), _L("SecondaryActivationEvent2Reason")); #else - User::After(2*KTimeToStartSecondary); VerifySubconnectionCountL(_L("SubConnectionCount2"), PDPIAP); #endif @@ -2327,3 +2336,126 @@ return EPass; } + +enum TVerdict CRawIpMinMaxMMU::RunTestStepL() + { + //Start 1st context + RConnection* conn1 = new (ELeave) RConnection(); + CleanupClosePushL<RConnection>(*conn1); + + TInt primaryIapId; + if (!GetIntFromConfig(ConfigSection(), _L("PrimaryIapId1"), primaryIapId)) + { + User::Leave(KErrNotFound); + } + + TCommDbConnPref conn1Pref; + conn1Pref.SetIapId(primaryIapId); + + INFO_PRINTF2(_L("Test starting Interface IAP ID == %d"), primaryIapId); + TestL(conn1->Open(iEsock), _L("RConnection::Open the interface")); + TestL(conn1->Start(conn1Pref), _L("RConnection::Start the interface")); + + //Start 2nd context + RConnection* conn2 = new (ELeave) RConnection(); + CleanupClosePushL<RConnection>(*conn2); + + if (!GetIntFromConfig(ConfigSection(), _L("PrimaryIapId2"), primaryIapId)) + { + User::Leave(KErrNotFound); + } + + TCommDbConnPref conn2Pref; + conn2Pref.SetIapId(primaryIapId); + + INFO_PRINTF2(_L("Test starting Interface IAP ID == %d"), primaryIapId); + TestL(conn2->Open(iEsock), _L("RConnection::Open the interface")); + TestL(conn2->Start(conn2Pref), _L("RConnection::Start the interface")); + + //Open & Connect 1st Socket + RSocket sock1; + TestL(sock1.Open(iEsock, KAfInet, KSockDatagram, KProtocolInetUdp, *conn1), _L("RSocket::Open")); + CleanupClosePushL<RSocket>(sock1); + TInetAddr localAddr; + localAddr.SetPort(KConfiguredTftFilter1DestPort); + TestL(sock1.Bind(localAddr), _L("Binding the local Socket")); + + TInetAddr dstAddr; + dstAddr.SetPort(KConfiguredTftFilter1SrcPort); + dstAddr.Input(KConfiguredTftFilter1SrcAddr); + + TRequestStatus status; + sock1.Connect(dstAddr, status); + User::WaitForRequest(status); + TestL(status.Int(), _L("RSocket::Connect status opening 1st socket")); + + //Open & Bind 2nd Socket + RSocket sock2; + TestL(sock2.Open(iEsock, KAfInet, KSockDatagram, KProtocolInetUdp, *conn2), _L("RSocket::Open")); + CleanupClosePushL<RSocket>(sock2); + localAddr.SetPort(KConfiguredTftFilter1SrcPort); + TestL(sock2.Bind(localAddr), _L("Binding the local Socket")); + + //then send & receive data. + const TInt KMaxMMU = 4000; + TBuf8<KMaxMMU> *sendBuf = new(ELeave) TBuf8<KMaxMMU>(); + CleanupStack::PushL(sendBuf); + + TBuf8<KMaxMMU> *recvBuf = new(ELeave) TBuf8<KMaxMMU>(); + CleanupStack::PushL(recvBuf); + + TBuf8<KMaxMMU> *recvBuf2 = new(ELeave) TBuf8<KMaxMMU>(); + CleanupStack::PushL(recvBuf2); + + TInt end; + if (!GetIntFromConfig(ConfigSection(), _L("TestMaxMMU"), end)) + { + User::Leave(KErrNotFound); + } + + TInt begin; + if (!GetIntFromConfig(ConfigSection(), _L("TestMinMMU"), begin)) + { + User::Leave(KErrNotFound); + } + + if (begin > end) + { + User::Leave(KErrArgument); + } + + INFO_PRINTF3(_L("Sending data frame size from (%d) to (%d)"), begin, end); + TRequestStatus readStatus; + + for(TInt j=begin;j<=end;j++) + { + sendBuf->Zero(); + for (TInt i=0;i<j;i++) + { + sendBuf->Append(Math::Random() & 0x7f); + } + + recvBuf->Zero(); + sock2.Read(*recvBuf, readStatus); + sock1.Write(*sendBuf, status); + + User::WaitForRequest(status); + TESTL(status.Int() == 0); + User::WaitForRequest(readStatus); + TESTL(readStatus.Int() == 0); + if (sendBuf->Length() > recvBuf->Length()) + { + recvBuf2->Zero(); + sock2.Read(*recvBuf2, readStatus); + User::WaitForRequest(readStatus); + TESTL(readStatus.Int() == 0); + recvBuf->Append(*recvBuf2); + TESTL(sendBuf->Length() == recvBuf->Length()); + } + TESTL(recvBuf->Compare(*sendBuf) == 0); + } + + CleanupStack::PopAndDestroy(7); //conn1, conn2, sock1, sock2, sendBuf, recvBuf, recvBuf2 + + return EPass; + }
--- a/telephonyprotocols/pdplayer/umts/test/te_spudNetworkSide/src/te_spudNetworkSideSteps.h Fri Jun 11 14:49:29 2010 +0300 +++ b/telephonyprotocols/pdplayer/umts/test/te_spudNetworkSide/src/te_spudNetworkSideSteps.h Wed Jun 23 19:32:14 2010 +0300 @@ -242,6 +242,7 @@ //SIP server address retrieve SYMBIAN_SPUD_TEST_CLASS(CIoctlAddressRetrieve) + SYMBIAN_SPUD_TEST_CLASS(CRawIpMinMaxMMU) } #endif
--- a/telephonyprotocols/rawipnif/src/RawIPFlow.cpp Fri Jun 11 14:49:29 2010 +0300 +++ b/telephonyprotocols/rawipnif/src/RawIPFlow.cpp Wed Jun 23 19:32:14 2010 +0300 @@ -46,7 +46,7 @@ using namespace MeshMachine; using namespace ESock; -#if (OST_TRACE_CATEGORY & OST_TRACE_CATEGORY_DEBUG) +#ifdef __FLOG_ACTIVE //These variables are used only if flog is active. _LIT8(KTcpDumpFirstTag,"TcpDump"); static const TUint16 KTcpDumpLinkType = 12; @@ -122,7 +122,7 @@ InitialiseL(MControllerObserver::EStart, KErrNone); //the name calculation should be done only if logging is enabled -#if (OST_TRACE_CATEGORY & OST_TRACE_CATEGORY_DEBUG) +#ifdef __FLOG_ACTIVE const TUint KModemNameLen = KCommsDbSvrMaxColumnNameLength + 10; // need enough for ppp-XXX.txt - e.g. ppp-comm-1.txt, ppp-btcomm-10.txt etc TBuf8<KModemNameLen> modemName;