aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/abis_nm.c
AgeCommit message (Collapse)AuthorFilesLines
2009-11-17[abis_nm] avoid integer-to-pointer casting and associated gcc warningsHarald Welte1-2/+2
2009-11-13[OML] don't hexdump bcch infoHarald Welte1-2/+0
2009-11-13[OML] fix bugs in BCCH info parser for ip.accessHarald Welte1-3/+5
2009-11-13[OML] more verbose error reporting in case object instance unknownHarald Welte1-7/+21
2009-11-13[ip.access] Parse cell global ID as part of BCCH infoHarald Welte1-2/+21
2009-11-12ip.access: Introduce parser function for BCCH Info test resultHarald Welte1-0/+102
2009-10-27abis_nm.c: Remove duplicate entry from the tableHolger Hans Peter Freyther1-1/+0
2009-10-24[GPRS] introudce PDCH and PDCH/TCH physical channelsHarald Welte1-0/+2
GPRS needs PDCH (Packet Data Channels), and we need support in our data model as well as OML and RSL for it
2009-10-24[OML] Add support for ip.access SET ATTRIBUTE messageHarald Welte1-0/+9
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-24[GPRS] add data structures for OML of NSE,CELL,NSVCEHarald Welte1-0/+22
Supporting GPRS means we have a number of additional OML objects to deal with. We need to extend our gsm_bts structure to at least include the nm_state for each of those objects.
2009-10-22Fix compiler warning. 0 does not work on stringsHolger Hans Peter Freyther1-1/+1
2009-10-20[abis_nm] introduce debugp_foh() function for object class printingHarald Welte1-15/+17
2009-10-19[abis_nm] print ip.access TCP port in correct byte orderHarald Welte1-1/+1
2009-10-19[abis_nm] print ip.access stream_id in RSL connect ackHarald Welte1-0/+3
2009-10-19[abis_nm] introduce and use abis_nm_ipaccess_rsl_connect()Harald Welte1-1/+29
2009-10-19[abis_nm]: Print Object Class of ip.access messagesHarald Welte1-0/+5
2009-10-08[abis_nm] print object class/instance for NACKHarald Welte1-2/+8
2009-10-08[abis_nm]: print ip.access SET ATTR [N]ACKHarald Welte1-0/+11
2009-10-05[ipaccess] Add nanoBTS 1900 supportMike Haben1-2/+1
Add support for 1900 nanoBTS by using unified bts_type GSM_BTS_TYPE_NANOBTS for 900, 1800 and 1900 versions. Reduce the nanoBTS enum values to one and derive the version from the user supplied band. In the future we might want to do auto band detection. The configuration file needs to be changed to refer to nanobts instead of nanobts900/nanobts1800. Signed-off-by: Mike Haben <michael.haben@btinternet.com> Signed-off-by: Holger Hans Peter Freyther <zecke@selfish.org>
2009-10-01[ipaccess] Parse Software Activate parametersMike Haben1-3/+25
Addresses a FIXME in abis_nm.c, parsing the parameters passed by a Software Activate request. I've tested this on three different IpAccess BTSs (including one which didn't work with the original code), would be good if someone could check it on a BS11. Signed-off-by: Mike Haben <michael.haben@btinternet.com> Tested-by: Holger Hans Peter Freyther <zecke@selfish.org>
2009-08-15move talloc context creation out of on_dso / constructorsHarald Welte (local)1-8/+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-10move chcomb4pchan to public abis_nm_chcomb4pchan() functionHarald Welte1-0/+17
2009-08-10Add {create, delete}-bport1 and bport0-{star, multidrop} to bs11-configDaniel Willmann1-2/+29
This adds the possibility to bs11-config to add the second bport and change the line config to star or multidrop.
2009-08-09verify bs11 channel combination constraintsHarald Welte1-0/+62
2009-08-08implement nanoBTS frequency error testHarald Welte1-0/+31
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/+29
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-06add more ip.access attribute TLV definitionsHarald Welte1-4/+33
2009-08-06use talloc_free() rather than free()Harald Welte1-2/+2
Fix two bugs in OML software download code where we allocate data structures using talloc, but free() them using the system memory allocator. Spotted by dexter.
2009-07-28move allocation of talloc contexts into link-time constructorHarald Welte1-4/+7
This is much more optimal than checking if the context exists every time we allocate the respective object.
2009-07-21use the TSC that is configured in bts->tsc rather than hardcoded valueHarald Welte1-1/+1
2009-07-12add more ipaccess 12.21 object classes, NSVC only exists onceHarald Welte1-4/+2
2009-07-12more ip.access abis_nm attributesHarald Welte1-8/+8
we also rename some existing attributes to reflect reality
2009-07-08ipacess-config: Handle NVATTR NACKs in ipaccess-configHolger Hans Peter Freyther1-0/+12
Currently we send the attribute changes in a send and forget fashion. But sometimes the nanoBTS is sending us a NACK, e.g with a invalid unit id. Start handling the NACK and provide an error message to the user. The error message is not yet describing the cause of the error but this is a slight progress to the previous silent failure.
2009-07-03add more TLV parser definitiosn for IPA NM attributesHarald Welte1-2/+13
2009-07-03add code to ipaccess-config set nanoBST NVRAM attributesHarald Welte1-0/+12
2009-06-26use taloc_zero() rather than talloc() and explisit memset()Harald Welte1-2/+1
2009-06-26use named variant when allocating msgb'sHarald Welte1-1/+2
when we generate a talloc report (SIGUSR1), we can now see which system allocated a given msgb, this helps memory leak debugging
2009-06-26Merge branch 'master' into tallocHarald Welte1-1/+1
2009-06-26fix typosHarald Welte1-1/+1
2009-06-21switch to dynamically allocated BTS and TRX data structuresHarald Welte1-8/+8
This makes it much easier to do run-time configuration using the vty interface.
2009-06-20introduce talloc all over OpenBSCHarald Welte1-2/+9
2009-06-12abis_nm: fix printing of ADMinistrative stateHarald Welte1-1/+1
2009-06-10[o&m] Dispatch a signal for nacked O&M messagesHolger Hans Peter Freyther1-0/+3
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-10move openbsc into its own subdirectoryHarald Welte1-0/+2332