aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2009-12-26[db] A new subscriber is an INFO event, not NOTICEHarald Welte (local)1-1/+1
2009-12-26'classmark1' is not an integer field in the databaseHarald Welte (local)1-1/+3
2009-12-26[meas rep] fix parsing of BSIC in third reported neighbor cellHarald Welte (local)1-1/+1
2009-12-26[handover] print INFO message when doing handoverHarald Welte1-0/+5
2009-12-26[meas rep] print the neighbor index when debugp'ing a neigh cell measHarald Welte1-2/+2
2009-12-26fix off-by-one error when mapping from meas rep to neighbor cellHarald Welte1-6/+6
2009-12-26[meas_rep] Add raw neighbor index into per-cell parsed meas repHarald Welte2-9/+14
2009-12-26[meas rep] cosmetic cleanupHarald Welte1-19/+25
2009-12-26[meas rep] Correctly parse neighbor cell index of first reported neighbor cellHarald Welte1-1/+1
2009-12-24system_information: Fix BCCH Allocation when only 1 BTS presentSylvain Munaut1-1/+7
The current code used the variable bitmap format, but that's not possible since in this format the base ARFCN is part of the set. That lead to a neighbor list containing ARFCN 0. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2009-12-24gsm_04_11: Release SMS transaction only after starting next one.Sylvain Munaut1-4/+6
This ensures that we don't re-use the same transaction ID. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2009-12-24gsm_04_11: In gsm411_send_sms_lchan fix transaction id error handlingSylvain Munaut1-1/+1
We need transaction_id to be a int (as returned by trans_assign_trans_id) to detect the error condition -1. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2009-12-24transaction: Change id allocator method to be 'circular'Sylvain Munaut1-3/+8
The idea is to find the highest used id and try to get the next. This way when there are transactions back to back with an overlap, we go 0 1 2 3 4 5 6 0 1 2 ... Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2009-12-24introduce multiple log levels (DEBUG/INFO/NOTICE/ERROR) to SMS codeHarald Welte1-31/+40
2009-12-24add (and use) new subscr_name() function to get name or IMSIHarald Welte3-5/+14
2009-12-24rsl: fix "CONNECTION FAIL: RELEASING" messageHarald Welte1-1/+2
2009-12-24[debug] Change the default log level to LOGL_NOTICEHarald Welte1-20/+20
This marks the departure from printing all the debug messages to the console by default. We only print NOTICE and WARNING level messages by default If you're interested in more details, you need to enable it via command line options or the VTY
2009-12-24Add LOGL_INFO messages about subscriber attach/detachHarald Welte1-0/+3
2009-12-24print ARFCN, LAC and CID when bootstrapping RSLHarald Welte1-3/+4
2009-12-24properly check for EAGAIN in recv() callsHarald Welte2-5/+5
If recv() has no more messages on a non-blocking socket, errno will be EAGAIN, not the return value!
2009-12-24[handover] CRCX ACK without HO reference is normal, not an errorHarald Welte1-2/+2
2009-12-24if we recv() from an abis-ip socket, don't consider -EAGAIN an errorHarald Welte2-3/+6
2009-12-24[logging] differentiate DEBUG, NOTICE and ERROR log levels in NM and RSLHarald Welte2-69/+59
2009-12-24don't print directly to stderr, use LOGP()Harald Welte1-7/+7
2009-12-2404_08: Differentiate between DEBUG and ERROR messagesHarald Welte1-6/+8
also, don't use stderr directly anymore
2009-12-24[debug] Introduce DREF debug category for reference countingHarald Welte4-4/+7
2009-12-24Converrt the database later to use DEBUGP/LOGP instead of stderrHarald Welte3-34/+46
2009-12-24db: coding style cleanupHarald Welte1-46/+58
2009-12-24[ipaccess] Move ipaccess utilities into a dedicated subdirectoryHolger Hans Peter Freyther5-4/+4
2009-12-24[ipaccess] Spend some more time on figuring out the formatHolger Hans Peter Freyther1-24/+32
2009-12-24debug: add missing va_end()Harald Welte1-0/+1
2009-12-24debug: workaround for strange va_list corruption bugHarald Welte1-2/+9
2009-12-24debug: make sure we always zero-terminate after snprintf()Harald Welte1-1/+7
2009-12-24vty: sub-divide talloc contexts and include them in talloc reportHarald Welte6-26/+42
The VTY code makes so many allocations that a full report is simply too long to provide any useful information. So we sub-divide it in multiple contexts, and report only one level deep at SIGURS1. We also introduce SIGUSR2 for the full detailed VTY report.
2009-12-24db: Fix compile warning, declare db_sms_get_unsent_by_subscrSylvain Munaut1-0/+1
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2009-12-24channel allocator: don't allocate channels of unavalable TRXsHarald Welte1-0/+38
In case we have multiple TRX configured, but not all of them are actually active/operational, we should not try to allocate channels from such transceivers.
2009-12-24fix typo in talloc_ctx causing counters not to show up in talloc reportHarald Welte1-1/+1
2009-12-24use enum for operational stateHarald Welte2-3/+9
2009-12-24counter: create their own talloc context for better readabilityHarald Welte2-1/+5
2009-12-24move msgb talloc context into talloc_ctx.cHarald Welte2-6/+3
This keeps the ordering right, independent of link ordering, it will ensure that the talloc dump will also catch msgb related memory leaks.
2009-12-24fix merge artefact from db.cHarald Welte1-0/+1
2009-12-24Merge remote branch 'origin/master'Harald Welte4-14/+130
2009-12-24[authentication] Code for retrieving authentication data from SQL DBHarald Welte2-0/+111
This is the first step towards supporting actual A3/A8 authentication.
2009-12-23ipaccess-proxy: Fix two memory leaksHarald Welte1-5/+2
2009-12-23debug: Fix typo DMM -> DNM (we don't need DMM twice)Harald Welte1-1/+1
This prevented NM related log messages from showing up at stderr
2009-12-23input/ipaccess: Differentiate between LOGL_ERROR and DEBUGHarald Welte1-13/+18
also: make sure we properly reset the OML/RSL UP flags on a dead socket.
2009-12-23introduce #defines for ip.access RSL and OML UDP portsHarald Welte3-8/+13
2009-12-23Add ipaccess-proxy, a proxy for ip.access A-bis over IPHarald Welte2-1/+1129
This proxy allows us to restart OpenBSC while the BTS's are kept running with their CCCH/BCCH alive. This is very useful to make sure the phones don't roam to other networks while restarting OpenBSC. The proxy also intrduces UDP sockets for injecting UDP packets into the A-bis data stream.
2009-12-23Fix segfault in case BTS has more TRX than we have configuredHarald Welte1-0/+2
2009-12-23[ipaccess] The next byte appears to be size...Holger Hans Peter Freyther1-0/+12
Using okteta to display the size in bigendian and then selecting from the start to the " SDP" I get the same number...