summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/include/osmocom/bb/mobile/settings.h
Commit message (Collapse)AuthorAgeFilesLines
* [layer23/mobile] Improvement and fixes of idle mode processAndreas Eversberg2011-07-171-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | This patch introduces cell re-relection. When camping on a cell, it scanns neighbour cells. If a 'better' cell is found, the cell is selected. If the cell is in a different location area, a location upating is performed under certain conditions. The 'better' cell depends on various informations that are broadcasted on the BCCH of a neihbour cell and of course the RX level. Most operators don't set these informations, so the 'better' cell depend on a better RX level for the same location area, or a much better RX level (6 dBm) at a different location area. There were many issues at the idle mode process that has been fixed. Expecially when moving, the state machines got stuck, so no more cell search was possible, or no further calls / location updating was possible. In order to see the process of cell selection, enter the VTY interface and enable the network monitor: enable monitor network 1 (where '1' is the instance of the MS) In order to see the current state of the processes, enter: show ms
* settings.h: IMSI is 15 bytes +1 \0 maximumHarald Welte2011-07-161-2/+2
| | | | | | | | If we use a larger field to store the IMSI, we can create overflows when copying the imsi to other structures that are only 16 bytes in size. Detected by Smatch: src/host/layer23/src/mobile/subscriber.c +195 gsm_subscr_testcard(39) error: strcpy() 'set->test_imsi' too large for 'subscr->imsi' (20 vs 16)
* [layer23] Adding Quadband support and GSM 4x0 supportAndreas.Eversberg2011-05-291-0/+23
| | | | | | | | This makes it possible to use GSM 850 and PCS 1900 bands, as used in the US. The support relies on the phone hardware. Each band (900, DCS, 850, PCS, 480 and 450) can be enabled and disabled individually for each setting.
* [layer23] Adding LAC and TMSI (both optional) to test card (rplmn)Andreas.Eversberg2010-11-201-0/+2
|
* [layer23] Added support for multiple MS instancesAndreas.Eversberg2010-11-131-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | To create another instance: 'ms <name> create' To remove an instance: 'no ms <name>' If no instance exists, 'ms 1' is created automatically on startup. Each instance can be enabled / disabled by using 'shutdown' or 'no shutdown'. Multiple instances may share the same layer2 socket (same phone hardware), but in this case only one instance can be enabled at the same time. This makes it much easier to select different settings without modifying them. A 'shutdown' initiates the IMSI detach procedure before shutdown is completed. A 'shutdown force' will immidiately shutdown. There is no need to restart the software anymore, if fundamental settings are changed. In this case, a 'shutdown' followed by a 'no shutdown' will do the job. If you already have an old osmocom.cfg, you need to "no shutdown" it. Everything else behaves as before.
* layer23/mobile: Add configuration option for automatically answering callsSteve Markgraf2010-10-271-0/+1
| | | Signed-off-by: Steve Markgraf <steve@steve-m.de>
* [layer23] DTMF supportAndreas.Eversberg2010-10-151-0/+1
|
* [layer23] Adding abbreviated dialing to VTYAndreas.Eversberg2010-10-141-0/+11
| | | | | It is possible to store phone numbers with abbreviations now. Dialing these abbreviation makes testing of mobile originated calls much easier too.
* [layer23] Implementation of signal loss criteria as defined in TS 05.08Andreas.Eversberg2010-10-121-0/+3
| | | | | | | | There are two criterions for lossing a signal, idle mode and dedicated mode. A counter counts down when a frame is dropped, and counts up when a valid frame is received on certain channel. The loss criterion is reached, if the counter reaches 0. The values added to / removed from the counter and the limits depend on the process.
* [layer23] Rework of "support"-features, features can be disabled nowAndreas.Eversberg2010-10-031-1/+23
| | | | | | Supported features of hardware (support.c) can be disabled by config. This way the full featured mobile can be downgraded to indicate less features to the network, like disabling speech support or crypto support.
* [layer23] Minimum RX-level is now a configuratio optionAndreas.Eversberg2010-10-011-0/+1
| | | | | The default (if config not yet created/updated), is still taken from settings.c.
* [layer23] Speech codec selection and negotiation with networkAndreas.Eversberg2010-09-261-0/+1
|
* [layer23] Added XOR and COMP128 encryption to test SIMAndreas.Eversberg2010-09-171-0/+8
| | | | | | | | | | | | | | To define/change a key for the test SIM, use the following sequence: conf t ms 1 test-sim ki comp128 xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx end write or use: ki xor xx xx xx xx xx xx xx xx xx xx xx xx
* [layer23] Layer 3 now uses SIM client to request and update SIM dataAndreas.Eversberg2010-08-281-1/+1
| | | | | The SIM reader can be selected via VTY, but because it is not yet implemented in layer1, nothing happens when selecting it.
* layer23: Split [2/2] -> The header filesSylvain Munaut2010-07-271-0/+42
This split the headers and adapt the source. We use osmocom/bb as a prefix because libosomore also uses osmocom and generic names such as misc & common could conflict in the future. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>