Harald Welte | c8a0b93 | 2012-08-24 21:27:26 +0200 | [diff] [blame] | 1 | Test `CSD 9600/V.110/transparent' passed |
| 2 | Test `Speech, all codecs' passed |
Holger Hans Peter Freyther | cd252e3 | 2013-07-03 09:56:53 +0200 | [diff] [blame] | 3 | Simple TMSI encoding test....passed |
Max | d55d7d4 | 2018-02-15 11:27:18 +0100 | [diff] [blame] | 4 | Simple IMSI encoding test....passed: [10] 17 08 99 10 07 00 00 00 64 02 |
Neels Hofmeyr | 4968628 | 2018-12-05 21:32:21 +0100 | [diff] [blame] | 5 | |
| 6 | Testing Mobile Identity conversions |
| 7 | - IMSI 123456789012345 |
| 8 | -> MI-TLV-hex='17081932547698103254' |
| 9 | -> MI-str="123456789012345" rc=16 |
Neels Hofmeyr | 02fd83d | 2019-01-05 00:38:54 +0100 | [diff] [blame] | 10 | -> MI-name="IMSI-123456789012345" |
Neels Hofmeyr | 4968628 | 2018-12-05 21:32:21 +0100 | [diff] [blame] | 11 | - IMSI 12345678901234 |
| 12 | -> MI-TLV-hex='170811325476981032f4' |
| 13 | -> MI-str="12345678901234" rc=15 |
Neels Hofmeyr | 02fd83d | 2019-01-05 00:38:54 +0100 | [diff] [blame] | 14 | -> MI-name="IMSI-12345678901234" |
Neels Hofmeyr | 4968628 | 2018-12-05 21:32:21 +0100 | [diff] [blame] | 15 | - IMSI 423423 |
| 16 | -> MI-TLV-hex='1704413224f3' |
| 17 | -> MI-str="423423" rc=7 |
Neels Hofmeyr | 02fd83d | 2019-01-05 00:38:54 +0100 | [diff] [blame] | 18 | -> MI-name="IMSI-423423" |
Neels Hofmeyr | 4968628 | 2018-12-05 21:32:21 +0100 | [diff] [blame] | 19 | - unknown 0x9 423423 |
Neels Hofmeyr | 23187fa | 2018-12-05 23:24:50 +0100 | [diff] [blame] | 20 | -> MI-TLV-hex='1704413224f3' |
| 21 | -> MI-str="423423" rc=7 |
Neels Hofmeyr | 02fd83d | 2019-01-05 00:38:54 +0100 | [diff] [blame] | 22 | -> MI-name="IMSI-423423" |
Neels Hofmeyr | 4968628 | 2018-12-05 21:32:21 +0100 | [diff] [blame] | 23 | - IMSI 4234235 |
| 24 | -> MI-TLV-hex='170449322453' |
| 25 | -> MI-str="4234235" rc=8 |
Neels Hofmeyr | 02fd83d | 2019-01-05 00:38:54 +0100 | [diff] [blame] | 26 | -> MI-name="IMSI-4234235" |
Neels Hofmeyr | 4968628 | 2018-12-05 21:32:21 +0100 | [diff] [blame] | 27 | - IMSI 4234235 |
| 28 | -> MI-TLV-hex='170449322453' |
Neels Hofmeyr | 627e011 | 2018-12-05 21:32:40 +0100 | [diff] [blame] | 29 | -> MI-str="423" rc=4 |
Neels Hofmeyr | 02fd83d | 2019-01-05 00:38:54 +0100 | [diff] [blame] | 30 | -> MI-name="IMSI-4234235" |
Neels Hofmeyr | 4968628 | 2018-12-05 21:32:21 +0100 | [diff] [blame] | 31 | - IMEI 123456789012345 |
| 32 | -> MI-TLV-hex='17081a32547698103254' |
| 33 | -> MI-str="123456789012345" rc=16 |
Neels Hofmeyr | 02fd83d | 2019-01-05 00:38:54 +0100 | [diff] [blame] | 34 | -> MI-name="IMEI-123456789012345" |
Neels Hofmeyr | 4968628 | 2018-12-05 21:32:21 +0100 | [diff] [blame] | 35 | - IMEI 98765432109876 |
| 36 | -> MI-TLV-hex='170892785634129078f6' |
| 37 | -> MI-str="98765432109876" rc=15 |
Neels Hofmeyr | 02fd83d | 2019-01-05 00:38:54 +0100 | [diff] [blame] | 38 | -> MI-name="IMEI-98765432109876" |
Neels Hofmeyr | 4968628 | 2018-12-05 21:32:21 +0100 | [diff] [blame] | 39 | - IMEI 987654321098765 |
| 40 | -> MI-TLV-hex='17089a78563412907856' |
| 41 | -> MI-str="987654321098765" rc=16 |
Neels Hofmeyr | 02fd83d | 2019-01-05 00:38:54 +0100 | [diff] [blame] | 42 | -> MI-name="IMEI-987654321098765" |
Harald Welte | 1317771 | 2019-01-20 13:41:26 +0100 | [diff] [blame] | 43 | - IMEI-SV 9876543210987654 |
| 44 | -> MI-TLV-hex='17099378563412907856f4' |
| 45 | -> MI-str="9876543210987654" rc=17 |
| 46 | -> MI-name="IMEI-SV-9876543210987654" |
| 47 | - IMEI-SV 9876543210987654 |
| 48 | -> MI-TLV-hex='17099378563412907856f4' |
| 49 | -> MI-str="9876543210987654" rc=17 |
| 50 | -> MI-name="IMEI-SV-9876543210987654" |
Neels Hofmeyr | 4968628 | 2018-12-05 21:32:21 +0100 | [diff] [blame] | 51 | - TMSI 305419896 |
| 52 | -> MI-TLV-hex='1705f412345678' |
| 53 | -> MI-str="305419896" rc=9 |
Neels Hofmeyr | 02fd83d | 2019-01-05 00:38:54 +0100 | [diff] [blame] | 54 | -> MI-name="TMSI-0x12345678" |
Neels Hofmeyr | 4968628 | 2018-12-05 21:32:21 +0100 | [diff] [blame] | 55 | - TMSI 12648430 |
| 56 | -> MI-TLV-hex='1705f400c0ffee' |
| 57 | -> MI-str="12648430" rc=8 |
Neels Hofmeyr | 02fd83d | 2019-01-05 00:38:54 +0100 | [diff] [blame] | 58 | -> MI-name="TMSI-0x00C0FFEE" |
Neels Hofmeyr | 4968628 | 2018-12-05 21:32:21 +0100 | [diff] [blame] | 59 | - TMSI 0 |
| 60 | -> MI-TLV-hex='1705f400000000' |
| 61 | -> MI-str="0" rc=1 |
Neels Hofmeyr | 02fd83d | 2019-01-05 00:38:54 +0100 | [diff] [blame] | 62 | -> MI-name="TMSI-0x00000000" |
Neels Hofmeyr | 4968628 | 2018-12-05 21:32:21 +0100 | [diff] [blame] | 63 | - TMSI 305419896 |
| 64 | -> MI-TLV-hex='1705f412345678' |
| 65 | -> MI-str="3054" rc=9 |
Neels Hofmeyr | 02fd83d | 2019-01-05 00:38:54 +0100 | [diff] [blame] | 66 | -> MI-name="TMSI-0x12345678" |
Neels Hofmeyr | 4968628 | 2018-12-05 21:32:21 +0100 | [diff] [blame] | 67 | - NONE 123 |
| 68 | -> MI-TLV-hex='17021832' |
| 69 | -> MI-str="" rc=1 |
Neels Hofmeyr | 02fd83d | 2019-01-05 00:38:54 +0100 | [diff] [blame] | 70 | -> MI-name="unknown" |
Neels Hofmeyr | 4968628 | 2018-12-05 21:32:21 +0100 | [diff] [blame] | 71 | - NONE 1234 |
| 72 | -> MI-TLV-hex='17031032f4' |
| 73 | -> MI-str="" rc=1 |
Neels Hofmeyr | 02fd83d | 2019-01-05 00:38:54 +0100 | [diff] [blame] | 74 | -> MI-name="unknown" |
Neels Hofmeyr | 4968628 | 2018-12-05 21:32:21 +0100 | [diff] [blame] | 75 | - unknown 0x8 1234 |
Neels Hofmeyr | 23187fa | 2018-12-05 23:24:50 +0100 | [diff] [blame] | 76 | -> MI-TLV-hex='17031032f4' |
Neels Hofmeyr | 4968628 | 2018-12-05 21:32:21 +0100 | [diff] [blame] | 77 | -> MI-str="" rc=1 |
Neels Hofmeyr | 02fd83d | 2019-01-05 00:38:54 +0100 | [diff] [blame] | 78 | -> MI-name="unknown" |
Neels Hofmeyr | 4968628 | 2018-12-05 21:32:21 +0100 | [diff] [blame] | 79 | |
| 80 | Decoding zero length Mobile Identities |
| 81 | - MI type: IMSI |
| 82 | - writing to zero-length string: |
Neels Hofmeyr | 627e011 | 2018-12-05 21:32:40 +0100 | [diff] [blame] | 83 | rc=0 |
| 84 | nothing written |
Neels Hofmeyr | 4968628 | 2018-12-05 21:32:21 +0100 | [diff] [blame] | 85 | - writing to 1-byte-length string: |
| 86 | rc=1 |
Neels Hofmeyr | 627e011 | 2018-12-05 21:32:40 +0100 | [diff] [blame] | 87 | returned empty string |
Neels Hofmeyr | 4968628 | 2018-12-05 21:32:21 +0100 | [diff] [blame] | 88 | - decode zero-length mi: |
Neels Hofmeyr | 627e011 | 2018-12-05 21:32:40 +0100 | [diff] [blame] | 89 | rc=1 |
| 90 | returned empty string |
Neels Hofmeyr | 4968628 | 2018-12-05 21:32:21 +0100 | [diff] [blame] | 91 | - MI type: TMSI |
| 92 | - writing to zero-length string: |
Neels Hofmeyr | ea2a0ab | 2018-12-05 23:30:08 +0100 | [diff] [blame] | 93 | rc=0 |
| 94 | nothing written |
Neels Hofmeyr | 4968628 | 2018-12-05 21:32:21 +0100 | [diff] [blame] | 95 | - writing to 1-byte-length string: |
| 96 | rc=1 |
| 97 | returned empty string |
| 98 | - decode zero-length mi: |
| 99 | rc=1 |
| 100 | returned empty string |
| 101 | - MI type: NONE |
| 102 | - writing to zero-length string: |
Neels Hofmeyr | ea2a0ab | 2018-12-05 23:30:08 +0100 | [diff] [blame] | 103 | rc=0 |
| 104 | nothing written |
Neels Hofmeyr | 4968628 | 2018-12-05 21:32:21 +0100 | [diff] [blame] | 105 | - writing to 1-byte-length string: |
| 106 | rc=1 |
| 107 | returned empty string |
| 108 | - decode zero-length mi: |
| 109 | rc=1 |
| 110 | returned empty string |
| 111 | - MI type: IMSI | GSM_MI_ODD |
| 112 | - writing to zero-length string: |
Neels Hofmeyr | 627e011 | 2018-12-05 21:32:40 +0100 | [diff] [blame] | 113 | rc=0 |
| 114 | nothing written |
Neels Hofmeyr | 4968628 | 2018-12-05 21:32:21 +0100 | [diff] [blame] | 115 | - writing to 1-byte-length string: |
| 116 | rc=1 |
Neels Hofmeyr | 627e011 | 2018-12-05 21:32:40 +0100 | [diff] [blame] | 117 | returned empty string |
Neels Hofmeyr | 4968628 | 2018-12-05 21:32:21 +0100 | [diff] [blame] | 118 | - decode zero-length mi: |
Neels Hofmeyr | 627e011 | 2018-12-05 21:32:40 +0100 | [diff] [blame] | 119 | rc=1 |
| 120 | returned empty string |
Neels Hofmeyr | 4968628 | 2018-12-05 21:32:21 +0100 | [diff] [blame] | 121 | - MI type: TMSI | GSM_MI_ODD |
| 122 | - writing to zero-length string: |
Neels Hofmeyr | ea2a0ab | 2018-12-05 23:30:08 +0100 | [diff] [blame] | 123 | rc=0 |
| 124 | nothing written |
Neels Hofmeyr | 4968628 | 2018-12-05 21:32:21 +0100 | [diff] [blame] | 125 | - writing to 1-byte-length string: |
| 126 | rc=1 |
| 127 | returned empty string |
| 128 | - decode zero-length mi: |
| 129 | rc=1 |
| 130 | returned empty string |
| 131 | - MI type: NONE | GSM_MI_ODD |
| 132 | - writing to zero-length string: |
Neels Hofmeyr | ea2a0ab | 2018-12-05 23:30:08 +0100 | [diff] [blame] | 133 | rc=0 |
| 134 | nothing written |
Neels Hofmeyr | 4968628 | 2018-12-05 21:32:21 +0100 | [diff] [blame] | 135 | - writing to 1-byte-length string: |
| 136 | rc=1 |
| 137 | returned empty string |
| 138 | - decode zero-length mi: |
| 139 | rc=1 |
| 140 | returned empty string |
| 141 | |
Max | f1ad60e | 2018-01-05 14:19:33 +0100 | [diff] [blame] | 142 | Constructed RA: |
Neels Hofmeyr | c38b32d | 2018-02-20 15:13:18 +0100 | [diff] [blame] | 143 | 077-121-666-5 |
| 144 | MCC+MNC in BCD: 70 17 21 |
Neels Hofmeyr | dbb2513 | 2018-02-20 15:12:23 +0100 | [diff] [blame] | 145 | 077-121-666-5 (3-digit MNC) |
Max | 99377c2 | 2017-08-30 19:17:50 +0200 | [diff] [blame] | 146 | RA test...passed |
Max | f1ad60e | 2018-01-05 14:19:33 +0100 | [diff] [blame] | 147 | Constructed RA: |
Neels Hofmeyr | c38b32d | 2018-02-20 15:13:18 +0100 | [diff] [blame] | 148 | 084-98-11-89 |
| 149 | MCC+MNC in BCD: 80 f4 89 |
| 150 | 084-98-11-89 |
Max | 99377c2 | 2017-08-30 19:17:50 +0200 | [diff] [blame] | 151 | RA test...passed |
Neels Hofmeyr | b9fd7eb | 2018-02-20 15:14:03 +0100 | [diff] [blame] | 152 | Constructed RA: |
| 153 | 000-00-0-0 |
| 154 | MCC+MNC in BCD: 00 f0 00 |
| 155 | 000-00-0-0 |
| 156 | RA test...passed |
| 157 | Constructed RA: |
Neels Hofmeyr | 6c7b3e2 | 2018-02-20 22:20:42 +0100 | [diff] [blame] | 158 | 000-000-0-0 (3-digit MNC) |
| 159 | MCC+MNC in BCD: 00 00 00 |
| 160 | 000-000-0-0 (3-digit MNC) |
| 161 | RA test...passed |
| 162 | Constructed RA: |
Neels Hofmeyr | b9fd7eb | 2018-02-20 15:14:03 +0100 | [diff] [blame] | 163 | 999-999-65535-255 |
| 164 | MCC+MNC in BCD: 99 99 99 |
Neels Hofmeyr | dbb2513 | 2018-02-20 15:12:23 +0100 | [diff] [blame] | 165 | 999-999-65535-255 (3-digit MNC) |
Neels Hofmeyr | b9fd7eb | 2018-02-20 15:14:03 +0100 | [diff] [blame] | 166 | RA test...passed |
Neels Hofmeyr | 6c7b3e2 | 2018-02-20 22:20:42 +0100 | [diff] [blame] | 167 | Constructed RA: |
| 168 | 001-02-23-42 |
| 169 | MCC+MNC in BCD: 00 f1 20 |
| 170 | 001-02-23-42 |
| 171 | RA test...passed |
| 172 | Constructed RA: |
| 173 | 001-002-23-42 (3-digit MNC) |
| 174 | MCC+MNC in BCD: 00 21 00 |
| 175 | 001-002-23-42 (3-digit MNC) |
| 176 | RA test...passed |
| 177 | Constructed RA: |
| 178 | 012-34-56-78 |
| 179 | MCC+MNC in BCD: 10 f2 43 |
| 180 | 012-34-56-78 |
| 181 | RA test...passed |
| 182 | Constructed RA: |
| 183 | 012-034-23-42 (3-digit MNC) |
| 184 | MCC+MNC in BCD: 10 42 30 |
| 185 | 012-034-23-42 (3-digit MNC) |
| 186 | RA test...passed |
| 187 | Constructed RA: |
| 188 | 123-456-23-42 |
| 189 | MCC+MNC in BCD: 21 63 54 |
| 190 | 123-456-23-42 (3-digit MNC) |
| 191 | RA test...passed |
| 192 | Constructed RA: |
| 193 | 123-456-23-42 (3-digit MNC) |
| 194 | MCC+MNC in BCD: 21 63 54 |
| 195 | 123-456-23-42 (3-digit MNC) |
| 196 | RA test...passed |
Neels Hofmeyr | d5a577b | 2018-02-20 21:48:07 +0100 | [diff] [blame] | 197 | - gsm48_generate_lai() from 077-121-666-0 |
| 198 | Encoded 70 17 21 02 9a |
| 199 | gsm48_decode_lai() gives 077-121-666-0 |
| 200 | passed |
Neels Hofmeyr | 4566f4e | 2018-02-20 22:19:56 +0100 | [diff] [blame] | 201 | - gsm48_generate_lai2() from 077-121-666 |
| 202 | Encoded 70 17 21 02 9a |
| 203 | gsm48_decode_lai2() gives 077-121-666 (3-digit MNC) |
| 204 | passed |
Neels Hofmeyr | d5a577b | 2018-02-20 21:48:07 +0100 | [diff] [blame] | 205 | - gsm48_generate_lai() from 084-98-11-0 |
| 206 | Encoded 80 f4 89 00 0b |
| 207 | gsm48_decode_lai() gives 084-98-11-0 |
| 208 | passed |
Neels Hofmeyr | 4566f4e | 2018-02-20 22:19:56 +0100 | [diff] [blame] | 209 | - gsm48_generate_lai2() from 084-98-11 |
| 210 | Encoded 80 f4 89 00 0b |
| 211 | gsm48_decode_lai2() gives 084-98-11 |
| 212 | passed |
Neels Hofmeyr | d5a577b | 2018-02-20 21:48:07 +0100 | [diff] [blame] | 213 | - gsm48_generate_lai() from 000-00-0-0 |
| 214 | Encoded 00 f0 00 00 00 |
| 215 | gsm48_decode_lai() gives 000-00-0-0 |
| 216 | passed |
Neels Hofmeyr | 4566f4e | 2018-02-20 22:19:56 +0100 | [diff] [blame] | 217 | - gsm48_generate_lai2() from 000-00-0 |
| 218 | Encoded 00 f0 00 00 00 |
| 219 | gsm48_decode_lai2() gives 000-00-0 |
| 220 | passed |
Neels Hofmeyr | 6c7b3e2 | 2018-02-20 22:20:42 +0100 | [diff] [blame] | 221 | - gsm48_generate_lai() from 000-000-0-0 (3-digit MNC) |
| 222 | Encoded 00 f0 00 00 00 |
| 223 | gsm48_decode_lai() gives 000-00-0-0 |
| 224 | passed |
| 225 | - gsm48_generate_lai2() from 000-000-0 (3-digit MNC) |
| 226 | Encoded 00 00 00 00 00 |
| 227 | gsm48_decode_lai2() gives 000-000-0 (3-digit MNC) |
| 228 | passed |
Neels Hofmeyr | d5a577b | 2018-02-20 21:48:07 +0100 | [diff] [blame] | 229 | - gsm48_generate_lai() from 999-999-65535-0 |
| 230 | Encoded 99 99 99 ff ff |
| 231 | gsm48_decode_lai() gives 999-999-65535-0 |
| 232 | passed |
Neels Hofmeyr | 4566f4e | 2018-02-20 22:19:56 +0100 | [diff] [blame] | 233 | - gsm48_generate_lai2() from 999-999-65535 |
| 234 | Encoded 99 99 99 ff ff |
| 235 | gsm48_decode_lai2() gives 999-999-65535 (3-digit MNC) |
| 236 | passed |
Neels Hofmeyr | 6c7b3e2 | 2018-02-20 22:20:42 +0100 | [diff] [blame] | 237 | - gsm48_generate_lai() from 001-02-23-0 |
| 238 | Encoded 00 f1 20 00 17 |
| 239 | gsm48_decode_lai() gives 001-02-23-0 |
| 240 | passed |
| 241 | - gsm48_generate_lai2() from 001-02-23 |
| 242 | Encoded 00 f1 20 00 17 |
| 243 | gsm48_decode_lai2() gives 001-02-23 |
| 244 | passed |
| 245 | - gsm48_generate_lai() from 001-002-23-0 (3-digit MNC) |
| 246 | Encoded 00 f1 20 00 17 |
| 247 | gsm48_decode_lai() gives 001-02-23-0 |
| 248 | passed |
| 249 | - gsm48_generate_lai2() from 001-002-23 (3-digit MNC) |
| 250 | Encoded 00 21 00 00 17 |
| 251 | gsm48_decode_lai2() gives 001-002-23 (3-digit MNC) |
| 252 | passed |
| 253 | - gsm48_generate_lai() from 012-34-56-0 |
| 254 | Encoded 10 f2 43 00 38 |
| 255 | gsm48_decode_lai() gives 012-34-56-0 |
| 256 | passed |
| 257 | - gsm48_generate_lai2() from 012-34-56 |
| 258 | Encoded 10 f2 43 00 38 |
| 259 | gsm48_decode_lai2() gives 012-34-56 |
| 260 | passed |
| 261 | - gsm48_generate_lai() from 012-034-23-0 (3-digit MNC) |
| 262 | Encoded 10 f2 43 00 17 |
| 263 | gsm48_decode_lai() gives 012-34-23-0 |
| 264 | passed |
| 265 | - gsm48_generate_lai2() from 012-034-23 (3-digit MNC) |
| 266 | Encoded 10 42 30 00 17 |
| 267 | gsm48_decode_lai2() gives 012-034-23 (3-digit MNC) |
| 268 | passed |
| 269 | - gsm48_generate_lai() from 123-456-23-0 |
| 270 | Encoded 21 63 54 00 17 |
| 271 | gsm48_decode_lai() gives 123-456-23-0 |
| 272 | passed |
| 273 | - gsm48_generate_lai2() from 123-456-23 |
| 274 | Encoded 21 63 54 00 17 |
| 275 | gsm48_decode_lai2() gives 123-456-23 (3-digit MNC) |
| 276 | passed |
| 277 | - gsm48_generate_lai() from 123-456-23-0 (3-digit MNC) |
| 278 | Encoded 21 63 54 00 17 |
| 279 | gsm48_decode_lai() gives 123-456-23-0 |
| 280 | passed |
| 281 | - gsm48_generate_lai2() from 123-456-23 (3-digit MNC) |
| 282 | Encoded 21 63 54 00 17 |
| 283 | gsm48_decode_lai2() gives 123-456-23 (3-digit MNC) |
| 284 | passed |
Stefan Sperling | fdf8b7b | 2018-07-27 12:19:15 +0200 | [diff] [blame] | 285 | Element is: 2 => freqs[i] = 121 |
| 286 | Element is: 2 => freqs[i] = 1 |
| 287 | Element is: 0 => freqs[i] = 68 |
| 288 | w[0]=122 |
| 289 | w[1]=2 |
| 290 | w[2]=69 |
| 291 | w[3]=204 |
| 292 | w[4]=75 |
| 293 | w[5]=66 |
| 294 | w[6]=60 |
| 295 | w[7]=70 |
| 296 | w[8]=83 |
| 297 | w[9]=3 |
| 298 | w[10]=24 |
| 299 | w[11]=67 |
| 300 | w[12]=54 |
| 301 | w[13]=64 |
| 302 | w[14]=70 |
| 303 | w[15]=9 |
| 304 | Range512: 89 4b 2a 95 65 95 55 2c a9 55 aa 55 6a 95 59 55 |
| 305 | Range test 0: range 511, num ARFCNs 12 |
| 306 | range=511, arfcns_used=11, f0=1, f0_included=1 |
| 307 | chan_list = 88 00 98 34 85 36 7c 50 22 dc 5e ec 00 00 00 00 |
| 308 | Decoded freqs 12 (expected 12) |
| 309 | Decoded: 1 12 31 51 57 91 97 98 113 117 120 125 |
| 310 | Range test 1: range 511, num ARFCNs 17 |
| 311 | range=511, arfcns_used=16, f0=1, f0_included=1 |
| 312 | chan_list = 88 00 82 7f 01 3f 7e 04 0b ff ff fc 10 41 07 e0 |
| 313 | Decoded freqs 17 (expected 17) |
| 314 | Decoded: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
| 315 | Range test 2: range 511, num ARFCNs 18 |
| 316 | range=511, arfcns_used=17, f0=1, f0_included=1 |
| 317 | chan_list = 88 00 82 7f 01 7f 7e 04 0b ff ff fc 10 41 07 ff |
| 318 | Decoded freqs 18 (expected 18) |
| 319 | Decoded: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
| 320 | Range test 3: range 511, num ARFCNs 18 |
| 321 | range=511, arfcns_used=17, f0=1, f0_included=1 |
| 322 | chan_list = 88 00 94 3a 44 32 d7 2a 43 2a 13 94 e5 38 39 f6 |
| 323 | Decoded freqs 18 (expected 18) |
| 324 | Decoded: 1 17 31 45 58 79 81 97 113 127 213 277 287 311 331 391 417 511 |
| 325 | Range test 4: range 511, num ARFCNs 6 |
| 326 | range=511, arfcns_used=5, f0=1, f0_included=1 |
| 327 | chan_list = 88 00 8b 3c 88 b9 6b 00 00 00 00 00 00 00 00 00 |
| 328 | Decoded freqs 6 (expected 6) |
| 329 | Decoded: 1 17 31 45 58 79 |
| 330 | Range test 5: range 511, num ARFCNs 6 |
| 331 | range=511, arfcns_used=5, f0=10, f0_included=1 |
| 332 | chan_list = 88 05 08 fc 88 b9 6b 00 00 00 00 00 00 00 00 00 |
| 333 | Decoded freqs 6 (expected 6) |
| 334 | Decoded: 10 17 31 45 58 79 |
| 335 | Range test 6: range 1023, num ARFCNs 17 |
| 336 | range=1023, arfcns_used=16, f0=0, f0_included=1 |
| 337 | chan_list = 84 71 e4 ab b9 58 05 cb 39 17 fd b0 75 62 0f 2f |
| 338 | Decoded freqs 17 (expected 17) |
| 339 | Decoded: 0 17 31 45 58 79 81 97 113 127 213 277 287 311 331 391 1023 |
| 340 | Range test 7: range 1023, num ARFCNs 16 |
| 341 | range=1023, arfcns_used=16, f0=0, f0_included=0 |
| 342 | chan_list = 80 71 e4 ab b9 58 05 cb 39 17 fd b0 75 62 0f 2f |
| 343 | Decoded freqs 16 (expected 16) |
| 344 | Decoded: 17 31 45 58 79 81 97 113 127 213 277 287 311 331 391 1023 |
| 345 | Random range test: range 127, max num ARFCNs 29 |
| 346 | Random range test: range 255, max num ARFCNs 22 |
| 347 | Random range test: range 511, max num ARFCNs 18 |
| 348 | Random range test: range 1023, max num ARFCNs 16 |