aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/abis_nm.h
AgeCommit message (Collapse)AuthorFilesLines
2011-02-11[BSC] Move the BTS-type specific code from bcs_init.c to bts_*.cHarald Welte1-8/+0
bsc_init.c was a big mess even only for two supported BTS models, so before adding more BTS types, this needs a cleanup. All the BTS specific code from bsc_init.c has now moved into bts_{siemens_bs11,ipaccess_nanobts}.c This has required that input_event() and nm_state_event() get both converted to proper libosmocore signals instead of referencing external symbols.
2011-01-01License change: We are now AGPLv3+ instead of GPLv2+Harald Welte1-6/+5
The reason for this is quite simple: We want to make sure anyone running a customized version of OpenBSC to operate a network will have to release all custom modifiations to the source code.
2010-12-21abis_nm: Band aid on OML initialisation by queuing messagesHolger Hans Peter Freyther1-0/+3
Instead of sending many messages we will queue the OML messages and wait for the ACK/NACK before sending the next message from the queue. We tag the msgb to remember if we need to wait for an ack or not. We keep the order of all messages, on ACKs and similiar occassions we will drown the queue until we reach a message that needs to be acked and then wait for that ack again. Possible breakage can appear when we send an OML (e.g. BS11 specific message) msg which does not need to be acked through the abis_nm_sendmsg call. The fix will be to use the _direct version of this method. Re-Enable as it might have fixed something... who knows. Conflicts: openbsc/include/openbsc/abis_nm.h openbsc/include/openbsc/gsm_data.h openbsc/src/abis_nm.c openbsc/src/gsm_data.c
2010-12-14bs11_config: show the BPORT0 / BPORT1 configuration in 'query'Harald Welte1-0/+1
This introduces abis_nm_bs11_get_bport_line_cfg() and a parser for the result.
2010-07-22ipaccess-config / network listen: ordered list of RxLevelsHarald Welte1-2/+1
Use libosmocore 'rxlev_stat' module to generate an ordered list of ARFCN's, sorted by RxLev while performing test nr. 64
2010-07-22move ip.access netowrk listen (NWL) to network_listen.cHarald Welte1-1/+1
Also, we now re-start the network listen test after it has finished, so if you run a test from ipaccess-find, the test will get re-started and re-started all the time.
2010-05-31OML: Introduce minimal VTY command set to interact with OML managed objectsHarald Welte1-0/+5
2010-05-13sw_load: Specify the trx_nr for the software loadHolger Hans Peter Freyther1-1/+1
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 Freyther1-1/+1
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-13abis: Pass the abis_om_obj_inst in the nm_state_event..Holger Hans Peter Freyther1-1/+2
2010-03-22Create new gprs-conf branch with the non-SGSN part of the gprs branchHarald Welte1-0/+1
This new gprs-conf branch is intended to contain everything needed to configure GPRS in the nanoBTS, but without implementing the SGSN/GGSN functionality. The SGSN/GGSN development will happen in a branch based on this branch called "gprs-sgsn"
2010-02-20move GSM protocol definitions to include/osmocore/protocol/*Harald Welte1-665/+1
2010-02-20split 'libosmocore' from openbsc codebaseHarald Welte1-1/+1
This library is intended to collect all generic/common funcitionality of all Osmocom.org projects, including OpenBSC but also OsmocomBB The library currently includes the following modules: bitvec, comp128, gsm_utils, msgb, select, signal, statistics, talloc, timer, tlv_parse, linuxlist msgb allocation error debugging had to be temporarily disabled as it depends on 'debug.c' functionality which at the moment remains in OpenBSC
2010-01-10[OML] parse attributes depending on BTS typeHarald Welte1-1/+3
Some NM attributes are defined differently depending on the BTS type. Having one big nm_att_tlvdef[] table for all BTS types is no longer sufficient. This patch * introduces 'struct gsm_bts_model' to describe a BTS model * adds definitions of gsm_bts_model for BS-11 and nanoBTS * changes the abis_nm_tlv_parse() function: include a bts pointer
2010-01-07bis_nm_ipaccess_set_nvattr() executes on a TRX, not a BTSHarald Welte1-1/+1
2010-01-07[abis_nm] Add abis_nm_bs11_set_pll function to change the set/work valueDaniel Willmann1-0/+1
Whether this function changes the set or the work value depends on your type of login. In FACTORY login it changes the set value, in FIELD login it changes the work value (which is what is used by the BS11 to tune the frequency).
2010-01-07[abis_nm] Add abis_nm_bs11_infield_logon to logon as user fieldDaniel Willmann1-0/+1
As this user you are able to set the PLL work value which is especially useful if your BS11 got detuned by an inaccurate oscillator in your E1 card.
2010-01-07[abis_nm] Add generic abis_nm_bs11_logon functionDaniel Willmann1-0/+1
Factoring out common logon functionality will allow us to logon as different user. abis_nm_bs11_factory_logon now uses this function.
2010-01-03abis_nm: Introduce & use a nm_is_running function to test gsm_nm_stateSylvain Munaut1-0/+1
This returns true if the gsm_nm_state can be considered 'running'. Note that we also accept availability==0xff (which is a code for no value) because according to 12.21 it is perfectly valid. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2009-12-30[abis] Dispatch a IPAC restart ACK/NACK signalHolger Hans Peter Freyther1-0/+1
* Add the NACK version to the list * Dispatch the signal when we receive the message * Handle it in ipaccess-config by exiting the application
2009-12-24use enum for operational stateHarald Welte1-0/+6
2009-11-13[OML] fix bugs in BCCH info parser for ip.accessHarald Welte1-1/+1
2009-11-13[ip.access] Parse cell global ID as part of BCCH infoHarald Welte1-1/+10
2009-11-12ip.access: Introduce parser function for BCCH Info test resultHarald Welte1-0/+45
2009-10-24[OML] Add support for ip.access SET ATTRIBUTE messageHarald Welte1-0/+3
Since TS 12.21 implements only SET ATTRIBUTE for some object classes, ip.access had to extend it to be able to set attributes on arbitrary objects. We now introduce a function implementing that message.
2009-10-20[nanoBTS] move nanoBTS initialization completely into state event handlerHarald Welte1-0/+1
2009-10-19[abis_nm] introduce and use abis_nm_ipaccess_rsl_connect()Harald Welte1-0/+2
2009-10-09add ipaccess specific attribute set messageHarald Welte1-0/+3
Partially apply 9ba65525eaa06a1768aaf35bdee98afcf8026e0a to get rid of a compile problem. The other part of the mentioned commit is still in the gprs branch. Signed-off-by: Holger Hans Peter Freyther <zecke@selfish.org>
2009-10-08add availability state abis_nm enumHarald Welte1-0/+10
2009-08-10move chcomb4pchan to public abis_nm_chcomb4pchan() functionHarald Welte1-0/+2
2009-08-10Add {create, delete}-bport1 and bport0-{star, multidrop} to bs11-configDaniel Willmann1-1/+9
This adds the possibility to bs11-config to add the second bport and change the line config to star or multidrop.
2009-08-09add comments about channel combinationsHarald Welte1-10/+14
2009-08-08implement nanoBTS frequency error testHarald Welte1-0/+5
This helps us to detect the frequency error of BS-11 if it is located next to the nanoBTS 900. If 'ipaccess-config -l' is called, it will produce a report like <0020> ipaccess-config.c:85 TEST REPORT: test_no=0x42 test_res=0 <0020> ipaccess-config.c:108 ==> ARFCN 220, Frequency Error 22 <0020> ipaccess-config.c:108 ==> ARFCN 1, Frequency Error -37 <0020> ipaccess-config.c:108 ==> ARFCN 10, Frequency Error 0 <0020> ipaccess-config.c:108 ==> ARFCN 20, Frequency Error 11 <0020> ipaccess-config.c:108 ==> ARFCN 53, Frequency Error 5 <0020> ipaccess-config.c:108 ==> ARFCN 63, Frequency Error -4 <0020> ipaccess-config.c:108 ==> ARFCN 84, Frequency Error 11 <0020> ipaccess-config.c:108 ==> ARFCN 101, Frequency Error 0 <0020> ipaccess-config.c:108 ==> ARFCN 123, Frequency Error -52 where in this case the ARFCN 123 is the BS-11 with a frequency error larger than all the other (regular) BTS in the vicinity.
2009-08-06add function for performing 'CONNECT MULTI-DROP LINK" as per GSM 12.21Harald Welte1-0/+3
don't be confused, BS-11 does not need this. But since I wrote the code before knowing that, I can just as well commit it.
2009-08-01add ip.access specific channel combinationsHarald Welte1-0/+6
2009-07-12add more ipaccess 12.21 object classes, NSVC only exists onceHarald Welte1-2/+7
2009-07-12more ip.access abis_nm attributesHarald Welte1-8/+40
we also rename some existing attributes to reflect reality
2009-07-03add more TLV parser definitiosn for IPA NM attributesHarald Welte1-0/+1
2009-07-01ip.access test numbersHarald Welte1-0/+8
2009-07-01add more ipaccess 12.21 OML extension definitionsHarald Welte1-0/+40
2009-06-25abis_nm.h: Fix various typosHarald Welte1-4/+4
2009-06-10move openbsc into its own subdirectoryHarald Welte1-0/+635