aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc
AgeCommit message (Collapse)AuthorFilesLines
2011-02-13[LAPD] Add minimal support for TE-side LAPDHarald Welte3-8/+58
2011-02-13DAHDI: Register every FD in the select() exceptfd-setHarald Welte1-2/+6
This helps us to receive events even if we don't receive or transmit anything on the line.
2011-02-13DAHDI: Handle exceptionsHarald Welte1-4/+44
2011-02-13E1 INPUT: Fix PCAP file generation for non-mISDN caseHarald Welte1-9/+5
2011-02-11E1 Input: Add new S_INP_LINE_INIT signalHarald Welte2-2/+15
This allows other code to listen ot a signal about a new line that was just configured.
2011-02-11[BSC] Move the BTS-type specific code from bcs_init.c to bts_*.cHarald Welte19-919/+972
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-02-06[gb_proxy] vty: display the BVC BLOCKED status in 'show gbproxy'Harald Welte1-4/+6
2011-02-06[gb_proxy] make sure bssgp cell id is copied correctlyHarald Welte1-1/+3
When we copy a msgb, we need to make sure the msgb_cb->bssgp_cell_id pointer points to data in the new message, not in the old message. Thanks to Dieter Spaar for spotting this.
2011-02-06[gb proxy] treat BVCI=1 consistently like signallingHarald Welte1-2/+2
1 is reserved for point-to-multipoint data, i.e. not a point-to-point BVCI.
2011-02-06[gb_proxy] Convert a NS-BLOCK from BSS into BVC-RESET to SGSNHarald Welte1-12/+31
As we only have one NS-VC between gb_proxy and SGSN, we cannot forward a NS-BLOCK from the BSS to the SGSN, as it would affect all other BSS's, too. Thus, we check if we have an unblocked PTP-BVC in the NSVC to the BSS, and then issue a BVC-BLOCK towards the SGSN. This should prevent any further PDU's from the SGSN to be sent to this BSS.
2011-02-06[gb_proxy] Track the state of blocked/unblocked BVC in the proxyHarald Welte1-13/+59
This allows us to reject any additional messages sent by the SGSN after the BVC was blocked (+ acknowledged to be blocked)
2011-02-05remove dead codeHarald Welte1-65/+0
2011-02-05[DAHDI] cosmetic fixesHarald Welte1-4/+4
2011-02-05[DAHDI] make sure LAPD transmits with correct SAPIHarald Welte3-6/+7
2011-02-05[LAPD] fix bug in TEI manager rendering LAPD unusableHarald Welte1-13/+12
2011-02-05[DAHDI] remove unused variableHarald Welte1-2/+1
2011-02-05[LAPD] Support multiple instances of LAPDHarald Welte4-85/+140
We cannot afford static/global state, as we may have multiple E1 lines, each having its own LAPD instance. Furthermore, we might even have multiple LAPD instances on the same E1 line (think of a multi-drop setup). This also implements dynamic TEI allocation, i.e. no hardcoded TEI list anymore.
2011-02-05[LAPD] remove a number of unneeded assert() callsHarald Welte1-18/+18
2011-02-05[LAPD] further code cleanupHarald Welte1-143/+129
2011-02-05[LAPD] use LOGP/DEBUGP instead of custom logging functionHarald Welte1-29/+22
2011-02-05[DAHDI] update to latest e1_input changesHarald Welte1-13/+3
2011-02-05[DAHDI] build dahdi driver only if dahdi header is presentHarald Welte3-0/+12
2011-02-05[DAHDI] integrate DAHDI driver into E1 Input layerHarald Welte4-11/+17
2011-02-05[dahdi] remove lots of dead code and references to mISDNHarald Welte1-271/+25
2011-02-05[dahdi] don't export private functions from lapd.cHarald Welte1-3/+3
2011-02-05[dahdi] support multiple-include of lapd.hHarald Welte1-0/+3
2011-02-05[dahdi] Fix LAPD code comments (C-style)Harald Welte1-38/+38
2011-02-05[dahdi] Fix lapd.c coding styleHarald Welte1-105/+162
2011-02-05Working audio data versioncreslin2872-7/+8
2011-02-05Current LAPD with fixes for frames with P/F bit setMatthew Fredrickson1-5/+36
2011-02-05Current version of mostly working dahdi driverMatthew Fredrickson1-60/+154
2011-02-05Latest version of driver from other machine.Matthew Fredrickson1-36/+129
2011-02-05Add addtional copyright notices for changesMatthew Fredrickson1-1/+2
2011-02-05Add lapd.c and lapd.hMatthew Fredrickson3-4/+420
2011-02-05Add dahdi.cMatthew Fredrickson1-0/+500
2011-02-05[E1] fix typo resulting in NM message being logged as RSLHarald Welte1-1/+1
2011-02-05[E1 INPUT] update E1 / BS-11 config filesHarald Welte3-0/+6
Add the new 'e1_input' config section that is required
2011-02-05[E1 input] make sure config file with new E1 input config saves correctlyHarald Welte3-4/+12
2011-02-05[E1 input] proper config error reportingHarald Welte2-9/+37
2011-02-05[E1 INPUT] remove debug printf'sHarald Welte1-2/+0
2011-02-05[E1 INPUT] explicitly configure the E1 input driver for each lineHarald Welte9-20/+172
This introduces a new 'e1_input' config node with a command to be used like: e1_line 0 driver misdn This allows us to have different input drivers in the future
2011-02-05[input] make mi_e1_line_update() a driver specific callbackHarald Welte3-2/+9
This helps us to further disentangle the misdn driver and e1_input in preparation of DAHDI support.
2011-01-27mncc: Fix a crash in the call release codeHolger Hans Peter Freyther1-1/+7
When the remote subscriber has not responded yet we could end up with a crash in the MNCC code. It was enough to dial the number, then hang up and bsc_hack would end up with a segfault due the list poisining of linux_list.
2011-01-25mgcp: Be able to parse RQNT messages and reply to themHolger Hans Peter Freyther1-0/+25
We do not implement the request for notification at all but we will tell the server that we have received something.
2011-01-16bsc: Initialize the subscr to NULL in the default caseHolger Hans Peter Freyther1-0/+3
The paging response should always have a TMSI or IMSI and we should be able to find the subscriber using that. If no IMSI/TMSI is present and we would still accept the LU we would access the uninitialized memory.
2011-01-16mncc: Fix crash when memory allocation is failingHolger Hans Peter Freyther1-2/+2
2011-01-16bsc: Fix possible crash when the lchan->conn alloc failedHolger Hans Peter Freyther1-2/+5
Another null pointer dereference found by clang.
2011-01-16misc: Make clang --analyze happy with the source codeHolger Hans Peter Freyther1-1/+1
The compiler concludes that if (ts->type == type && ts->line && line can be false as line is NULL and then we unconditionally access it, make it happy by adding an extra NULL check.
2011-01-14update gitignoreHarald Welte2-0/+4
2011-01-14[RSL] Move RF CHAN REL ACK into its own functionHarald Welte1-10/+19
... rather than handling it in the main switch() statement