summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/src/common/sysinfo.c
AgeCommit message (Collapse)AuthorFilesLines
2019-10-17Fix common misspellings and typosMartin Hauke1-1/+1
Change-Id: I962b42871693f33b1054d43d195817e9cd84bb64
2013-01-02l23 sysinfo: defer SI4 CBCH mobile allocation until SI1 is receivedAlex Badea1-0/+1
When parsing SI4, there's a check and a log message saying that CBCH MA is ignored until SI1 is received. Then the MA is decoded anyway -- incorrectly -- such that it remains incorrect even after receiving the next SI1. Fix that with an "else". Signed-off-by: Alex Badea <vamposdecampos@gmail.com> Signed-off-by: Andreas Eversberg <jolly@eversberg.eu>
2012-10-30Fixed decoding of hexadecimal LAI componentsAndreas Eversberg1-3/+28
libosmocore has changed its LAI decoding from hex to decimal. This caused wrong decoding of MCC and MNC. In order to provide required hex transcoding, special hex encoding and decoding function are added to mobile/sysinfo.c.
2012-09-08layer23: gsm48_decode_lai() is now in libosmogsmHarald Welte1-14/+0
2012-07-12layer23: Fixed size of power offset (SI 3 rest octets)Andreas Eversberg1-1/+1
This is importaint on certan cells to finish BCCH scanning. If SI2ter indication is falsely detected, BCCH reading will timeout, because no expected SI2ter is received.
2011-07-17[layer23] Fixes and improvements of system information decodingAndreas Eversberg1-31/+54
2011-07-17[layer23/mobile] Improvement and fixes of idle mode processAndreas Eversberg1-1/+5
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
2011-05-29[layer23] Adding Quadband support and GSM 4x0 supportAndreas.Eversberg1-13/+72
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.
2011-04-26src: use new libosmogsm and include/osmocom/[gsm|core] path to headersPablo Neira Ayuso1-1/+1
This patch changes include paths to get osmocom-bb working with the current libosmocore tree. Among all these renames, you can notice several tweaks that I added on purpose, and that require some explanation, they are: * hexdump() in osmocon.c and osmoload.c has been renamed to avoid clashing with hexdump() defined in libosmocore. * gsmmap now depends on libosmogsm. Actually I had to cleanup Makefile.am because I was experiencing weird linking problems, probably due to a bug in the autotools. With the change included in this patch, I got it compiled and linked here correctly. This patch has been tested with the phone Motorola C123 and the following images files: * firmware/board/compal_e88/hello_world.compalram.bin * firmware/board/compal_e88/layer1.compalram.bin Using the osmocon, bcch_scan and mobile tools. Signed-off-by: Pablo Neira Ayuso <pablo@gnumonks.org>
2010-11-21layer23 sysinfo: fix parsing of CBCH Mobile AllocationAlex Badea1-1/+1
When calling gsm48_decode_mobile_alloc(), read the length byte from payload data[], rather than from si->data[].
2010-11-21layer23 sysinfo: store chan_nr when decoding CBCH Channel DescriptionAlex Badea1-0/+1
2010-10-24[layer23] Moving sysinfo.c and gps.c (.h) to liblayer23Andreas.Eversberg1-0/+772
This makes sense, since multiple applications use it.