aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2010-01-11[bsc_mgcp] Fix writing of the config file...Holger Hans Peter Freyther1-0/+2
* Add the new forward audio option
2010-01-11[bsc_mgcp] Print a message which mode is configuredHolger Hans Peter Freyther1-0/+4
2010-01-11[bsc_mgcp] Add a new forward only mode to the bsc_mgcpHolger Hans Peter Freyther1-25/+61
With forward IP in the config and early bind on we will simply forward RTP data on the endpoints from BTS to the forward IP address. This is implemented by disabling MGCP functionality when a forward IP address was specified, setting the forward IP in the endp->remote and assigning a ci != CI_UNUSED. Early bind will make sure the sockets are created, the BSC FD's are registered and then the normal dispatch code will do the forwarding.
2010-01-11misc: Fix compilation of the test cases.Holger Hans Peter Freyther2-1/+6
2010-01-10fix ipaccess-config, call missing nanobts initializationHarald Welte1-0/+1
FIXME: We really need to have some libbsc and libmsc initialization functions that clean up this mess.
2010-01-10add sylvain and andreas as authorsHarald Welte1-0/+2
2010-01-10[OML] parse attributes depending on BTS typeHarald Welte10-89/+234
Some NM attributes are defined differently depending on the BTS type. Having one big nm_att_tlvdef[] table for all BTS types is no longer sufficient. This patch * introduces 'struct gsm_bts_model' to describe a BTS model * adds definitions of gsm_bts_model for BS-11 and nanoBTS * changes the abis_nm_tlv_parse() function: include a bts pointer
2010-01-10TLV: add function to patch a tlv definition tableHarald Welte2-0/+16
2010-01-08GPRS: use the new logging architectureHarald Welte2-1/+3
2010-01-07introduce new gsm_bts_trx_by_nr() functionHarald Welte2-0/+12
2010-01-07bis_nm_ipaccess_set_nvattr() executes on a TRX, not a BTSHarald Welte3-8/+8
2010-01-07[vty] In case of handover only warn about the proxy mode when it is enabledHolger Hans Peter Freyther1-2/+4
Do not warn if the user has put "handover 0" in his configuration as this will not enable handover, only warn if it is going to be enabled.
2010-01-07Initialize reject_cause to a valid numberHolger Hans Peter Freyther1-0/+1
Currently starting with the opencfg.cfg.nanobts and writing it out and then trying to start again will not work. The network reject_cause is initialized to 0 which is not a valid reject reason and when writing this to the config file and trying to parse it will fail. Pick roaming not allowed as a harmless option to those phones accidently trying to connect to the BTS.
2010-01-07[system_information] Initialize the buffer before moving itHolger Hans Peter Freyther1-2/+4
In the case of ipaccess we are doing a ++output but then still try to write 23 bytes into it and on my system this is leading to a stack corruption.
2010-01-07[system_information] Return how much byte were written into outputHolger Hans Peter Freyther1-9/+10
2010-01-07[rest_octets] Return bv.data_len to indicate how was writtenHolger Hans Peter Freyther1-4/+6
Return the used data_len for the bitvector. This indicates how much data might have been written.
2010-01-07[rest_octets] Change data_len to the sizes of the specHolger Hans Peter Freyther1-5/+5
Is that right?
2010-01-07[bs11_config] Add pll-setvalue and pll-workvalue commandsDaniel Willmann1-1/+21
These commands let you change the PLL set and work values. Many thanks to Dieter Spaar for figuring out how to do this! Now you can just reset your PLL work value if it drifts away due to your E1 card. Use it like this: bs11_config pll-workvalue 1000
2010-01-07[bs11_config] Whitespace changes so the help text looks niceDaniel Willmann1-14/+14
2010-01-07[abis_nm] Add abis_nm_bs11_set_pll function to change the set/work valueDaniel Willmann2-0/+22
Whether this function changes the set or the work value depends on your type of login. In FACTORY login it changes the set value, in FIELD login it changes the work value (which is what is used by the BS11 to tune the frequency).
2010-01-07[abis_nm] Add abis_nm_bs11_infield_logon to logon as user fieldDaniel Willmann2-0/+6
As this user you are able to set the PLL work value which is especially useful if your BS11 got detuned by an inaccurate oscillator in your E1 card.
2010-01-07[abis_nm] Add generic abis_nm_bs11_logon functionDaniel Willmann2-5/+9
Factoring out common logon functionality will allow us to logon as different user. abis_nm_bs11_factory_logon now uses this function.
2010-01-07Merge remote branch 'origin/master' into gprsHarald Welte97-596/+14720
Conflicts: openbsc/include/openbsc/debug.h openbsc/src/Makefile.am openbsc/src/gsm_04_08.c openbsc/src/input/ipaccess.c openbsc/src/ipaccess-config.c
2010-01-07[signal] Differentiate paging success from expiration in SS_PAGINGSylvain Munaut4-8/+7
This is useful information to know and actually fixes a segfault in rllp.c where lchan is accessed even tough it could be NULL in case of failure. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-01-07abis_nm: Consider a STATE CHG without avail_status as an empty avail_statusSylvain Munaut1-1/+2
At least some nanoBTS 139 send the last even (going online) as 'enabled' 'unlocked' but no avail status IE (which I guess mean an empty set, the doc 12.21 isn't that clear about that). Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-01-07rrlp-ephemeris: Add directory with asn1c patchesSylvain Munaut2-0/+73
- One is just to improve the debug prints - The other fixes a problem in PER encoding found by Dieter Spaar. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-01-07rrlp-ephemeris: Add script to get test data from UBX receiverSylvain Munaut1-0/+17
Simple script illustrating how data.ubx (the test sample) is generated. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-01-07rrlp-ephemeris: Fill ref time with UBX AID_INI messagesSylvain Munaut1-2/+6
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-01-07rrlp-ephemeris: Add support for filling ReferenceTime IESylvain Munaut2-4/+14
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-01-07rrlp-ephemeris: Add a note about extracting RefPos from AID_INISylvain Munaut1-0/+4
Yeah we could do it if anyone is willing to implement conversion from ecef to WGS84. See http://en.wikipedia.org/wiki/Geodetic_system Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-01-07rrlp-ephemeris: Fill ref pos with UBX NAV_POSLLH messagesSylvain Munaut1-1/+5
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-01-07rrlp-ephemeris: Support filling of ReferencePositon IESylvain Munaut3-15/+65
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-01-07rrlp-ephemeris: Comment alignment fixSylvain Munaut1-1/+1
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-01-07rrlp-ephemeris: Add .gitignoreSylvain Munaut1-0/+4
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-01-07rrlp-ephemeris: Properly implement pseudo segmentation flagSylvain Munaut1-0/+8
See 3GPP TS 44.031 section 2.2/2.3 for a example/description. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-01-07rrlp-ephemeris: Fix memory leakSylvain Munaut1-1/+1
We need to go through all the object release code ... Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-01-06[vty] Move db usage out of the libbsc (fork dumping of subscr) (2nd part)Holger Hans Peter Freyther1-26/+0
Follow up on 424c4f0e2927d5a7538b31c69113c6e4f861d2c9. As pointed out by Sylvain on the mailinglist I need to remove this here as well. Do not call db.c code from code that is located in libbsc.a
2010-01-06[si] Go through the system_information structs and add static_assertsHolger Hans Peter Freyther1-0/+16
The structs are correct, the problem is coming from the rest octets
2010-01-06[vty] Move db usage out of the libbsc (fork dumping of subscr)Holger Hans Peter Freyther2-6/+53
vty_interface.c is part of libbsc.a but it started to use code which is found in db.c recently. Fork the subscriber dumping and provide more information on the layer3+ (MSC) commands. This is restoring the separation again.
2010-01-03print full lchan name when recycling itHarald Welte (local)1-1/+1
2010-01-03gsm_data: Move auth related structure earlierSylvain Munaut1-20/+22
This is gonna be needed by the next commit ... Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-01-03encryption: Import a GPL comp128 implementationSylvain Munaut3-1/+253
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-01-03gsm_04_08: Add RAND debug output in gsm48_tx_mm_auth_reqSylvain Munaut1-1/+1
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-01-03gsm_04_08: Specify key_seq when calling gsm48_tx_mm_auth_reqSylvain Munaut3-6/+5
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-01-03vty: Add command to set auth algo & Ki for a subscriberSylvain Munaut1-0/+62
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-01-03vty: dump subscriber authentication (a3/a8) infos if availableSylvain Munaut1-0/+31
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-01-03db: Add methods to set auth{info,tuple} for a subscriberSylvain Munaut2-0/+129
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-01-03db: Add declaration for get_auth{info,tuple_for_subscriberSylvain Munaut1-0/+6
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-01-03db: Fix bad size comparison when retrieving KiSylvain Munaut1-1/+1
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-01-03gsm_data: Fix sres to be 4 bytesSylvain Munaut1-1/+1
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>