############################################################################
############################################################################
###################              T E S T 0              ####################
############################################################################
############################################################################
# Test case for success results
############################################################################
[test0]
# 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


#SetContextConfigR5= <TProtocolType>, <TGSNAddress>, <TProtocolAddress>, <TUseEdge>, <Authentication Protocol>, <Username>, <Password>, <Challenge>,
# <Response>, <PrimaryDNS>, <SecondaryDNS>, <TUint iId>, <THeaderCompression>, <TDataCompression>, <No. Additional Context Config Params>
#SetContextConfigR5= 0, SYMBIAN INTERNET PROVIDER, PROTOCOL ADDRESS, 0, 2, USER3, PASSWORD3, CHALLENGE3, RESPONSE3, PRIMARYSERVER3, SECONDARYSERVER3, 3, 2, 1, 1

#AdditionalParamItem= <TPcoProtocolId>, <TBuf8 AdditionalParamData>
#AdditionalParamItem= 0x04, ADDITIONALPARAM1

# 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 = SECONDARY1, 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>

# Using this filter while we're using a pre-bound local port, which we have to do because simtsy requires a specific port to be matched (DEF085703 raised)
TFTfilter = 1, 0, 0.0.0.0.0.0.0.0.0.0.255.255.192.168.20.11, 255.255.255.255.255.255.255.255.255.255.255.255.255.255.255.255, 17, 7, 7, 40000, 40000, 0, 0, 0

# If the proposed fix for DEF085703 is accepted then this line can be used (0 meaning ignore the destination port) - NOTE: simtsy dest port = RSocket src port
#TFTfilter = 1, 0, 0.0.0.0.0.0.0.0.0.0.255.255.192.168.10.11, 255.255.255.255.255.255.255.255.255.255.255.255.255.255.255.255, 17, 7, 7, 0, 0, 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>


#TProfileReqR5   = 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>                25<signallingIndicator>
#                  26<sourceStatsDescription>

## These match the default context default qos from the db
#                 (0)         (1)   (2)   (3)   (4)   (5)   (6)   (7)   (8)   (9)  (10)  (11) (12) (13)  (14)  (15)  (16)  (17)  (18) (19) (20) (21)  (22)  (23) (24) (25) (26)
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


# These match the first set of qos requested in ini files for tests 41, 43
#                 (0)         (1)   (2)   (3)   (4)   (5)   (6)   (7)   (8)   (9)  (10)  (11) (12) (13)  (14)  (15)  (16)  (17)  (18) (19) (20) (21)  (22)  (23) (24) (25) (26)
QosProfileReqR5 = SECONDARY1, 0x10, 0x10, 0x01, 0x01, 0x08, 0x08, 1500, 1500, 1584, 1584, 0,   0,  0x01, 0x01, 0x01, 0x01, 0x01,  0x01, 0,   0,  1584, 1584,  0,   0,   0,   0

# These match the second set of qos requested from the test ini file for tests 41, 43
#                 (0)         (1)   (2)   (3)   (4)   (5)   (6)   (7)   (8)    (9)  (10)   (11)  (12)  (13)  (14)  (15)  (16)  (17)  (18) (19) (20) (21)  (22)  (23) (24) (25) (26)
QosProfileReqR5 = SECONDARY1, 0x04, 0x02, 0x04, 0x01, 0x08, 0x08,  1500, 128,  128,  128,   0,    0,   0x20, 0x01, 0x10, 0x01, 0x04, 0x01, 128, 128, 128, 128,   0,   0,    1,   1


#TProfileNegR99 =   0<contextName>      1<duration>             2<negTraffic>       3<negDeliveryOrder>             4<negErroneousSDUDelivery>
#                   5<negMaxSDUSize>    6<negBitErrorRatio>     7<negSDUErrorRatio> 8<negTrafficHandlingPriority>   9<negTransferDelay>
#                   10<negGuaranteedUpLinkBitRate>              11<negGuaranteedDownLinkBitRate>                    12<negMaxUpLinkRate>
#                   13<negMaxDownLinkRate>                      14<signallingIndicator>                             15<sourceStatsDescription>

# [requested]     [0]         [-]   [1]   [3]   [5]   [7]   [13]  [15]  [17]  [19]  [21]  [22]  [9]    [10]  [24] [25]          
#                 (0)         (1)   (2)   (3)   (4)   (5)   (6)   (7)   (8)   (9)   (10)  (11)  (12)   (13)  (14) (15)
QosProfileNegR5 = PRIMARY1,   0x03, 0x01, 0x01, 0x01, 0,    0x01, 0x01, 0x01, 128,  128,  128,  128,   128,  0,    0
QosProfileNegR5 = PRIMARY1,   0x03, 0x02, 0x02, 0x08, 1500, 0x20, 0x10, 0x04, 128,  256,  256,  256,   256,  1,    1
QosProfileNegR5 = SECONDARY1, 0x01, 0x10, 0x01, 0x08, 1500, 0x01, 0x01, 0x01, 128,  256,  256,  256,   256,  0,    0
QosProfileNegR5 = SECONDARY1, 0x01, 0x04, 0x04, 0x08, 1500, 0x20, 0x10, 0x04, 128,  128,  128,  128,   128,  1,    1

QosNetworkNotificationType = PublishSubscribe
# QosNetworkNotification =  0<contextName>          1<duration>         2<negTraffic>       3<negDeliveryOrder>         4<negErroneousSDUDelivery>
#                           5<negMaxSDUSize>        6<negBitErrorRatio> 7<negSDUErrorRatio> 8<negTrafficHandlingPriority>
#                           9<negTransferDelay>     10<negGuaranteedUpLinkBitRate>          11<negGuaranteedDownLinkBitRate>
#                           12<negMaxUpLinkRate>    13<negMaxDownLinkRate>                  13<negMaxSDUSize>           14<signallingIndicator>
#                           15<sourceStatsDescription>

#                          (0)         (1)   (2)   (3)   (4)   (5)   (6)   (7)   (8)   (9)   (10)  (11)  (12)  (13)  (14) (15)
QosR5NetworkNotification = SECONDARY1, 0x01, 0x04, 0x04, 0x08, 1500, 0x20, 0x10, 0x02, 128,  256,  256,  256,  256,   0,   1
QosR5NetworkNotification = SECONDARY1, 0x01, 0x04, 0x04, 0x08, 1500, 0x20, 0x10, 0x02, 128,  256,  256,  256,  256,   1,   0


#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::504, 18, 0, SECONDARY1


############################################################################
# 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 = SECONDARY1, 0, 6


# EStatusSuspended = 5 EStatusActive = 3
#NotifyContextStatusChange = PRIMARY1, 0, 5
#NotifyContextStatusChange = SECONDARY1, 0, 5


