# ModuleSpecs
modulespec guqos= {
	STRING module = guqos.prt
	INTEGER id=368
	INTEGER flags = 1
	}

# FlowSpecs
flowspec override = {
	INTEGER token_rate_uplink = 1500
	}

flowspec default_flow_spec = {
	INTEGER max_transfer_rate_uplink = 1500
	INTEGER token_rate_uplink = 1500
	INTEGER token_bucket_size_uplink = 3000
	INTEGER max_packet_size_uplink = 1500
	INTEGER min_policed_unit_uplink = 1500
	INTEGER priority_uplink = 1
	INTEGER drop_mode_uplink = 8
	INTEGER max_transfer_rate_downlink = 1500
	INTEGER token_rate_downlink = 1500
	INTEGER token_bucket_size_downlink = 3000
	INTEGER max_packet_size_downlink = 1500
	INTEGER min_policed_unit_downlink = 1500
	INTEGER priority_downlink = 1
	INTEGER drop_mode_downlink = 8
	}

# UMTS Specs

# Default APN should always be specified!
extension_spec default_extension_spec = {
	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 guqos_default = {
	INTEGER type = 5
	INTEGER extension_type = 5
	# Subscribed
	INTEGER TrafficClassRequested = 1
	# Subscribed
	INTEGER TrafficClassMinimum = 1
	# Subscribed
	INTEGER DeliveryOrderRequested = 1
	# Subscribed
	INTEGER DeliveryOrderMinimum = 1
	# Subscribed
	INTEGER DeliveryOfErroneusSduRequested = 1
	# Subscribed
	INTEGER DeliveryOfErroneusSduMinimum = 1
	# Subscribed
	INTEGER MaxSduSizeRequested = 0
	# Subscribed
	INTEGER MaxSduSizeMinimum = 0
	# Subscribed
	INTEGER MaxBitrateUplinkRequested = 0
	# Subscribed
	INTEGER MaxBitrateDownlinkRequested = 0
	# Subscribed
	INTEGER MaxBitrateUplinkMinimum = 0
	# Subscribed
	INTEGER MaxBitrateDownlinkMinimum = 0
	# iReqBER Subscribed
	INTEGER ResidualBerRequested = 1
	# iMaxBER Subscribed
	INTEGER ResidualBerMinimum = 1
	# ReqSDUErrorratio Subscribed
	INTEGER ErrorRatioRequested = 1
	# MaxSDUErrorratio Subscribed
	INTEGER ErrorRatioMinimum =1
	INTEGER PriorityRequested = 1
	INTEGER PriorityMinimum = 1
    # Subscribed
	INTEGER TransferDelayRequested = 0
    # Subscribed
	INTEGER TransferDelayMinimum = 0
    # Subscribed
	INTEGER GuaBitrateUplinkRequested = 0
    # Subscribed
	INTEGER GuaBitrateUplinkMinimum = 0
    # Subscribed
	INTEGER GuaBitrateDownlinkRequested = 0
    # Subscribed
	INTEGER GuaBitrateDownlinkMinimum = 0
}



# Default APN should always be specified!
extension_spec web = {
	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
	}


# Module selectors (none)
#module_policy dst_port 0 dst_port_max 65535 priority 1 = { guqos }

# Flowspec selectors
flowspec_policy dst_port 9 priority 1 = { default_flow_spec }
#flowspec_policy dst_port 0 dst_port_max 65535 priority 2 = { override }
#flowspec_policy dst_port 0 priority 0 = { default }

# GPRS selectors
# extension_policy src_port 0 src_port_max 65535 priority 0  = { default_extension_spec }

# guqos_default 
extension_policy src_port 0 src_port_max 65535 priority 0 = { guqos_default }
