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 | ab852ee | 2013-10-24 01:33:24 +0200 | [diff] [blame] | 189 | NS-VC changed NSEI count : 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 | ab852ee | 2013-10-24 01:33:24 +0200 | [diff] [blame] | 199 | 03 01 82 11 22 04 82 11 22 |
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 | ab852ee | 2013-10-24 01:33:24 +0200 | [diff] [blame] | 208 | VCI 0x1122, NSEI 0x1122, 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 | ab852ee | 2013-10-24 01:33:24 +0200 | [diff] [blame] | 210 | NS-VC changed NSEI count : 2 |
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 |
Jacob Erlbeck | ab852ee | 2013-10-24 01:33:24 +0200 | [diff] [blame] | 230 | NS-VC changed NSEI count : 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 | ab852ee | 2013-10-24 01:33:24 +0200 | [diff] [blame] | 427 | ==> got signal NS_RESET, NS-VC 0x1001/1.2.3.4:2222 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 428 | MESSAGE to BSS, msg length 9 |
Jacob Erlbeck | ab852ee | 2013-10-24 01:33:24 +0200 | [diff] [blame] | 429 | 03 01 82 10 01 04 82 f0 00 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 430 | |
Jacob Erlbeck | ab852ee | 2013-10-24 01:33:24 +0200 | [diff] [blame] | 431 | MESSAGE to BSS, msg length 1 |
| 432 | 0a |
| 433 | |
| 434 | result (RESET) = 9 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 435 | |
| 436 | Current NS-VCIs: |
| 437 | VCI 0x2001, NSEI 0x2000, peer 0x01020304:1111 |
Jacob Erlbeck | ab852ee | 2013-10-24 01:33:24 +0200 | [diff] [blame] | 438 | VCI 0x1001, NSEI 0xf000, peer 0x01020304:2222, blocked |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame] | 439 | NS-VC Block count : 3 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 440 | NS-VC replaced other count: 1 |
Jacob Erlbeck | ab852ee | 2013-10-24 01:33:24 +0200 | [diff] [blame] | 441 | NS-VC changed NSEI count : 1 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 442 | |
| 443 | --- RESET with invalid NSVCI, BSS -> SGSN --- |
| 444 | |
| 445 | PROCESSING RESET from 0x01020304:2222 |
| 446 | 02 00 81 01 01 82 f0 01 04 82 10 00 |
| 447 | |
Jacob Erlbeck | 54b8b2d | 2013-10-24 01:33:25 +0200 | [diff] [blame^] | 448 | ==> got signal NS_REPLACED: 0xf001/0.0.0.0:0 -> 0x1001/1.2.3.4:2222 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 449 | ==> got signal NS_RESET, NS-VC 0xf001/1.2.3.4:2222 |
| 450 | MESSAGE to BSS, msg length 9 |
| 451 | 03 01 82 f0 01 04 82 10 00 |
| 452 | |
| 453 | MESSAGE to BSS, msg length 1 |
| 454 | 0a |
| 455 | |
| 456 | result (RESET) = 9 |
| 457 | |
| 458 | Current NS-VCIs: |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 459 | VCI 0xf001, NSEI 0x1000, peer 0x01020304:2222, blocked |
Jacob Erlbeck | 54b8b2d | 2013-10-24 01:33:25 +0200 | [diff] [blame^] | 460 | NS-VC replaced other count: 1 |
| 461 | VCI 0x2001, NSEI 0x2000, peer 0x01020304:1111 |
| 462 | VCI 0x1001, NSEI 0xf000, peer 0x00000000:0, blocked |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame] | 463 | NS-VC Block count : 3 |
| 464 | NS-VC replaced other count: 1 |
Jacob Erlbeck | 54b8b2d | 2013-10-24 01:33:25 +0200 | [diff] [blame^] | 465 | NS-VC changed NSEI count : 1 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 466 | |
| 467 | --- RESET with old NSEI, NSVCI, BSS -> SGSN --- |
| 468 | |
| 469 | PROCESSING RESET from 0x01020304:2222 |
| 470 | 02 00 81 01 01 82 10 01 04 82 10 00 |
| 471 | |
Jacob Erlbeck | 54b8b2d | 2013-10-24 01:33:25 +0200 | [diff] [blame^] | 472 | ==> got signal NS_REPLACED: 0x1001/0.0.0.0:0 -> 0xf001/1.2.3.4:2222 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 473 | ==> got signal NS_RESET, NS-VC 0x1001/1.2.3.4:2222 |
| 474 | MESSAGE to BSS, msg length 9 |
| 475 | 03 01 82 10 01 04 82 10 00 |
| 476 | |
| 477 | MESSAGE to BSS, msg length 1 |
| 478 | 0a |
| 479 | |
| 480 | result (RESET) = 9 |
| 481 | |
| 482 | Current NS-VCIs: |
Jacob Erlbeck | 54b8b2d | 2013-10-24 01:33:25 +0200 | [diff] [blame^] | 483 | VCI 0xf001, NSEI 0x1000, peer 0x00000000:0, blocked |
| 484 | NS-VC replaced other count: 1 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 485 | VCI 0x2001, NSEI 0x2000, peer 0x01020304:1111 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 486 | VCI 0x1001, NSEI 0x1000, peer 0x01020304:2222, blocked |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame] | 487 | NS-VC Block count : 3 |
Jacob Erlbeck | 54b8b2d | 2013-10-24 01:33:25 +0200 | [diff] [blame^] | 488 | NS-VC replaced other count: 2 |
Jacob Erlbeck | ab852ee | 2013-10-24 01:33:24 +0200 | [diff] [blame] | 489 | NS-VC changed NSEI count : 2 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 490 | |
| 491 | --- Unexpected RESET_ACK VC 1, BSS -> SGSN --- |
| 492 | |
| 493 | PROCESSING RESET_ACK from 0x01020304:2222 |
| 494 | 03 01 82 10 01 04 82 10 00 |
| 495 | |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame] | 496 | result (RESET_ACK) = 0 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 497 | |
| 498 | Current NS-VCIs: |
Jacob Erlbeck | 54b8b2d | 2013-10-24 01:33:25 +0200 | [diff] [blame^] | 499 | VCI 0xf001, NSEI 0x1000, peer 0x00000000:0, blocked |
| 500 | NS-VC replaced other count: 1 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 501 | VCI 0x2001, NSEI 0x2000, peer 0x01020304:1111 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 502 | VCI 0x1001, NSEI 0x1000, peer 0x01020304:2222, blocked |
| 503 | NS-VC Block count : 3 |
Jacob Erlbeck | 54b8b2d | 2013-10-24 01:33:25 +0200 | [diff] [blame^] | 504 | NS-VC replaced other count: 2 |
Jacob Erlbeck | ab852ee | 2013-10-24 01:33:24 +0200 | [diff] [blame] | 505 | NS-VC changed NSEI count : 2 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 506 | |
| 507 | --- RESET_ACK with invalid NSEI, BSS -> SGSN --- |
| 508 | |
| 509 | MESSAGE to BSS, msg length 12 |
| 510 | 02 00 81 01 01 82 10 01 04 82 10 00 |
| 511 | |
| 512 | PROCESSING RESET_ACK from 0x01020304:2222 |
| 513 | 03 01 82 10 01 04 82 f0 00 |
| 514 | |
Jacob Erlbeck | ab852ee | 2013-10-24 01:33:24 +0200 | [diff] [blame] | 515 | MESSAGE to BSS, msg length 1 |
| 516 | 0a |
| 517 | |
| 518 | result (RESET_ACK) = 1 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 519 | |
| 520 | Current NS-VCIs: |
Jacob Erlbeck | 54b8b2d | 2013-10-24 01:33:25 +0200 | [diff] [blame^] | 521 | VCI 0xf001, NSEI 0x1000, peer 0x00000000:0, blocked |
| 522 | NS-VC replaced other count: 1 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 523 | VCI 0x2001, NSEI 0x2000, peer 0x01020304:1111 |
Jacob Erlbeck | ab852ee | 2013-10-24 01:33:24 +0200 | [diff] [blame] | 524 | VCI 0x1001, NSEI 0xf000, peer 0x01020304:2222, blocked |
| 525 | NS-VC Block count : 4 |
Jacob Erlbeck | 54b8b2d | 2013-10-24 01:33:25 +0200 | [diff] [blame^] | 526 | NS-VC replaced other count: 2 |
Jacob Erlbeck | ab852ee | 2013-10-24 01:33:24 +0200 | [diff] [blame] | 527 | NS-VC changed NSEI count : 3 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 528 | |
| 529 | --- RESET_ACK with invalid NSVCI, BSS -> SGSN --- |
| 530 | |
| 531 | MESSAGE to BSS, msg length 12 |
Jacob Erlbeck | ab852ee | 2013-10-24 01:33:24 +0200 | [diff] [blame] | 532 | 02 00 81 01 01 82 10 01 04 82 f0 00 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 533 | |
| 534 | PROCESSING RESET_ACK from 0x01020304:2222 |
| 535 | 03 01 82 f0 01 04 82 10 00 |
| 536 | |
Jacob Erlbeck | 54b8b2d | 2013-10-24 01:33:25 +0200 | [diff] [blame^] | 537 | ==> got signal NS_REPLACED: 0xf001/0.0.0.0:0 -> 0x1001/1.2.3.4:2222 |
| 538 | MESSAGE to BSS, msg length 1 |
| 539 | 0a |
| 540 | |
| 541 | result (RESET_ACK) = 1 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 542 | |
| 543 | Current NS-VCIs: |
Jacob Erlbeck | 54b8b2d | 2013-10-24 01:33:25 +0200 | [diff] [blame^] | 544 | VCI 0xf001, NSEI 0x1000, peer 0x01020304:2222, blocked |
| 545 | NS-VC Block count : 1 |
| 546 | NS-VC replaced other count: 2 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 547 | VCI 0x2001, NSEI 0x2000, peer 0x01020304:1111 |
Jacob Erlbeck | 54b8b2d | 2013-10-24 01:33:25 +0200 | [diff] [blame^] | 548 | VCI 0x1001, NSEI 0xf000, peer 0x00000000:0, blocked |
Jacob Erlbeck | ab852ee | 2013-10-24 01:33:24 +0200 | [diff] [blame] | 549 | NS-VC Block count : 4 |
Jacob Erlbeck | 54b8b2d | 2013-10-24 01:33:25 +0200 | [diff] [blame^] | 550 | NS-VC replaced other count: 2 |
Jacob Erlbeck | ab852ee | 2013-10-24 01:33:24 +0200 | [diff] [blame] | 551 | NS-VC changed NSEI count : 3 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 552 | |
| 553 | Current NS-VCIs: |
| 554 | |
| 555 | --- Setup SGSN connection, BSS -> SGSN --- |
| 556 | |
| 557 | MESSAGE to SGSN, msg length 12 |
| 558 | 02 00 81 01 01 82 01 01 04 82 01 00 |
| 559 | |
| 560 | PROCESSING RESET_ACK from 0x05060708:32000 |
| 561 | 03 01 82 01 01 04 82 01 00 |
| 562 | |
| 563 | MESSAGE to SGSN, msg length 1 |
| 564 | 0a |
| 565 | |
| 566 | result (RESET_ACK) = 1 |
| 567 | |
| 568 | PROCESSING ALIVE_ACK from 0x05060708:32000 |
| 569 | 0b |
| 570 | |
| 571 | MESSAGE to SGSN, msg length 1 |
| 572 | 06 |
| 573 | |
| 574 | result (ALIVE_ACK) = 1 |
| 575 | |
| 576 | PROCESSING UNBLOCK_ACK from 0x05060708:32000 |
| 577 | 07 |
| 578 | |
| 579 | ==> got signal NS_UNBLOCK, NS-VC 0x0101/5.6.7.8:32000 |
| 580 | result (UNBLOCK_ACK) = 0 |
| 581 | |
| 582 | Current NS-VCIs: |
| 583 | VCI 0x0101, NSEI 0x0100, peer 0x05060708:32000 |
| 584 | NS-VC Block count : 1 |
| 585 | |
| 586 | --- RESET, SGSN -> BSS --- |
| 587 | |
| 588 | PROCESSING RESET from 0x05060708:32000 |
| 589 | 02 00 81 01 01 82 01 01 04 82 01 00 |
| 590 | |
| 591 | ==> got signal NS_RESET, NS-VC 0x0101/5.6.7.8:32000 |
| 592 | MESSAGE to SGSN, msg length 9 |
| 593 | 03 01 82 01 01 04 82 01 00 |
| 594 | |
| 595 | MESSAGE to SGSN, msg length 1 |
| 596 | 0a |
| 597 | |
| 598 | result (RESET) = 9 |
| 599 | |
| 600 | Current NS-VCIs: |
| 601 | VCI 0x0101, NSEI 0x0100, peer 0x05060708:32000, blocked |
| 602 | NS-VC Block count : 1 |
| 603 | |
| 604 | --- RESET with invalid NSEI, SGSN -> BSS --- |
| 605 | |
| 606 | PROCESSING RESET from 0x05060708:32000 |
| 607 | 02 00 81 01 01 82 01 01 04 82 f0 00 |
| 608 | |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame] | 609 | ==> 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] | 610 | MESSAGE to SGSN, msg length 9 |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame] | 611 | 03 01 82 01 01 04 82 01 00 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 612 | |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame] | 613 | result (RESET) = 0 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 614 | |
| 615 | Current NS-VCIs: |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame] | 616 | VCI 0x0101, NSEI 0x0100, peer 0x05060708:32000, blocked |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 617 | NS-VC Block count : 1 |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame] | 618 | NSEI was invalid count : 1 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 619 | |
| 620 | --- RESET with invalid NSVCI, SGSN -> BSS --- |
| 621 | |
| 622 | PROCESSING RESET from 0x05060708:32000 |
| 623 | 02 00 81 01 01 82 f0 01 04 82 01 00 |
| 624 | |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame] | 625 | ==> 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] | 626 | MESSAGE to SGSN, msg length 9 |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame] | 627 | 03 01 82 01 01 04 82 01 00 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 628 | |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame] | 629 | result (RESET) = 0 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 630 | |
| 631 | Current NS-VCIs: |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame] | 632 | VCI 0x0101, NSEI 0x0100, peer 0x05060708:32000, blocked |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 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 | --- RESET, SGSN -> BSS --- |
| 638 | |
| 639 | PROCESSING RESET from 0x05060708:32000 |
| 640 | 02 00 81 01 01 82 01 01 04 82 01 00 |
| 641 | |
| 642 | ==> got signal NS_RESET, NS-VC 0x0101/5.6.7.8:32000 |
| 643 | MESSAGE to SGSN, msg length 9 |
| 644 | 03 01 82 01 01 04 82 01 00 |
| 645 | |
| 646 | MESSAGE to SGSN, msg length 1 |
| 647 | 0a |
| 648 | |
| 649 | result (RESET) = 9 |
| 650 | |
| 651 | Current NS-VCIs: |
| 652 | VCI 0x0101, NSEI 0x0100, peer 0x05060708:32000, blocked |
| 653 | NS-VC Block count : 1 |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame] | 654 | NS-VCI was invalid count : 1 |
| 655 | NSEI was invalid count : 1 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 656 | |
| 657 | --- Unexpected RESET_ACK VC 1, BSS -> SGSN --- |
| 658 | |
| 659 | PROCESSING RESET_ACK from 0x05060708:32000 |
| 660 | 03 01 82 01 01 04 82 01 00 |
| 661 | |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame] | 662 | result (RESET_ACK) = 0 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 663 | |
| 664 | Current NS-VCIs: |
| 665 | VCI 0x0101, NSEI 0x0100, peer 0x05060708:32000, blocked |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame] | 666 | NS-VC Block count : 1 |
| 667 | NS-VCI was invalid count : 1 |
| 668 | NSEI was invalid count : 1 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 669 | |
| 670 | --- RESET_ACK with invalid NSEI, BSS -> SGSN --- |
| 671 | |
| 672 | MESSAGE to SGSN, msg length 12 |
| 673 | 02 00 81 01 01 82 01 01 04 82 01 00 |
| 674 | |
| 675 | PROCESSING RESET_ACK from 0x05060708:32000 |
| 676 | 03 01 82 01 01 04 82 e0 00 |
| 677 | |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame] | 678 | ==> got signal NS_MISMATCH: 0x0101/5.6.7.8:32000 pdu=3, ie=4 |
| 679 | result (RESET_ACK) = -22 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 680 | |
| 681 | Current NS-VCIs: |
| 682 | VCI 0x0101, NSEI 0x0100, peer 0x05060708:32000, blocked |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame] | 683 | NS-VC Block count : 1 |
| 684 | NS-VCI was invalid count : 1 |
| 685 | NSEI was invalid count : 2 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 686 | |
| 687 | --- RESET_ACK with invalid NSVCI, BSS -> SGSN --- |
| 688 | |
| 689 | MESSAGE to SGSN, msg length 12 |
| 690 | 02 00 81 01 01 82 01 01 04 82 01 00 |
| 691 | |
| 692 | PROCESSING RESET_ACK from 0x05060708:32000 |
| 693 | 03 01 82 e0 01 04 82 01 00 |
| 694 | |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame] | 695 | ==> got signal NS_MISMATCH: 0x0101/5.6.7.8:32000 pdu=3, ie=1 |
| 696 | result (RESET_ACK) = -22 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 697 | |
| 698 | Current NS-VCIs: |
| 699 | VCI 0x0101, NSEI 0x0100, peer 0x05060708:32000, blocked |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame] | 700 | NS-VC Block count : 1 |
| 701 | NS-VCI was invalid count : 2 |
| 702 | NSEI was invalid count : 2 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 703 | |
Jacob Erlbeck | 0d4e949 | 2013-10-17 13:58:34 +0200 | [diff] [blame] | 704 | Current NS-VCIs: |
| 705 | |
| 706 | --- Send message to SGSN --- |
| 707 | |
| 708 | SENDING BSSGP RESET to NSEI 0x0100, BVCI 0x0000 |
| 709 | NS UNITDATA MESSAGE to SGSN, BVCI 0x0000, msg length 18 |
| 710 | 22 04 82 4a 2e 07 81 08 08 88 10 20 30 40 50 60 10 00 |
| 711 | |
| 712 | result (BSSGP RESET) = -22 |
| 713 | |
| 714 | --- Setup dead connection to SGSN --- |
| 715 | |
| 716 | MESSAGE to SGSN, msg length 12 |
| 717 | 02 00 81 01 01 82 01 01 04 82 01 00 |
| 718 | |
| 719 | Current NS-VCIs: |
| 720 | VCI 0x0101, NSEI 0x0100, peer 0x05060708:32000, blocked, dead |
| 721 | |
| 722 | --- Send message to SGSN --- |
| 723 | |
| 724 | SENDING BSSGP RESET to NSEI 0x0100, BVCI 0x0000 |
| 725 | NS UNITDATA MESSAGE to SGSN, BVCI 0x0000, msg length 18 |
| 726 | 22 04 82 4a 2e 07 81 08 08 88 10 20 30 40 50 60 10 00 |
| 727 | |
Jacob Erlbeck | bf02196 | 2013-10-17 13:58:35 +0200 | [diff] [blame] | 728 | result (BSSGP RESET) = -16 |
Jacob Erlbeck | 0d4e949 | 2013-10-17 13:58:34 +0200 | [diff] [blame] | 729 | |
| 730 | --- Make connection to SGSN alive --- |
| 731 | |
| 732 | PROCESSING RESET_ACK from 0x05060708:32000 |
| 733 | 03 01 82 01 01 04 82 01 00 |
| 734 | |
| 735 | MESSAGE to SGSN, msg length 1 |
| 736 | 0a |
| 737 | |
| 738 | result (RESET_ACK) = 1 |
| 739 | |
| 740 | PROCESSING ALIVE_ACK from 0x05060708:32000 |
| 741 | 0b |
| 742 | |
| 743 | MESSAGE to SGSN, msg length 1 |
| 744 | 06 |
| 745 | |
| 746 | result (ALIVE_ACK) = 1 |
| 747 | |
| 748 | Current NS-VCIs: |
| 749 | VCI 0x0101, NSEI 0x0100, peer 0x05060708:32000, blocked |
| 750 | NS-VC Block count : 1 |
| 751 | |
| 752 | --- Send message to SGSN --- |
| 753 | |
| 754 | SENDING BSSGP RESET to NSEI 0x0100, BVCI 0x0000 |
| 755 | NS UNITDATA MESSAGE to SGSN, BVCI 0x0000, msg length 18 |
| 756 | 22 04 82 4a 2e 07 81 08 08 88 10 20 30 40 50 60 10 00 |
| 757 | |
Jacob Erlbeck | bf02196 | 2013-10-17 13:58:35 +0200 | [diff] [blame] | 758 | result (BSSGP RESET) = -16 |
Jacob Erlbeck | 0d4e949 | 2013-10-17 13:58:34 +0200 | [diff] [blame] | 759 | |
| 760 | --- Unblock connection to SGSN --- |
| 761 | |
| 762 | PROCESSING UNBLOCK_ACK from 0x05060708:32000 |
| 763 | 07 |
| 764 | |
| 765 | ==> got signal NS_UNBLOCK, NS-VC 0x0101/5.6.7.8:32000 |
| 766 | result (UNBLOCK_ACK) = 0 |
| 767 | |
| 768 | PROCESSING ALIVE from 0x05060708:32000 |
| 769 | 0a |
| 770 | |
| 771 | MESSAGE to SGSN, msg length 1 |
| 772 | 0b |
| 773 | |
| 774 | result (ALIVE) = 1 |
| 775 | |
| 776 | Current NS-VCIs: |
| 777 | VCI 0x0101, NSEI 0x0100, peer 0x05060708:32000 |
| 778 | NS-VC Block count : 1 |
| 779 | |
| 780 | --- Send message to SGSN --- |
| 781 | |
| 782 | SENDING BSSGP RESET to NSEI 0x0100, BVCI 0x0000 |
| 783 | NS UNITDATA MESSAGE to SGSN, BVCI 0x0000, msg length 18 |
| 784 | 22 04 82 4a 2e 07 81 08 08 88 10 20 30 40 50 60 10 00 |
| 785 | |
Jacob Erlbeck | bf02196 | 2013-10-17 13:58:35 +0200 | [diff] [blame] | 786 | MESSAGE to SGSN, msg length 22 |
| 787 | 00 00 00 00 22 04 82 4a 2e 07 81 08 08 88 10 20 30 40 50 60 10 00 |
| 788 | |
| 789 | result (BSSGP RESET) = 22 |
Jacob Erlbeck | 0d4e949 | 2013-10-17 13:58:34 +0200 | [diff] [blame] | 790 | |
| 791 | --- Send empty message with BVCI to SGSN --- |
| 792 | |
| 793 | SENDING [empty] to NSEI 0x0100, BVCI 0x0102 |
| 794 | NS UNITDATA MESSAGE to SGSN, BVCI 0x0102, msg length 0 |
| 795 | |
| 796 | |
Jacob Erlbeck | bf02196 | 2013-10-17 13:58:35 +0200 | [diff] [blame] | 797 | MESSAGE to SGSN, msg length 4 |
| 798 | 00 00 01 02 |
| 799 | |
| 800 | result ([empty]) = 4 |
Jacob Erlbeck | 0d4e949 | 2013-10-17 13:58:34 +0200 | [diff] [blame] | 801 | |
Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 802 | ===== NS protocol test END |
| 803 | |