############################################################################
###################              T E S T 0              ####################
############################################################################
# Test case for SBLP
############################################################################
[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

# 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 = 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, 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, 0, 0, 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, 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, 2031, 2031, 4461, 4461, 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 = SECONDARY1,0x01, 0x01, 0x04, 0x04, 0x08, 0x08, 128, 128, 128, 128, 128, 128, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 128, 128, 128, 128, 128, 128
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

# These match the first set of qos ReqR5 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 = 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 = SECONDARY1,0x01, 0x01, 0x04, 0x04, 0x08, 0x08,  128,  128,  128, 128,  128, 128, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 128, 128, 128, 128,   128, 128,  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 =   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>
#		=<contextName> <> <> <> <> <MaximumPacketSize> <> <> <> <LinkDelay> <UplinkBandwidth><DownlinkBandwidth>

# [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)
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 = 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

# [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, 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 = SECONDARY1, 0x03, 0x01, 0x04, 0x08, 128,  0x01, 0x01, 0x01, 128,   128,  128,   128,   128,  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 = 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 = 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
NetworkRegStatus= 5,1
NetworkRegStatus= 5,1
NetworkRegStatus= 5,1
NetworkRegStatus= 5,1
NetworkRegStatus= 5,2
NetworkRegStatus= 5,2
NetworkRegStatus= 5,2

# CommSetup = <CsyName> <portName> <datarate> <handshake> <contextName> 
CommSetup= PKTLOOPBACK.CSY, PKTLOOPBACK::502, 18, 0, PRIMARY1
CommSetup= PKTLOOPBACK.CSY, PKTLOOPBACK::504, 18, 0, PRIMARY2
CommSetup= PKTLOOPBACK.CSY, PKTLOOPBACK::506, 18, 0, SBLP_CONTEXT1
CommSetup= PKTLOOPBACK.CSY, PKTLOOPBACK::510, 18, 0, SECONDARY2
CommSetup= PKTLOOPBACK.CSY, PKTLOOPBACK::512, 18, 0, SBLP_CONTEXT2
CommSetup= PKTLOOPBACK.CSY, PKTLOOPBACK::514, 18, 0, SBLP_CONTEXT3
CommSetup= PKTLOOPBACK.CSY, PKTLOOPBACK::516, 18, 0, SBLP_CONTEXT4	
CommSetup= PKTLOOPBACK.CSY, PKTLOOPBACK::508, 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 = PRIMARY1, 0, 4
NotifyContextStatusChange = PRIMARY1, 0, 1
NotifyContextStatusChange = SBLP_CONTEXT1, 0 ,6
NotifyContextStatusChange = SBLP_CONTEXT1, 0 ,4
NotifyContextStatusChange = SBLP_CONTEXT1, 0 ,1
NotifyContextStatusChange = SBLP_CONTEXT1, 0 ,5
NotifyContextStatusChange = SBLP_CONTEXT1, 0 ,3
NotifyContextStatusChange = SBLP_CONTEXT1, 0 ,3
NotifyContextStatusChange = SBLP_CONTEXT1, 0 ,3
NotifyContextStatusChange = SBLP_CONTEXT1, 0 ,3
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 = SECONDARY1, 0, 5
NotifyContextStatusChange = SECONDARY1, 0, 3
