Holger Hans Peter Freyther | 72bd4eb | 2011-12-11 20:25:12 +0100 | [diff] [blame] | 1 | I do some very simple LAPDm test. |
| 2 | Establishing link. |
| 3 | ms_to_bts_l1_cb: MS(us) -> BTS prim message |
Pau Espin Pedrol | 06da40b | 2023-08-23 17:40:48 +0200 | [diff] [blame] | 4 | bts_to_ms_tx_cb: MS->BTS(us) message 25 |
Holger Hans Peter Freyther | 15f740c | 2011-12-12 00:29:50 +0100 | [diff] [blame] | 5 | BTS: Verifying CM request. |
Holger Hans Peter Freyther | 72bd4eb | 2011-12-11 20:25:12 +0100 | [diff] [blame] | 6 | |
| 7 | Confirming |
Vadim Yanitskiy | 45a90cf | 2020-08-27 19:29:26 +0700 | [diff] [blame] | 8 | lapdm_phsap_dequeue_prim(): got rc 0: Success |
Jacob Erlbeck | 2462cf6 | 2014-02-25 10:49:00 +0100 | [diff] [blame] | 9 | Took message from DCCH queue: L2 header size 3, L3 size 20, SAP 0x1000000, 0/0, Link 0x00 |
| 10 | Message: [L2]> 01 73 41 [L3]> 05 24 31 03 50 18 93 08 29 47 80 00 00 00 00 80 2b 2b 2b 2b |
Pau Espin Pedrol | 06da40b | 2023-08-23 17:40:48 +0200 | [diff] [blame] | 11 | ms_to_bts_tx_cb: BTS->MS(us) message 6 |
Holger Hans Peter Freyther | 15f740c | 2011-12-12 00:29:50 +0100 | [diff] [blame] | 12 | MS: Verifying incoming primitive. |
Holger Hans Peter Freyther | 72bd4eb | 2011-12-11 20:25:12 +0100 | [diff] [blame] | 13 | |
| 14 | Sending back to MS |
Vadim Yanitskiy | 45a90cf | 2020-08-27 19:29:26 +0700 | [diff] [blame] | 15 | lapdm_phsap_dequeue_prim(): got rc 0: Success |
Jacob Erlbeck | 2462cf6 | 2014-02-25 10:49:00 +0100 | [diff] [blame] | 16 | Took message from DCCH queue: L2 header size 3, L3 size 20, SAP 0x1000000, 0/0, Link 0x00 |
| 17 | Message: [L2]> 03 00 0d [L3]> 05 04 0d 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b |
Pau Espin Pedrol | 06da40b | 2023-08-23 17:40:48 +0200 | [diff] [blame] | 18 | ms_to_bts_tx_cb: BTS->MS(us) message 12 |
Holger Hans Peter Freyther | 3a5f08c | 2012-01-12 23:12:28 +0100 | [diff] [blame] | 19 | MS: Verifying incoming MM message: 3 |
Holger Hans Peter Freyther | 72bd4eb | 2011-12-11 20:25:12 +0100 | [diff] [blame] | 20 | ms_to_bts_l1_cb: MS(us) -> BTS prim message |
Vadim Yanitskiy | 45a90cf | 2020-08-27 19:29:26 +0700 | [diff] [blame] | 21 | lapdm_phsap_dequeue_prim(): got rc -19: No such device |
Holger Hans Peter Freyther | 72bd4eb | 2011-12-11 20:25:12 +0100 | [diff] [blame] | 22 | |
| 23 | Sending back to BTS |
| 24 | ms_to_bts_l1_cb: MS(us) -> BTS prim message |
Pau Espin Pedrol | 06da40b | 2023-08-23 17:40:48 +0200 | [diff] [blame] | 25 | bts_to_ms_tx_cb: MS->BTS(us) message 14 |
Holger Hans Peter Freyther | 15f740c | 2011-12-12 00:29:50 +0100 | [diff] [blame] | 26 | BTS: Verifying dummy message. |
Vadim Yanitskiy | 45a90cf | 2020-08-27 19:29:26 +0700 | [diff] [blame] | 27 | lapdm_phsap_dequeue_prim(): got rc 0: Success |
| 28 | MSGB: L3 is undefined |
Jacob Erlbeck | 2462cf6 | 2014-02-25 10:49:00 +0100 | [diff] [blame] | 29 | Took message from DCCH queue: L2 header size 23, L3 size 0, SAP 0x1000000, 0/0, Link 0x00 |
| 30 | Message: [L2]> 01 21 01 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b |
Vadim Yanitskiy | 45a90cf | 2020-08-27 19:29:26 +0700 | [diff] [blame] | 31 | lapdm_phsap_dequeue_prim(): got rc -19: No such device |
| 32 | lapdm_phsap_dequeue_prim(): got rc -19: No such device |
Daniel Willmann | e523392 | 2012-12-25 23:15:50 +0100 | [diff] [blame] | 33 | I test RF channel release of an unestablished channel. |
Andreas Eversberg | 6e18208 | 2013-02-06 14:13:21 +0100 | [diff] [blame] | 34 | I test contention resultion by having two mobiles collide and first mobile repeating SABM. |
Pau Espin Pedrol | 06da40b | 2023-08-23 17:40:48 +0200 | [diff] [blame] | 35 | bts_to_ms_tx_cb: MS->BTS(us) message 25 |
Andreas Eversberg | 6e18208 | 2013-02-06 14:13:21 +0100 | [diff] [blame] | 36 | BTS: Verifying CM request. |
Vadim Yanitskiy | 45a90cf | 2020-08-27 19:29:26 +0700 | [diff] [blame] | 37 | lapdm_phsap_dequeue_prim(): got rc 0: Success |
Jacob Erlbeck | 2462cf6 | 2014-02-25 10:49:00 +0100 | [diff] [blame] | 38 | Took message from DCCH queue: L2 header size 3, L3 size 20, SAP 0x1000000, 0/0, Link 0x00 |
| 39 | Message: [L2]> 01 73 41 [L3]> 05 24 31 03 50 18 93 08 29 47 80 00 00 00 00 80 2b 2b 2b 2b |
Vadim Yanitskiy | 45a90cf | 2020-08-27 19:29:26 +0700 | [diff] [blame] | 40 | lapdm_phsap_dequeue_prim(): got rc -19: No such device |
| 41 | lapdm_phsap_dequeue_prim(): got rc 0: Success |
Jacob Erlbeck | 2462cf6 | 2014-02-25 10:49:00 +0100 | [diff] [blame] | 42 | Took message from DCCH queue: L2 header size 3, L3 size 20, SAP 0x1000000, 0/0, Link 0x00 |
| 43 | Message: [L2]> 01 73 41 [L3]> 05 24 31 03 50 18 93 08 29 47 80 00 00 00 00 80 2b 2b 2b 2b |
Jacob Erlbeck | 90937fe | 2014-01-24 13:48:19 +0100 | [diff] [blame] | 44 | I test RF channel establishment. |
| 45 | Testing SAPI3/SDCCH |
Vadim Yanitskiy | 45a90cf | 2020-08-27 19:29:26 +0700 | [diff] [blame] | 46 | lapdm_rslms_recvmsg(): got rc 0: Success |
| 47 | lapdm_phsap_dequeue_prim(): got rc 0: Success |
Jacob Erlbeck | 8dac415 | 2014-01-28 11:03:11 +0100 | [diff] [blame] | 48 | Took message from DCCH queue: L2 header size 3, L3 size 20, SAP 0x1000000, 0/0, Link 0x03 |
| 49 | Message: [L2]> 0f 3f 01 [L3]> 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b |
Vadim Yanitskiy | 45a90cf | 2020-08-27 19:29:26 +0700 | [diff] [blame] | 50 | lapdm_phsap_dequeue_prim(): got rc -19: No such device |
| 51 | lapdm_phsap_dequeue_prim(): got rc -19: No such device |
Jacob Erlbeck | 90937fe | 2014-01-24 13:48:19 +0100 | [diff] [blame] | 52 | Testing SAPI3/SACCH |
Vadim Yanitskiy | 45a90cf | 2020-08-27 19:29:26 +0700 | [diff] [blame] | 53 | lapdm_rslms_recvmsg(): got rc 0: Success |
| 54 | lapdm_phsap_dequeue_prim(): got rc -19: No such device |
| 55 | lapdm_phsap_dequeue_prim(): got rc 0: Success |
Jacob Erlbeck | 8dac415 | 2014-01-28 11:03:11 +0100 | [diff] [blame] | 56 | Took message from ACCH queue: L2 header size 5, L3 size 18, SAP 0x1000000, 0/0, Link 0x43 |
| 57 | Message: [L2]> 00 00 0f 3f 01 [L3]> 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b |
Vadim Yanitskiy | 45a90cf | 2020-08-27 19:29:26 +0700 | [diff] [blame] | 58 | lapdm_phsap_dequeue_prim(): got rc -19: No such device |
| 59 | lapdm_phsap_dequeue_prim(): got rc -19: No such device |
Daniel Willmann | 0912935 | 2014-03-20 18:54:57 +0100 | [diff] [blame] | 60 | I test if desync problems exist in LAPDm |
| 61 | |
| 62 | Establishing SAPI=0 |
Pau Espin Pedrol | 06da40b | 2023-08-23 17:40:48 +0200 | [diff] [blame] | 63 | bts_to_ms_dummy_tx_cb: MS->BTS(us) message 25 |
Daniel Willmann | 0912935 | 2014-03-20 18:54:57 +0100 | [diff] [blame] | 64 | |
| 65 | Dumping queue: |
| 66 | 00 00 17 [L2]> 01 73 41 [L3]> 05 24 31 03 50 18 93 08 29 47 80 00 00 00 00 80 |
| 67 | |
Vadim Yanitskiy | 45a90cf | 2020-08-27 19:29:26 +0700 | [diff] [blame] | 68 | lapdm_phsap_dequeue_prim(): got rc 0: Success |
Daniel Willmann | 0912935 | 2014-03-20 18:54:57 +0100 | [diff] [blame] | 69 | Took message from DCCH queue: L2 header size 3, L3 size 20, SAP 0x1000000, 0/0, Link 0x00 |
| 70 | Message: [L2]> 01 73 41 [L3]> 05 24 31 03 50 18 93 08 29 47 80 00 00 00 00 80 2b 2b 2b 2b |
| 71 | |
| 72 | Sending Classmark Change |
Pau Espin Pedrol | 06da40b | 2023-08-23 17:40:48 +0200 | [diff] [blame] | 73 | bts_to_ms_dummy_tx_cb: MS->BTS(us) message 27 |
Daniel Willmann | 0912935 | 2014-03-20 18:54:57 +0100 | [diff] [blame] | 74 | |
| 75 | Dumping queue: |
| 76 | 00 00 17 [L2]> 01 21 01 |
| 77 | |
Vadim Yanitskiy | 45a90cf | 2020-08-27 19:29:26 +0700 | [diff] [blame] | 78 | lapdm_phsap_dequeue_prim(): got rc 0: Success |
| 79 | MSGB: L3 is undefined |
Daniel Willmann | 0912935 | 2014-03-20 18:54:57 +0100 | [diff] [blame] | 80 | Took message from DCCH queue: L2 header size 23, L3 size 0, SAP 0x1000000, 0/0, Link 0x00 |
| 81 | Message: [L2]> 01 21 01 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b |
| 82 | |
| 83 | Enqueueing Ciphering Mode Command |
| 84 | |
| 85 | Dumping queue: |
| 86 | 00 00 17 [L2]> 03 20 0d [L3]> 06 35 01 |
| 87 | |
| 88 | |
| 89 | Sending GPRS Suspend Request |
Pau Espin Pedrol | 06da40b | 2023-08-23 17:40:48 +0200 | [diff] [blame] | 90 | bts_to_ms_dummy_tx_cb: MS->BTS(us) message 22 |
Daniel Willmann | 0912935 | 2014-03-20 18:54:57 +0100 | [diff] [blame] | 91 | |
| 92 | Dumping queue: |
Daniel Willmann | 3dc4e16 | 2014-03-20 19:24:48 +0100 | [diff] [blame] | 93 | 00 00 17 [L2]> 03 40 0d [L3]> 06 35 01 |
Daniel Willmann | 0912935 | 2014-03-20 18:54:57 +0100 | [diff] [blame] | 94 | |
Vadim Yanitskiy | 45a90cf | 2020-08-27 19:29:26 +0700 | [diff] [blame] | 95 | lapdm_phsap_dequeue_prim(): got rc 0: Success |
Daniel Willmann | 0912935 | 2014-03-20 18:54:57 +0100 | [diff] [blame] | 96 | Took message from DCCH queue: L2 header size 3, L3 size 20, SAP 0x1000000, 0/0, Link 0x00 |
Daniel Willmann | 3dc4e16 | 2014-03-20 19:24:48 +0100 | [diff] [blame] | 97 | Message: [L2]> 03 40 0d [L3]> 06 35 01 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b |
Daniel Willmann | 0912935 | 2014-03-20 18:54:57 +0100 | [diff] [blame] | 98 | |
| 99 | Sending Cipher Mode Complete |
Pau Espin Pedrol | 06da40b | 2023-08-23 17:40:48 +0200 | [diff] [blame] | 100 | bts_to_ms_dummy_tx_cb: MS->BTS(us) message 11 |
Daniel Willmann | 0912935 | 2014-03-20 18:54:57 +0100 | [diff] [blame] | 101 | |
| 102 | Dumping queue: |
Daniel Willmann | 0912935 | 2014-03-20 18:54:57 +0100 | [diff] [blame] | 103 | 00 00 17 [L2]> 01 61 01 |
| 104 | |
Vadim Yanitskiy | 45a90cf | 2020-08-27 19:29:26 +0700 | [diff] [blame] | 105 | lapdm_phsap_dequeue_prim(): got rc 0: Success |
| 106 | MSGB: L3 is undefined |
Daniel Willmann | 0912935 | 2014-03-20 18:54:57 +0100 | [diff] [blame] | 107 | Took message from DCCH queue: L2 header size 23, L3 size 0, SAP 0x1000000, 0/0, Link 0x00 |
Daniel Willmann | 3dc4e16 | 2014-03-20 19:24:48 +0100 | [diff] [blame] | 108 | Message: [L2]> 01 61 01 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b |
Daniel Willmann | 0912935 | 2014-03-20 18:54:57 +0100 | [diff] [blame] | 109 | |
| 110 | Establishing SAPI=3 |
Pau Espin Pedrol | 06da40b | 2023-08-23 17:40:48 +0200 | [diff] [blame] | 111 | bts_to_ms_dummy_tx_cb: MS->BTS(us) message 6 |
Daniel Willmann | 0912935 | 2014-03-20 18:54:57 +0100 | [diff] [blame] | 112 | |
| 113 | Dumping queue: |
Daniel Willmann | 0912935 | 2014-03-20 18:54:57 +0100 | [diff] [blame] | 114 | |
Vadim Yanitskiy | 45a90cf | 2020-08-27 19:29:26 +0700 | [diff] [blame] | 115 | lapdm_phsap_dequeue_prim(): got rc 0: Success |
Daniel Willmann | 0912935 | 2014-03-20 18:54:57 +0100 | [diff] [blame] | 116 | Took message from DCCH queue: L2 header size 3, L3 size 20, SAP 0x1000000, 0/0, Link 0x03 |
| 117 | Message: [L2]> 0d 73 01 [L3]> 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b |
| 118 | |
| 119 | Sending CP-DATA |
| 120 | |
| 121 | Dumping queue: |
Daniel Willmann | 0912935 | 2014-03-20 18:54:57 +0100 | [diff] [blame] | 122 | |
Vadim Yanitskiy | 45a90cf | 2020-08-27 19:29:26 +0700 | [diff] [blame] | 123 | lapdm_phsap_dequeue_prim(): got rc 0: Success |
| 124 | MSGB: L3 is undefined |
Daniel Willmann | 3dc4e16 | 2014-03-20 19:24:48 +0100 | [diff] [blame] | 125 | Took message from DCCH queue: L2 header size 23, L3 size 0, SAP 0x1000000, 0/0, Link 0x03 |
| 126 | Message: [L2]> 0d 21 01 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b |
Vadim Yanitskiy | 488989d | 2020-08-27 19:35:02 +0700 | [diff] [blame] | 127 | |
| 128 | === I test SAPI0/SAPI3 prioritization === |
| 129 | |
| 130 | MS is establishing a SAPI=0 link |
Pau Espin Pedrol | 06da40b | 2023-08-23 17:40:48 +0200 | [diff] [blame] | 131 | bts_to_ms_dummy_tx_cb: MS->BTS(us) message 22 |
Vadim Yanitskiy | 488989d | 2020-08-27 19:35:02 +0700 | [diff] [blame] | 132 | BTS is establishing a SAPI=3 link |
| 133 | lapdm_phsap_dequeue_prim(): got rc 0: Success |
Vadim Yanitskiy | 488989d | 2020-08-27 19:35:02 +0700 | [diff] [blame] | 134 | Took message from DCCH queue: L2 header size 3, L3 size 20, SAP 0x1000000, 0/0, Link 0x00 |
| 135 | Message: [L2]> 01 73 35 [L3]> 06 27 07 03 50 58 92 05 f4 44 59 ba 63 2b 2b 2b 2b 2b 2b 2b |
Vadim Yanitskiy | 776c5b1 | 2020-08-27 20:58:49 +0700 | [diff] [blame] | 136 | lapdm_phsap_dequeue_prim(): got rc 0: Success |
| 137 | Took message from DCCH queue: L2 header size 3, L3 size 20, SAP 0x1000000, 0/0, Link 0x03 |
| 138 | Message: [L2]> 0f 3f 01 [L3]> 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b |
| 139 | Checking the func=UA message: OK |
| 140 | Checking the func=SABM message: OK |
Vadim Yanitskiy | 488989d | 2020-08-27 19:35:02 +0700 | [diff] [blame] | 141 | |
| 142 | Checking whether the DCCH/SACCH queues are empty |
| 143 | lapdm_phsap_dequeue_prim(): got rc -19: No such device |
| 144 | lapdm_phsap_dequeue_prim(): got rc -19: No such device |
Holger Hans Peter Freyther | 72bd4eb | 2011-12-11 20:25:12 +0100 | [diff] [blame] | 145 | Success. |