aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2009-05-23make sure even our predefined structures use HARDCODED_BSIC as initial valueHarald Welte1-2/+2
2009-05-23show and edit subscribers from the vty interfaceHarald Welte2-0/+122
2009-05-23mark two functions as static, fix typo in vty messageHarald Welte1-3/+3
2009-05-23Add user-configurable BSIC settingHarald Welte3-2/+26
2009-05-23* replace some more hex bytes in init msgs by #definesHarald Welte1-10/+14
* when using patch_tables(), use the ARFCN of the BTS, not the cmdline argument
2009-05-23With this patch, the TRAU muxing code supports not just bridging only. Harald Welte5-14/+106
A new function trau_recv_lchan() is used to link a channel to a call reference of a transaction. (Transactions are used in later patches.) TRAU frames will then be forwarded to the application with the given call reference (in later patches). Also the application can send TRAU frames by using trau_send_lchan(). A new list is introduced in trau_mux.c. (upqueue_entry) All subslots that must be sent to application are listed here. Received TRAU frames are written in the upqueue of application interface, if a call reference is found in the upqueue-list. If an entry is found the ss_entry list, the TRAU frames are bridged as before. The frames have a message type (msg_type), a call reference (callref) and a trau frame (data). The length of trau frame is defined by the content of the c-bits inside the frame. There is no support for ip.access yet, as they don't use the traditional TRAU frame format. Harald must add this in order to use application interface with ip-access. The bridging with ip-access works as before. (Andreas Eversberg)
2009-05-23add new function gsm_bts_by_lac() to search for BTS based on location areaHarald Welte1-0/+27
2009-05-23RSL should not be called RSSL in the debug definition (Andreas Eversberg)Harald Welte1-1/+1
2009-05-23A new debug flag is introduced: "DMNCC". MNCC is the Mobile Network CallHarald Welte2-0/+5
Control. This is required for later patches, that extract the call control from gsm_04_08.c. (Andreas Eversberg)
2009-05-23Some messages have one or two length-value information elements. The isHarald Welte4-6/+38
no IE type included in the message. These information elements are mandatory, so their actual IE type is known. The improved parse_tlv() function allows to parse zero, one, or two length-value elements. (Andreas Eversberg)
2009-05-23add FIXME comment about the fact that we're paging in the wrong BTSHarald Welte1-0/+3
2009-05-23To slow down transmission of many ABIS frames at a time, a delay timerHarald Welte2-24/+42
is used for the E1's time slot. This timer replaces the "usleep()" function, so the process will not block the execution of libbsc. The timer is started after a frame is transmitted. If another frame is in the transmit queue, the frame will only be queued until the timer times out. If the timer is not running or times out, the frame is transmitted and the timer is restarted. The problem with partly provisioned TRX (locks show on LMT) is solved. The adjustment for the inter frame delay of 50 miliseconds is for further study. (Andreas Eversberg)
2009-05-23fix some more compiler warningsHarald Welte1-1/+3
2009-05-23fix two compiler warningsHarald Welte1-1/+2
2009-05-23An application that has own events and file descriptors, must pollHarald Welte5-12/+16
select function ob libbsc. A "polling" flag is used to enable polling. In this case select() will not sleep until file descriptor events occurr or nearest timer expires. Also a return value will indicate if there was an event that has been handled. If there was an event, the application decides to poll again and don't wait. In case for bsc_hack, the polling flag is not set. select will sleep as usual. (Andreas Eversberg)
2009-05-23Correct handlong of data link status change (Andreas Eversberg)Harald Welte1-2/+14
2009-05-23* rename the timer functions to avoid name collisions with libmisdn.Harald Welte7-25/+29
* the return value of bsc_update_timers() is required for applications to find out if a timer was fired (Andreas Eversberg)
2009-05-21vty: disable password encryption, remove dependency to lcryptHarald Welte3-2/+16
2009-05-21Fix compilation issues on OS X - mainly #include file changes (Lars Immisch)Harald Welte4-4/+4
2009-05-17dump CCLK accuracy/type as part of bs11_config queryHarald Welte2-2/+45
2009-05-01revert commit #481: we actually still need that stupid usleep() to reliably ↵Harald Welte1-0/+1
bootstrap nanoBTS :(
2009-05-01Fix "CM Service Request" parsing for Phase 1 devices. This means MO calls ↵Harald Welte1-6/+12
from phase1 should work now.
2009-05-01implement parsing and printing of RSL measurement resultsHarald Welte1-1/+34
2009-05-01add verbose reporting of RR STATUS causeHarald Welte1-1/+46
2009-05-01don't print rf resource indication messages, they clutter up the logsHarald Welte1-1/+1
2009-05-01abis_nm: print some information about failure event report type / severityHarald Welte1-1/+58
2009-05-01print OML bts_nr rather than bts->nrHarald Welte1-1/+1
2009-05-01print cause for channel activate NACKHarald Welte1-5/+9
2009-05-01fix printing of ip.access disconnect causeHarald Welte1-1/+1
2009-05-01remove any sleeping from the ip.access input codeHarald Welte1-1/+0
2009-05-01remove misleading debug messagesHarald Welte2-7/+10
2009-05-01make sure we terminate bsc_hack if the OML/RSL listening sockets cannot be ↵Harald Welte2-2/+3
created
2009-05-01Fix long-standing bug: nanoBTS now even works after cold boot (first time ↵Harald Welte1-20/+48
after power up). The problem in the old logic was that we started talking to a given object (e.g. radio carrier) one we received an administrative state change report. It turns out we have to wait for the software activation report instead - and everything suddenly works.
2009-05-01bs11_config build fixHarald Welte1-1/+2
2009-05-01send a signal for every software activation or failure event reportHarald Welte1-0/+3
2009-05-01add VTY command to set BTS unit IDHarald Welte1-4/+30
2009-05-01no need to make gsmnet structure non-static (fix from last commit)Harald Welte1-1/+1
2009-05-01* Add support for multiple ip.access nanoBTS at one BSCHarald Welte5-162/+322
* keep track of site_id/bts_id in struct gsm_bts * dynamically match incoming OML/RSL over TCP connections by BTS Unit ID * introduce new debug category DINP (separate from DMI for hexdumps) * remove ia_config() as it is no longer needed * * ensure that signalling links / E1 line information is correctly printed * when bootstrapping RSL or OML, tell us for which BTS it is being doen * separate bootstrap_bts() out from bootstrap_network() * statically configure two ip.access BTS, one with unit id's 1800/0/0 and 1801/0/0
2009-05-01ensure the tag parsing function is the same as used in input/ipaccess.cHarald Welte1-3/+1
FIXME: remove this copy of the code
2009-05-01make sure all REPORT type messages have debug statements printing object ↵Harald Welte1-7/+9
class and instance
2009-05-01abis_nm wants to use bts->bts_nr (the number of the BTS in the OML link) ratherHarald Welte2-11/+11
than bts->nr (the number of the BTS in the BSC).
2009-05-01fix compiler warnings in abis_nm.cHarald Welte1-6/+12
2009-05-01abis_nm: print the NACK cause in human readable form Harald Welte1-4/+71
2009-05-01[misc] Sanity check and error messages in misdn.cHolger Freyther1-11/+27
Add some sanity checks, add some error checks, print the __func__ in the error message too. Patch from Andreas Eversberg
2009-04-30fix printing of OML IPHarald Welte1-1/+1
2009-04-30fix missing \n at end of debug statementHarald Welte2-3/+4
2009-04-30add new 'ipaccess-config' program to set Unit ID and primary OML NVRAM ↵Harald Welte4-3/+267
parameters of ip.access BTS
2009-04-30functionality to set nanoBTS NVRAM attributes and to restart BTSHarald Welte1-3/+30
2009-04-30more pretty-printing of ipaccess-find outputHarald Welte1-1/+22
2009-04-29Add some more ip.access specific OML attributes/messages. In this case it is Harald Welte1-0/+2
about configuring the primary OML link IP address in the NVRAM of the device.