#
# Copyright (c) 2003-2009 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:
#
# Path: c:\qospoliciesuid.ini
extension_spec apn1 = {
INTEGER type = 5
INTEGER extension_type = 5
INTEGER TrafficClassRequested = 1
INTEGER TransferDelayRequested = 500
INTEGER GuaBitrateDownlinkRequested = 2048
INTEGER GuaBitrateUplinkRequested = 1024
INTEGER HeaderCompressionRequested = 1
}
# Default APN should always be specified!
extension_spec default = {
INTEGER type = 5
INTEGER extension_type = 5
INTEGER TrafficClassRequested = 4
INTEGER MaxBitrateUplinkRequested = 2048
INTEGER MaxBitrateDownlinkRequested = 2048
INTEGER GuaBitrateUplinkRequested = 1024
INTEGER GuaBitrateDownlinkRequested = 1024
INTEGER HeaderCompressionRequested = 1
}
extension_spec rest = {
INTEGER type = 5
INTEGER extension_type = 5
INTEGER TrafficClassRequested = 3
INTEGER MaxBitrateUplinkRequested = 2048
INTEGER MaxBitrateDownlinkRequested = 2048
INTEGER GuaBitrateUplinkRequested = 1024
INTEGER GuaBitrateDownlinkRequested = 1024
INTEGER HeaderCompressionRequested 1
}
# FlowSpecs
flowspec spec1 = {
INTEGER uplink_bandwidth = 1024
INTEGER uplink_maximum_burst_size = 896
INTEGER uplink_maximum_packet_size = 768
INTEGER uplink_average_packet_size = 0
INTEGER uplink_delay = 0
INTEGER uplink_priority = 3
INTEGER downlink_bandwidth = 1025
INTEGER downlink_maximum_burst_size = 897
INTEGER downlink_maximum_packet_size = 769
INTEGER downlink_average_packet_size = 1
INTEGER downlink_delay = 1
INTEGER downlink_priority = 4
STRING name = myFlow
}
# Selectors
extension_policy protocol 6 priority 1 = { apn1 }
extension_policy dst_port 80 priority 1 = { apn1 }
extension_policy dst_port 21 priority 1 = { rest }
extension_policy dst_port 20 priority 1 = { rest }
extension_policy src_port 0 src_port_max 65535 priority 1 = { default }
# By test case 202 matching this selector, we know that policies can be matched via UIDs
flowspec_policy protocol 17 priority 1 uid1 268435578 uid2 270504915 uid3 0 = { spec1 }