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: |
Max | 4ce24c4 | 2017-10-23 15:09:23 +0200 | [diff] [blame] | 17 | VCI 0x1001, NSEI 0x1000, peer 0x01020304:1111, ALIVE, BLOCKED, UNRESET |
Jacob Erlbeck | a52ba01 | 2013-10-24 01:33:21 +0200 | [diff] [blame] | 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: |
Max | 4ce24c4 | 2017-10-23 15:09:23 +0200 | [diff] [blame] | 38 | VCI 0x1001, NSEI 0x1000, peer 0x01020304:1111, ALIVE, BLOCKED, UNRESET |
Jacob Erlbeck | a52ba01 | 2013-10-24 01:33:21 +0200 | [diff] [blame] | 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: |
Max | 4ce24c4 | 2017-10-23 15:09:23 +0200 | [diff] [blame] | 59 | VCI 0x1001, NSEI 0x1000, peer 0x01020304:1111, ALIVE, BLOCKED, UNRESET |
Jacob Erlbeck | a52ba01 | 2013-10-24 01:33:21 +0200 | [diff] [blame] | 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: |
Max | 4ce24c4 | 2017-10-23 15:09:23 +0200 | [diff] [blame] | 80 | VCI 0x1001, NSEI 0x1000, peer 0x01020304:1111, ALIVE, BLOCKED, UNRESET |
Jacob Erlbeck | a52ba01 | 2013-10-24 01:33:21 +0200 | [diff] [blame] | 81 | |
| 82 | --- Delete nsvc object (round 3)--- |
| 83 | |
| 84 | Current NS-VCIs: |
| 85 | |
| 86 | --- Process timers --- |
| 87 | |
Jacob Erlbeck | e7c4271 | 2013-10-28 13:29:10 +0100 | [diff] [blame] | 88 | --- Send unexpected NS STATUS (should not be answered)--- |
| 89 | |
| 90 | PROCESSING STATUS from 0x01020304:1111 |
| 91 | 08 00 81 0a 02 81 0a |
| 92 | |
| 93 | result (STATUS) = 0 |
| 94 | |
| 95 | --- Send unexpected NS ALIVE ACK (should not be answered)--- |
| 96 | |
| 97 | PROCESSING ALIVE_ACK from 0x01020304:1111 |
| 98 | 0b |
| 99 | |
Jacob Erlbeck | e7c4271 | 2013-10-28 13:29:10 +0100 | [diff] [blame] | 100 | result (ALIVE_ACK) = 0 |
| 101 | |
| 102 | --- Send unexpected NS RESET ACK (should not be answered)--- |
| 103 | |
| 104 | PROCESSING RESET_ACK from 0x01020304:1111 |
| 105 | 03 01 82 e0 01 04 82 e0 00 |
| 106 | |
Jacob Erlbeck | e7c4271 | 2013-10-28 13:29:10 +0100 | [diff] [blame] | 107 | result (RESET_ACK) = 0 |
| 108 | |
Jacob Erlbeck | 0d4e949 | 2013-10-17 13:58:34 +0200 | [diff] [blame] | 109 | --- Setup, send BSSGP RESET --- |
| 110 | |
| 111 | Setup NS-VC: remote 0x01020304:1111, NSVCI 0x1122(4386), NSEI 0x1122(4386) |
| 112 | |
Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 113 | PROCESSING RESET from 0x01020304:1111 |
| 114 | 02 00 81 01 01 82 11 22 04 82 11 22 |
| 115 | |
Jacob Erlbeck | 34fc470 | 2013-10-09 11:27:04 +0200 | [diff] [blame] | 116 | ==> got signal NS_RESET, NS-VC 0x1122/1.2.3.4:1111 |
Jacob Erlbeck | 0d4e949 | 2013-10-17 13:58:34 +0200 | [diff] [blame] | 117 | MESSAGE to BSS, msg length 9 |
Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 118 | 03 01 82 11 22 04 82 11 22 |
| 119 | |
Jacob Erlbeck | 0d4e949 | 2013-10-17 13:58:34 +0200 | [diff] [blame] | 120 | MESSAGE to BSS, msg length 1 |
Jacob Erlbeck | 05395a6 | 2013-10-08 12:04:45 +0200 | [diff] [blame] | 121 | 0a |
| 122 | |
Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 123 | result (RESET) = 9 |
| 124 | |
Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 125 | PROCESSING ALIVE from 0x01020304:1111 |
| 126 | 0a |
| 127 | |
Jacob Erlbeck | 0d4e949 | 2013-10-17 13:58:34 +0200 | [diff] [blame] | 128 | MESSAGE to BSS, msg length 1 |
Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 129 | 0b |
| 130 | |
| 131 | result (ALIVE) = 1 |
| 132 | |
| 133 | PROCESSING UNBLOCK from 0x01020304:1111 |
| 134 | 06 |
| 135 | |
Jacob Erlbeck | 0d4e949 | 2013-10-17 13:58:34 +0200 | [diff] [blame] | 136 | MESSAGE to BSS, msg length 1 |
Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 137 | 07 |
| 138 | |
Stefan Sperling | 797558e | 2018-11-19 17:18:41 +0100 | [diff] [blame] | 139 | ==> got signal NS_UNBLOCK, NS-VC 0x1122/1.2.3.4:1111 |
Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 140 | result (UNBLOCK) = 1 |
| 141 | |
Jacob Erlbeck | 0d4e949 | 2013-10-17 13:58:34 +0200 | [diff] [blame] | 142 | PROCESSING ALIVE_ACK from 0x01020304:1111 |
| 143 | 0b |
| 144 | |
| 145 | result (ALIVE_ACK) = 0 |
| 146 | |
| 147 | Current NS-VCIs: |
Max | 4ce24c4 | 2017-10-23 15:09:23 +0200 | [diff] [blame] | 148 | VCI 0x1122, NSEI 0x1122, peer 0x01020304:1111, ALIVE, UNBLOCKED, UNRESET |
Jacob Erlbeck | 0d4e949 | 2013-10-17 13:58:34 +0200 | [diff] [blame] | 149 | |
Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 150 | PROCESSING BSSGP RESET from 0x01020304:1111 |
| 151 | 00 00 00 00 22 04 82 4a 2e 07 81 08 08 88 10 20 30 40 50 60 10 00 |
| 152 | |
| 153 | CALLBACK, event 0, msg length 18, bvci 0x0000 |
| 154 | 22 04 82 4a 2e 07 81 08 08 88 10 20 30 40 50 60 10 00 |
| 155 | |
| 156 | result (BSSGP RESET) = 0 |
| 157 | |
| 158 | --- Peer port changes, RESET, message remains unchanged --- |
| 159 | |
| 160 | PROCESSING RESET from 0x01020304:2222 |
| 161 | 02 00 81 01 01 82 11 22 04 82 11 22 |
| 162 | |
Jacob Erlbeck | 34fc470 | 2013-10-09 11:27:04 +0200 | [diff] [blame] | 163 | ==> got signal NS_RESET, NS-VC 0x1122/1.2.3.4:2222 |
Jacob Erlbeck | 0d4e949 | 2013-10-17 13:58:34 +0200 | [diff] [blame] | 164 | MESSAGE to BSS, msg length 9 |
Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 165 | 03 01 82 11 22 04 82 11 22 |
| 166 | |
Jacob Erlbeck | 0d4e949 | 2013-10-17 13:58:34 +0200 | [diff] [blame] | 167 | MESSAGE to BSS, msg length 1 |
Jacob Erlbeck | 05395a6 | 2013-10-08 12:04:45 +0200 | [diff] [blame] | 168 | 0a |
| 169 | |
Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 170 | result (RESET) = 9 |
| 171 | |
| 172 | Current NS-VCIs: |
Max | 4ce24c4 | 2017-10-23 15:09:23 +0200 | [diff] [blame] | 173 | VCI 0x1122, NSEI 0x1122, peer 0x01020304:2222, ALIVE, BLOCKED, UNRESET |
Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 174 | |
| 175 | --- Peer port changes, RESET, VCI changes --- |
| 176 | |
| 177 | PROCESSING RESET from 0x01020304:3333 |
| 178 | 02 00 81 01 01 82 33 44 04 82 11 22 |
| 179 | |
Jacob Erlbeck | 34fc470 | 2013-10-09 11:27:04 +0200 | [diff] [blame] | 180 | ==> got signal NS_RESET, NS-VC 0x3344/1.2.3.4:3333 |
Jacob Erlbeck | 0d4e949 | 2013-10-17 13:58:34 +0200 | [diff] [blame] | 181 | MESSAGE to BSS, msg length 9 |
Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 182 | 03 01 82 33 44 04 82 11 22 |
| 183 | |
Jacob Erlbeck | 0d4e949 | 2013-10-17 13:58:34 +0200 | [diff] [blame] | 184 | MESSAGE to BSS, msg length 1 |
Jacob Erlbeck | 05395a6 | 2013-10-08 12:04:45 +0200 | [diff] [blame] | 185 | 0a |
| 186 | |
Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 187 | result (RESET) = 9 |
| 188 | |
| 189 | Current NS-VCIs: |
Max | 4ce24c4 | 2017-10-23 15:09:23 +0200 | [diff] [blame] | 190 | VCI 0x3344, NSEI 0x1122, peer 0x01020304:3333, ALIVE, BLOCKED, UNRESET |
| 191 | VCI 0x1122, NSEI 0x1122, peer 0x01020304:2222, ALIVE, BLOCKED, UNRESET |
Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 192 | |
| 193 | --- Peer port changes, RESET, NSEI changes --- |
| 194 | |
| 195 | PROCESSING RESET from 0x01020304:4444 |
| 196 | 02 00 81 01 01 82 11 22 04 82 33 44 |
| 197 | |
Jacob Erlbeck | 34fc470 | 2013-10-09 11:27:04 +0200 | [diff] [blame] | 198 | ==> got signal NS_RESET, NS-VC 0x1122/1.2.3.4:4444 |
Jacob Erlbeck | 0d4e949 | 2013-10-17 13:58:34 +0200 | [diff] [blame] | 199 | MESSAGE to BSS, msg length 9 |
Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 200 | 03 01 82 11 22 04 82 33 44 |
| 201 | |
Jacob Erlbeck | 0d4e949 | 2013-10-17 13:58:34 +0200 | [diff] [blame] | 202 | MESSAGE to BSS, msg length 1 |
Jacob Erlbeck | 05395a6 | 2013-10-08 12:04:45 +0200 | [diff] [blame] | 203 | 0a |
| 204 | |
Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 205 | result (RESET) = 9 |
| 206 | |
| 207 | Current NS-VCIs: |
Max | 4ce24c4 | 2017-10-23 15:09:23 +0200 | [diff] [blame] | 208 | VCI 0x3344, NSEI 0x1122, peer 0x01020304:3333, ALIVE, BLOCKED, UNRESET |
| 209 | VCI 0x1122, NSEI 0x3344, peer 0x01020304:4444, ALIVE, BLOCKED, UNRESET |
Jacob Erlbeck | ab852ee | 2013-10-24 01:33:24 +0200 | [diff] [blame] | 210 | NS-VC changed NSEI count : 1 |
Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 211 | |
| 212 | --- Peer port 3333, RESET, VCI is changed back --- |
| 213 | |
| 214 | PROCESSING RESET from 0x01020304:3333 |
| 215 | 02 00 81 01 01 82 11 22 04 82 11 22 |
| 216 | |
Jacob Erlbeck | 5e6d679 | 2013-10-14 22:06:48 +0200 | [diff] [blame] | 217 | ==> 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] | 218 | ==> got signal NS_RESET, NS-VC 0x1122/1.2.3.4:3333 |
Jacob Erlbeck | 0d4e949 | 2013-10-17 13:58:34 +0200 | [diff] [blame] | 219 | MESSAGE to BSS, msg length 9 |
Jacob Erlbeck | ab852ee | 2013-10-24 01:33:24 +0200 | [diff] [blame] | 220 | 03 01 82 11 22 04 82 11 22 |
Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 221 | |
Jacob Erlbeck | 0d4e949 | 2013-10-17 13:58:34 +0200 | [diff] [blame] | 222 | MESSAGE to BSS, msg length 1 |
Jacob Erlbeck | 05395a6 | 2013-10-08 12:04:45 +0200 | [diff] [blame] | 223 | 0a |
| 224 | |
Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 225 | result (RESET) = 9 |
| 226 | |
| 227 | Current NS-VCIs: |
Max | 4ce24c4 | 2017-10-23 15:09:23 +0200 | [diff] [blame] | 228 | VCI 0x3344, NSEI 0x1122, peer 0x00000000:0, ALIVE, BLOCKED, UNRESET |
| 229 | VCI 0x1122, NSEI 0x1122, peer 0x01020304:3333, ALIVE, BLOCKED, UNRESET |
Jacob Erlbeck | 5e6d679 | 2013-10-14 22:06:48 +0200 | [diff] [blame] | 230 | NS-VC replaced other count: 1 |
Jacob Erlbeck | ab852ee | 2013-10-24 01:33:24 +0200 | [diff] [blame] | 231 | NS-VC changed NSEI count : 2 |
Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 232 | |
| 233 | --- Peer port 4444, RESET, NSEI is changed back --- |
| 234 | |
| 235 | PROCESSING RESET from 0x01020304:4444 |
| 236 | 02 00 81 01 01 82 11 22 04 82 11 22 |
| 237 | |
Jacob Erlbeck | 34fc470 | 2013-10-09 11:27:04 +0200 | [diff] [blame] | 238 | ==> got signal NS_RESET, NS-VC 0x1122/1.2.3.4:4444 |
Jacob Erlbeck | 0d4e949 | 2013-10-17 13:58:34 +0200 | [diff] [blame] | 239 | MESSAGE to BSS, msg length 9 |
Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 240 | 03 01 82 11 22 04 82 11 22 |
| 241 | |
Jacob Erlbeck | 0d4e949 | 2013-10-17 13:58:34 +0200 | [diff] [blame] | 242 | MESSAGE to BSS, msg length 1 |
Jacob Erlbeck | 05395a6 | 2013-10-08 12:04:45 +0200 | [diff] [blame] | 243 | 0a |
| 244 | |
Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 245 | result (RESET) = 9 |
| 246 | |
| 247 | Current NS-VCIs: |
Max | 4ce24c4 | 2017-10-23 15:09:23 +0200 | [diff] [blame] | 248 | VCI 0x3344, NSEI 0x1122, peer 0x00000000:0, ALIVE, BLOCKED, UNRESET |
| 249 | VCI 0x1122, NSEI 0x1122, peer 0x01020304:4444, ALIVE, BLOCKED, UNRESET |
Jacob Erlbeck | 5e6d679 | 2013-10-14 22:06:48 +0200 | [diff] [blame] | 250 | NS-VC replaced other count: 1 |
Jacob Erlbeck | ab852ee | 2013-10-24 01:33:24 +0200 | [diff] [blame] | 251 | NS-VC changed NSEI count : 2 |
Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 252 | |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 253 | --- Setup VC 1 BSS -> SGSN --- |
| 254 | |
| 255 | Setup NS-VC: remote 0x01020304:1111, NSVCI 0x1001(4097), NSEI 0x1000(4096) |
| 256 | |
| 257 | PROCESSING RESET from 0x01020304:1111 |
| 258 | 02 00 81 01 01 82 10 01 04 82 10 00 |
| 259 | |
| 260 | ==> got signal NS_RESET, NS-VC 0x1001/1.2.3.4:1111 |
| 261 | MESSAGE to BSS, msg length 9 |
| 262 | 03 01 82 10 01 04 82 10 00 |
| 263 | |
| 264 | MESSAGE to BSS, msg length 1 |
| 265 | 0a |
| 266 | |
| 267 | result (RESET) = 9 |
| 268 | |
| 269 | PROCESSING ALIVE from 0x01020304:1111 |
| 270 | 0a |
| 271 | |
| 272 | MESSAGE to BSS, msg length 1 |
| 273 | 0b |
| 274 | |
| 275 | result (ALIVE) = 1 |
| 276 | |
| 277 | PROCESSING UNBLOCK from 0x01020304:1111 |
| 278 | 06 |
| 279 | |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 280 | MESSAGE to BSS, msg length 1 |
| 281 | 07 |
| 282 | |
Stefan Sperling | 797558e | 2018-11-19 17:18:41 +0100 | [diff] [blame] | 283 | ==> got signal NS_UNBLOCK, NS-VC 0x1001/1.2.3.4:1111 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 284 | result (UNBLOCK) = 1 |
| 285 | |
| 286 | PROCESSING ALIVE_ACK from 0x01020304:1111 |
| 287 | 0b |
| 288 | |
| 289 | result (ALIVE_ACK) = 0 |
| 290 | |
| 291 | Current NS-VCIs: |
Max | 4ce24c4 | 2017-10-23 15:09:23 +0200 | [diff] [blame] | 292 | VCI 0x1001, NSEI 0x1000, peer 0x01020304:1111, ALIVE, UNBLOCKED, UNRESET |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 293 | |
| 294 | --- Setup VC 2 BSS -> SGSN --- |
| 295 | |
| 296 | Setup NS-VC: remote 0x01020304:2222, NSVCI 0x2001(8193), NSEI 0x2000(8192) |
| 297 | |
| 298 | PROCESSING RESET from 0x01020304:2222 |
| 299 | 02 00 81 01 01 82 20 01 04 82 20 00 |
| 300 | |
| 301 | ==> got signal NS_RESET, NS-VC 0x2001/1.2.3.4:2222 |
| 302 | MESSAGE to BSS, msg length 9 |
| 303 | 03 01 82 20 01 04 82 20 00 |
| 304 | |
| 305 | MESSAGE to BSS, msg length 1 |
| 306 | 0a |
| 307 | |
| 308 | result (RESET) = 9 |
| 309 | |
| 310 | PROCESSING ALIVE from 0x01020304:2222 |
| 311 | 0a |
| 312 | |
| 313 | MESSAGE to BSS, msg length 1 |
| 314 | 0b |
| 315 | |
| 316 | result (ALIVE) = 1 |
| 317 | |
| 318 | PROCESSING UNBLOCK from 0x01020304:2222 |
| 319 | 06 |
| 320 | |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 321 | MESSAGE to BSS, msg length 1 |
| 322 | 07 |
| 323 | |
Stefan Sperling | 797558e | 2018-11-19 17:18:41 +0100 | [diff] [blame] | 324 | ==> got signal NS_UNBLOCK, NS-VC 0x2001/1.2.3.4:2222 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 325 | result (UNBLOCK) = 1 |
| 326 | |
| 327 | PROCESSING ALIVE_ACK from 0x01020304:2222 |
| 328 | 0b |
| 329 | |
| 330 | result (ALIVE_ACK) = 0 |
| 331 | |
| 332 | Current NS-VCIs: |
Max | 4ce24c4 | 2017-10-23 15:09:23 +0200 | [diff] [blame] | 333 | VCI 0x2001, NSEI 0x2000, peer 0x01020304:2222, ALIVE, UNBLOCKED, UNRESET |
| 334 | VCI 0x1001, NSEI 0x1000, peer 0x01020304:1111, ALIVE, UNBLOCKED, UNRESET |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 335 | |
| 336 | --- Setup VC 1 SGSN -> BSS --- |
| 337 | |
| 338 | MESSAGE to BSS, msg length 12 |
| 339 | 02 00 81 01 01 82 10 01 04 82 10 00 |
| 340 | |
| 341 | PROCESSING RESET_ACK from 0x01020304:1111 |
| 342 | 03 01 82 10 01 04 82 10 00 |
| 343 | |
| 344 | MESSAGE to BSS, msg length 1 |
| 345 | 0a |
| 346 | |
| 347 | result (RESET_ACK) = 1 |
| 348 | |
| 349 | Current NS-VCIs: |
Max | 4ce24c4 | 2017-10-23 15:09:23 +0200 | [diff] [blame] | 350 | VCI 0x2001, NSEI 0x2000, peer 0x01020304:2222, ALIVE, UNBLOCKED, UNRESET |
| 351 | VCI 0x1001, NSEI 0x1000, peer 0x01020304:1111, ALIVE, BLOCKED, UNRESET |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 352 | NS-VC Block count : 1 |
| 353 | |
| 354 | --- Exchange NSEI 1 + 2 links --- |
| 355 | |
| 356 | --- Setup VC 2 SGSN -> BSS (hits NSEI 1) --- |
| 357 | |
| 358 | MESSAGE to BSS, msg length 12 |
| 359 | 02 00 81 01 01 82 20 01 04 82 20 00 |
| 360 | |
| 361 | PROCESSING RESET_ACK from 0x01020304:2222 |
| 362 | 03 01 82 10 01 04 82 10 00 |
| 363 | |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame] | 364 | ==> 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] | 365 | MESSAGE to BSS, msg length 1 |
| 366 | 0a |
| 367 | |
| 368 | result (RESET_ACK) = 1 |
| 369 | |
| 370 | Current NS-VCIs: |
Max | 4ce24c4 | 2017-10-23 15:09:23 +0200 | [diff] [blame] | 371 | VCI 0x2001, NSEI 0x2000, peer 0x00000000:0, DEAD, BLOCKED, RESET |
| 372 | VCI 0x1001, NSEI 0x1000, peer 0x01020304:2222, ALIVE, BLOCKED, UNRESET |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame] | 373 | NS-VC Block count : 2 |
| 374 | NS-VC replaced other count: 1 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 375 | |
| 376 | --- Setup VC 2 SGSN -> BSS (hits NSEI 2) --- |
| 377 | |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 378 | --- Setup VC 1 SGSN -> BSS (hits NSEI 1) --- |
| 379 | |
| 380 | MESSAGE to BSS, msg length 12 |
| 381 | 02 00 81 01 01 82 10 01 04 82 10 00 |
| 382 | |
| 383 | PROCESSING RESET_ACK from 0x01020304:2222 |
| 384 | 03 01 82 10 01 04 82 10 00 |
| 385 | |
| 386 | MESSAGE to BSS, msg length 1 |
| 387 | 0a |
| 388 | |
| 389 | result (RESET_ACK) = 1 |
| 390 | |
| 391 | Current NS-VCIs: |
Max | 4ce24c4 | 2017-10-23 15:09:23 +0200 | [diff] [blame] | 392 | VCI 0x2001, NSEI 0x2000, peer 0x00000000:0, DEAD, BLOCKED, RESET |
| 393 | VCI 0x1001, NSEI 0x1000, peer 0x01020304:2222, ALIVE, BLOCKED, UNRESET |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame] | 394 | NS-VC Block count : 3 |
| 395 | NS-VC replaced other count: 1 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 396 | |
| 397 | --- Setup VC 2 BSS -> SGSN --- |
| 398 | |
| 399 | Setup NS-VC: remote 0x01020304:1111, NSVCI 0x2001(8193), NSEI 0x2000(8192) |
| 400 | |
| 401 | PROCESSING RESET from 0x01020304:1111 |
| 402 | 02 00 81 01 01 82 20 01 04 82 20 00 |
| 403 | |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 404 | ==> got signal NS_RESET, NS-VC 0x2001/1.2.3.4:1111 |
| 405 | MESSAGE to BSS, msg length 9 |
| 406 | 03 01 82 20 01 04 82 20 00 |
| 407 | |
| 408 | MESSAGE to BSS, msg length 1 |
| 409 | 0a |
| 410 | |
| 411 | result (RESET) = 9 |
| 412 | |
| 413 | PROCESSING ALIVE from 0x01020304:1111 |
| 414 | 0a |
| 415 | |
| 416 | MESSAGE to BSS, msg length 1 |
| 417 | 0b |
| 418 | |
| 419 | result (ALIVE) = 1 |
| 420 | |
| 421 | PROCESSING UNBLOCK from 0x01020304:1111 |
| 422 | 06 |
| 423 | |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 424 | MESSAGE to BSS, msg length 1 |
| 425 | 07 |
| 426 | |
Stefan Sperling | 797558e | 2018-11-19 17:18:41 +0100 | [diff] [blame] | 427 | ==> got signal NS_UNBLOCK, NS-VC 0x2001/1.2.3.4:1111 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 428 | result (UNBLOCK) = 1 |
| 429 | |
| 430 | PROCESSING ALIVE_ACK from 0x01020304:1111 |
| 431 | 0b |
| 432 | |
| 433 | result (ALIVE_ACK) = 0 |
| 434 | |
| 435 | Current NS-VCIs: |
Max | 4ce24c4 | 2017-10-23 15:09:23 +0200 | [diff] [blame] | 436 | VCI 0x2001, NSEI 0x2000, peer 0x01020304:1111, ALIVE, UNBLOCKED, UNRESET |
| 437 | VCI 0x1001, NSEI 0x1000, peer 0x01020304:2222, ALIVE, BLOCKED, UNRESET |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame] | 438 | NS-VC Block count : 3 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 439 | NS-VC replaced other count: 1 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 440 | |
| 441 | --- RESET with invalid NSEI, BSS -> SGSN --- |
| 442 | |
| 443 | PROCESSING RESET from 0x01020304:2222 |
| 444 | 02 00 81 01 01 82 10 01 04 82 f0 00 |
| 445 | |
Jacob Erlbeck | ab852ee | 2013-10-24 01:33:24 +0200 | [diff] [blame] | 446 | ==> got signal NS_RESET, NS-VC 0x1001/1.2.3.4:2222 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 447 | MESSAGE to BSS, msg length 9 |
Jacob Erlbeck | ab852ee | 2013-10-24 01:33:24 +0200 | [diff] [blame] | 448 | 03 01 82 10 01 04 82 f0 00 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 449 | |
Jacob Erlbeck | ab852ee | 2013-10-24 01:33:24 +0200 | [diff] [blame] | 450 | MESSAGE to BSS, msg length 1 |
| 451 | 0a |
| 452 | |
| 453 | result (RESET) = 9 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 454 | |
| 455 | Current NS-VCIs: |
Max | 4ce24c4 | 2017-10-23 15:09:23 +0200 | [diff] [blame] | 456 | VCI 0x2001, NSEI 0x2000, peer 0x01020304:1111, ALIVE, UNBLOCKED, UNRESET |
| 457 | VCI 0x1001, NSEI 0xf000, peer 0x01020304:2222, ALIVE, BLOCKED, UNRESET |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame] | 458 | NS-VC Block count : 3 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 459 | NS-VC replaced other count: 1 |
Jacob Erlbeck | ab852ee | 2013-10-24 01:33:24 +0200 | [diff] [blame] | 460 | NS-VC changed NSEI count : 1 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 461 | |
| 462 | --- RESET with invalid NSVCI, BSS -> SGSN --- |
| 463 | |
| 464 | PROCESSING RESET from 0x01020304:2222 |
| 465 | 02 00 81 01 01 82 f0 01 04 82 10 00 |
| 466 | |
Jacob Erlbeck | 54b8b2d | 2013-10-24 01:33:25 +0200 | [diff] [blame] | 467 | ==> 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] | 468 | ==> got signal NS_RESET, NS-VC 0xf001/1.2.3.4:2222 |
| 469 | MESSAGE to BSS, msg length 9 |
| 470 | 03 01 82 f0 01 04 82 10 00 |
| 471 | |
| 472 | MESSAGE to BSS, msg length 1 |
| 473 | 0a |
| 474 | |
| 475 | result (RESET) = 9 |
| 476 | |
| 477 | Current NS-VCIs: |
Max | 4ce24c4 | 2017-10-23 15:09:23 +0200 | [diff] [blame] | 478 | VCI 0xf001, NSEI 0x1000, peer 0x01020304:2222, ALIVE, BLOCKED, UNRESET |
Jacob Erlbeck | 54b8b2d | 2013-10-24 01:33:25 +0200 | [diff] [blame] | 479 | NS-VC replaced other count: 1 |
Max | 4ce24c4 | 2017-10-23 15:09:23 +0200 | [diff] [blame] | 480 | VCI 0x2001, NSEI 0x2000, peer 0x01020304:1111, ALIVE, UNBLOCKED, UNRESET |
| 481 | VCI 0x1001, NSEI 0xf000, peer 0x00000000:0, ALIVE, BLOCKED, UNRESET |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame] | 482 | NS-VC Block count : 3 |
| 483 | NS-VC replaced other count: 1 |
Jacob Erlbeck | 54b8b2d | 2013-10-24 01:33:25 +0200 | [diff] [blame] | 484 | NS-VC changed NSEI count : 1 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 485 | |
| 486 | --- RESET with old NSEI, NSVCI, BSS -> SGSN --- |
| 487 | |
| 488 | PROCESSING RESET from 0x01020304:2222 |
| 489 | 02 00 81 01 01 82 10 01 04 82 10 00 |
| 490 | |
Jacob Erlbeck | 54b8b2d | 2013-10-24 01:33:25 +0200 | [diff] [blame] | 491 | ==> 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] | 492 | ==> got signal NS_RESET, NS-VC 0x1001/1.2.3.4:2222 |
| 493 | MESSAGE to BSS, msg length 9 |
| 494 | 03 01 82 10 01 04 82 10 00 |
| 495 | |
| 496 | MESSAGE to BSS, msg length 1 |
| 497 | 0a |
| 498 | |
| 499 | result (RESET) = 9 |
| 500 | |
| 501 | Current NS-VCIs: |
Max | 4ce24c4 | 2017-10-23 15:09:23 +0200 | [diff] [blame] | 502 | VCI 0xf001, NSEI 0x1000, peer 0x00000000:0, ALIVE, BLOCKED, UNRESET |
Jacob Erlbeck | 54b8b2d | 2013-10-24 01:33:25 +0200 | [diff] [blame] | 503 | NS-VC replaced other count: 1 |
Max | 4ce24c4 | 2017-10-23 15:09:23 +0200 | [diff] [blame] | 504 | VCI 0x2001, NSEI 0x2000, peer 0x01020304:1111, ALIVE, UNBLOCKED, UNRESET |
| 505 | VCI 0x1001, NSEI 0x1000, peer 0x01020304:2222, ALIVE, BLOCKED, UNRESET |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame] | 506 | NS-VC Block count : 3 |
Jacob Erlbeck | 54b8b2d | 2013-10-24 01:33:25 +0200 | [diff] [blame] | 507 | NS-VC replaced other count: 2 |
Jacob Erlbeck | ab852ee | 2013-10-24 01:33:24 +0200 | [diff] [blame] | 508 | NS-VC changed NSEI count : 2 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 509 | |
| 510 | --- Unexpected RESET_ACK VC 1, BSS -> SGSN --- |
| 511 | |
| 512 | PROCESSING RESET_ACK from 0x01020304:2222 |
| 513 | 03 01 82 10 01 04 82 10 00 |
| 514 | |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame] | 515 | result (RESET_ACK) = 0 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 516 | |
| 517 | Current NS-VCIs: |
Max | 4ce24c4 | 2017-10-23 15:09:23 +0200 | [diff] [blame] | 518 | VCI 0xf001, NSEI 0x1000, peer 0x00000000:0, ALIVE, BLOCKED, UNRESET |
Jacob Erlbeck | 54b8b2d | 2013-10-24 01:33:25 +0200 | [diff] [blame] | 519 | NS-VC replaced other count: 1 |
Max | 4ce24c4 | 2017-10-23 15:09:23 +0200 | [diff] [blame] | 520 | VCI 0x2001, NSEI 0x2000, peer 0x01020304:1111, ALIVE, UNBLOCKED, UNRESET |
| 521 | VCI 0x1001, NSEI 0x1000, peer 0x01020304:2222, ALIVE, BLOCKED, UNRESET |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 522 | NS-VC Block count : 3 |
Jacob Erlbeck | 54b8b2d | 2013-10-24 01:33:25 +0200 | [diff] [blame] | 523 | NS-VC replaced other count: 2 |
Jacob Erlbeck | ab852ee | 2013-10-24 01:33:24 +0200 | [diff] [blame] | 524 | NS-VC changed NSEI count : 2 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 525 | |
| 526 | --- RESET_ACK with invalid NSEI, BSS -> SGSN --- |
| 527 | |
| 528 | MESSAGE to BSS, msg length 12 |
| 529 | 02 00 81 01 01 82 10 01 04 82 10 00 |
| 530 | |
| 531 | PROCESSING RESET_ACK from 0x01020304:2222 |
| 532 | 03 01 82 10 01 04 82 f0 00 |
| 533 | |
Jacob Erlbeck | ab852ee | 2013-10-24 01:33:24 +0200 | [diff] [blame] | 534 | MESSAGE to BSS, msg length 1 |
| 535 | 0a |
| 536 | |
| 537 | result (RESET_ACK) = 1 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 538 | |
| 539 | Current NS-VCIs: |
Max | 4ce24c4 | 2017-10-23 15:09:23 +0200 | [diff] [blame] | 540 | VCI 0xf001, NSEI 0x1000, peer 0x00000000:0, ALIVE, BLOCKED, UNRESET |
Jacob Erlbeck | 54b8b2d | 2013-10-24 01:33:25 +0200 | [diff] [blame] | 541 | NS-VC replaced other count: 1 |
Max | 4ce24c4 | 2017-10-23 15:09:23 +0200 | [diff] [blame] | 542 | VCI 0x2001, NSEI 0x2000, peer 0x01020304:1111, ALIVE, UNBLOCKED, UNRESET |
| 543 | VCI 0x1001, NSEI 0xf000, peer 0x01020304:2222, ALIVE, BLOCKED, UNRESET |
Jacob Erlbeck | ab852ee | 2013-10-24 01:33:24 +0200 | [diff] [blame] | 544 | NS-VC Block count : 4 |
Jacob Erlbeck | 54b8b2d | 2013-10-24 01:33:25 +0200 | [diff] [blame] | 545 | NS-VC replaced other count: 2 |
Jacob Erlbeck | ab852ee | 2013-10-24 01:33:24 +0200 | [diff] [blame] | 546 | NS-VC changed NSEI count : 3 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 547 | |
| 548 | --- RESET_ACK with invalid NSVCI, BSS -> SGSN --- |
| 549 | |
| 550 | MESSAGE to BSS, msg length 12 |
Jacob Erlbeck | ab852ee | 2013-10-24 01:33:24 +0200 | [diff] [blame] | 551 | 02 00 81 01 01 82 10 01 04 82 f0 00 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 552 | |
| 553 | PROCESSING RESET_ACK from 0x01020304:2222 |
| 554 | 03 01 82 f0 01 04 82 10 00 |
| 555 | |
Jacob Erlbeck | 54b8b2d | 2013-10-24 01:33:25 +0200 | [diff] [blame] | 556 | ==> got signal NS_REPLACED: 0xf001/0.0.0.0:0 -> 0x1001/1.2.3.4:2222 |
| 557 | MESSAGE to BSS, msg length 1 |
| 558 | 0a |
| 559 | |
| 560 | result (RESET_ACK) = 1 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 561 | |
| 562 | Current NS-VCIs: |
Max | 4ce24c4 | 2017-10-23 15:09:23 +0200 | [diff] [blame] | 563 | VCI 0xf001, NSEI 0x1000, peer 0x01020304:2222, ALIVE, BLOCKED, UNRESET |
Jacob Erlbeck | 54b8b2d | 2013-10-24 01:33:25 +0200 | [diff] [blame] | 564 | NS-VC Block count : 1 |
| 565 | NS-VC replaced other count: 2 |
Max | 4ce24c4 | 2017-10-23 15:09:23 +0200 | [diff] [blame] | 566 | VCI 0x2001, NSEI 0x2000, peer 0x01020304:1111, ALIVE, UNBLOCKED, UNRESET |
| 567 | VCI 0x1001, NSEI 0xf000, peer 0x00000000:0, DEAD, BLOCKED, RESET |
Jacob Erlbeck | ab852ee | 2013-10-24 01:33:24 +0200 | [diff] [blame] | 568 | NS-VC Block count : 4 |
Jacob Erlbeck | 54b8b2d | 2013-10-24 01:33:25 +0200 | [diff] [blame] | 569 | NS-VC replaced other count: 2 |
Jacob Erlbeck | ab852ee | 2013-10-24 01:33:24 +0200 | [diff] [blame] | 570 | NS-VC changed NSEI count : 3 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 571 | |
Jacob Erlbeck | cc6ac4c | 2015-12-17 13:22:36 +0100 | [diff] [blame] | 572 | --- RESET (BSS -> SGSN) crossing an UNBLOCK_ACK (SGSN -> BSS) --- |
| 573 | |
| 574 | Setup NS-VC: remote 0x01020304:2222, NSVCI 0x1001(4097), NSEI 0x1000(4096) |
| 575 | |
| 576 | PROCESSING RESET from 0x01020304:2222 |
| 577 | 02 00 81 01 01 82 10 01 04 82 10 00 |
| 578 | |
| 579 | ==> got signal NS_REPLACED: 0x1001/0.0.0.0:0 -> 0xf001/1.2.3.4:2222 |
| 580 | ==> got signal NS_RESET, NS-VC 0x1001/1.2.3.4:2222 |
| 581 | MESSAGE to BSS, msg length 9 |
| 582 | 03 01 82 10 01 04 82 10 00 |
| 583 | |
| 584 | MESSAGE to BSS, msg length 1 |
| 585 | 0a |
| 586 | |
| 587 | result (RESET) = 9 |
| 588 | |
| 589 | PROCESSING ALIVE from 0x01020304:2222 |
| 590 | 0a |
| 591 | |
| 592 | MESSAGE to BSS, msg length 1 |
| 593 | 0b |
| 594 | |
| 595 | result (ALIVE) = 1 |
| 596 | |
| 597 | PROCESSING UNBLOCK from 0x01020304:2222 |
| 598 | 06 |
| 599 | |
Jacob Erlbeck | cc6ac4c | 2015-12-17 13:22:36 +0100 | [diff] [blame] | 600 | MESSAGE to BSS, msg length 1 |
| 601 | 07 |
| 602 | |
Stefan Sperling | 797558e | 2018-11-19 17:18:41 +0100 | [diff] [blame] | 603 | ==> got signal NS_UNBLOCK, NS-VC 0x1001/1.2.3.4:2222 |
Jacob Erlbeck | cc6ac4c | 2015-12-17 13:22:36 +0100 | [diff] [blame] | 604 | result (UNBLOCK) = 1 |
| 605 | |
| 606 | PROCESSING ALIVE_ACK from 0x01020304:2222 |
| 607 | 0b |
| 608 | |
| 609 | result (ALIVE_ACK) = 0 |
| 610 | |
| 611 | MESSAGE to BSS, msg length 12 |
| 612 | 02 00 81 01 01 82 10 01 04 82 10 00 |
| 613 | |
| 614 | PROCESSING UNBLOCK_ACK from 0x01020304:2222 |
| 615 | 07 |
| 616 | |
| 617 | ==> got signal NS_UNBLOCK, NS-VC 0x1001/1.2.3.4:2222 |
| 618 | result (UNBLOCK_ACK) = 0 |
| 619 | |
| 620 | Current NS-VCIs: |
Max | 4ce24c4 | 2017-10-23 15:09:23 +0200 | [diff] [blame] | 621 | VCI 0xf001, NSEI 0x1000, peer 0x00000000:0, ALIVE, BLOCKED, UNRESET |
Jacob Erlbeck | cc6ac4c | 2015-12-17 13:22:36 +0100 | [diff] [blame] | 622 | NS-VC Block count : 1 |
| 623 | NS-VC replaced other count: 2 |
Max | 4ce24c4 | 2017-10-23 15:09:23 +0200 | [diff] [blame] | 624 | VCI 0x2001, NSEI 0x2000, peer 0x01020304:1111, ALIVE, UNBLOCKED, UNRESET |
| 625 | VCI 0x1001, NSEI 0x1000, peer 0x01020304:2222, ALIVE, UNBLOCKED, UNRESET |
Jacob Erlbeck | cc6ac4c | 2015-12-17 13:22:36 +0100 | [diff] [blame] | 626 | NS-VC Block count : 4 |
| 627 | NS-VC replaced other count: 3 |
| 628 | NS-VC changed NSEI count : 4 |
| 629 | |
| 630 | PROCESSING RESET_ACK from 0x01020304:2222 |
| 631 | 03 01 82 10 01 04 82 10 00 |
| 632 | |
| 633 | result (RESET_ACK) = 0 |
| 634 | |
| 635 | MESSAGE to BSS, msg length 12 |
| 636 | 02 00 81 01 01 82 10 01 04 82 10 00 |
| 637 | |
| 638 | PROCESSING RESET_ACK from 0x01020304:2222 |
| 639 | 03 01 82 10 01 04 82 10 00 |
| 640 | |
| 641 | MESSAGE to BSS, msg length 1 |
| 642 | 0a |
| 643 | |
| 644 | result (RESET_ACK) = 1 |
| 645 | |
| 646 | Current NS-VCIs: |
Max | 4ce24c4 | 2017-10-23 15:09:23 +0200 | [diff] [blame] | 647 | VCI 0xf001, NSEI 0x1000, peer 0x00000000:0, ALIVE, BLOCKED, UNRESET |
Jacob Erlbeck | cc6ac4c | 2015-12-17 13:22:36 +0100 | [diff] [blame] | 648 | NS-VC Block count : 1 |
| 649 | NS-VC replaced other count: 2 |
Max | 4ce24c4 | 2017-10-23 15:09:23 +0200 | [diff] [blame] | 650 | VCI 0x2001, NSEI 0x2000, peer 0x01020304:1111, ALIVE, UNBLOCKED, UNRESET |
| 651 | VCI 0x1001, NSEI 0x1000, peer 0x01020304:2222, ALIVE, BLOCKED, UNRESET |
Jacob Erlbeck | cc6ac4c | 2015-12-17 13:22:36 +0100 | [diff] [blame] | 652 | NS-VC Block count : 5 |
| 653 | NS-VC replaced other count: 3 |
| 654 | NS-VC changed NSEI count : 4 |
| 655 | |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 656 | Current NS-VCIs: |
| 657 | |
| 658 | --- Setup SGSN connection, BSS -> SGSN --- |
| 659 | |
| 660 | MESSAGE to SGSN, msg length 12 |
| 661 | 02 00 81 01 01 82 01 01 04 82 01 00 |
| 662 | |
| 663 | PROCESSING RESET_ACK from 0x05060708:32000 |
| 664 | 03 01 82 01 01 04 82 01 00 |
| 665 | |
| 666 | MESSAGE to SGSN, msg length 1 |
| 667 | 0a |
| 668 | |
| 669 | result (RESET_ACK) = 1 |
| 670 | |
| 671 | PROCESSING ALIVE_ACK from 0x05060708:32000 |
| 672 | 0b |
| 673 | |
| 674 | MESSAGE to SGSN, msg length 1 |
| 675 | 06 |
| 676 | |
| 677 | result (ALIVE_ACK) = 1 |
| 678 | |
| 679 | PROCESSING UNBLOCK_ACK from 0x05060708:32000 |
| 680 | 07 |
| 681 | |
| 682 | ==> got signal NS_UNBLOCK, NS-VC 0x0101/5.6.7.8:32000 |
| 683 | result (UNBLOCK_ACK) = 0 |
| 684 | |
| 685 | Current NS-VCIs: |
Max | 4ce24c4 | 2017-10-23 15:09:23 +0200 | [diff] [blame] | 686 | VCI 0x0101, NSEI 0x0100, peer 0x05060708:32000, ALIVE, UNBLOCKED, UNRESET |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 687 | NS-VC Block count : 1 |
| 688 | |
| 689 | --- RESET, SGSN -> BSS --- |
| 690 | |
| 691 | PROCESSING RESET from 0x05060708:32000 |
| 692 | 02 00 81 01 01 82 01 01 04 82 01 00 |
| 693 | |
| 694 | ==> got signal NS_RESET, NS-VC 0x0101/5.6.7.8:32000 |
| 695 | MESSAGE to SGSN, msg length 9 |
| 696 | 03 01 82 01 01 04 82 01 00 |
| 697 | |
| 698 | MESSAGE to SGSN, msg length 1 |
| 699 | 0a |
| 700 | |
| 701 | result (RESET) = 9 |
| 702 | |
| 703 | Current NS-VCIs: |
Max | 4ce24c4 | 2017-10-23 15:09:23 +0200 | [diff] [blame] | 704 | VCI 0x0101, NSEI 0x0100, peer 0x05060708:32000, ALIVE, BLOCKED, UNRESET |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 705 | NS-VC Block count : 1 |
| 706 | |
| 707 | --- RESET with invalid NSEI, SGSN -> BSS --- |
| 708 | |
| 709 | PROCESSING RESET from 0x05060708:32000 |
| 710 | 02 00 81 01 01 82 01 01 04 82 f0 00 |
| 711 | |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame] | 712 | ==> 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] | 713 | MESSAGE to SGSN, msg length 9 |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame] | 714 | 03 01 82 01 01 04 82 01 00 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 715 | |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame] | 716 | result (RESET) = 0 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 717 | |
| 718 | Current NS-VCIs: |
Max | 4ce24c4 | 2017-10-23 15:09:23 +0200 | [diff] [blame] | 719 | VCI 0x0101, NSEI 0x0100, peer 0x05060708:32000, ALIVE, BLOCKED, UNRESET |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 720 | NS-VC Block count : 1 |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame] | 721 | NSEI was invalid count : 1 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 722 | |
| 723 | --- RESET with invalid NSVCI, SGSN -> BSS --- |
| 724 | |
| 725 | PROCESSING RESET from 0x05060708:32000 |
| 726 | 02 00 81 01 01 82 f0 01 04 82 01 00 |
| 727 | |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame] | 728 | ==> 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] | 729 | MESSAGE to SGSN, msg length 9 |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame] | 730 | 03 01 82 01 01 04 82 01 00 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 731 | |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame] | 732 | result (RESET) = 0 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 733 | |
| 734 | Current NS-VCIs: |
Max | 4ce24c4 | 2017-10-23 15:09:23 +0200 | [diff] [blame] | 735 | VCI 0x0101, NSEI 0x0100, peer 0x05060708:32000, ALIVE, BLOCKED, UNRESET |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 736 | NS-VC Block count : 1 |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame] | 737 | NS-VCI was invalid count : 1 |
| 738 | NSEI was invalid count : 1 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 739 | |
| 740 | --- RESET, SGSN -> BSS --- |
| 741 | |
| 742 | PROCESSING RESET from 0x05060708:32000 |
| 743 | 02 00 81 01 01 82 01 01 04 82 01 00 |
| 744 | |
| 745 | ==> got signal NS_RESET, NS-VC 0x0101/5.6.7.8:32000 |
| 746 | MESSAGE to SGSN, msg length 9 |
| 747 | 03 01 82 01 01 04 82 01 00 |
| 748 | |
| 749 | MESSAGE to SGSN, msg length 1 |
| 750 | 0a |
| 751 | |
| 752 | result (RESET) = 9 |
| 753 | |
| 754 | Current NS-VCIs: |
Max | 4ce24c4 | 2017-10-23 15:09:23 +0200 | [diff] [blame] | 755 | VCI 0x0101, NSEI 0x0100, peer 0x05060708:32000, ALIVE, BLOCKED, UNRESET |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 756 | NS-VC Block count : 1 |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame] | 757 | NS-VCI was invalid count : 1 |
| 758 | NSEI was invalid count : 1 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 759 | |
| 760 | --- Unexpected RESET_ACK VC 1, BSS -> SGSN --- |
| 761 | |
| 762 | PROCESSING RESET_ACK from 0x05060708:32000 |
| 763 | 03 01 82 01 01 04 82 01 00 |
| 764 | |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame] | 765 | result (RESET_ACK) = 0 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 766 | |
| 767 | Current NS-VCIs: |
Max | 4ce24c4 | 2017-10-23 15:09:23 +0200 | [diff] [blame] | 768 | VCI 0x0101, NSEI 0x0100, peer 0x05060708:32000, ALIVE, BLOCKED, UNRESET |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame] | 769 | NS-VC Block count : 1 |
| 770 | NS-VCI was invalid count : 1 |
| 771 | NSEI was invalid count : 1 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 772 | |
| 773 | --- RESET_ACK with invalid NSEI, BSS -> SGSN --- |
| 774 | |
| 775 | MESSAGE to SGSN, msg length 12 |
| 776 | 02 00 81 01 01 82 01 01 04 82 01 00 |
| 777 | |
| 778 | PROCESSING RESET_ACK from 0x05060708:32000 |
| 779 | 03 01 82 01 01 04 82 e0 00 |
| 780 | |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame] | 781 | ==> got signal NS_MISMATCH: 0x0101/5.6.7.8:32000 pdu=3, ie=4 |
| 782 | result (RESET_ACK) = -22 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 783 | |
| 784 | Current NS-VCIs: |
Max | 4ce24c4 | 2017-10-23 15:09:23 +0200 | [diff] [blame] | 785 | VCI 0x0101, NSEI 0x0100, peer 0x05060708:32000, DEAD, BLOCKED, RESET |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame] | 786 | NS-VC Block count : 1 |
| 787 | NS-VCI was invalid count : 1 |
| 788 | NSEI was invalid count : 2 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 789 | |
| 790 | --- RESET_ACK with invalid NSVCI, BSS -> SGSN --- |
| 791 | |
| 792 | MESSAGE to SGSN, msg length 12 |
| 793 | 02 00 81 01 01 82 01 01 04 82 01 00 |
| 794 | |
| 795 | PROCESSING RESET_ACK from 0x05060708:32000 |
| 796 | 03 01 82 e0 01 04 82 01 00 |
| 797 | |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame] | 798 | ==> got signal NS_MISMATCH: 0x0101/5.6.7.8:32000 pdu=3, ie=1 |
| 799 | result (RESET_ACK) = -22 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 800 | |
| 801 | Current NS-VCIs: |
Max | 4ce24c4 | 2017-10-23 15:09:23 +0200 | [diff] [blame] | 802 | VCI 0x0101, NSEI 0x0100, peer 0x05060708:32000, DEAD, BLOCKED, RESET |
Jacob Erlbeck | 5405a10 | 2013-10-24 01:33:23 +0200 | [diff] [blame] | 803 | NS-VC Block count : 1 |
| 804 | NS-VCI was invalid count : 2 |
| 805 | NSEI was invalid count : 2 |
Jacob Erlbeck | 81d7c14 | 2013-10-24 01:33:22 +0200 | [diff] [blame] | 806 | |
Jacob Erlbeck | 0d4e949 | 2013-10-17 13:58:34 +0200 | [diff] [blame] | 807 | Current NS-VCIs: |
| 808 | |
Jacob Erlbeck | cdb85f5 | 2014-10-07 14:07:39 +0200 | [diff] [blame] | 809 | === test_sgsn_reset_invalid_state === |
| 810 | --- Setup SGSN connection, BSS -> SGSN --- |
| 811 | |
| 812 | MESSAGE to SGSN, msg length 12 |
| 813 | 02 00 81 01 01 82 01 01 04 82 01 00 |
| 814 | |
| 815 | PROCESSING RESET_ACK from 0x05060708:32000 |
| 816 | 03 01 82 01 01 04 82 01 00 |
| 817 | |
| 818 | MESSAGE to SGSN, msg length 1 |
| 819 | 0a |
| 820 | |
| 821 | result (RESET_ACK) = 1 |
| 822 | |
| 823 | PROCESSING ALIVE_ACK from 0x05060708:32000 |
| 824 | 0b |
| 825 | |
| 826 | MESSAGE to SGSN, msg length 1 |
| 827 | 06 |
| 828 | |
| 829 | result (ALIVE_ACK) = 1 |
| 830 | |
| 831 | PROCESSING UNBLOCK_ACK from 0x05060708:32000 |
| 832 | 07 |
| 833 | |
| 834 | ==> got signal NS_UNBLOCK, NS-VC 0x0101/5.6.7.8:32000 |
| 835 | result (UNBLOCK_ACK) = 0 |
| 836 | |
| 837 | Current NS-VCIs: |
Max | 4ce24c4 | 2017-10-23 15:09:23 +0200 | [diff] [blame] | 838 | VCI 0x0101, NSEI 0x0100, peer 0x05060708:32000, ALIVE, UNBLOCKED, UNRESET |
Jacob Erlbeck | cdb85f5 | 2014-10-07 14:07:39 +0200 | [diff] [blame] | 839 | NS-VC Block count : 1 |
| 840 | |
| 841 | --- Time out local test procedure --- |
| 842 | |
| 843 | MESSAGE to SGSN, msg length 1 |
| 844 | 0a |
| 845 | |
| 846 | MESSAGE to SGSN, msg length 1 |
| 847 | 0a |
| 848 | |
| 849 | MESSAGE to SGSN, msg length 1 |
| 850 | 0a |
| 851 | |
| 852 | MESSAGE to SGSN, msg length 1 |
| 853 | 0a |
| 854 | |
| 855 | MESSAGE to SGSN, msg length 1 |
| 856 | 0a |
| 857 | |
| 858 | MESSAGE to SGSN, msg length 1 |
| 859 | 0a |
| 860 | |
| 861 | MESSAGE to SGSN, msg length 1 |
| 862 | 0a |
| 863 | |
| 864 | MESSAGE to SGSN, msg length 1 |
| 865 | 0a |
| 866 | |
| 867 | MESSAGE to SGSN, msg length 1 |
| 868 | 0a |
| 869 | |
| 870 | MESSAGE to SGSN, msg length 1 |
| 871 | 0a |
| 872 | |
| 873 | MESSAGE to SGSN, msg length 1 |
| 874 | 0a |
| 875 | |
| 876 | ==> got signal NS_ALIVE_EXP, NS-VC 0x0101/5.6.7.8:32000 |
| 877 | ==> got signal NS_BLOCK, NS-VC 0x0101/5.6.7.8:32000 |
| 878 | --- Remote test procedure continues --- |
| 879 | |
| 880 | PROCESSING ALIVE from 0x05060708:32000 |
| 881 | 0a |
| 882 | |
| 883 | MESSAGE to SGSN, msg length 12 |
| 884 | 02 00 81 0a 01 82 01 01 04 82 01 00 |
| 885 | |
| 886 | result (ALIVE) = 12 |
| 887 | |
| 888 | --- Don't send a NS_RESET_ACK message (pretend it is lost) --- |
| 889 | |
| 890 | PROCESSING ALIVE from 0x05060708:32000 |
| 891 | 0a |
| 892 | |
Jacob Erlbeck | 6ac70a4 | 2014-10-07 14:12:30 +0200 | [diff] [blame] | 893 | result (ALIVE) = 0 |
| 894 | |
| 895 | PROCESSING RESET_ACK from 0x05060708:32000 |
| 896 | 03 01 82 01 01 04 82 01 00 |
| 897 | |
Jacob Erlbeck | cdb85f5 | 2014-10-07 14:07:39 +0200 | [diff] [blame] | 898 | MESSAGE to SGSN, msg length 1 |
Jacob Erlbeck | 6ac70a4 | 2014-10-07 14:12:30 +0200 | [diff] [blame] | 899 | 0a |
| 900 | |
| 901 | result (RESET_ACK) = 1 |
| 902 | |
| 903 | PROCESSING ALIVE_ACK from 0x05060708:32000 |
Jacob Erlbeck | cdb85f5 | 2014-10-07 14:07:39 +0200 | [diff] [blame] | 904 | 0b |
| 905 | |
Jacob Erlbeck | 6ac70a4 | 2014-10-07 14:12:30 +0200 | [diff] [blame] | 906 | MESSAGE to SGSN, msg length 1 |
| 907 | 06 |
| 908 | |
| 909 | result (ALIVE_ACK) = 1 |
| 910 | |
| 911 | PROCESSING UNBLOCK_ACK from 0x05060708:32000 |
| 912 | 07 |
| 913 | |
| 914 | ==> got signal NS_UNBLOCK, NS-VC 0x0101/5.6.7.8:32000 |
| 915 | result (UNBLOCK_ACK) = 0 |
Jacob Erlbeck | cdb85f5 | 2014-10-07 14:07:39 +0200 | [diff] [blame] | 916 | |
| 917 | PROCESSING UNITDATA from 0x05060708:32000 |
| 918 | 00 00 12 34 01 02 03 04 |
| 919 | |
Jacob Erlbeck | 6ac70a4 | 2014-10-07 14:12:30 +0200 | [diff] [blame] | 920 | CALLBACK, event 0, msg length 4, bvci 0x1234 |
| 921 | 01 02 03 04 |
Jacob Erlbeck | cdb85f5 | 2014-10-07 14:07:39 +0200 | [diff] [blame] | 922 | |
Jacob Erlbeck | 6ac70a4 | 2014-10-07 14:12:30 +0200 | [diff] [blame] | 923 | result (UNITDATA) = 0 |
Jacob Erlbeck | cdb85f5 | 2014-10-07 14:07:39 +0200 | [diff] [blame] | 924 | |
| 925 | Current NS-VCIs: |
| 926 | |
Jacob Erlbeck | 0d4e949 | 2013-10-17 13:58:34 +0200 | [diff] [blame] | 927 | --- Send message to SGSN --- |
| 928 | |
| 929 | SENDING BSSGP RESET to NSEI 0x0100, BVCI 0x0000 |
| 930 | NS UNITDATA MESSAGE to SGSN, BVCI 0x0000, msg length 18 |
| 931 | 22 04 82 4a 2e 07 81 08 08 88 10 20 30 40 50 60 10 00 |
| 932 | |
| 933 | result (BSSGP RESET) = -22 |
| 934 | |
| 935 | --- Setup dead connection to SGSN --- |
| 936 | |
| 937 | MESSAGE to SGSN, msg length 12 |
| 938 | 02 00 81 01 01 82 01 01 04 82 01 00 |
| 939 | |
| 940 | Current NS-VCIs: |
Max | 4ce24c4 | 2017-10-23 15:09:23 +0200 | [diff] [blame] | 941 | VCI 0x0101, NSEI 0x0100, peer 0x05060708:32000, DEAD, BLOCKED, RESET |
Jacob Erlbeck | 0d4e949 | 2013-10-17 13:58:34 +0200 | [diff] [blame] | 942 | |
| 943 | --- Send message to SGSN --- |
| 944 | |
| 945 | SENDING BSSGP RESET to NSEI 0x0100, BVCI 0x0000 |
| 946 | NS UNITDATA MESSAGE to SGSN, BVCI 0x0000, msg length 18 |
| 947 | 22 04 82 4a 2e 07 81 08 08 88 10 20 30 40 50 60 10 00 |
| 948 | |
Jacob Erlbeck | bf02196 | 2013-10-17 13:58:35 +0200 | [diff] [blame] | 949 | result (BSSGP RESET) = -16 |
Jacob Erlbeck | 0d4e949 | 2013-10-17 13:58:34 +0200 | [diff] [blame] | 950 | |
| 951 | --- Make connection to SGSN alive --- |
| 952 | |
| 953 | PROCESSING RESET_ACK from 0x05060708:32000 |
| 954 | 03 01 82 01 01 04 82 01 00 |
| 955 | |
| 956 | MESSAGE to SGSN, msg length 1 |
| 957 | 0a |
| 958 | |
| 959 | result (RESET_ACK) = 1 |
| 960 | |
| 961 | PROCESSING ALIVE_ACK from 0x05060708:32000 |
| 962 | 0b |
| 963 | |
| 964 | MESSAGE to SGSN, msg length 1 |
| 965 | 06 |
| 966 | |
| 967 | result (ALIVE_ACK) = 1 |
| 968 | |
| 969 | Current NS-VCIs: |
Max | 4ce24c4 | 2017-10-23 15:09:23 +0200 | [diff] [blame] | 970 | VCI 0x0101, NSEI 0x0100, peer 0x05060708:32000, ALIVE, BLOCKED, UNRESET |
Jacob Erlbeck | 0d4e949 | 2013-10-17 13:58:34 +0200 | [diff] [blame] | 971 | NS-VC Block count : 1 |
| 972 | |
| 973 | --- Send message to SGSN --- |
| 974 | |
| 975 | SENDING BSSGP RESET to NSEI 0x0100, BVCI 0x0000 |
| 976 | NS UNITDATA MESSAGE to SGSN, BVCI 0x0000, msg length 18 |
| 977 | 22 04 82 4a 2e 07 81 08 08 88 10 20 30 40 50 60 10 00 |
| 978 | |
Jacob Erlbeck | bf02196 | 2013-10-17 13:58:35 +0200 | [diff] [blame] | 979 | result (BSSGP RESET) = -16 |
Jacob Erlbeck | 0d4e949 | 2013-10-17 13:58:34 +0200 | [diff] [blame] | 980 | |
| 981 | --- Unblock connection to SGSN --- |
| 982 | |
| 983 | PROCESSING UNBLOCK_ACK from 0x05060708:32000 |
| 984 | 07 |
| 985 | |
| 986 | ==> got signal NS_UNBLOCK, NS-VC 0x0101/5.6.7.8:32000 |
| 987 | result (UNBLOCK_ACK) = 0 |
| 988 | |
| 989 | PROCESSING ALIVE from 0x05060708:32000 |
| 990 | 0a |
| 991 | |
| 992 | MESSAGE to SGSN, msg length 1 |
| 993 | 0b |
| 994 | |
| 995 | result (ALIVE) = 1 |
| 996 | |
| 997 | Current NS-VCIs: |
Max | 4ce24c4 | 2017-10-23 15:09:23 +0200 | [diff] [blame] | 998 | VCI 0x0101, NSEI 0x0100, peer 0x05060708:32000, ALIVE, UNBLOCKED, UNRESET |
Jacob Erlbeck | 0d4e949 | 2013-10-17 13:58:34 +0200 | [diff] [blame] | 999 | NS-VC Block count : 1 |
| 1000 | |
| 1001 | --- Send message to SGSN --- |
| 1002 | |
| 1003 | SENDING BSSGP RESET to NSEI 0x0100, BVCI 0x0000 |
| 1004 | NS UNITDATA MESSAGE to SGSN, BVCI 0x0000, msg length 18 |
| 1005 | 22 04 82 4a 2e 07 81 08 08 88 10 20 30 40 50 60 10 00 |
| 1006 | |
Jacob Erlbeck | bf02196 | 2013-10-17 13:58:35 +0200 | [diff] [blame] | 1007 | MESSAGE to SGSN, msg length 22 |
| 1008 | 00 00 00 00 22 04 82 4a 2e 07 81 08 08 88 10 20 30 40 50 60 10 00 |
| 1009 | |
| 1010 | result (BSSGP RESET) = 22 |
Jacob Erlbeck | 0d4e949 | 2013-10-17 13:58:34 +0200 | [diff] [blame] | 1011 | |
| 1012 | --- Send empty message with BVCI to SGSN --- |
| 1013 | |
| 1014 | SENDING [empty] to NSEI 0x0100, BVCI 0x0102 |
| 1015 | NS UNITDATA MESSAGE to SGSN, BVCI 0x0102, msg length 0 |
| 1016 | |
| 1017 | |
Jacob Erlbeck | bf02196 | 2013-10-17 13:58:35 +0200 | [diff] [blame] | 1018 | MESSAGE to SGSN, msg length 4 |
| 1019 | 00 00 01 02 |
| 1020 | |
| 1021 | result ([empty]) = 4 |
Jacob Erlbeck | 0d4e949 | 2013-10-17 13:58:34 +0200 | [diff] [blame] | 1022 | |
Jacob Erlbeck | dcce196 | 2013-10-08 12:04:43 +0200 | [diff] [blame] | 1023 | ===== NS protocol test END |
| 1024 | |