Bug 991445 - Part 1: Update CP Code Page 0 to the one defined in OMA-WAP-TS-ProvCont-V1_1-20090421-C. r=vyang
authorBevis Tseng <btseng@mozilla.com>
Tue, 22 Apr 2014 16:41:19 +0800
changeset 198413 9f8d77205b1fdb9beadd515956bb85ea5bf4d85e
parent 198412 5fc0b3d07c65490fe8bcf641ca7d7fefc776bd5e
child 198414 50e4a1ca236c56adbca57bbb2d004e0dadf74a35
push id3624
push userasasaki@mozilla.com
push dateMon, 09 Jun 2014 21:49:01 +0000
treeherdermozilla-beta@b1a5da15899a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersvyang
bugs991445, 20090421
milestone31.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 991445 - Part 1: Update CP Code Page 0 to the one defined in OMA-WAP-TS-ProvCont-V1_1-20090421-C. r=vyang
dom/wappush/src/gonk/CpPduHelper.jsm
--- a/dom/wappush/src/gonk/CpPduHelper.jsm
+++ b/dom/wappush/src/gonk/CpPduHelper.jsm
@@ -205,18 +205,17 @@ this.Authenticator = {
         return null;
     }
   }
 };
 
 /**
   * Tag tokens
   *
-  * @see WAP-183-ProvCont-20010724-A, clause 8.1 for code page 0
-  * @see OMA-WAP-TS-ProvCont-V1_1-20090421-C, clause 7.1 for code page 1
+  * @see OMA-WAP-TS-ProvCont-V1_1-20090421-C, clause 7.1
   */
 const CP_TAG_FIELDS = (function () {
   let names = {};
   function add(name, codepage, number) {
     let entry = {
       name: name,
       number: number,
     };
@@ -235,18 +234,17 @@ const CP_TAG_FIELDS = (function () {
   add("parm",                1, 0x07);
 
   return names;
 })();
 
 /**
   * Attribute Tokens
   *
-  * @see WAP-183-ProvCont-20010724-A, clause 8.2 for code page 0
-  * @see OMA-WAP-TS-ProvCont-V1_1-20090421-C, clause 7.2 for code page 1
+  * @see OMA-WAP-TS-ProvCont-V1_1-20090421-C, clause 7.2
   */
 const CP_ATTRIBUTE_FIELDS = (function () {
   let names = {};
   function add(name, value, codepage, number) {
     let entry = {
       name: name,
       value: value,
       number: number,
@@ -309,33 +307,45 @@ const CP_ATTRIBUTE_FIELDS = (function ()
   add("name",     "MAX-BITRATE-UPLINK",           0,  0x35);
   add("name",     "MAX-BITRATE-DNLINK",           0,  0x36);
   add("name",     "RESIDUAL-BER",                 0,  0x37);
   add("name",     "SDU-ERROR-RATIO",              0,  0x38);
   add("name",     "TRAFFIC-HANDL-PRIO",           0,  0x39);
   add("name",     "TRANSFER-DELAY",               0,  0x3A);
   add("name",     "GUARANTEED-BITRATE-UPLINK",    0,  0x3B);
   add("name",     "GUARANTEED-BITRATE-DNLINK",    0,  0x3C);
+  add("name",     "PXADDR-FQDN",                  0,  0x3D);
+  add("name",     "PROXY-PW",                     0,  0x3E);
+  add("name",     "PPGAUTH-TYPE",                 0,  0x3F);
   add("version",  "",                             0,  0x45);
   add("version",  "1.0",                          0,  0x46);
+  add("name",     "PULLENABLED",                  0,  0x47);
+  add("name",     "DNS-ADDR",                     0,  0x48);
+  add("name",     "MAX-NUM-RETRY",                0,  0x49);
+  add("name",     "FIRST-RETRY-TIMEOUT",          0,  0x4A);
+  add("name",     "REREG-THRESHOLD",              0,  0x4B);
+  add("name",     "T-BIT",                        0,  0x4C);
+  add("name",     "AUTH-ENTITY",                  0,  0x4E);
+  add("name",     "SPI",                          0,  0x4F);
   add("type",     "",                             0,  0x50);
   add("type",     "PXLOGICAL",                    0,  0x51);
   add("type",     "PXPHYSICAL",                   0,  0x52);
   add("type",     "PORT",                         0,  0x53);
   add("type",     "VALIDITY",                     0,  0x54);
   add("type",     "NAPDEF",                       0,  0x55);
   add("type",     "BOOTSTRAP",                    0,  0x56);
 /*
  *  Mark out VENDORCONFIG so if it is contained in message, parse
  *  will failed and raw data is returned.
  */
 //  add("type",     "VENDORCONFIG",                 0,  0x57);
   add("type",     "CLIENTIDENTITY",               0,  0x58);
   add("type",     "PXAUTHINFO",                   0,  0x59);
   add("type",     "NAPAUTHINFO",                  0,  0x5A);
+  add("type",     "ACCESS",                       0,  0x5B);
 
   // Code page 1
   add("name",     "",                             1,  0x05);
   add("value",    "",                             1,  0x06);
   add("name",     "NAME",                         1,  0x07);
   add("name",     "INTERNET",                     1,  0x14);
   add("name",     "STARTPAGE",                    1,  0x1C);
   add("name",     "TO-NAPID",                     1,  0x22);
@@ -364,18 +374,17 @@ const CP_ATTRIBUTE_FIELDS = (function ()
   add("type",     "RESOURCE",                     1,  0x59);
 
   return names;
 })();
 
 /**
   * Value Tokens
   *
-  * @see WAP-183-ProvCont-20010724-A, clause 8.3 for code page 0
-  * @see OMA-WAP-TS-ProvCont-V1_1-20090421-C, clause 7.3 for code page 1
+  * @see OMA-WAP-TS-ProvCont-V1_1-20090421-C, clause 7.3
   */
 const CP_VALUE_FIELDS = (function () {
   let names = {};
   function add(value, codepage, number) {
     let entry = {
       value: value,
       number: number,
     };