aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc
AgeCommit message (Collapse)AuthorFilesLines
2010-05-14nat: Add code to parse the SCCP optional data.Holger Hans Peter Freyther1-3/+76
First we have the Complete Layer3 Information, then we have the IE for the Layer3 information, then the GSM48 hdr, then the actual content with data. Right now we are parsing the LU but we are not filtering anything yet.
2010-05-14nat: Start to add a test case.. with one CR message.Holger Hans Peter Freyther1-0/+19
2010-05-14gsm48: Typo fix.Holger Hans Peter Freyther1-1/+1
2010-05-14nat: Introduce a nat filter that is working on the CR message.Holger Hans Peter Freyther3-0/+22
Currently there is no implementation but the refusal code is in place and will send a refusal back to the BSC.
2010-05-14[sccp] Export function to create SCCP Refuse message.Holger Hans Peter Freyther2-1/+16
2010-05-14[bsc_msc_ip] Use A.B.C.D for the VTY code.Holger Hans Peter Freyther1-1/+1
2010-05-14[nat] Use A.B.C.D for the IP addressHolger Hans Peter Freyther1-1/+1
The VTY code will then be able to validate the IP Address.
2010-05-14[nat] Remove range checks inside the VTY command.Holger Hans Peter Freyther1-6/+0
The ranges are enforced by the VTY code.
2010-05-14[mgcp] Clean up VTY code, the ranges are checked by the VTY code.Holger Hans Peter Freyther1-20/+0
2010-05-14[mgcp] Use A.B.C.D for the ip addresses inside the vty configHolger Hans Peter Freyther1-4/+4
Make the vty code parse the ip addresses for us and validate them for us.
2010-05-14[mgcp] Improve the language of the comments.Holger Hans Peter Freyther1-2/+2
2010-05-14[mgcp] Include stdlib.h for abs.Holger Hans Peter Freyther1-0/+1
2010-05-14[vty] Add power measurements to the one line summary.Holger Hans Peter Freyther1-1/+13
2010-05-14[vty] Add a one line show lchan summary command.Holger Hans Peter Freyther1-0/+17
2010-05-14[vty] Move "show lchan" into a parameterized methodHolger Hans Peter Freyther1-7/+14
I want to have a shorter lchan summary but with the same config parameters. Change the current code to be a method that takes a dump routine as parameter.
2010-05-14[vty] Remove unfinished code from the VTY...Holger Hans Peter Freyther1-27/+0
2010-05-14A new day, a new tagon-waves/0.3.99.11Holger Hans Peter Freyther1-1/+1
2010-05-14rach: Allow to set the emergency call bitHolger Hans Peter Freyther1-0/+17
Add the rach emergency call allowed (0|1) setting and implement it by directly manipulating the t2 value. It is the third bit which is set to 0 when emergency calls are enabled and to one if it is only enabled for access classes 11 to 15.
2010-05-14[mgcp] Use tabs here..Holger Hans Peter Freyther1-1/+1
2010-05-14ipaccess: Move the RSL delay down to 0 milliseconds.Holger Hans Peter Freyther1-1/+1
Set the delay to zero milliseconds to send RSL messages as fast as possible.
2010-05-13ipaccess: Make sure flashing of the secondary BTS is workingHolger Hans Peter Freyther1-5/+5
Use the TRX throughout the flash process.
2010-05-13sw_load: Specify the trx_nr for the software loadHolger Hans Peter Freyther4-8/+10
For the multi TRX setup we will need to specify the right trx->nr to be able to flash the BTS. For the BS11 case we are ignoring the additional argument.
2010-05-13ipaccess: Send the reset to the BASEBAND_TRANSC and supply TRXHolger Hans Peter Freyther4-14/+20
Send the IPA Restart to a given BTS/TRX, change the signal callbacks to carry the trx instead of the BTS so we have an easy access to the right TRX and change the ipaccess-config to use that TRX. This is fixing the restart with a multi TRX setup. Even if we have the msg->trx, use the gsm_bts_trx_by_nr and get the TRX from the fom header. This is because the OpenBSC and the BTS numbering might not match for the multi TRX case.
2010-05-12ipaccess: Refactor... unite some codeHolger Hans Peter Freyther1-11/+11
2010-05-12ipaccess: Use the right trx when performing the testHolger Hans Peter Freyther1-1/+1
2010-05-12ipaccess: Use the current TRX to set the OML address.Holger Hans Peter Freyther1-1/+1
2010-05-12Increase the version number.on-waves/0.3.99.10Holger Hans Peter Freyther1-1/+1
2010-05-12chan: After sending the GSM04.08 RR Release, reset the subscriber and waitHolger Hans Peter Freyther1-0/+5
After we send the SACH DEACTIVATE the BTS will get back to us with a Release Indication which will trigger the RF Channel Release handling. This is why we can return here, but we need to put the subscriber reference to make sure to not end in a infinite loop. This and the previous change fix the USSD issue for me.
2010-05-12bsc_msc_ip: Assign a dummy gsm_subscriber to send a SACH DEACTIVATEHolger Hans Peter Freyther1-0/+18
This is part of fixing USSD delivered to the MS. Currently only MT services would end up with a GSM Subscriber assigned. The LCHAN code is using the GSM Subscriber to figure out if a SACH DEACTIVATE should be send to the MS. Add code to always assign a GSM Subscriber.
2010-05-12bssap: Use libosmocore for message creation.Holger Hans Peter Freyther1-15/+1
2010-05-12bssap: Use libosmocore to create GSM0808 ResetHolger Hans Peter Freyther2-17/+2
2010-05-12bssap: Start to libosmocore for gsm0808 message creation.Holger Hans Peter Freyther1-32/+2
2010-05-12ipaccess: Wait for the BASEBAND_TRANSCEIVER and then bootstrap OMLHolger Hans Peter Freyther1-17/+16
Currently we are connecting to the BTS and once the OML is established we are bootstrapping the OML. This does not work for a multi TRX setup as we will need to use a trx_nr != 0 for it. Change the code to wait for a message (in this case NM OC_BASEBAND_TRANSC) to detect the trx_nr used by the BTS and then use that TRX to bootstrap the network. I have tested setting the unit id on a single and multi trx system for the first and second trx.
2010-05-12abis: Pass the abis_om_obj_inst in the nm_state_event..Holger Hans Peter Freyther6-7/+12
2010-05-12nat: Have a recycle timer that removes unconfirmed SCCP connections.Holger Hans Peter Freyther1-0/+32
The MSC does not respond to a SCCP CR with Paging Response as GSM payload, when the response comes in 'too late'. Prevent the MUX having stale connections and start removing old connections every 20 minutes.
2010-05-12nat: When we fail to reallocate... also close down the MGCP partHolger Hans Peter Freyther1-0/+1
Give the BSC a chanche to close down MGCP ports as well.
2010-05-12nat: Store the creation time of a sccp connection.Holger Hans Peter Freyther4-2/+8
Generate it when creating the connection but also when reusing an existing connection.
2010-05-11bsc_msc_ip: Use constants for ?/0/1.Holger Hans Peter Freyther1-2/+2
2010-05-11Increase the version... as we have new commandson-waves/0.3.99.9Holger Hans Peter Freyther1-1/+1
2010-05-11bsc_msc_ip: Add an extra command to show the MSC status.Holger Hans Peter Freyther1-0/+28
2010-05-11bsc_msc_ip: Move the MSC connection into the structureHolger Hans Peter Freyther2-17/+19
2010-05-11nat: Print the MSC status with a new vty command.Holger Hans Peter Freyther3-15/+33
2010-05-11misc: Make sure PACKAGE_VERSION is getting defined with a useful content.Holger Hans Peter Freyther1-3/+2
PACKAGE_VERSION is used by the copyright message.
2010-05-11bsc_msc_ip: Add a test mode to send messages to the MSC.Holger Hans Peter Freyther1-1/+34
Check if the MSC likes paging responses when it has not recently send out a paging request.
2010-05-11gsm0408: Use counter_inc to increment the counter.Holger Hans Peter Freyther1-1/+1
2010-05-05bsc_msc: Add a connection timeout for the MSC.Holger Hans Peter Freyther2-0/+13
When no one is listening our connection would get stuck in the SYN_SENT state and we would be there forever.
2010-05-05Version bump for testing it on the targeton-waves/0.3.99.8Holger Hans Peter Freyther1-1/+1
2010-05-05nat: Using the right fd can be a good idea as wellHolger Hans Peter Freyther1-1/+1
2010-05-05Another version... another tryon-waves/0.3.99.7Holger Hans Peter Freyther1-1/+1
2010-05-05nat: Fix bad bug, make sure the fd is not overwritten..Holger Hans Peter Freyther1-11/+11
The adding of the innocent looking code was actually overwrote the fd and then stupid things happened. Rename variables to avoid that. rc,ret should be scratch variables...