aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include
AgeCommit message (Collapse)AuthorFilesLines
2011-04-26bsc: Allow to have a list of MSCs/MUXs to connect toHolger Hans Peter Freyther3-11/+19
Be able to configure a list of destinations (duplicates allowed) that will be tried in a round robin fashion. The change is in the bsc_msc_connection to operate on a list. We achieve the round robin nature with the same trick used in the paging code to delete and append the current entry. The nat code was updated to compile but one can only configure one destination.
2011-04-26bsc: Allow the NAT to query the list of LACsHolger Hans Peter Freyther1-1/+1
Right now the code assumes that any request coming from the NAT is a query and the code responds to with a list of configured LACs.
2011-04-26bsc: Point back from struct osmo_msc_data to struct gsm_networkDaniel Willmann1-0/+3
2011-04-26nat: Introduce a block on the NAT to slowly get rid of BSCsHolger Hans Peter Freyther1-0/+3
For restarting the NAT we can now block it, it will not accept new connections and for existing connections it will attempt to drop them over time. A blocked NAT will end up with no BSC connections left and then can be safely restarted.
2011-04-26ipa: Reserve two new values for the Osmo IPA extensionsHolger Hans Peter Freyther1-0/+14
We want to send MGCP through the Osmo Extension and also want to send the list of local LACs to it.
2011-04-19crc24: Include stdint.h as a possible compile fixHolger Hans Peter Freyther1-0/+2
2011-04-19ussd: Keep track of used TIs for USSD and forward messagesHolger Hans Peter Freyther1-0/+3
Keep track of the used transaction identifier and always forward messages to the USSD provider. E.g. this can be used to have a dialogue going. Right now it is still possible that the MSC will close down the connection.
2011-04-18nat: Inform the USSD Provider about lost connectionsHolger Hans Peter Freyther1-0/+8
2011-04-18nat: Remove magic numbers, use enum values for conn classificationHolger Hans Peter Freyther1-0/+10
Remove the usage of 0, 1, 2 and start using enum values. We can still assume con_local is a number.
2011-04-18misc: Remove sys/types.h includes from the filesHolger Hans Peter Freyther10-10/+0
These are not needed any more. We used them for u_int types but we now use uint which comes from stdint.h
2011-04-18misc: Move from u_int to uint types of stdint.hHolger Hans Peter Freyther23-330/+332
This was done with sed on the files.
2011-04-12libabis: ipaccess: more robust ipaccess_idtag_name()Pablo Neira Ayuso1-1/+1
ipaccess_idtag_name() now takes a uint8_t as parameter which is the length of the type tag. This patch was suggested by Zecke.
2011-04-12db: The forward declaration of the enum does not work with C++Holger Hans Peter Freyther1-2/+1
We need to include this directly to help LCR in building.
2011-04-07ipaccess: Add a function to prepend the osmocom ext headerHolger Hans Peter Freyther1-0/+5
* include/openbsc/ipaccess.h: Reserve a protocol number for control commands * input/ipaccess.c: New function ipaccess_prepend_header_ext prepends the extension header
2011-04-07libabis: ipaccess: export ipaccess_parse_unitidPablo Neira Ayuso1-0/+1
Now this is used by ipaccess-proxy, remove redundant implementation in it.
2011-04-07libabis: ipaccess: export ipaccess_idtag_name()Pablo Neira Ayuso1-0/+1
Now this is used by ipaccess-proxy, remove redundant implemention in it.
2011-04-07libabis: ipaccess: conclude new ipaccess_send_*() functions and use themPablo Neira Ayuso1-0/+1
This patch finishes the new ipaccess_send_*() functions and use them in the ipaccess-proxy code. I have also cleanup the definition of the PONG, ID_ACK and ID_REQ messages (including some minor documentation about them). I had to rename ipaccess_recvmsg() in ipaccess-proxy to avoid clashing with the one defined in libabis.
2011-04-07bsc: Add the bsc-rf-socket command to master as wellHolger Hans Peter Freyther1-0/+1
Make it possible to specify the rf-socket path via the vty configuration as well. The command line setting will override it though.
2011-04-06nat: Remember if the MSC accepted the connection on principleHolger Hans Peter Freyther1-0/+1
For the USSD module we only want to handle requests that are legitimate. This is achieved by looking for the CM Service Accept or the BSSAP CIPHER MODE COMMAND.
2011-04-05libcommon: socket: extend make_sock() prototypePablo Neira Ayuso1-2/+3
This patch extends the make_sock() prototype so you can fully set the fields priv_nr and data of the bsc_fd structure. This is the first step to get rid of the internal make_sock() implementation that ipaccess-proxy uses. This patch includes a minor cleanup to pass INADDR_ANY instead of zero, if you do not want to bind the socket to one specific address.
2011-04-04nat: Bail out if the regexp fails to compile and avoid a crashHolger Hans Peter Freyther1-1/+1
If the regexp fails to compile the internal dfa is NULL and a regexec will crash nicely. Fail and free the string if the regexp fails to compile.
2011-04-01nat: Make the USSD number matching a regexpHolger Hans Peter Freyther1-0/+1
This allows to match multiple numbers and multiple patterns
2011-03-23src: use new library libosmogsm and new path to headers in libosmocorePablo Neira Ayuso32-63/+63
libosmogsm is a new library that is distributed in the libosmocore. Now, openbsc depends on it. This patch gets openbsc with this change. This patch also rewrites all include path to the new osmocom/[gsm|core] Signed-off-by: Pablo Neira Ayuso <pablo@gnumonks.org>
2011-03-19bsc: change bsc_vty_init to take logging categories as parameterPablo Neira Ayuso1-1/+2
This change is required to finish the integration of the VTY and the per-application logging categories that provides: "vty: integration with logging framework" in libosmocore. It has been tested with osmo-nitb. The other just compiled tested.
2011-03-06RBS2000: Automatically connect/start/configure/enable most MOsHarald Welte1-0/+9
2011-03-06OM2000: First attempt in automatically configuring most MOsHarald Welte1-0/+12
TS objects are not part yet
2011-03-06OML: Include a pointer to the BTS in NM STATE CHANGE signalsHarald Welte1-0/+1
... this allows the BTS driver to decide if it should handle the event at all
2011-03-06OM2000: Move IS conn group list generation out of VTY codeHarald Welte1-2/+10
2011-03-06OM2000: Track the Operational Info and MO stateHarald Welte2-0/+14
2011-03-05OM2000: Add support for configuring the TF (Timing Function)Harald Welte1-0/+1
2011-03-05OM2000: Add support for sending TX, RX and TS configuration requestsHarald Welte1-0/+15
They can be triggered from the VTY
2011-03-04[HSL] initial support for the HSL 2.75G FemtocellHarald Welte1-0/+4
The HSL Femtocell seems to be a poor man implementation of the ip.access Abis/IP protocol, but cutting corners wherever possible. We try to workaround those corners wherever possible...
2011-02-28misc: Fix the make distcheck of the sources.0.9.12Holger Hans Peter Freyther1-1/+1
2011-02-28mgcp: Fix the static allocation of E1 trunks for the BTS/NET sideHolger Hans Peter Freyther1-0/+4
2011-02-28mgcp: Allocate the endpoints for the E1 trunks as well.Holger Hans Peter Freyther1-1/+1
2011-02-28mgcp: Introduce a trunk config for multiple trunks.Holger Hans Peter Freyther3-0/+7
A trunk will always have 32 endpoints to be used and we allow a sparse allocation of endpoints.
2011-02-28mgcp: Introduce a mgcp_trunk_config enum for endpoint configsHolger Hans Peter Freyther2-16/+35
We want to support real trunks in the MGCP code and we need to have some better book keeping for those. Move the code around.
2011-02-27nat: Fix some corruption in the test caseHolger Hans Peter Freyther1-0/+1
2011-02-27nat: Change number of multiplexes to the max-endpointsHolger Hans Peter Freyther1-1/+3
2011-02-26nat: Allocate endpoints from multiple multiplexes.Holger Hans Peter Freyther1-1/+1
This code allocates endpoints from multiple multiplexes but will always leave 0x0 and 0x1f unassigned in the multiplex.
2011-02-26nat: Start making the number of multiplexes configurableHolger Hans Peter Freyther1-0/+1
Introduce a VTY setting that right now needs to be set to one. To make updating this setting possible we will now store the number of endpoints in the bsc connection as well.
2011-02-26nat: Allocate the endpoint status dynamicallyHolger Hans Peter Freyther1-1/+4
Allocate the status for an endpoint dynamically. We will support BSCs with different amount of multiplexes and need to have this flexibility in the future. Add the proper null checks to the current users of this code.
2011-02-24rf: Delay execution of commandsHolger Hans Peter Freyther1-0/+4
Delay executing RF commands up to a second. If many commands arrive within a second then just execute the last command.
2011-02-24rf: Verify that the requested mode is entered and drop OML in errorHolger Hans Peter Freyther1-0/+3
Verify that the BTS is following our orders, if we think there was an error we will drop the OML connection.
2011-02-24rf: Remember the last command requested on the RF CMD interfaceHolger Hans Peter Freyther1-0/+2
2011-02-19Fix various compiler warnings all over the codeHarald Welte2-0/+5
2011-02-15Allow configuration of SI5 neighbor list != SI2 neighbor listHarald Welte1-1/+10
This introducecs the new VTY command "neighbor-list mode manual-si5" in combination with "si5 neighbor-list (add|del) arfcn <0-1024>", which allows you to (optionally) have neighbor channel lists that differ in SI5 and in SI2.
2011-02-14OM2000/RBS2000: Make IS+CON configuration persistent in config fileHarald Welte1-0/+3
This uses the new bts_model->config_write_bts() callbacks
2011-02-14VTY: Allow for per-BTS-model specific config file write functionsHarald Welte1-0/+6
This way a BTS module can append config data to the TS, TRX and BTS sections.
2011-02-14OM2000: Route outgoing NM message depending on MOHarald Welte2-1/+2
Depending on the MO we adress, select the proper OML link