summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix of wong Classmark 2 when doing CM Service Request.Andreas Eversberg2011-08-063-7/+13
| | | | | | Same reason as the commit below... (3b2b3b09a) Thanx again to Dieter for pointing this out.
* Fix of wong Classmark 1 on Location Updating and IMSI DetachAndreas Eversberg2011-08-041-3/+7
| | | | | | | | | | The reason for the the wrong power capability comes from the fact that "rr->cd_now" is not yet set and so the ARFCN is 0 which causes the GSM900 power capability to be used. It is set to "Class 4" in the configuration file per default, however this value is not defined for GSM1800/1900. Thanx to Dieter Spaar for finding this bug!
* fw/calypso/dsp: Fix wrong hardcoded boot code constantSylvain Munaut2011-08-031-1/+1
| | | | | | | | No functional impact tough. Thanks to Job <baseband@hackwerk.org> on the ML for pointing this out Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
* gsmmap: Dump SYSTEM INFORMATION messages while processingAndreas Eversberg2011-07-311-16/+17
|
* Fixed broken gsmmap.Andreas Eversberg2011-07-312-1/+11
|
* Merge commit '1a99df84e12315c63f2e96a2972864e4c311712d'Sylvain Munaut2011-07-303-6/+6
|\
| * gsm/gsm48_ie: Fix frequency list decodingAndreas.Eversberg2011-07-301-1/+1
| | | | | | | | | | Fix-by: Andreas.Eversberg <jolly@eversberg.eu> Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
| * fix off-by-one error in OSMO_NUM_DLIBHarald Welte2011-07-291-1/+1
| | | | | | | | | | This bug was introduced in 95f7eb288c4b8b69d61fa8d68957fb21f09e11e5 and it caused a segfault on 'write terminal'
| * use the 'L' prefix in debug names (DLINP instead of DINP)Harald Welte2011-07-291-4/+4
| |
* | layer23: Add mobile support for sending / receiving voice frame through MNCCAndreas.Eversberg2011-07-2815-39/+333
| | | | | | | | | | | | | | Support GSM FR codec only so far. Written-by: Andreas Eversberg <jolly@eversberg.eu> Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
* | fw/prim_tch: Add support for sending frame from l23 (TRAFFIC_REQ/CONF)Sylvain Munaut2011-07-281-3/+73
| | | | | | | | Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
* | fw/prim_tch: Add support for sending traffic frames to l23 (TRAFFIC_IND)Sylvain Munaut2011-07-281-2/+28
| | | | | | | | Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
* | fw/layer1/l23_api: Add processing of the new audio_modeSylvain Munaut2011-07-284-10/+33
| | | | | | | | | | | | This currently just stores it into the l1 sync state struct Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
* | l23/l1ctl: Add default values for audio_modeSylvain Munaut2011-07-281-0/+3
| | | | | | | | | | | | Theses value should simulate the old behavior Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
* | l1ctl: Add definitions for the audio_mode configurationSylvain Munaut2011-07-281-3/+9
| | | | | | | | Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
* | fw/l1: Add a queue for traffic frame to send to network (TRAFFIC_REQ)Sylvain Munaut2011-07-282-0/+28
| | | | | | | | | | | | | | | | Also hard limit to maximum 4 pending frames (should not happen !), the upstream is supposed to do its own flow control. Written-by: Andreas Eversberg <jolly@eversberg.eu> Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
* | l1ctl: Add definition for TRAFFIC_{REQ,CONF,IND}Sylvain Munaut2011-07-282-1/+16
| | | | | | | | | | | | Also adapt packet creation length in L1 Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
* | layer23: Adapt to new logging API: fix calls to log_initAndreas.Eversberg2011-07-282-2/+2
| | | | | | | | Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
* | Merge commit '430be849945688ae107b079db1e216329b1a1f06'Andreas.Eversberg2011-07-2841-194/+3509
|\|
| * add definition of OSMO_MIN macro, similar to OSMO_MAXHarald Welte2011-07-271-0/+1
| |
| * sms: Fix style issues with the code, add spaces after keywordsHolger Hans Peter Freyther2011-07-241-5/+5
| |
| * sms: SMS where cropped (from VTY), concatenation of SMS where not possibleDennis Wehrle2011-07-243-43/+306
| | | | | | | | | | | | | | | | | | | | | | | | Additionally it wasn't possible to send concatenated sms from the vty. To send multiple sms, it is necessary to use padding bits and add a user_data_header. Therefore the gsm_7bit_encode function was splitted to gsm_7bit_encode and gsm_septets2octets. gsm_septets2octets: this is the old gsm_7bit_encode function + additional padding parameter Additionally the gsm_7bit_decode function was modified to take account for the user_data_header. With the new gsm_get_octet_len function you can get the octet length for a given septet length. I also added several sms tests.
| * vty: Increase the number of arguments one can have in VTY commandsHolger Hans Peter Freyther2011-07-241-1/+1
| | | | | | | | | | | | | | | | For some interactive commands (e.g. sending a SMS in OpenBSC) we are using the "NAME." arg definition. For the usecase of sending SMS it is not enough to only allow about 13 spaces. Increase the limit. Original patch is coming from Dennis Wehrle.
| * don't call a function argoment 'class' for the benefit of c++ usersHarald Welte2011-07-231-1/+1
| | | | | | | | This had broken lcr compilation...
| * ipaccess: Reserve an extensions for an external SMSC connectionHolger Hans Peter Freyther2011-07-231-0/+1
| | | | | | | | | | This could be used to submit SMS to OpenBSC and to get informed about new SMS coming from OpenBSC.
| * remove DLRSL and DLNM, we don't need themHarald Welte2011-07-212-15/+1Star
| | | | | | | | | | They are not used anywhere in our libraries, so they should be defined by the respective applications
| * make sure we don't have namespace clashes between libraries and appsHarald Welte2011-07-194-17/+17
| | | | | | | | | | | | | | | | * All loging prefixes in libraries should be DL like DLINP * All signals / subsystems should be called S_L_* SS_L_* * All command nodes should be called L_*_NODE This makes sure existinc code still compiles as expected
| * mkae the new 'void *dst' member part of a union with the trx pointerHarald Welte2011-07-181-3/+4
| | | | | | | | | | this ensures struct msgb is the same size as before, which will ensure binary compatibility
| * vty: reserve nodes for libosmo-abisPablo Neira Ayuso2011-07-181-0/+3
| | | | | | | | | | This patch reserves E1INP_NODE and IPA_NODE for libosmo-abis VTY interfaces.
| * msgb: add ->dst attribute to store routing informationPablo Neira Ayuso2011-07-181-0/+3
| | | | | | | | | | | | | | | | | | | | This patch adds a new attribute to msgb objects. This new attribute will store a pointer to the routing information, in the case of the A-bis link, this will be used to store e1inp_sign_link instead of struct gsm_bts_trx. This deprecates msg->trx, that can be removed once all application are ported to use msg->dst.
| * logging: add libosmo-abis logging subsystemsPablo Neira Ayuso2011-07-182-1/+41
| | | | | | | | | | | | This adds the libosmo-abis logging subsystems to libosmocore, it uses the new change that harald proposed based on negative numbers for library logging subsystems.
| * signal: reserve signal subsystems >= INT_MAX/2 for librariesPablo Neira Ayuso2011-07-181-0/+23
| | | | | | | | | | | | | | | | | | The first range (from 0 to INT_MAX/2) of signal subsystems can be used by client applications while the second range (from INT_MAX) is reserved for libraries. This is useful to support signals defined in libraries that may be used by different client applications.
| * misc: Put git-version-gen into the tarballHolger Hans Peter Freyther2011-07-171-0/+2
| | | | | | | | | | autoreconf does not work on released tarballs due the missing git-version-gen. Add it.
| * gsm 04.80: fix typo (256, not 265!)Harald Welte2011-07-161-2/+2
| | | | | | | | | | | | | | This was introduced by me in commit 79599ba0eb7a9aeaeb9dfbbf4881f0633724a471 Thanks to Alexander Huemer for detecting it
| * gsm 04.80: ussd_request.text can contain 0xff, needs to be unsignedHarald Welte2011-07-161-1/+1
| | | | | | | | Found by Smatch
| * lapdm: fix memory leak due to unreachable codeHarald Welte2011-07-161-1/+0Star
| | | | | | | | detected by Smatch
| * gsm 08.08: use ANSI function definition with (void)Harald Welte2011-07-162-2/+2
| |
| * tlv: Make tlv parser arrays 256 entries wide to prevent overflow on 0xffHarald Welte2011-07-162-3/+3
| | | | | | | | | | | | | | If we encounter a tag with 0xFF, we overflow our existing tlv_parse array definitions. Warning: this breaks ABI
| * gprs_cipher_core: Fix potential buffer overflowsHarald Welte2011-07-161-3/+3
| | | | | | | | detected by Smatch
| * telnet_interface: if we don't check for the return value, don't use retHarald Welte2011-07-161-5/+4Star
| |
| * telnet_interface: get rid of 'const' warningHarald Welte2011-07-161-1/+1
| |
| * get rid of non-ANSI function declarations missing (void)Harald Welte2011-07-165-8/+8
| | | | | | | | Detected by Smatch
| * don't use signed bit-fieldsHarald Welte2011-07-161-2/+2
| | | | | | | | detected by Smatch
| * timer: use (void) for functions that take no argumentsHarald Welte2011-07-162-6/+6
| | | | | | | | This has been detected by http://smatch.sourceforge.net/
| * Revert various debian related changesHolger Hans Peter Freyther2011-07-165-12/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The debian related changes were not meant to be comitted and were local experiments. The changes should go through Jan and not this way. Revert "more changes" This reverts commit 96ba20cb44e602abb292b53c9e4f92aa59998df1. Revert "debian: Updates to fix lintian errors" This reverts commit b670c86edd704d45b572b87111f3224abecc4767. Revert "debian: Switch to the 3.0(quilt) format to play with launchpad" This reverts commit 7a91d6071d1ef15e5a05f5feb7f79a06c279c673. Revert "debian: Add new changelog entry for the shlib:Depends change" This reverts commit 54b8c4e0edb2f0f0cde7d28c1715810dd5c6a4b1. Revert "debian: dpkg-buildpackage complains about this here" This reverts commit 4284307ead92f35e844e452c0ff9c73a61038096. Revert "debian: Add a new changelog entry" This reverts commit ae9b220d166dac277a9b9078add20650415d1cb2.
| * osmo_hexdump: Fix segfault when input is too long.Holger Hans Peter Freyther2011-07-151-0/+2
| | | | | | | | | | | | | | | | | | | | In snprinftf the size is a size_t (unsigned) in case we want to write more than we have available, len_remain will be < 0. This was spotted while removing hexdump from simtrace and comparing it to our implementation. int snprintf(char *str, size_t size, const char *format, ...);
| * more changesHolger Hans Peter Freyther2011-07-131-21/+3Star
| |
| * debian: Updates to fix lintian errorsHolger Hans Peter Freyther2011-07-134-17/+16Star
| |
| * debian: Switch to the 3.0(quilt) format to play with launchpadHolger Hans Peter Freyther2011-07-131-1/+1
| |
| * debian: Add new changelog entry for the shlib:Depends changeHolger Hans Peter Freyther2011-07-131-0/+6
| |