aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/bsc_hack.c
AgeCommit message (Collapse)AuthorFilesLines
2009-08-17[bsc_init] Create a bsc_init.c that can be used for setting up hings.Holger Hans Peter Freyther1-1076/+20
Share the initialization and bootstraping of the network by moving the code to a new file and making boostrap_network and shutdown_net external. Cleanup the header list after the move and remove trailing whitespace.
2009-08-17actual code running at end of har2009Harald Welte (local)1-0/+13
2009-08-16trigger RRLP position requests after paging succeeded and after subscriber ↵Harald Welte (local)1-0/+1
attach
2009-08-15move talloc context creation out of on_dso / constructorsHarald Welte (local)1-0/+1
the various constructors get called in a non-obvious, linker determined order, which makes certain objects disappear from the talloc report. This change moves the talloc context creation into a new talloc_ctx.c file
2009-08-14allow vty to set periodic location updating timer t3212Harald Welte (local)1-2/+1
2009-08-13Merge commit 'har/laforge'Daniel Willmann1-5/+2
2009-08-13disable emergency call bit (i.e. cell does not support emergency call)Harald Welte1-4/+4
2009-08-13fix token auth implementationHarald Welte (local)1-0/+1
2009-08-13replace the command line option -a with the auth-policy config optionJan Luebbe1-4/+0
2009-08-13add 'ms max power' vty command to set the maximum MS power in dBmHarald Welte (local)1-1/+1
2009-08-12add help message about timestamp optionHarald Welte1-0/+1
2009-08-12patch power reduction into NM attributesHarald Welte1-0/+4
2009-08-12patch the SI and NM attr tables independentlyHarald Welte1-23/+39
2009-08-12set nominal TRX power for BS-11 and nanoBTSHarald Welte (local)1-0/+9
2009-08-12implement bts->cell_barred feature, configurable in VTYHarald Welte (local)1-0/+16
2009-08-10Merge commit 'origin/master'Harald Welte1-3/+4
2009-08-10bsc_hack.c: Unconditionally listen for the nanoBTSHolger Hans Peter Freyther1-3/+4
As proposed on the mailinglist, initialize the socket once and wait for the nanoBTS to connect.
2009-08-10BS11: send measurement report every 5 SACCH framesHarald Welte1-1/+1
2009-08-10perform A-bis OML configuration based on config fileHarald Welte1-124/+77
This means that the config file is now finally the central source of not only the E1 configuration on the BSC, but also the E1 and GSM channel configuration on the BTS.
2009-08-10bsc_hack.c: Explain why the program will exit...Holger Hans Peter Freyther1-1/+3
2009-08-10bsc_hack.c: Allow to use a different file for the config fileHolger Hans Peter Freyther1-2/+8
2009-08-09chane TRX0/TS0 channel combination to not include a CBCHHarald Welte1-3/+3
We don't support CBCH anyway, and using CBCH will reduce the number of uesable SDCCH/4 channels to 3 on TS0
2009-08-09Merge branch 'master' into config_fileHarald Welte1-0/+5
Conflicts: openbsc/src/vty_interface.c
2009-08-09move ms_pwr utility function to gsm_utils.cHarald Welte1-1/+2
also, they should both take the gsm_band parameter, not a BTS
2009-08-09configure MS CCH max power IEI of SI3 and SI4 to 20dBM (100mW)Harald Welte1-0/+4
2009-08-08the actual config file code (not just config files)Harald Welte1-169/+38
this was missing from commit a08a9acdb6bff0ee4fdf0f58b78b6525017a1f9f
2009-08-07in case of SIGABRT, don't exit(0) and thus prevent creating a core fileHarald Welte1-1/+3
2009-08-06introduce '-2' commandline option for second BS-11Harald Welte1-4/+27
Using this option, you can use two BS-11 connected to the same E1 link. The first BS-11 needs to have BPORT0 and BPORT1 objects created with E1 Line Configuration attribute "multi-drop". The second BS-11 is configured with only BPORT0 in star configuration, and needs to have the OML signalling on TS6 instead of TS1. Also, a kernel patch providing a second virtual E1 interface is needed.
2009-08-06shut down the OML (and thus the BTS) when bsc_hack is terminated with ctrl+cHarald Welte1-2/+6
2009-08-06only set BCCH INFO on first TRX (C0) of BTSHarald Welte1-4/+6
2009-08-06use HARDCODED_BTSn_TS defines from bsc_hack.cHarald Welte1-19/+36
2009-08-04fix initialization of TRX1 / TS0Harald Welte1-5/+5
also fix a minor error when printing BTS/TRX number
2009-07-29complete TRX1 support for BS11Harald Welte1-19/+89
* remove old HAVE_TRX1 definition, replace it with '-1' commandline argument * make sure we actually configure the OML TRX attributes with a different ARFCN than TRX0 * make sure we configure timeslot 0 of TRX1 also in TCH/F mode This code is untested, but if you have a dual-trx BS-11, and the second TRX is activated, you should be able to run bsc_hack with the -1 option to enable and use the second trx. It works like this: * TRX1 shares E1 timeslot 0 for signalling * TRX1 RSL link uses TEI2 (TRX0 uses 1) * TRX1 on ARFCN+2, i.e. if you have TRX0 on 122, TRX1 will be 124
2009-07-28add RTP proxy mode for ip.accessHarald Welte1-1/+6
Up until now, we only supported direct RTP streams between ip.access BTS. With this commit, the user can specify '-P' to the command line to enable a RTP/RTCP proxy inside OpenBSC. The nanoBTS will then send all their voice data to OpenBSC, which will relay it to the respective destination BTS (which can be the same BTS). The default behaviour remains unchanged. Without '-P' on the command line, RTP/RTCP is exchanged directly.
2009-07-21allow user to set BSIC and TSC from command lineHarald Welte1-4/+19
2009-07-18some more comments for BS11 attributesHarald Welte1-35/+36
2009-07-16bsc_hack.c: Make adding of (nano)BTS to the network dynamicHolger Hans Peter Freyther1-13/+40
Fix the FIXME and replace the hardcoded site_id's of the nanoBTS with a command line option. You can use -i DEVICE_X for every BTS you want to handle.
2009-07-12more ip.access abis_nm attributesHarald Welte1-2/+2
we also rename some existing attributes to reflect reality
2009-07-05remove SI3 and SI4 rest octetsHarald Welte1-17/+6
As Dieter has pointed out, we currently send incorrect information in the rest octets, particularly about our GPRS capability. Since the format of the rest octets is highly complex, and we don't actually need any of those features yet, we might just fill them with padding.
2009-06-29the pointer "tall_bsc_ctx" belongs to the gsm_data.c file not to include file.Andreas Eversberg1-2/+0
2009-06-21switch to dynamically allocated BTS and TRX data structuresHarald Welte1-11/+12
This makes it much easier to do run-time configuration using the vty interface.
2009-06-20introduce talloc all over OpenBSCHarald Welte1-1/+10
2009-06-20Introduce BS and MS power control related functionsHarald Welte1-2/+9
* add bts->band field plus corresponding VTY and commandline argument * add trx->nominal_power and trx->max_power_red fields * add rsl_chan_bs_power_ctrl() to control TRX RF power for a given TS * add rsl_chan_ms_power_ctrl() to control MS RF power for a given lchan.
2009-06-20BS11: use abis_nm_set_{bts,radio}_attr()Harald Welte1-16/+14
BS11 should only use the raw message sending function if there is no standard alternative. For TRX and BTS attributes, we have the standard variant.
2009-06-10reworked MNCC codebaseHarald Welte1-1/+2
This is Harald's reworked MNCC base, slowly heading towards integration into master. The key changes are: * provide much more structure to the data in gsm_mncc * encode_* and decode_* functions now take a structure rather than tons of individual arguments (whose order nobody can remember) * make sure we don't have copies of the same code everywhere by introducing mncc_set_cause() and mncc_release_ind() * save horizontal screen space if possible * make sure we break lines > 80 characters
2009-06-10[o&m] Dispatch a signal for nacked O&M messagesHolger Hans Peter Freyther1-0/+14
When trying to operate a nanoBTS900 on channels for 1800 or the other way around the "SET BTS ATTRIBUTES" message will be nacked. Dispatch all nacked messages from abis_nm via signals. Handle this in bsc_hack.c, print a small hint and exit the application as this is considered a fatal unrecoverable error (the exit is in the app, so a library can be more robust).
2009-06-10[bsc_hack] Sanity check for the GSM1800 nanoBTSHolger Hans Peter Freyther1-0/+20
The GSM1800 requires us to use channels between 512-885. When failing to provide such a channel the OML layer will fail and no RSL connection will be opened. Add a sanity check before creating the gsm_network and fail when the channels are not within the allowed range. Assume no one is operating a BS11 in the 1800 spectrum.
2009-06-10move openbsc into its own subdirectoryHarald Welte1-0/+1159