annotate pirelli/rssi @ 281:b7d93ff628a8

dsample-fw-disasm: found l1dmacro_init_hw() and l1dmacro_init_hw_light() functions
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 03 Mar 2019 07:53:54 +0000
parents a7707c174510
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
279
a7707c174510 pirelli/{rssi,txcal}: results of the Pirelli to CMU200 experiment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 I have been wondering for a long time now how the RSSI bars displayed in end
a7707c174510 pirelli/{rssi,txcal}: results of the Pirelli to CMU200 experiment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 user phone UIs correspond to actual Rx signal levels; Pirelli's RSSI icon on
a7707c174510 pirelli/{rssi,txcal}: results of the Pirelli to CMU200 experiment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 the left side of the home screen can go up to 6 bars, but it was not clear at
a7707c174510 pirelli/{rssi,txcal}: results of the Pirelli to CMU200 experiment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 all what these bars actually correspond to. I just did an experiment to shed
a7707c174510 pirelli/{rssi,txcal}: results of the Pirelli to CMU200 experiment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 some light on this issue: I took a decased Pirelli motherboard and connected it
a7707c174510 pirelli/{rssi,txcal}: results of the Pirelli to CMU200 experiment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 to our CMU200 instrument via the RF test port which Pirelli's mobo has like
a7707c174510 pirelli/{rssi,txcal}: results of the Pirelli to CMU200 experiment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 most phones. Pirelli's RF test port is of the Murata SWD/SWF type, same as
a7707c174510 pirelli/{rssi,txcal}: results of the Pirelli to CMU200 experiment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 Openmoko GTA0x and Motorola C139, and we have a test probe for these ports with
a7707c174510 pirelli/{rssi,txcal}: results of the Pirelli to CMU200 experiment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 precisely known insertion loss numbers, thus combined with the properly
a7707c174510 pirelli/{rssi,txcal}: results of the Pirelli to CMU200 experiment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 calibrated CMU200 instrument and our "main" SMA cable for which we also have
a7707c174510 pirelli/{rssi,txcal}: results of the Pirelli to CMU200 experiment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 precisely known insertion loss numbers (it is the setup we use to calibrate our
a7707c174510 pirelli/{rssi,txcal}: results of the Pirelli to CMU200 experiment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 FCDEV3B modem boards), it is a very trustworthy setup. I varied the downlink
a7707c174510 pirelli/{rssi,txcal}: results of the Pirelli to CMU200 experiment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 signal level put out by the CMU200 and observed the bars displayed by Pirelli's
a7707c174510 pirelli/{rssi,txcal}: results of the Pirelli to CMU200 experiment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 fw on the home screen, and this is what I got:
a7707c174510 pirelli/{rssi,txcal}: results of the Pirelli to CMU200 experiment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15
a7707c174510 pirelli/{rssi,txcal}: results of the Pirelli to CMU200 experiment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16 transition from 5 to 6 bars at -75 dBm
a7707c174510 pirelli/{rssi,txcal}: results of the Pirelli to CMU200 experiment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 transition from 6 to 5 bars at -80 dBm
a7707c174510 pirelli/{rssi,txcal}: results of the Pirelli to CMU200 experiment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18
a7707c174510 pirelli/{rssi,txcal}: results of the Pirelli to CMU200 experiment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 transition from 4 to 5 bars at -85 dBm
a7707c174510 pirelli/{rssi,txcal}: results of the Pirelli to CMU200 experiment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20 transition from 5 to 4 bars at -90 dBm
a7707c174510 pirelli/{rssi,txcal}: results of the Pirelli to CMU200 experiment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21
a7707c174510 pirelli/{rssi,txcal}: results of the Pirelli to CMU200 experiment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22 transition from 3 to 4 bars at -92 dBm
a7707c174510 pirelli/{rssi,txcal}: results of the Pirelli to CMU200 experiment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23 transition from 4 to 3 bars at -97 dBm
a7707c174510 pirelli/{rssi,txcal}: results of the Pirelli to CMU200 experiment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24
a7707c174510 pirelli/{rssi,txcal}: results of the Pirelli to CMU200 experiment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25 transition from 2 to 3 bars at -97 dBm
a7707c174510 pirelli/{rssi,txcal}: results of the Pirelli to CMU200 experiment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
26 transition from 3 to 2 bars at -102 dBm
a7707c174510 pirelli/{rssi,txcal}: results of the Pirelli to CMU200 experiment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
27
a7707c174510 pirelli/{rssi,txcal}: results of the Pirelli to CMU200 experiment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
28 transition from 1 to 2 bars at -104 dBm
a7707c174510 pirelli/{rssi,txcal}: results of the Pirelli to CMU200 experiment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
29 transition from 2 to 1 bars at -105 dBm
a7707c174510 pirelli/{rssi,txcal}: results of the Pirelli to CMU200 experiment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
30
a7707c174510 pirelli/{rssi,txcal}: results of the Pirelli to CMU200 experiment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
31 at -110 dBm it is marginal: sometimes 1 bar, sometimes 0 bars, sometimes no srvc
a7707c174510 pirelli/{rssi,txcal}: results of the Pirelli to CMU200 experiment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
32
a7707c174510 pirelli/{rssi,txcal}: results of the Pirelli to CMU200 experiment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
33 Looking at TI's reference firmware which Pirelli's fw must be based on, the Rx
a7707c174510 pirelli/{rssi,txcal}: results of the Pirelli to CMU200 experiment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
34 signal strength is passed from L1 to the G23M PS in the form of RxLev numbers
a7707c174510 pirelli/{rssi,txcal}: results of the Pirelli to CMU200 experiment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
35 that go into GSM 05.08 measurement reports (the standard [0,63] range with 0
a7707c174510 pirelli/{rssi,txcal}: results of the Pirelli to CMU200 experiment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
36 corresponding to -110 dBm), ALR does no transformation, and RR passes these
a7707c174510 pirelli/{rssi,txcal}: results of the Pirelli to CMU200 experiment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
37 RxLev numbers to the Rx driver in the Condat drivers layer, which then converts
a7707c174510 pirelli/{rssi,txcal}: results of the Pirelli to CMU200 experiment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
38 them to the "bars" numbers for the UI. Pirelli's fw most likely retains this
a7707c174510 pirelli/{rssi,txcal}: results of the Pirelli to CMU200 experiment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
39 architecture, and their modified version of the Rx driver appears to have the
a7707c174510 pirelli/{rssi,txcal}: results of the Pirelli to CMU200 experiment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
40 following thresholds or somewhere around there:
a7707c174510 pirelli/{rssi,txcal}: results of the Pirelli to CMU200 experiment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
41
a7707c174510 pirelli/{rssi,txcal}: results of the Pirelli to CMU200 experiment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
42 RxLev >= 35: 6 bars
a7707c174510 pirelli/{rssi,txcal}: results of the Pirelli to CMU200 experiment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
43 RxLev >= 25: 5 bars
a7707c174510 pirelli/{rssi,txcal}: results of the Pirelli to CMU200 experiment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
44 RxLev >= 15: 4 bars
a7707c174510 pirelli/{rssi,txcal}: results of the Pirelli to CMU200 experiment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
45 RxLev >= 10: 3 bars
a7707c174510 pirelli/{rssi,txcal}: results of the Pirelli to CMU200 experiment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
46 RxLev >= 5 or maybe 6: 2 bars
a7707c174510 pirelli/{rssi,txcal}: results of the Pirelli to CMU200 experiment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
47 RxLev abysmally low: 1 bar
a7707c174510 pirelli/{rssi,txcal}: results of the Pirelli to CMU200 experiment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
48
a7707c174510 pirelli/{rssi,txcal}: results of the Pirelli to CMU200 experiment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
49 The 5 dB hysteresis seen in my CMU200 experiment is probably caused by the
a7707c174510 pirelli/{rssi,txcal}: results of the Pirelli to CMU200 experiment
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
50 RSSI_MIN_DIFFERENCE logic seen in rr_csf.c in our TCS3-sourced version.