diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2015-05-05 21:16:19 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2015-05-05 21:16:19 +0200 |
commit | 4c8e8f990a24fc5ecb24c5c21c944d8ab4dc7c1e (patch) | |
tree | eca760e9ec46564f520252834170bedb74071eb5 /openbsc/doc/sgsn-remote-protocol.txt | |
parent | 337343d159888886eaa68476b70dbe19db93845b (diff) | |
parent | d05e06989def81f886c673956da476e626a27af5 (diff) |
Merge branch 'zecke/features/gprs-gsup-fixes'
When communicating with a GGSN that is not the OpenGGSN
the PDP context activation does fail. This is because on
the activation of the first PDP context we need to supply
a MSISDN. Extend the protocol, parse the MSISDN and then
send it to the GGSN. The second item is that we have only
forwarded the requested QoS of the subscriber. In most
cases this is 0x0, 0x0, ... which means one requests a
rate 0 byte/sec which the GGSN will not allow. Make it
possible to receive, store and use the subscribed QoS of
the Subscriber.
Diffstat (limited to 'openbsc/doc/sgsn-remote-protocol.txt')
-rw-r--r-- | openbsc/doc/sgsn-remote-protocol.txt | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/openbsc/doc/sgsn-remote-protocol.txt b/openbsc/doc/sgsn-remote-protocol.txt index 3369d19b1..acb24a5ef 100644 --- a/openbsc/doc/sgsn-remote-protocol.txt +++ b/openbsc/doc/sgsn-remote-protocol.txt @@ -119,6 +119,7 @@ Network peer -> SGSN IEI Info Element Type Pres. Format Length Message type 4.2.1 M V 1 01 IMSI 4.2.9 M TLV 2-10 + 08 MSISDN 4.2.10 O TLV 0-9 04 PDP info complete 4.2.8 O TLV 2 05 PDP info 4.2.3 1-10 TLV @@ -279,6 +280,7 @@ This is a container for information elements describing a single PDP. 10 PDP context id big endian int, 1-N C TLV 3 11 PDP type 4.2.4 C TLV 4 12 Access point name 04.08, 10.5.6.1 C TLV 3-102 + 13 Quality of Service 4.2.11 O TLV 1-20 The conditional IE are mandantory unless mentioned otherwise. @@ -354,9 +356,11 @@ IEI that shall be used for the encoding. | 0x05 PDP info 4.2.3 | | 0x06 Cancel type 4.2.6 | | 0x07 Freeze P-TMSI 4.2.8 | + | 0x08 MSISDN ISDN-AddressString/octet, 4.2.10 | | 0x10 PDP context id big endian int | | 0x11 PDP type 4.2.4 | | 0x12 APN 04.08, 10.5.6.1 | + | 0x13 QoS 4.2.11 | | 0x20 RAND octet string | | 0x21 SRES octet string | | 0x22 Kc octet string | @@ -397,3 +401,44 @@ The IMSI is encoded like in octet 4-N of the Called Party BCD Number defined in Note 1) Either '1 1 1 1 | Number digit N' (N odd) or 'Number digit N | Number digit N-1' (N even), where N is the number of digits. + +4.2.10. ISDN-AddressString / MSISDN / Called Party BCD Number + +The MSISDN is encoded as an ISDN-AddressString in GSM 09.02 and Called Party +BCD Number in GSM 04.08. It will be stored by the SGSN and then passed as is +to the GGSN during the activation of the primary PDP Context. + + 8 7 6 5 4 3 2 1 + +-----------------------------------------------------+ + | | IEI | octet 1 + +-----------------------------------------------------+ + | Length of IE contents | octet 2 + +-----------------------------------------------------+ + | ext | Type of num | Numbering plan | octet 2 + +-----------------------------------------------------+ + | Number digit 2 | Number digit 1 | octet 3 + +-----------------------------------------------------+ + | Number digit 4 | Number digit 3 | octet 4 + +-----------------------------------------------------+ + : : : + +-----------------------------------------------------+ + + +4.2.11 Quality of Service Subscribed Service + +This encodes the subscribed QoS of a subscriber. It will be used by the +SGSN during the PDP Context activation. If the length of the QoS data +is 3 (three) octets it is assumed that these are octets 3-5 of the TS +3GPP TS 24.008 Quality of Service Octets. If it is more than three then +then it is assumed that the first octet is the Allocation/Retention +Priority and the reset are encoded as octets 3-N of 24.008. + + + 8 7 6 5 4 3 2 1 + +-----------------------------------------------------+ + | | IEI | octet 1 + +-----------------------------------------------------+ + | Length of IE contents | octet 2 + +-----------------------------------------------------+ + : : : + +-----------------------------------------------------+ |