annotate tmo/CSD-tests @ 71:ed314cc25b8d

tmo/CSD-tests: additional experiments and historical notes
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 26 Nov 2024 20:56:33 +0000
parents 47947e25f922
children afebef67e8d4
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
70
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 A series of experiments seeking to test CSD on the extant network of T-Mobile
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 USA, to be performed while this network is still alive. The main objective is
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 to test CSD calls between a single MS and analog (or PCMU-speaking) PSTN, rather
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 than mobile to mobile.
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5
71
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
6 All experiments detailed in the following sections were performed in 2024-11
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
7 at the Mother's home base.
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
8
70
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 Test setup
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 ==========
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 The test MS is an FCDEV3B with a legacy T-Mobile SIM. The AT command session
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 will be driven through the dedicated UART, not the usual fc-shell, to enable
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 full use of data functions. Rvinterf will still be used to capture logs; the
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 following command needs to be issued in order to make the firmware emit traces
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16 indicating AT command activity:
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18 sp MMI TRACECLASS 800050
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20 Issue these two additional commands to trace the MMCM SAP between CC and MM
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21 entities of the protocol stack:
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23 sp MM DUPLICATE CC PCO
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24 sp CC DUPLICATE MM PCO
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
26 The objective is to capture all CC protocol messages sent to and received from
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
27 the network; tracing the exchange between CC and MM seems like the easiest way
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
28 to accomplish this goal within our existing firmware architecture.
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
29
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
30 Experiment 1
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
31 ============
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
32
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
33 In this experiment several MO CSD calls were made from the test MS to
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
34 +13034944774, the number for USA taxpayer-funded NIST ACTS. Several modes were
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
35 tested:
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
36
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
37 AT+CBST=7,0,1 -- TI GSM MS firmware default
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
38 AT+CBST=7,0,0
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
39 AT+CBST=6,0,0
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
40 AT+CBST=4,0,0
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
41 AT+CBST=2,0,0
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
42
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
43 Results were surprising:
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
44
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
45 * Transparent mode works beautifully at 9600 baud, as well as 4800 and 1200
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
46 baud. Therefore, the previous hypothesis that CSD at 9600 baud no longer
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
47 works as a result of GSM quality degradation or as a result of IP-fication of
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
48 internal transports within USA PSTN is now disproven.
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
49
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
50 * Transparent mode at 2400 baud produced a different result: successful CONNECT
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
51 followed by garbage and earlier disconnect, instead of 40 s of good ACTS
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
52 output in other baud modes. Perhaps a defect in V.22bis implementation in
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
53 the network IWF?
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
54
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
55 * All 3 data TCH modes were observed in L1 traces: TCH/F9.6, TCH/F4.8 and
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
56 TCH/F2.4, and each of these produced a perfectly good data call in at least
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
57 one mode.
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
58
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
59 * NT mode was only tested with AT+CBST=7,0,1 default, i.e., 9600 baud and asking
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
60 the IWF for V.32 modem. As revealed by L1 and CC traces, the network does
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
61 everything it should - but the MS returns NO CARRIER. However, further
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
62 analysis of CC traces reveals that the DISCONNECT at CC level is initiated by
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
63 the MS and not by the network! My current working hypothesis is that the MS
71
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
64 is unhappy about something it sees at RLP level. [See further updates in
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
65 Experiment 6.]
70
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
66
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
67 Additional observations:
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
68
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
69 * The MS issues a single SETUP message with BC indicating ITC of 3.1 kHz and the
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
70 selected CSD mode. The network responds with CALL PROCEEDING, ALERTING and
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
71 CONNECT in the same cadence as it would for a MO voice call. The timing of
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
72 ALERTING message is consistent with my expectation of when PSTN plays the
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
73 ringing tone, and the timing of CC CONNECT message is consistent with my
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
74 expectation of when Answer Supervision occurs at PSTN level. The CC CONNECT
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
75 step is reached in all tested modes, including the failing NT mode.
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
76
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
77 * The AT-command CONNECT response happens significantly later than CC CONNECT
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
78 message. My current working hypothesis is that the network generates CC
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
79 CONNECT when it gets Answer Supervision from PSTN just like it does for voice
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
80 calls, well before modem connection sequence can happen. Perhaps the status
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
81 of modem connection is then indicated via V.110 in-band flags, and perhaps
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
82 the MS is using that in-band status to decide when to declare CONNECT.
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
83
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
84 * At the end of each call there was a network-initiated DISCONNECT with cause
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
85 value 127 (interworking, unspecified) - but in this experiment there is
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
86 insufficient information to tell if this action is initiated by the IWF upon
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
87 loss of modem signal, or if it is merely passing along PSTN-level disconnect
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
88 signaling from the called party. See Experiment 2.
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
89
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
90 Experiment 2
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
91 ============
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
92
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
93 In this experiment several MO CSD call attempts were dialed from the test MS to
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
94 Mother Mychaela's personal voice number on ThemWi; the latter is interconnected
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
95 with USA PSTN via BulkVS. The objectives were: (1) to confirm the hypothesis
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
96 about Answer Supervision on PSTN side being the criterion for signaling CC
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
97 CONNECT to the MS, and (2) to hear what, if anything, the IWF transmits toward
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
98 PSTN while waiting for modem connection.
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
99
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
100 Results:
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
101
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
102 * When I answered the call on the destination phone, I heard silence each time.
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
103 The calling party received CC CONNECT signaling when I made that answer.
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
104
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
105 * In both tests where +CBST was set to 7,0,0 and I answered the call, the
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
106 network (TMO) eventually ended the call, signaling cause 127 to the calling
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
107 MS like in Experiment 1. (Thus we now know that it is the IWF taking this
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
108 action, and not the called party hanging up at PSTN level.) In one of these
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
109 two tests, there was a miraculous CONNECT response from the AT interpreter,
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
110 some time well after Answer Supervision, but before the IWF-initiated
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
111 disconnect. In the second test, there was no CONNECT response, only
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
112 NO CARRIER at the time of IWF-initiated disconnect.
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
113
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
114 * In the test case where I didn't answer the destination phone (let the ringing
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
115 time out), the calling MS received CC DISCONNECT message with cause 17 (user
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
116 busy), as that is how PSTN middleboxes misinterpret SIP 480 error I return
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
117 from ThemWi. The AT command interface generated BUSY response.
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
118
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
119 * In the final test case in this experiment series, I made the test call with
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
120 +CBST=7,0,1 and answered the destination phone. The MS initiated DISCONNECT
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
121 4 s after receiving CC CONNECT, just like it did when calling NIST ACTS.
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
122
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
123 Experiment 3
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
124 ============
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
125
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
126 This experiment sought to observe how TMO GSM network handles MT calls from PSTN
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
127 to a mobile subscriber, including the possiblity of MT CSD calls via AT+CSNS.
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
128 An MT call was repeatedly dialed from Mother Mychaela's ThemWi phone to the test
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
129 MS on TMO, with different AT+CSNS and AT+CBST settings established before each
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
130 call attempt; logs were collected for subsequent analysis.
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
131
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
132 Observations:
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
133
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
134 * The initial SETUP message from the network to the MS contains _no_ bearer
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
135 capability IE; the CALL CONFIRM response from the MS does include BC IE,
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
136 filled with different content depending on AT+CSNS and AT+CBST settings.
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
137
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
138 * The network seems to always accept the BC supplied by the MS in that response,
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
139 and assigns appropriate TCH type and mode.
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
140
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
141 * The PSTN caller hears the standard North American ringing tone while the MS
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
142 emits RING messages on its AT command channel, subsequent to the MS sending
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
143 CC ALERTING message to the network.
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
144
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
145 * When I answer the call with ATA, the MS sends CC CONNECT to the network, the
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
146 PSTN caller gets Answer Supervision, and I hear modem answer tones from TMO's
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
147 IWF.
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
148
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
149 * Only Transparent modes have been tested so far; the modem answer sequence
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
150 heard by the PSTN caller depends on the specific modem emulation selected
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
151 with AT+CBST. With AT+CBST=2,0,0 and AT+CBST=4,0,0 I heard a continuous (no
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
152 phase reversals) V.25 ANS tone followed by a higher-pitched tone (presumably
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
153 Unscramled Binary 1s signal of V.22), followed by disconnection; with
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
154 AT+CBST=6,0,0 and AT+CBST=7,0,0 I heard a V.25 ANS tone *with* phase
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
155 reversals, directly followed by disconnection (no AC tones).
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
156
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
157 Further tests were aborted (I didn't get to testing NT mode) because the network
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
158 did something that caused the MS firmware (or perhaps the SIM) to go into a
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
159 funky state; to be investigated as its own separate problem.
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
160
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
161 Experiment 4
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
162 ============
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
163
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
164 In this experiment I used two of my legacy T-Mobile SIMs simulateneously: one
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
165 in the FCDEV3B as in the preceding experiments, the other in a Pirelli DP-L10
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
166 phone. The Pirelli phone ran RAM-based FC Tourmaline firmware during these
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
167 tests. Test calls were dialed from the FCDEV3B to the Pirelli; the fw build
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
168 running on the latter has CSD excluded, but the objective was to see the MT
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
169 SETUP message as it arrives from the network, before destination MS firmware
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
170 does anything with it.
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
171
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
172 Observation: _no_ BC IE was ever seen in the MT SETUP message, for both voice
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
173 and data calls dialed from the other TMO subscriber line. It appears that all
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
174 MO CSD calls were treated by the network in "convert to modem emulation" mode
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
175 despite the dialed number being another T-Mobile line; the MT leg always
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
176 received incoming voice calls.
47947e25f922 tmo/CSD-tests: document experimental findings
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
177
71
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
178 Experiment 5
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
179 ============
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
180
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
181 In this experiment I sought to capture TCH DL bits from the DSP in CSD modes in
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
182 the same way how we do it in non-AMR speech modes. I added what seemed like
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
183 the necessary support in FC Tourmaline fw (Hg commit 304:58c7961bd0b0) and in
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
184 fc-shell TCH handling code (freecalypso-tools Hg commit 1014:961efadd530a), and
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
185 made captures of CSD call sessions with +CBST set to (7,0,0), (6,0,0) and
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
186 (2,0,0). However, as soon as I looked at the captured recordings, I was
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
187 immediately disappointed: while the beginning of each capture shows what look
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
188 like DL bits constituting idle frames (mostly all 1s, except where disturbed by
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
189 FACCH stealing), as soon as the IDS block kicks in, we read nothing but all 0s.
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
190 Is the IDS part of DSP ROM code overwriting the buffer with zeros after it groks
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
191 those bits?
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
192
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
193 Also in this experiment session I tried setting AT+CBST=14,0,0 to see if TMO
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
194 supports TCH/F14.4. The network responded to SETUP with CALL PROCEEDING, but
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
195 whereas in other modes channel assignment happens almost immediately afterward,
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
196 here it stayed on SDCCH for several seconds, and then the network sent CC
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
197 DISCONNECT message with cause 34. This cause value means "No circuit/channel
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
198 available" - so it looks like TMO's unloved GSM network does not support
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
199 TCH/F14.4.
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
200
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
201 Experiment 6
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
202 ============
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
203
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
204 As I was writing up notes regarding what seemed like non-working state of NT
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
205 mode while all Transparent modes up to 9600 bps work great, I decided to test
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
206 with an older version of FC firmware, namely Magnetite l1reconst. In the
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
207 earlier years of FreeCalypso, I would frequently make CSD calls just for fun,
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
208 calling NIST ACTS, and it would always work - and being ignorant of T vs NT
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
209 and other mode settings, I never set AT+CBST and just dialed ATDnumber. Since
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
210 we now know that TI's firmware default is AT+CBST=7,0,1 and has always been
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
211 this way, we know that I was unknowingly exercising NT mode in those happy
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
212 years - hence I decided to try an older fw version from those years just to see
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
213 if it would have working NT mode. Tested - it worked!
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
214
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
215 But then things got more interesting. I tested with Magnetite hybrid instead
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
216 of l1reconst - using the new source-enabled version of G23M PS. Result: it
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
217 seemed a little flaky, but it worked. Then I went back to current Tourmaline
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
218 fw, the same with which I started in Experiment 1. Did a call with
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
219 AT+CBST=7,0,0 serving as a control - it worked. Tried AT+CBST=7,0,1 - got a
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
220 NO CARRIER response; subsequent log analysis shows that the MS initiated CC
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
221 DISCONNECT just like in Experiment 1. Then I made another attempt, still with
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
222 AT+CBST=7,0,1 - and this time it worked beautifully: I got CONNECT followed by
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
223 the full 40 s of ACTS output.
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
224
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
225 Thus we now know that NT mode working or not is not a question of firmware
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
226 version, but some kind of law of chance: time of day, space weather, phase of
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
227 the moon...
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
228
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
229 NT mode: need for further debugging
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
230 ===================================
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
231
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
232 The flaky nature of NT mode calls for further debugging: since we see
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
233 MS-initiated DISCONNECT on those tries when it fails, we really need to know
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
234 exactly what is making the MS unhappy. But this debugging is made difficult by
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
235 the misfeature of TI's DSP: in Experiment 5 I tried capturing TCH DL bits, but
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
236 all we get is zero fill once the IDS block is active. As next steps, we will
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
237 need to study the code that interfaces with this IDS block, and see what we can
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
238 observe at that interface level.
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
239
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
240 T vs NT mode: utility vs complexity
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
241 ===================================
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
242
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
243 Consider the IWF provided by the network, speaking CSD frame formats toward GSM
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
244 RAN and emulating analog modem signals toward 64 kbit/s PSTN, and consider the
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
245 work it has to do in T vs NT modes. It should be evident that NT mode is much
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
246 more complex: all of the work implementing V-series modulations is still needed
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
247 for both T and NT, but whereas T mode provides a direct path between the
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
248 emulated-modem "bit pump" and CSD V.110 frame bits, in NT mode the IWF has to
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
249 implement RLP on the GSM side, V.42 on the analog modem side, and make a high-
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
250 level data connection between these two engines of reliable transmission based
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
251 on acks, retries etc. Hence the "bug surface", the number of things that can
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
252 go wrong, is much greater for IWF in NT mode.
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
253
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
254 OTOH, utility considerations traditionally called for NT mode. There are
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
255 *some* applications for which non-buffering, fixed-delay Transparent mode is
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
256 the right choice: precision time distribution as in NIST ACTS, train engine
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
257 communication in GSM-R etc - but such applications are more on the boutique
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
258 side. Instead consider the more typical application of a business user dialing
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
259 into his/her mainframe or UNIX minicomputer etc account while on the go: here
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
260 you have a user with a text terminal, and a server/service somewhere that prints
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
261 text for the user to read and expects text commands. In this case the user
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
262 would certainly appreciate if his/her session is *not* disturbed by dropouts or
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
263 garbage insertions from radio errors, from handover events or from line noise
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
264 on the PSTN leg - such users would certainly benefit from NT mode. Outside of
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
265 railways or other special environments, considering ordinary public GSM networks
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
266 intended for consumers and business users, in the days when CSD was a feature
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
267 of real user significance, NT mode was likely the more desired one for reasons
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
268 just explained. Yet it is the one which is much more onerous to implement...
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
269
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
270 Lack of data-call indication from one T-Mobile MS to another
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
271 ============================================================
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
272
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
273 Looking at the specs for GSM CSD, the intent of the original Creators seems
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
274 clear: they intended CSD to run between an MS and services on the fixed network,
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
275 perhaps going through an IWF. In contrast, the case of mobile-to-mobile CSD
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
276 calls was NOT the canonical configuration - it was probably considered, but only
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
277 as a rather contrived and unlikely use case. But if someone does make a CSD
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
278 call addressed to another mobile, how should it work?
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
279
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
280 In order for a CSD call to be directly through-connected from Alice to Bob,
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
281 Osmocom-style, without complex conversions and translations in the middle, two
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
282 conditions would have to be met:
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
283
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
284 1) The connection element setting would have to be Transparent;
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
285 2) ISDN/UDI mode would need to be selected, rather than 3.1 kHz modem emulation.
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
286
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
287 In this case the MO call will be turned into V.110 by the TRAU, no further IWF
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
288 would be applied at the MSC, the ISDN call would connect from Alice to Bob, the
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
289 destination MSC serving Bob would see that it's a data call, and it would
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
290 indicate so to Bob's MS. So far, so good. But the moment you add NT mode or
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
291 analog modem emulation, the above pass-through model breaks down:
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
292
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
293 1) If the bearer cap IE on the MO call indicates ITC of 3.1 kHz audio instead
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
294 of UDI, Alice's MSC is supposed to pass the call through an IWF that does
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
295 modem emulation. Once that modem emulation is applied, the call going out
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
296 on ISDN is in 3.1 kHz audio mode, not digital data!
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
297
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
298 2) NT mode does not seem to have ever been intended to carry from mobile user
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
299 Alice to mobile user Bob - instead it appears to have been intended to run
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
300 between a single MS and a network IWF only. The IWF then converts to V.42
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
301 in the case of 3.1 kHz modem emulation, or to V.1xx/X.75/etc protocols in
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
302 the case of ISDN UDI, with or without V.42-like reliability through acks and
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
303 retransmissions.
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
304
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
305 However, the above considerations stem from the architectural model _assumed_
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
306 in ETSI GSM specs - whereas the question of what real-world GSM networks have
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
307 actually implemented needs to be asked separately. In the case of T-Mobile USA,
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
308 the behavior of the network upon own-subscriber Alice making a CSD call to own-
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
309 subscriber Bob appears to have changed over the years:
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
310
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
311 * In my earlier years of FreeCalypso work, when I made CSD calls from FC GSM MS
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
312 just for fun while being ignorant of T vs NT modes and other +CBST settings,
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
313 I would call NIST ACTS to get a truly successful session. But I also
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
314 experimented a little with mobile-to-mobile CSD. Unfortunately, I never put
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
315 together a proper setup with two FC GSM MS boards powered up and connected to
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
316 my laptop at the same time, fitted with two active T-Mobile SIMs, one calling
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
317 the other - but I did dial CSD a few times from a single "proper" GSM MS
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
318 (probably FCDEV3B, although I don't remember exactly) to my main personal-use
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
319 T-Mobile line whose SIM sat in a Pirelli DP-L10 running its official fw.
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
320 I don't remember if I got this degree of success reliably every time or if it
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
321 was intermittent - but I did get an incoming call indication on the Pirelli
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
322 that said "incoming data" or something to that effect. I don't remember
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
323 exactly what happened afterward, but my vague recollection (subject to the
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
324 caveats about wetware memory after many years of attention being shifted in
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
325 very different directions) is that the phone would ring with this "incoming
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
326 data" indication on the screen, but once I pressed the Answer button, the
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
327 call attempt would drop - and curiously enough, turn into a "missed call"
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
328 indication. I don't have good memory of what the call-originating FC GSM MS
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
329 would show: I seem to recall it going directly to NO CARRIER upon me pressing
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
330 Answer on the Pirelli, but I also seem to recall at least once getting a
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
331 CONNECT response, presumably followed by NO CARRIER shortly afterward.
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
332
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
333 * In terms of memory reliability, the only part I do remember for certain is
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
334 that the call-receiving Pirelli phone (running its official fw) _did_ display
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
335 a "ringing" screen that said something along the lines of "incoming data" -
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
336 IOW, it very clearly indicated the presence of an incoming call that was data
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
337 rather than voice, even though of course this phone has no official Terminal
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
338 Adaptor Function and no ability to meaningfully accept such calls. This
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
339 indication implies that the MT SETUP message from the network must have
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
340 included a bearer cap IE that indicated non-speech - although unfortunately
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
341 I have no logs (back then I wasn't looking at CC or any other air interface
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
342 messages), thus we don't know if it was a pass-through of BC from the MO leg
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
343 or altered in some way. The remaining memories of everything else that
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
344 happened after this logically-deduced MT SETUP should be treated as
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
345 unreliable.
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
346
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
347 * When I tried replicating in the present time (2024-11) the just-described
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
348 result from many years ago, I had no success: see description of Experiment 4
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
349 above. Now when I dial a CSD call from one of my legacy T-Mobile SIMs to
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
350 another, the receiving MS gets an MT SETUP message that contains no BC IE at
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
351 all, same as with calls coming from outside PSTN, the call rings as voice,
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
352 and gets assigned TCH/AHS like other speech calls. And because the modem-
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
353 emulating CSD IWF in the MO direction initially emits silence while waiting
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
354 for the answering modem, silence is what the receiving phone hears in this
ed314cc25b8d tmo/CSD-tests: additional experiments and historical notes
Mychaela Falconia <falcon@freecalypso.org>
parents: 70
diff changeset
355 errant setup.