Review at  https://gerrit.osmocom.org/3152

sgsn: Add charging characteristics to GSUP

Reserve a new IE for the charging characteristics. We need to handle
them as a GGSN might otherwise reject the PDP context creation. For
the SGSN it is enough to send the two octets as it.

Pick the 0x1X range for the IEs as it is used with the PDP contexts.

Change-Id: I1d7423582e154728a240cf15c32772a06822f4ad
---
M OsmoSGSN/chapters/gsup.adoc
1 file changed, 24 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-gsm-manuals 
refs/changes/52/3152/1

diff --git a/OsmoSGSN/chapters/gsup.adoc b/OsmoSGSN/chapters/gsup.adoc
index 9110f08..733b60e 100644
--- a/OsmoSGSN/chapters/gsup.adoc
+++ b/OsmoSGSN/chapters/gsup.adoc
@@ -390,6 +390,7 @@
 |09|HLR Number|<<gsup-ie-hlr>>|O|TLV|0-9
 |04|PDP info complete|<<gsup-ie-empty>>|M|TLV|2
 |05|PDP info|<<gsup-ie-pdpinfo>>|0-10|TLV|
+|14|PDP-Charging Characteristics|<<gsup-ie-charging>>|O|TLV|4
 |===
 
 If the PDP info complete IE is present, the old PDP info list shall be cleared.
@@ -503,6 +504,7 @@
 |11|PDP Type|<<gsup-ie-pdptype>>|C|TLV|4
 |12|Access Point Name|<<gsup-ie-apn>>|C|TLV|3-102
 |13|Quality of Service|<<gsup-ie-qos>>|O|TLV|1-20
+|14|PDP-Charging Characteristics|<<gsup-ie-charging>>|O|TLV|4
 |===
 
 The conditional IE are mandantory unless mentioned otherwise.
@@ -692,6 +694,7 @@
 |0x11|PDP Type|<<gsup-ie-pdptype>>
 |0x12|Access Point Name|<<gsup-ie-apn>>
 |0x13|QoS|<<gsup-ie-qos>>
+|0x14|PDP-Charging Characteristics|<<gsup-ie-charging>>
 |0x20|RAND|<<gsup-ie-rand>>
 |0x21|SRES|<<gsup-ie-sres>>
 |0x22|Kc|<<gsup-ie-kc>>
@@ -802,6 +805,27 @@
 }
 ----
 
+
+[[gsup-ie-charging]]
+==== PDP-Charging Characteristics
+
+This encodes the ChargingCharacteristics of 3GPP TS 32.215. A HLR may
+send this as part of the InsertSubscriberData or within a single PDP
+context definition. If the HLR supplies this information it must be
+used by the SGSN when activating a PDP context.
+
+[packetdiag]
+----
+{
+       colwidth = 8
+       node_height = 24
+
+       0-3:    Profile Index
+       4-15:   Behavior
+}
+----
+
+
 [[gsup-ie-hlr]]
 ==== HLR Number encoded as 3GPP TS 09.02 ISDN-AddressString
 

-- 
To view, visit https://gerrit.osmocom.org/3152
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1d7423582e154728a240cf15c32772a06822f4ad
Gerrit-PatchSet: 1
Gerrit-Project: osmo-gsm-manuals
Gerrit-Branch: master
Gerrit-Owner: Holger Freyther <hol...@freyther.de>

Reply via email to