aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src
AgeCommit message (Collapse)AuthorFilesLines
2009-12-29[ipaccess] Use the u_intX_t types in the firmware toolHolger Hans Peter Freyther1-3/+3
2009-12-29[ipaccess] Attempt to read the header entries..Holger Hans Peter Freyther1-0/+13
2009-12-29[ipaccess] Do not pick in the wrong headers...Holger Hans Peter Freyther1-10/+5
I must have picked in the wrong section of these files... There are some kind of header entries that are all 138 byte long and this is the total length...
2009-12-28[ipaccess] Send a NVATTR to activate the new software after load endHolger Hans Peter Freyther1-8/+42
* The struct is similiar to the one in abis_nm.. * The generation of the data is similiar to sw_end_load and sw_init_load and we should unite this..
2009-12-28[ipaccess] Handle LoadAbort coming from the BTS.Holger Hans Peter Freyther2-0/+10
* Be bale to abort the load when the BTS is rejecting the file..
2009-12-28vty: replace'logging level' numeric value with human readable stringHarald Welte (local)1-2/+10
2009-12-28set the TRX nominal power by default and/or VTYHarald Welte (local)2-6/+33
2009-12-28Introduce and use gsm_lchan_name() in addition to gsm_ts_name()Harald Welte (local)2-14/+24
In many cases we actually want a name / unique ID for the lchan, not just for the on-air timeslot... especially in SDCCH/8 case, where 8 SDCCHs share one timeslot...
2009-12-28RLL: print human-readable value of RLM CAUSE in ERROR INDHarald Welte (local)1-3/+22
2009-12-28Introduce new ACT_REQ state to prevent race condition during channel allocationHarald Welte (local)2-6/+12
When we allocate a channel, we send the RSL CHAN ACT REQ and wait until we get a CHAN ACT ACK. Only the ACK will change the state, so there is a race where we allocate that same channel to a different channel request before we get the ACT ACK. Introducing a new ACT_REQ state resolves this issue.
2009-12-28rename gsm_lchan_name() to gsm_lchant_name()Harald Welte (local)3-4/+4
2009-12-28fix segfault in CHAN RQD log messageHarald Welte (local)1-2/+2
2009-12-28correctly print chan act nack errorHarald Welte (local)1-1/+5
2009-12-28print TS name when out of resources during CHAN RQDHarald Welte (local)1-2/+2
2009-12-28correction of RTP timestamps is a NOTICE event, not debugHarald Welte (local)1-1/+2
2009-12-28include BTS and TRX number in TRX overload message reportHarald Welte (local)1-1/+2
2009-12-28[abis] Set rc to 0 to avoid running into a warning about unknown statesHolger Hans Peter Freyther1-0/+1
When we have received the End Ack we are just doing nothing as we are done. This means rc remains -1 and we will print a warning but there is no need to have a warning...
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)1-0/+13
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 Welte1-9/+13
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>