(RADIATOR) Additional dictionary entries

Jose Borges Ferreira underspell at gmail.com
Wed Apr 18 21:30:41 CDT 2007


Apparently boolean will only define a true/false option.
But to extract a 8 bit value, boolean was the only option available. I went
to Radius.pm and it was the only that extracted a 8-bit value (  unpack 'C',
$_[0]; ) was boolean. A clean aproach is to create a "short" type that would
unpack a "C" out of the packet.

Here is the 3gpp spec 29.061 (both latest R6 and R7 define yhis way)

*21 - *3GPP-*RAT-Type*





Bits

Octets



8

7

6

5

4

3

2

1

1



3GPP type = 21

2



3GPP Length= 3

3



RAT



3GPP Type: 21

The 3GPP-RAT-Type attribute indicates which Radio Access Technology is
currently serving the UE.

RAT field: Radio Access Technology type values. It shall be coded as
specified in TS 29.060 [24]. RAT field is Octet String type.

José Borges Ferreira

On 4/12/07, Hartmaier Alexander <Alexander.Hartmaier at t-systems.at> wrote:
>
>  How can the 3GPP-RAT-TYPE be boolean when it has 3 possible values?
>
>
>
> -Alex
>
>
>
> *From:* Jose Borges Ferreira [mailto:underspell at gmail.com]
> *Sent:* Thursday, April 12, 2007 6:27 PM
> *To:* Hartmaier Alexander
> *Subject:* Re: (RADIATOR) Additional dictionary entries
>
>
>
>
>
> We have those attributes defined slightly different
> As off 3GPP TS 29.061 V6.11.0 (2007-03)
>
> VENDORATTR  10415   3GPP-Teardown-Indicator             19      integer
> VENDORATTR  10415   3GPP-IMEISV                         20      string
> VENDORATTR  10415   3GPP-RAT-TYPE                       21      boolean
> VENDORATTR  10415   3GPP-User-Location-Information      22      binary
> VENDORATTR  10415   3GPP-MS-Timezone                    23      integer
> VENDORATTR  10415   3GPP-Camel-Charging-Info            24      string
> VENDORATTR  10415   3GPP-Packet-Filter                  25      binary
> VENDORATTR  10415   3GPP-Negotiated-DSCP                26      string
>
> VALUE               3GPP-PDP-Type               IP      0
> VALUE               3GPP-PDP-Type               PPP     1
>
> VALUE               3GPP-RAT-Type               UTRAN   1
> VALUE               3GPP-RAT-Type               GERAN   2
> VALUE               3GPP-RAT-Type               WLAN    3
>
>
> dfs
>
>
>
> On 4/12/07, Hartmaier Alexander <Alexander.Hartmaier at t-systems.at> wrote:
> >
> >
> >
> >
> > Hi!
> >
> >
> >
> > Can you add those attributes to the default dictionary in the next
> version?
> >
> >
> >
> > VENDORATTR      10415   3GPP-Teardown-Indicator
> 19      integer
> >
> > VENDORATTR      10415   3GPP-IMEISV                     20      string
> >
> > VENDORATTR      10415   3GPP-RAT-Type                   21      string
> >
> > VENDORATTR      10415   3GPP-User-Location-Info         22      string
>
> >
> > VENDORATTR      10415   3GPP-MS-Timezone                23      string
> >
> > VENDORATTR      10415   3GPP-Camel-Charging-Info        24      string
> >
> > VENDORATTR      10415   3GPP-Packet-Filter              25      string
>
> >
> > VENDORATTR      10415   3GPP-Negotiated-DSCP            26      string
> >
> >
> >
> > Thanks!
> >
> >
> >
> > With best regards
> >
> > Alexander Hartmaier
> >
> >
> >
> > T-Systems Austria GesmbH
> >
> > Rennweg 97-99
> >
> > A-1030 Vienna
> >
> >
> >
> > phone: +43-(0)57057-4320
> >
> > mobile: +43-(0)676-8642-4320
> >
> >
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.open.com.au/pipermail/radiator/attachments/20070419/c7590a9f/attachment.html>


More information about the radiator mailing list