aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc
AgeCommit message (Collapse)AuthorFilesLines
2009-12-28[ipacess] Implement sw_load_end for the nanoBTSHolger Hans Peter Freyther1-4/+12
* This should be shared with the sw_load_init routines as it is the about the same.
2009-12-28[ipaccess] Properly increment the segs_in_windowHolger Hans Peter Freyther1-0/+1
Somehow this should be done in the fill method..
2009-12-28[ipaccess] No need to use fdopen for the file (that was leaked too)Holger Hans Peter Freyther1-7/+4
2009-12-28[ipaccess] Implement the Load Segment messages...Holger Hans Peter Freyther1-0/+16
2009-12-28[abis] Warn if sw_load_segment is not implemented for the given bts typeHolger Hans Peter Freyther1-0/+1
2009-12-28[ipaccess] Send the correct Software Load Init for the ipaccess BTSHolger Hans Peter Freyther1-9/+38
* The FOM header needs to be different. We need to address the base station transceiver, bts, trx set to 0 and ts to 255 * We need to transfer the the \0 of 'id' and 'version' * We need to issue a NM_ATT_SW_DESCR (just the value) * We need to use 16bit length for the other two ids.. * After this our Software Load Init is getting an Ack.
2009-12-28[ipaccess] Verify the SDP header before flashingHolger Hans Peter Freyther1-1/+49
Print a big fat warning that we do not carefully check the firmware as the format is not known and that flashing could be dangerous..
2009-12-28[ipaccess] Start flashing once the BTS has started enough...Holger Hans Peter Freyther1-15/+16
Strictly speaking we would only need to start the Site Manager and could probably start flashing afterwards but it is more easy to have one config path...
2009-12-28[ipaccess] Add firmware download option to ipaccess-configHolger Hans Peter Freyther1-1/+70
This will mostly work like the downloading in bs11_config and is based on the bs11_config state machine as well. Once it is working we can see how to unite both implementations.
2009-12-27[ipaccess] Verify the size part of the headerHolger Hans Peter Freyther1-0/+12
2009-12-27[ipaccess] Call it ipaccess-firmwareHolger Hans Peter Freyther1-1/+1
2009-12-27move get_string_value() und get_value_string() into debug.cHarald Welte2-26/+26
this makes bsc_mgcp and ipaccess-proxy compile again
2009-12-27gsm_04_11: Support for implicit CP-ACK in case of multi-SMSSylvain Munaut1-0/+27
See GSM 04.11 Chapter 5.4 for details. The idea is that when multi-SMS are mobile originated, it's possible the CP-ACK of the previous transaction to be lost and the reception of a new CP-DATA for a new transaction should close previous transaction "as-if" we had received the CP-ACK ... Note that testing is hard since it's an exceptional condition that's hard to create. I tested by temporarly disabling CP-ACK processing and checked it worked as expected. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2009-12-26print TS name in RLL ERR INDHarald Welte (local)1-1/+2
2009-12-26[rsl] correctly print handover detect and connection failHarald Welte (local)1-5/+4
2009-12-26print LAC and BTS number when showing location update rejectHarald Welte (local)1-2/+4
2009-12-26fix missing space in log messageHarald Welte (local)1-1/+1
2009-12-26[debug] add new 'logging level' command to set loglevel more user friendlyHarald Welte (local)2-2/+57
2009-12-26generate INFO events for CC SETUP and LOC UPD REJHarald Welte (local)1-1/+6
2009-12-26add 'get_string_value()' as inverse function of 'get_value_string()'Harald Welte (local)2-0/+14
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