Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 1 | ===== NS protocol test START |
Jacob Erlbeck | a52ba01 | 2013-10-24 01:33:21 +0200 | [diff] [blame] | 2 | --- Create via RESET (round 0) --- |
| 3 | |
| 4 | PROCESSING RESET from 0x01020304:1111 |
| 5 | 02 00 81 01 01 82 10 01 04 82 10 00 |
| 6 | |
| 7 | ==> got signal NS_RESET, NS-VC 0x1001/1.2.3.4:1111 |
| 8 | MESSAGE to BSS, msg length 9 |
| 9 | 03 01 82 10 01 04 82 10 00 |
| 10 | |
| 11 | MESSAGE to BSS, msg length 1 |
| 12 | 0a |
| 13 | |
| 14 | result (RESET) = 9 |
| 15 | |
| 16 | Current NS-VCIs: |
| 17 | VCI 0x1001, NSEI 0x1000, peer 0x01020304:1111, blocked |
| 18 | |
| 19 | --- Delete nsvc object (round 0)--- |
| 20 | |
| 21 | Current NS-VCIs: |
| 22 | |
| 23 | --- Create via RESET (round 1) --- |
| 24 | |
| 25 | PROCESSING RESET from 0x01020304:1111 |
| 26 | 02 00 81 01 01 82 10 01 04 82 10 00 |
| 27 | |
| 28 | ==> got signal NS_RESET, NS-VC 0x1001/1.2.3.4:1111 |
| 29 | MESSAGE to BSS, msg length 9 |
| 30 | 03 01 82 10 01 04 82 10 00 |
| 31 | |
| 32 | MESSAGE to BSS, msg length 1 |
| 33 | 0a |
| 34 | |
| 35 | result (RESET) = 9 |
| 36 | |
| 37 | Current NS-VCIs: |
| 38 | VCI 0x1001, NSEI 0x1000, peer 0x01020304:1111, blocked |
| 39 | |
| 40 | --- Delete nsvc object (round 1)--- |
| 41 | |
| 42 | Current NS-VCIs: |
| 43 | |
| 44 | --- Create via RESET (round 2) --- |
| 45 | |
| 46 | PROCESSING RESET from 0x01020304:1111 |
| 47 | 02 00 81 01 01 82 10 01 04 82 10 00 |
| 48 | |
| 49 | ==> got signal NS_RESET, NS-VC 0x1001/1.2.3.4:1111 |
| 50 | MESSAGE to BSS, msg length 9 |
| 51 | 03 01 82 10 01 04 82 10 00 |
| 52 | |
| 53 | MESSAGE to BSS, msg length 1 |
| 54 | 0a |
| 55 | |
| 56 | result (RESET) = 9 |
| 57 | |
| 58 | Current NS-VCIs: |
| 59 | VCI 0x1001, NSEI 0x1000, peer 0x01020304:1111, blocked |
| 60 | |
| 61 | --- Delete nsvc object (round 2)--- |
| 62 | |
| 63 | Current NS-VCIs: |
| 64 | |
| 65 | --- Create via RESET (round 3) --- |
| 66 | |
| 67 | PROCESSING RESET from 0x01020304:1111 |
| 68 | 02 00 81 01 01 82 10 01 04 82 10 00 |
| 69 | |
| 70 | ==> got signal NS_RESET, NS-VC 0x1001/1.2.3.4:1111 |
| 71 | MESSAGE to BSS, msg length 9 |
| 72 | 03 01 82 10 01 04 82 10 00 |
| 73 | |
| 74 | MESSAGE to BSS, msg length 1 |
| 75 | 0a |
| 76 | |
| 77 | result (RESET) = 9 |
| 78 | |
| 79 | Current NS-VCIs: |
| 80 | VCI 0x1001, NSEI 0x1000, peer 0x01020304:1111, blocked |
| 81 | |
| 82 | --- Delete nsvc object (round 3)--- |
| 83 | |
| 84 | Current NS-VCIs: |
| 85 | |
| 86 | --- Process timers --- |
| 87 | |
Jacob Erlbeck | 0d4e949 | 2013-10-17 13:58:34 +0200 | [diff] [blame] | 88 | --- Setup, send BSSGP RESET --- |
| 89 | |
| 90 | Setup NS-VC: remote 0x01020304:1111, NSVCI 0x1122(4386), NSEI 0x1122(4386) |
| 91 | |
Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 92 | PROCESSING RESET from 0x01020304:1111 |
| 93 | 02 00 81 01 01 82 11 22 04 82 11 22 |
| 94 | |
Jacob Erlbeck | 34fc470 | 2013-10-09 11:27:04 +0200 | [diff] [blame] | 95 | ==> got signal NS_RESET, NS-VC 0x1122/1.2.3.4:1111 |
Jacob Erlbeck | 0d4e949 | 2013-10-17 13:58:34 +0200 | [diff] [blame] | 96 | MESSAGE to BSS, msg length 9 |
Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 97 | 03 01 82 11 22 04 82 11 22 |
| 98 | |
Jacob Erlbeck | 0d4e949 | 2013-10-17 13:58:34 +0200 | [diff] [blame] | 99 | MESSAGE to BSS, msg length 1 |
Jacob Erlbeck | 05395a6 | 2013-10-08 12:04:45 +0200 | [diff] [blame] | 100 | 0a |
| 101 | |
Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 102 | result (RESET) = 9 |
| 103 | |
Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 104 | PROCESSING ALIVE from 0x01020304:1111 |
| 105 | 0a |
| 106 | |
Jacob Erlbeck | 0d4e949 | 2013-10-17 13:58:34 +0200 | [diff] [blame] | 107 | MESSAGE to BSS, msg length 1 |
Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 108 | 0b |
| 109 | |
| 110 | result (ALIVE) = 1 |
| 111 | |
| 112 | PROCESSING UNBLOCK from 0x01020304:1111 |
| 113 | 06 |
| 114 | |
Jacob Erlbeck | 34fc470 | 2013-10-09 11:27:04 +0200 | [diff] [blame] | 115 | ==> got signal NS_UNBLOCK, NS-VC 0x1122/1.2.3.4:1111 |
Jacob Erlbeck | 0d4e949 | 2013-10-17 13:58:34 +0200 | [diff] [blame] | 116 | MESSAGE to BSS, msg length 1 |
Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 117 | 07 |
| 118 | |
| 119 | result (UNBLOCK) = 1 |
| 120 | |
Jacob Erlbeck | 0d4e949 | 2013-10-17 13:58:34 +0200 | [diff] [blame] | 121 | PROCESSING ALIVE_ACK from 0x01020304:1111 |
| 122 | 0b |
| 123 | |
| 124 | result (ALIVE_ACK) = 0 |
| 125 | |
| 126 | Current NS-VCIs: |
| 127 | VCI 0x1122, NSEI 0x1122, peer 0x01020304:1111 |
| 128 | |
Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 129 | PROCESSING BSSGP RESET from 0x01020304:1111 |
| 130 | 00 00 00 00 22 04 82 4a 2e 07 81 08 08 88 10 20 30 40 50 60 10 00 |
| 131 | |
| 132 | CALLBACK, event 0, msg length 18, bvci 0x0000 |
| 133 | 22 04 82 4a 2e 07 81 08 08 88 10 20 30 40 50 60 10 00 |
| 134 | |
| 135 | result (BSSGP RESET) = 0 |
| 136 | |
| 137 | --- Peer port changes, RESET, message remains unchanged --- |
| 138 | |
| 139 | PROCESSING RESET from 0x01020304:2222 |
| 140 | 02 00 81 01 01 82 11 22 04 82 11 22 |
| 141 | |
Jacob Erlbeck | 34fc470 | 2013-10-09 11:27:04 +0200 | [diff] [blame] | 142 | ==> got signal NS_RESET, NS-VC 0x1122/1.2.3.4:2222 |
Jacob Erlbeck | 0d4e949 | 2013-10-17 13:58:34 +0200 | [diff] [blame] | 143 | MESSAGE to BSS, msg length 9 |
Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 144 | 03 01 82 11 22 04 82 11 22 |
| 145 | |
Jacob Erlbeck | 0d4e949 | 2013-10-17 13:58:34 +0200 | [diff] [blame] | 146 | MESSAGE to BSS, msg length 1 |
Jacob Erlbeck | 05395a6 | 2013-10-08 12:04:45 +0200 | [diff] [blame] | 147 | 0a |
| 148 | |
Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 149 | result (RESET) = 9 |
| 150 | |
| 151 | Current NS-VCIs: |
Jacob Erlbeck | 0d4e949 | 2013-10-17 13:58:34 +0200 | [diff] [blame] | 152 | VCI 0x1122, NSEI 0x1122, peer 0x01020304:2222, blocked |
Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 153 | |
| 154 | --- Peer port changes, RESET, VCI changes --- |
| 155 | |
| 156 | PROCESSING RESET from 0x01020304:3333 |
| 157 | 02 00 81 01 01 82 33 44 04 82 11 22 |
| 158 | |
Jacob Erlbeck | 34fc470 | 2013-10-09 11:27:04 +0200 | [diff] [blame] | 159 | ==> got signal NS_RESET, NS-VC 0x3344/1.2.3.4:3333 |
Jacob Erlbeck | 0d4e949 | 2013-10-17 13:58:34 +0200 | [diff] [blame] | 160 | MESSAGE to BSS, msg length 9 |
Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 161 | 03 01 82 33 44 04 82 11 22 |
| 162 | |
Jacob Erlbeck | 0d4e949 | 2013-10-17 13:58:34 +0200 | [diff] [blame] | 163 | MESSAGE to BSS, msg length 1 |
Jacob Erlbeck | 05395a6 | 2013-10-08 12:04:45 +0200 | [diff] [blame] | 164 | 0a |
| 165 | |
Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 166 | result (RESET) = 9 |
| 167 | |
| 168 | Current NS-VCIs: |
Jacob Erlbeck | 0d4e949 | 2013-10-17 13:58:34 +0200 | [diff] [blame] | 169 | VCI 0x3344, NSEI 0x1122, peer 0x01020304:3333, blocked |
| 170 | VCI 0x1122, NSEI 0x1122, peer 0x01020304:2222, blocked |
Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 171 | |
| 172 | --- Peer port changes, RESET, NSEI changes --- |
| 173 | |
| 174 | PROCESSING RESET from 0x01020304:4444 |
| 175 | 02 00 81 01 01 82 11 22 04 82 33 44 |
| 176 | |
Jacob Erlbeck | 34fc470 | 2013-10-09 11:27:04 +0200 | [diff] [blame] | 177 | ==> got signal NS_RESET, NS-VC 0x1122/1.2.3.4:4444 |
Jacob Erlbeck | 0d4e949 | 2013-10-17 13:58:34 +0200 | [diff] [blame] | 178 | MESSAGE to BSS, msg length 9 |
Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 179 | 03 01 82 11 22 04 82 33 44 |
| 180 | |
Jacob Erlbeck | 0d4e949 | 2013-10-17 13:58:34 +0200 | [diff] [blame] | 181 | MESSAGE to BSS, msg length 1 |
Jacob Erlbeck | 05395a6 | 2013-10-08 12:04:45 +0200 | [diff] [blame] | 182 | 0a |
| 183 | |
Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 184 | result (RESET) = 9 |
| 185 | |
| 186 | Current NS-VCIs: |
Jacob Erlbeck | 0d4e949 | 2013-10-17 13:58:34 +0200 | [diff] [blame] | 187 | VCI 0x3344, NSEI 0x1122, peer 0x01020304:3333, blocked |
| 188 | VCI 0x1122, NSEI 0x3344, peer 0x01020304:4444, blocked |
Jacob Erlbeck | 5e6d679 | 2013-10-14 22:06:48 +0200 | [diff] [blame] | 189 | NS-VC changed NSEI : 1 |
Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 190 | |
| 191 | --- Peer port 3333, RESET, VCI is changed back --- |
| 192 | |
| 193 | PROCESSING RESET from 0x01020304:3333 |
| 194 | 02 00 81 01 01 82 11 22 04 82 11 22 |
| 195 | |
Jacob Erlbeck | 5e6d679 | 2013-10-14 22:06:48 +0200 | [diff] [blame] | 196 | ==> got signal NS_REPLACED: 0x1122/1.2.3.4:4444 -> 0x3344/1.2.3.4:3333 |
Jacob Erlbeck | 34fc470 | 2013-10-09 11:27:04 +0200 | [diff] [blame] | 197 | ==> got signal NS_RESET, NS-VC 0x1122/1.2.3.4:3333 |
Jacob Erlbeck | 0d4e949 | 2013-10-17 13:58:34 +0200 | [diff] [blame] | 198 | MESSAGE to BSS, msg length 9 |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame^] | 199 | 03 01 82 11 22 04 82 33 44 |
Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 200 | |
Jacob Erlbeck | 0d4e949 | 2013-10-17 13:58:34 +0200 | [diff] [blame] | 201 | MESSAGE to BSS, msg length 1 |
Jacob Erlbeck | 05395a6 | 2013-10-08 12:04:45 +0200 | [diff] [blame] | 202 | 0a |
| 203 | |
Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 204 | result (RESET) = 9 |
| 205 | |
| 206 | Current NS-VCIs: |
Jacob Erlbeck | 0d4e949 | 2013-10-17 13:58:34 +0200 | [diff] [blame] | 207 | VCI 0x3344, NSEI 0x1122, peer 0x00000000:0, blocked |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame^] | 208 | VCI 0x1122, NSEI 0x3344, peer 0x01020304:3333, blocked |
Jacob Erlbeck | 5e6d679 | 2013-10-14 22:06:48 +0200 | [diff] [blame] | 209 | NS-VC replaced other count: 1 |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame^] | 210 | NS-VC changed NSEI : 1 |
Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 211 | |
| 212 | --- Peer port 4444, RESET, NSEI is changed back --- |
| 213 | |
| 214 | PROCESSING RESET from 0x01020304:4444 |
| 215 | 02 00 81 01 01 82 11 22 04 82 11 22 |
| 216 | |
Jacob Erlbeck | 34fc470 | 2013-10-09 11:27:04 +0200 | [diff] [blame] | 217 | ==> got signal NS_RESET, NS-VC 0x1122/1.2.3.4:4444 |
Jacob Erlbeck | 0d4e949 | 2013-10-17 13:58:34 +0200 | [diff] [blame] | 218 | MESSAGE to BSS, msg length 9 |
Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 219 | 03 01 82 11 22 04 82 11 22 |
| 220 | |
Jacob Erlbeck | 0d4e949 | 2013-10-17 13:58:34 +0200 | [diff] [blame] | 221 | MESSAGE to BSS, msg length 1 |
Jacob Erlbeck | 05395a6 | 2013-10-08 12:04:45 +0200 | [diff] [blame] | 222 | 0a |
| 223 | |
Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 224 | result (RESET) = 9 |
| 225 | |
| 226 | Current NS-VCIs: |
Jacob Erlbeck | 0d4e949 | 2013-10-17 13:58:34 +0200 | [diff] [blame] | 227 | VCI 0x3344, NSEI 0x1122, peer 0x00000000:0, blocked |
| 228 | VCI 0x1122, NSEI 0x1122, peer 0x01020304:4444, blocked |
Jacob Erlbeck | 5e6d679 | 2013-10-14 22:06:48 +0200 | [diff] [blame] | 229 | NS-VC replaced other count: 1 |
| 230 | NS-VC changed NSEI : 2 |
Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 231 | |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 232 | --- Setup VC 1 BSS -> SGSN --- |
| 233 | |
| 234 | Setup NS-VC: remote 0x01020304:1111, NSVCI 0x1001(4097), NSEI 0x1000(4096) |
| 235 | |
| 236 | PROCESSING RESET from 0x01020304:1111 |
| 237 | 02 00 81 01 01 82 10 01 04 82 10 00 |
| 238 | |
| 239 | ==> got signal NS_RESET, NS-VC 0x1001/1.2.3.4:1111 |
| 240 | MESSAGE to BSS, msg length 9 |
| 241 | 03 01 82 10 01 04 82 10 00 |
| 242 | |
| 243 | MESSAGE to BSS, msg length 1 |
| 244 | 0a |
| 245 | |
| 246 | result (RESET) = 9 |
| 247 | |
| 248 | PROCESSING ALIVE from 0x01020304:1111 |
| 249 | 0a |
| 250 | |
| 251 | MESSAGE to BSS, msg length 1 |
| 252 | 0b |
| 253 | |
| 254 | result (ALIVE) = 1 |
| 255 | |
| 256 | PROCESSING UNBLOCK from 0x01020304:1111 |
| 257 | 06 |
| 258 | |
| 259 | ==> got signal NS_UNBLOCK, NS-VC 0x1001/1.2.3.4:1111 |
| 260 | MESSAGE to BSS, msg length 1 |
| 261 | 07 |
| 262 | |
| 263 | result (UNBLOCK) = 1 |
| 264 | |
| 265 | PROCESSING ALIVE_ACK from 0x01020304:1111 |
| 266 | 0b |
| 267 | |
| 268 | result (ALIVE_ACK) = 0 |
| 269 | |
| 270 | Current NS-VCIs: |
| 271 | VCI 0x1001, NSEI 0x1000, peer 0x01020304:1111 |
| 272 | |
| 273 | --- Setup VC 2 BSS -> SGSN --- |
| 274 | |
| 275 | Setup NS-VC: remote 0x01020304:2222, NSVCI 0x2001(8193), NSEI 0x2000(8192) |
| 276 | |
| 277 | PROCESSING RESET from 0x01020304:2222 |
| 278 | 02 00 81 01 01 82 20 01 04 82 20 00 |
| 279 | |
| 280 | ==> got signal NS_RESET, NS-VC 0x2001/1.2.3.4:2222 |
| 281 | MESSAGE to BSS, msg length 9 |
| 282 | 03 01 82 20 01 04 82 20 00 |
| 283 | |
| 284 | MESSAGE to BSS, msg length 1 |
| 285 | 0a |
| 286 | |
| 287 | result (RESET) = 9 |
| 288 | |
| 289 | PROCESSING ALIVE from 0x01020304:2222 |
| 290 | 0a |
| 291 | |
| 292 | MESSAGE to BSS, msg length 1 |
| 293 | 0b |
| 294 | |
| 295 | result (ALIVE) = 1 |
| 296 | |
| 297 | PROCESSING UNBLOCK from 0x01020304:2222 |
| 298 | 06 |
| 299 | |
| 300 | ==> got signal NS_UNBLOCK, NS-VC 0x2001/1.2.3.4:2222 |
| 301 | MESSAGE to BSS, msg length 1 |
| 302 | 07 |
| 303 | |
| 304 | result (UNBLOCK) = 1 |
| 305 | |
| 306 | PROCESSING ALIVE_ACK from 0x01020304:2222 |
| 307 | 0b |
| 308 | |
| 309 | result (ALIVE_ACK) = 0 |
| 310 | |
| 311 | Current NS-VCIs: |
| 312 | VCI 0x2001, NSEI 0x2000, peer 0x01020304:2222 |
| 313 | VCI 0x1001, NSEI 0x1000, peer 0x01020304:1111 |
| 314 | |
| 315 | --- Setup VC 1 SGSN -> BSS --- |
| 316 | |
| 317 | MESSAGE to BSS, msg length 12 |
| 318 | 02 00 81 01 01 82 10 01 04 82 10 00 |
| 319 | |
| 320 | PROCESSING RESET_ACK from 0x01020304:1111 |
| 321 | 03 01 82 10 01 04 82 10 00 |
| 322 | |
| 323 | MESSAGE to BSS, msg length 1 |
| 324 | 0a |
| 325 | |
| 326 | result (RESET_ACK) = 1 |
| 327 | |
| 328 | Current NS-VCIs: |
| 329 | VCI 0x2001, NSEI 0x2000, peer 0x01020304:2222 |
| 330 | VCI 0x1001, NSEI 0x1000, peer 0x01020304:1111, blocked |
| 331 | NS-VC Block count : 1 |
| 332 | |
| 333 | --- Exchange NSEI 1 + 2 links --- |
| 334 | |
| 335 | --- Setup VC 2 SGSN -> BSS (hits NSEI 1) --- |
| 336 | |
| 337 | MESSAGE to BSS, msg length 12 |
| 338 | 02 00 81 01 01 82 20 01 04 82 20 00 |
| 339 | |
| 340 | PROCESSING RESET_ACK from 0x01020304:2222 |
| 341 | 03 01 82 10 01 04 82 10 00 |
| 342 | |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame^] | 343 | ==> got signal NS_REPLACED: 0x1001/1.2.3.4:1111 -> 0x2001/1.2.3.4:2222 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 344 | MESSAGE to BSS, msg length 1 |
| 345 | 0a |
| 346 | |
| 347 | result (RESET_ACK) = 1 |
| 348 | |
| 349 | Current NS-VCIs: |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame^] | 350 | VCI 0x2001, NSEI 0x2000, peer 0x00000000:0 |
| 351 | VCI 0x1001, NSEI 0x1000, peer 0x01020304:2222, blocked |
| 352 | NS-VC Block count : 2 |
| 353 | NS-VC replaced other count: 1 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 354 | |
| 355 | --- Setup VC 2 SGSN -> BSS (hits NSEI 2) --- |
| 356 | |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame^] | 357 | Failed to send RESET to 0.0.0.0:0 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 358 | |
| 359 | --- Setup VC 1 SGSN -> BSS (hits NSEI 1) --- |
| 360 | |
| 361 | MESSAGE to BSS, msg length 12 |
| 362 | 02 00 81 01 01 82 10 01 04 82 10 00 |
| 363 | |
| 364 | PROCESSING RESET_ACK from 0x01020304:2222 |
| 365 | 03 01 82 10 01 04 82 10 00 |
| 366 | |
| 367 | MESSAGE to BSS, msg length 1 |
| 368 | 0a |
| 369 | |
| 370 | result (RESET_ACK) = 1 |
| 371 | |
| 372 | Current NS-VCIs: |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame^] | 373 | VCI 0x2001, NSEI 0x2000, peer 0x00000000:0 |
| 374 | VCI 0x1001, NSEI 0x1000, peer 0x01020304:2222, blocked |
| 375 | NS-VC Block count : 3 |
| 376 | NS-VC replaced other count: 1 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 377 | |
| 378 | --- Setup VC 2 BSS -> SGSN --- |
| 379 | |
| 380 | Setup NS-VC: remote 0x01020304:1111, NSVCI 0x2001(8193), NSEI 0x2000(8192) |
| 381 | |
| 382 | PROCESSING RESET from 0x01020304:1111 |
| 383 | 02 00 81 01 01 82 20 01 04 82 20 00 |
| 384 | |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 385 | ==> got signal NS_RESET, NS-VC 0x2001/1.2.3.4:1111 |
| 386 | MESSAGE to BSS, msg length 9 |
| 387 | 03 01 82 20 01 04 82 20 00 |
| 388 | |
| 389 | MESSAGE to BSS, msg length 1 |
| 390 | 0a |
| 391 | |
| 392 | result (RESET) = 9 |
| 393 | |
| 394 | PROCESSING ALIVE from 0x01020304:1111 |
| 395 | 0a |
| 396 | |
| 397 | MESSAGE to BSS, msg length 1 |
| 398 | 0b |
| 399 | |
| 400 | result (ALIVE) = 1 |
| 401 | |
| 402 | PROCESSING UNBLOCK from 0x01020304:1111 |
| 403 | 06 |
| 404 | |
| 405 | ==> got signal NS_UNBLOCK, NS-VC 0x2001/1.2.3.4:1111 |
| 406 | MESSAGE to BSS, msg length 1 |
| 407 | 07 |
| 408 | |
| 409 | result (UNBLOCK) = 1 |
| 410 | |
| 411 | PROCESSING ALIVE_ACK from 0x01020304:1111 |
| 412 | 0b |
| 413 | |
| 414 | result (ALIVE_ACK) = 0 |
| 415 | |
| 416 | Current NS-VCIs: |
| 417 | VCI 0x2001, NSEI 0x2000, peer 0x01020304:1111 |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame^] | 418 | VCI 0x1001, NSEI 0x1000, peer 0x01020304:2222, blocked |
| 419 | NS-VC Block count : 3 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 420 | NS-VC replaced other count: 1 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 421 | |
| 422 | --- RESET with invalid NSEI, BSS -> SGSN --- |
| 423 | |
| 424 | PROCESSING RESET from 0x01020304:2222 |
| 425 | 02 00 81 01 01 82 10 01 04 82 f0 00 |
| 426 | |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame^] | 427 | ==> got signal NS_MISMATCH: 0x1001/1.2.3.4:2222 pdu=2, ie=4 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 428 | MESSAGE to BSS, msg length 9 |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame^] | 429 | 03 01 82 10 01 04 82 10 00 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 430 | |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame^] | 431 | result (RESET) = 0 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 432 | |
| 433 | Current NS-VCIs: |
| 434 | VCI 0x2001, NSEI 0x2000, peer 0x01020304:1111 |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame^] | 435 | VCI 0x1001, NSEI 0x1000, peer 0x01020304:2222, blocked |
| 436 | NS-VC Block count : 3 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 437 | NS-VC replaced other count: 1 |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame^] | 438 | NSEI was invalid count : 1 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 439 | |
| 440 | --- RESET with invalid NSVCI, BSS -> SGSN --- |
| 441 | |
| 442 | PROCESSING RESET from 0x01020304:2222 |
| 443 | 02 00 81 01 01 82 f0 01 04 82 10 00 |
| 444 | |
| 445 | ==> got signal NS_RESET, NS-VC 0xf001/1.2.3.4:2222 |
| 446 | MESSAGE to BSS, msg length 9 |
| 447 | 03 01 82 f0 01 04 82 10 00 |
| 448 | |
| 449 | MESSAGE to BSS, msg length 1 |
| 450 | 0a |
| 451 | |
| 452 | result (RESET) = 9 |
| 453 | |
| 454 | Current NS-VCIs: |
| 455 | VCI 0x2001, NSEI 0x2000, peer 0x01020304:1111 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 456 | VCI 0xf001, NSEI 0x1000, peer 0x01020304:2222, blocked |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame^] | 457 | NS-VC Block count : 3 |
| 458 | NS-VC replaced other count: 1 |
| 459 | NSEI was invalid count : 1 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 460 | |
| 461 | --- RESET with old NSEI, NSVCI, BSS -> SGSN --- |
| 462 | |
| 463 | PROCESSING RESET from 0x01020304:2222 |
| 464 | 02 00 81 01 01 82 10 01 04 82 10 00 |
| 465 | |
| 466 | ==> got signal NS_RESET, NS-VC 0x1001/1.2.3.4:2222 |
| 467 | MESSAGE to BSS, msg length 9 |
| 468 | 03 01 82 10 01 04 82 10 00 |
| 469 | |
| 470 | MESSAGE to BSS, msg length 1 |
| 471 | 0a |
| 472 | |
| 473 | result (RESET) = 9 |
| 474 | |
| 475 | Current NS-VCIs: |
| 476 | VCI 0x2001, NSEI 0x2000, peer 0x01020304:1111 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 477 | VCI 0x1001, NSEI 0x1000, peer 0x01020304:2222, blocked |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame^] | 478 | NS-VC Block count : 3 |
| 479 | NS-VC replaced other count: 1 |
| 480 | NSEI was invalid count : 1 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 481 | |
| 482 | --- Unexpected RESET_ACK VC 1, BSS -> SGSN --- |
| 483 | |
| 484 | PROCESSING RESET_ACK from 0x01020304:2222 |
| 485 | 03 01 82 10 01 04 82 10 00 |
| 486 | |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame^] | 487 | result (RESET_ACK) = 0 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 488 | |
| 489 | Current NS-VCIs: |
| 490 | VCI 0x2001, NSEI 0x2000, peer 0x01020304:1111 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 491 | VCI 0x1001, NSEI 0x1000, peer 0x01020304:2222, blocked |
| 492 | NS-VC Block count : 3 |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame^] | 493 | NS-VC replaced other count: 1 |
| 494 | NSEI was invalid count : 1 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 495 | |
| 496 | --- RESET_ACK with invalid NSEI, BSS -> SGSN --- |
| 497 | |
| 498 | MESSAGE to BSS, msg length 12 |
| 499 | 02 00 81 01 01 82 10 01 04 82 10 00 |
| 500 | |
| 501 | PROCESSING RESET_ACK from 0x01020304:2222 |
| 502 | 03 01 82 10 01 04 82 f0 00 |
| 503 | |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame^] | 504 | ==> got signal NS_MISMATCH: 0x1001/1.2.3.4:2222 pdu=3, ie=4 |
| 505 | result (RESET_ACK) = -22 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 506 | |
| 507 | Current NS-VCIs: |
| 508 | VCI 0x2001, NSEI 0x2000, peer 0x01020304:1111 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 509 | VCI 0x1001, NSEI 0x1000, peer 0x01020304:2222, blocked |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame^] | 510 | NS-VC Block count : 3 |
| 511 | NS-VC replaced other count: 1 |
| 512 | NSEI was invalid count : 2 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 513 | |
| 514 | --- RESET_ACK with invalid NSVCI, BSS -> SGSN --- |
| 515 | |
| 516 | MESSAGE to BSS, msg length 12 |
| 517 | 02 00 81 01 01 82 10 01 04 82 10 00 |
| 518 | |
| 519 | PROCESSING RESET_ACK from 0x01020304:2222 |
| 520 | 03 01 82 f0 01 04 82 10 00 |
| 521 | |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame^] | 522 | ==> got signal NS_MISMATCH: 0x1001/1.2.3.4:2222 pdu=3, ie=1 |
| 523 | result (RESET_ACK) = -22 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 524 | |
| 525 | Current NS-VCIs: |
| 526 | VCI 0x2001, NSEI 0x2000, peer 0x01020304:1111 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 527 | VCI 0x1001, NSEI 0x1000, peer 0x01020304:2222, blocked |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame^] | 528 | NS-VC Block count : 3 |
| 529 | NS-VC replaced other count: 1 |
| 530 | NS-VCI was invalid count : 1 |
| 531 | NSEI was invalid count : 2 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 532 | |
| 533 | Current NS-VCIs: |
| 534 | |
| 535 | --- Setup SGSN connection, BSS -> SGSN --- |
| 536 | |
| 537 | MESSAGE to SGSN, msg length 12 |
| 538 | 02 00 81 01 01 82 01 01 04 82 01 00 |
| 539 | |
| 540 | PROCESSING RESET_ACK from 0x05060708:32000 |
| 541 | 03 01 82 01 01 04 82 01 00 |
| 542 | |
| 543 | MESSAGE to SGSN, msg length 1 |
| 544 | 0a |
| 545 | |
| 546 | result (RESET_ACK) = 1 |
| 547 | |
| 548 | PROCESSING ALIVE_ACK from 0x05060708:32000 |
| 549 | 0b |
| 550 | |
| 551 | MESSAGE to SGSN, msg length 1 |
| 552 | 06 |
| 553 | |
| 554 | result (ALIVE_ACK) = 1 |
| 555 | |
| 556 | PROCESSING UNBLOCK_ACK from 0x05060708:32000 |
| 557 | 07 |
| 558 | |
| 559 | ==> got signal NS_UNBLOCK, NS-VC 0x0101/5.6.7.8:32000 |
| 560 | result (UNBLOCK_ACK) = 0 |
| 561 | |
| 562 | Current NS-VCIs: |
| 563 | VCI 0x0101, NSEI 0x0100, peer 0x05060708:32000 |
| 564 | NS-VC Block count : 1 |
| 565 | |
| 566 | --- RESET, SGSN -> BSS --- |
| 567 | |
| 568 | PROCESSING RESET from 0x05060708:32000 |
| 569 | 02 00 81 01 01 82 01 01 04 82 01 00 |
| 570 | |
| 571 | ==> got signal NS_RESET, NS-VC 0x0101/5.6.7.8:32000 |
| 572 | MESSAGE to SGSN, msg length 9 |
| 573 | 03 01 82 01 01 04 82 01 00 |
| 574 | |
| 575 | MESSAGE to SGSN, msg length 1 |
| 576 | 0a |
| 577 | |
| 578 | result (RESET) = 9 |
| 579 | |
| 580 | Current NS-VCIs: |
| 581 | VCI 0x0101, NSEI 0x0100, peer 0x05060708:32000, blocked |
| 582 | NS-VC Block count : 1 |
| 583 | |
| 584 | --- RESET with invalid NSEI, SGSN -> BSS --- |
| 585 | |
| 586 | PROCESSING RESET from 0x05060708:32000 |
| 587 | 02 00 81 01 01 82 01 01 04 82 f0 00 |
| 588 | |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame^] | 589 | ==> got signal NS_MISMATCH: 0x0101/5.6.7.8:32000 pdu=2, ie=4 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 590 | MESSAGE to SGSN, msg length 9 |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame^] | 591 | 03 01 82 01 01 04 82 01 00 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 592 | |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame^] | 593 | result (RESET) = 0 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 594 | |
| 595 | Current NS-VCIs: |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame^] | 596 | VCI 0x0101, NSEI 0x0100, peer 0x05060708:32000, blocked |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 597 | NS-VC Block count : 1 |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame^] | 598 | NSEI was invalid count : 1 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 599 | |
| 600 | --- RESET with invalid NSVCI, SGSN -> BSS --- |
| 601 | |
| 602 | PROCESSING RESET from 0x05060708:32000 |
| 603 | 02 00 81 01 01 82 f0 01 04 82 01 00 |
| 604 | |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame^] | 605 | ==> got signal NS_MISMATCH: 0x0101/5.6.7.8:32000 pdu=2, ie=1 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 606 | MESSAGE to SGSN, msg length 9 |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame^] | 607 | 03 01 82 01 01 04 82 01 00 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 608 | |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame^] | 609 | result (RESET) = 0 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 610 | |
| 611 | Current NS-VCIs: |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame^] | 612 | VCI 0x0101, NSEI 0x0100, peer 0x05060708:32000, blocked |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 613 | NS-VC Block count : 1 |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame^] | 614 | NS-VCI was invalid count : 1 |
| 615 | NSEI was invalid count : 1 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 616 | |
| 617 | --- RESET, SGSN -> BSS --- |
| 618 | |
| 619 | PROCESSING RESET from 0x05060708:32000 |
| 620 | 02 00 81 01 01 82 01 01 04 82 01 00 |
| 621 | |
| 622 | ==> got signal NS_RESET, NS-VC 0x0101/5.6.7.8:32000 |
| 623 | MESSAGE to SGSN, msg length 9 |
| 624 | 03 01 82 01 01 04 82 01 00 |
| 625 | |
| 626 | MESSAGE to SGSN, msg length 1 |
| 627 | 0a |
| 628 | |
| 629 | result (RESET) = 9 |
| 630 | |
| 631 | Current NS-VCIs: |
| 632 | VCI 0x0101, NSEI 0x0100, peer 0x05060708:32000, blocked |
| 633 | NS-VC Block count : 1 |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame^] | 634 | NS-VCI was invalid count : 1 |
| 635 | NSEI was invalid count : 1 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 636 | |
| 637 | --- Unexpected RESET_ACK VC 1, BSS -> SGSN --- |
| 638 | |
| 639 | PROCESSING RESET_ACK from 0x05060708:32000 |
| 640 | 03 01 82 01 01 04 82 01 00 |
| 641 | |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame^] | 642 | result (RESET_ACK) = 0 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 643 | |
| 644 | Current NS-VCIs: |
| 645 | VCI 0x0101, NSEI 0x0100, peer 0x05060708:32000, blocked |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame^] | 646 | NS-VC Block count : 1 |
| 647 | NS-VCI was invalid count : 1 |
| 648 | NSEI was invalid count : 1 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 649 | |
| 650 | --- RESET_ACK with invalid NSEI, BSS -> SGSN --- |
| 651 | |
| 652 | MESSAGE to SGSN, msg length 12 |
| 653 | 02 00 81 01 01 82 01 01 04 82 01 00 |
| 654 | |
| 655 | PROCESSING RESET_ACK from 0x05060708:32000 |
| 656 | 03 01 82 01 01 04 82 e0 00 |
| 657 | |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame^] | 658 | ==> got signal NS_MISMATCH: 0x0101/5.6.7.8:32000 pdu=3, ie=4 |
| 659 | result (RESET_ACK) = -22 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 660 | |
| 661 | Current NS-VCIs: |
| 662 | VCI 0x0101, NSEI 0x0100, peer 0x05060708:32000, blocked |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame^] | 663 | NS-VC Block count : 1 |
| 664 | NS-VCI was invalid count : 1 |
| 665 | NSEI was invalid count : 2 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 666 | |
| 667 | --- RESET_ACK with invalid NSVCI, BSS -> SGSN --- |
| 668 | |
| 669 | MESSAGE to SGSN, msg length 12 |
| 670 | 02 00 81 01 01 82 01 01 04 82 01 00 |
| 671 | |
| 672 | PROCESSING RESET_ACK from 0x05060708:32000 |
| 673 | 03 01 82 e0 01 04 82 01 00 |
| 674 | |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame^] | 675 | ==> got signal NS_MISMATCH: 0x0101/5.6.7.8:32000 pdu=3, ie=1 |
| 676 | result (RESET_ACK) = -22 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 677 | |
| 678 | Current NS-VCIs: |
| 679 | VCI 0x0101, NSEI 0x0100, peer 0x05060708:32000, blocked |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame^] | 680 | NS-VC Block count : 1 |
| 681 | NS-VCI was invalid count : 2 |
| 682 | NSEI was invalid count : 2 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 683 | |
Jacob Erlbeck | 0d4e949 | 2013-10-17 13:58:34 +0200 | [diff] [blame] | 684 | Current NS-VCIs: |
| 685 | |
| 686 | --- Send message to SGSN --- |
| 687 | |
| 688 | SENDING BSSGP RESET to NSEI 0x0100, BVCI 0x0000 |
| 689 | NS UNITDATA MESSAGE to SGSN, BVCI 0x0000, msg length 18 |
| 690 | 22 04 82 4a 2e 07 81 08 08 88 10 20 30 40 50 60 10 00 |
| 691 | |
| 692 | result (BSSGP RESET) = -22 |
| 693 | |
| 694 | --- Setup dead connection to SGSN --- |
| 695 | |
| 696 | MESSAGE to SGSN, msg length 12 |
| 697 | 02 00 81 01 01 82 01 01 04 82 01 00 |
| 698 | |
| 699 | Current NS-VCIs: |
| 700 | VCI 0x0101, NSEI 0x0100, peer 0x05060708:32000, blocked, dead |
| 701 | |
| 702 | --- Send message to SGSN --- |
| 703 | |
| 704 | SENDING BSSGP RESET to NSEI 0x0100, BVCI 0x0000 |
| 705 | NS UNITDATA MESSAGE to SGSN, BVCI 0x0000, msg length 18 |
| 706 | 22 04 82 4a 2e 07 81 08 08 88 10 20 30 40 50 60 10 00 |
| 707 | |
Jacob Erlbeck | bf02196 | 2013-10-17 13:58:35 +0200 | [diff] [blame] | 708 | result (BSSGP RESET) = -16 |
Jacob Erlbeck | 0d4e949 | 2013-10-17 13:58:34 +0200 | [diff] [blame] | 709 | |
| 710 | --- Make connection to SGSN alive --- |
| 711 | |
| 712 | PROCESSING RESET_ACK from 0x05060708:32000 |
| 713 | 03 01 82 01 01 04 82 01 00 |
| 714 | |
| 715 | MESSAGE to SGSN, msg length 1 |
| 716 | 0a |
| 717 | |
| 718 | result (RESET_ACK) = 1 |
| 719 | |
| 720 | PROCESSING ALIVE_ACK from 0x05060708:32000 |
| 721 | 0b |
| 722 | |
| 723 | MESSAGE to SGSN, msg length 1 |
| 724 | 06 |
| 725 | |
| 726 | result (ALIVE_ACK) = 1 |
| 727 | |
| 728 | Current NS-VCIs: |
| 729 | VCI 0x0101, NSEI 0x0100, peer 0x05060708:32000, blocked |
| 730 | NS-VC Block count : 1 |
| 731 | |
| 732 | --- Send message to SGSN --- |
| 733 | |
| 734 | SENDING BSSGP RESET to NSEI 0x0100, BVCI 0x0000 |
| 735 | NS UNITDATA MESSAGE to SGSN, BVCI 0x0000, msg length 18 |
| 736 | 22 04 82 4a 2e 07 81 08 08 88 10 20 30 40 50 60 10 00 |
| 737 | |
Jacob Erlbeck | bf02196 | 2013-10-17 13:58:35 +0200 | [diff] [blame] | 738 | result (BSSGP RESET) = -16 |
Jacob Erlbeck | 0d4e949 | 2013-10-17 13:58:34 +0200 | [diff] [blame] | 739 | |
| 740 | --- Unblock connection to SGSN --- |
| 741 | |
| 742 | PROCESSING UNBLOCK_ACK from 0x05060708:32000 |
| 743 | 07 |
| 744 | |
| 745 | ==> got signal NS_UNBLOCK, NS-VC 0x0101/5.6.7.8:32000 |
| 746 | result (UNBLOCK_ACK) = 0 |
| 747 | |
| 748 | PROCESSING ALIVE from 0x05060708:32000 |
| 749 | 0a |
| 750 | |
| 751 | MESSAGE to SGSN, msg length 1 |
| 752 | 0b |
| 753 | |
| 754 | result (ALIVE) = 1 |
| 755 | |
| 756 | Current NS-VCIs: |
| 757 | VCI 0x0101, NSEI 0x0100, peer 0x05060708:32000 |
| 758 | NS-VC Block count : 1 |
| 759 | |
| 760 | --- Send message to SGSN --- |
| 761 | |
| 762 | SENDING BSSGP RESET to NSEI 0x0100, BVCI 0x0000 |
| 763 | NS UNITDATA MESSAGE to SGSN, BVCI 0x0000, msg length 18 |
| 764 | 22 04 82 4a 2e 07 81 08 08 88 10 20 30 40 50 60 10 00 |
| 765 | |
Jacob Erlbeck | bf02196 | 2013-10-17 13:58:35 +0200 | [diff] [blame] | 766 | MESSAGE to SGSN, msg length 22 |
| 767 | 00 00 00 00 22 04 82 4a 2e 07 81 08 08 88 10 20 30 40 50 60 10 00 |
| 768 | |
| 769 | result (BSSGP RESET) = 22 |
Jacob Erlbeck | 0d4e949 | 2013-10-17 13:58:34 +0200 | [diff] [blame] | 770 | |
| 771 | --- Send empty message with BVCI to SGSN --- |
| 772 | |
| 773 | SENDING [empty] to NSEI 0x0100, BVCI 0x0102 |
| 774 | NS UNITDATA MESSAGE to SGSN, BVCI 0x0102, msg length 0 |
| 775 | |
| 776 | |
Jacob Erlbeck | bf02196 | 2013-10-17 13:58:35 +0200 | [diff] [blame] | 777 | MESSAGE to SGSN, msg length 4 |
| 778 | 00 00 01 02 |
| 779 | |
| 780 | result ([empty]) = 4 |
Jacob Erlbeck | 0d4e949 | 2013-10-17 13:58:34 +0200 | [diff] [blame] | 781 | |
Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 782 | ===== NS protocol test END |
| 783 | |