Update dictionary files from FreeRadius 2.1.6 [5/18/09]: part 2:
[obnox/wireshark/wip.git] / radius / dictionary.nokia
index 54eb6832599310af59edf8a06084e4af0950c5dd..517e9e30329c7caddaaa6555f9b6c2295834b2a7 100644 (file)
@@ -1,28 +1,38 @@
+# -*- text -*-
+######################################################################
 #
 #      Nokia dictionary
 #      $Id$
 #
-#       Enable by putting the line "$INCLUDE dictionary.nokia" into
-#       the main dictionary file. Don't forget to comment out the
-#       $INCLUDE dictionary.ascend, because these over-lap with the
-#       standard RADIUS attributes, which are also illegitimately used
-#       by Ascend.
-#
-#      It's apparently rocket science for people to define their own
-#      VSA's.
-#
+######################################################################
+
+VENDOR         Nokia                           94
+
+BEGIN-VENDOR   Nokia
+
+ATTRIBUTE      Nokia-AVPair                            1       string
+ATTRIBUTE      Nokia-User-Profile                      2       string
+ATTRIBUTE      Nokia-Service-Name                      3       octets  # magic format
+ATTRIBUTE      Nokia-Service-Id                        4       octets  # magic format
+ATTRIBUTE      Nokia-Service-Username                  5       octets  # magic format
+ATTRIBUTE      Nokia-Service-Password                  6       octets  # magic format
+ATTRIBUTE      Nokia-Service-Primary-Indicator         7       octets
+ATTRIBUTE      Nokia-Service-Charging-Type             8       octets # magic format
+ATTRIBUTE      Nokia-Service-Encrypted-Password        9       octets # magic format
+ATTRIBUTE      Nokia-Session-Access-Method             10      octets
+ATTRIBUTE      Nokia-Session-Charging-Type             11      octets
+ATTRIBUTE      Nokia-OCS-ID1                           12      integer
+ATTRIBUTE      Nokia-OCS-ID2                           13      integer
+ATTRIBUTE      Nokia-TREC-Index                        14      integer
+ATTRIBUTE      Nokia-Requested-APN                     15      string
+END-VENDOR     Nokia
 
 #
-#      The format of this attribute is binary coded decimal (BCD)
-#      with the last four bits all set to 1 if there are an odd
+#      The format of some Nokia attributes is binary coded decimal
+#      (BCD) with the last four bits all set to 1 if there are an odd
 #      number of digits,
 #
 #      e.g 123 is encoded as hexadecimal bytes 21 F3
 #
 #      This is an incredibly stupid way of encoding the data.
 #
-ATTRIBUTE      Nokia-IMSI                      224     octets
-ATTRIBUTE      Nokia-Charging-Id               225     integer
-ATTRIBUTE      Nokia-Prepaid-Ind               226     integer
-ATTRIBUTE      Nokia-GGSN-IP-Address           227     ipaddr
-ATTRIBUTE      Nokia-SGSN-IP-Address           228     ipaddr