aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc
AgeCommit message (Collapse)AuthorFilesLines
2010-05-31[GPRS] Implement TMSI reallocation and timers 3350 + 3370Harald Welte3-38/+177
Our state transitions and timers now reflect 04.08 for GMM much better than before. Also, we allocate a new P-TMSI on every ATTACH and RA UPDATE, as some phones seem to get confused if they don't get a P-TMSI.
2010-05-31[GPRS] BSSGP: Fix way too long TLLI debug lineHarald Welte1-1/+1
2010-05-31[GPRS] BSSGP: More verbose debug log / error reportingHarald Welte1-34/+86
2010-05-31VTY: properly exit from OML_NODEHarald Welte1-0/+10
2010-05-31[GPRS] BSSGP: When we receive a BLOCK, we should not respond with UNBLOCK-ACKHarald Welte1-2/+1
2010-05-31OML: Introduce minimal VTY command set to interact with OML managed objectsHarald Welte5-20/+224
2010-05-31VTY: libosmocore >= 0.1.9 doesn't define BSC specific VTY nodes anymoreHarald Welte2-1/+16
2010-05-31ipaccess-config: More verbose help messageHarald Welte1-9/+9
2010-05-31[bsc_hack] Call handle_options before bootstrapping the networkHolger Hans Peter Freyther1-3/+3
Otherwise we can not specify which config file to use and -h will not work when there is no openbsc.cfg in the cwd.
2010-05-31[rsl] Introduce an error state for the lchan and set it on releaseHolger Hans Peter Freyther3-9/+48
When we issue a RF Channel Release in case of a failure we receive RLL release indications after the channel was tearn down and we issue another RF Channel Release as a result. The channel allocator might have already allocated this channel and we release the channel again with another MS on it. Make rsl_rf_chan_release take an error argument and make it set a new state in case of an error and change the RF Channel Release ack to not set the state back to none in case of an error but wait for a timeout that is a bit higher than T3111. I tested this with removing the battery during a phonecall and waiting for the channel failure. With this test we only send the release once.
2010-05-31[rsl] Implement the T3111 timer to delay the RF Channel releaseHolger Hans Peter Freyther3-5/+17
2010-05-31[rsl] Check the assumption that RF Channel Release is sent during releaseHolger Hans Peter Freyther1-0/+6
We assume that the lchan_free will initiate the release and that when we handle the RLL release indication or the release request as part of the shutdown sequence.
2010-05-31[rsl] Move rf channel release scheduling to a new methodHolger Hans Peter Freyther1-8/+10
The current channel release has a couple of issues we will need to fix in a set of upcoming commits. The issues include: 1.) sending release twice 2.) reassigning the channel inbetween the relase..
2010-05-31[GPRS] Make sure SI13 rest octets look like those of the ip.access BSCHarald Welte2-9/+17
2010-05-31[GPRS] NS: Fix GRE keepalive response in FR-GRE encapsulationHarald Welte1-2/+2
2010-05-30[GPRS] BSSGP: Acknowledge all SUSPEND and RESUME requestsHarald Welte1-0/+103
This is of course not the correct way of dealing with it, but for now it should make the Ericsson Mobile Plafrom based phones happy (they insist to do a suspend/resume cycle before pdp ctx act)
2010-05-30[GPRS] LLC: Increment V(U) and N(U)Harald Welte2-3/+10
2010-05-30[GPRS] GMM: Add some FIXME's to the codeHarald Welte1-0/+3
2010-05-30[GPRS] NS: correctly pass the NS payload length to the TLV parserHarald Welte1-7/+9
2010-05-28[GPRS] NS: Don't hand Frame Relay LMI packets into the NS codeHarald Welte1-5/+15
2010-05-28[GPRS] NS: Respond to GRE keepalive messagesHarald Welte1-1/+67
GRE has the strange notion of keepalive messages being encapsulated IPv4 packets adressed back to the sender. Since we actually really only care about frame relay, this is a bit strange. However, we'll do some sanity checks and send it back through our GRE socket...
2010-05-28[GPRS] NS: Frame Relay DLCI for PVC from 16-1007Harald Welte1-1/+1
0 Reserved for ANSI Annex D and CCITT Annex A link management 1 - 15 Reserved 16 - 1007 Any PVC 1008 - 1018 Reserved 1019 - 1022 Reserved for LMI multicast 1023 Reserved for LMI link management
2010-05-28[GPRS] NS: Print error message if TLV parser fails for some reasonHarald Welte1-0/+22
2010-05-28[GPRS] NS: Start TEST procedure, not ALIVE procedure, on RESET/RESET_ACKHarald Welte1-2/+3
According to the spec, after an incoming RESET or RESET_ACK, we shall start the TEST procedure, not the ALIVE procedure. Also, when we start the TEST procedure, we have to always send a NS_ALIVE packet at the same time (we didn't in the case of incoming RESET). Furthermore, we now only start TIMER_TNS_ALIVE from within the TIMER_TNS_RESET callback code, where we also make sure that the alive_retries counter is reset to zero.
2010-05-28fix typo in gb-proxy-unblock-bug.pyHarald Welte1-1/+1
2010-05-28gprs: Subtract the headroom for what we can receiveHolger Hans Peter Freyther1-1/+1
The buffer got allocated with headroom and we need to subtract that from the size of the buffer.
2010-05-28gprs: Simplify test case code..Holger Hans Peter Freyther1-18/+17
2010-05-28gprs: Add reset procedure example...Holger Hans Peter Freyther1-0/+59
start with the port of the SGSN as parameter. It is assumed the SGSN is on the same machine and can be reached via 127.0.0.1.
2010-05-27VTY: Remove some more SUBSCR_NODE related codeHarald Welte1-5/+0
SUBSCR_NODE has been eliminated recently, so this is dead code.
2010-05-27VTY: Fix segfault during 'write file' from vtyHarald Welte1-0/+9
This bug had been introduced by the recent switch to libosmovty
2010-05-27VTY: Fix help for 'subscriber .... a3a8' commandHarald Welte1-2/+2
2010-05-27VTY: Unify Subscriber functions, remove SUBSCR_NODEHarald Welte1-122/+95
We previuosly had a 'subscriber node' under the 'configure node' which is strange, since subscriber data is not part of the config file. The relevant operations have now all been moved to the ENABLE node of the VTY. Furthermore, 'show subscriber' does no longer require the IMSI but can also identify the subscriber by ID, TMSI or other identifier.
2010-05-26Add ARFCN range check for GSM 850 bandHarald Welte1-0/+8
This should make OpenBSC work with a nanoBTS in GSM 850 band.
2010-05-25add gprs_ns_frgre.h to Makefile.amHarald Welte1-1/+2
2010-05-25[VTY] use new struct vty_app_info in libvtyHarald Welte4-4/+40
2010-05-25Migrate VTY code to libosmovtyHarald Welte37-6948/+97
2010-05-25[GPRS] NS: Always generate LOG_INFO message when we block NS-VCHarald Welte1-0/+5
2010-05-25[GPRS] Use new 'encapsulation udp local-port 23000' in osmo_sgsn.cfgHarald Welte1-1/+1
2010-05-23gprs: Cast the lh to uint_8* and make the other method non-constHolger Hans Peter Freyther1-2/+2
We are assigning the header to non const methods... so make the param non-const.
2010-05-23gprs: make gprs_llc_hdr_dump return void.Holger Hans Peter Freyther1-1/+1
2010-05-23gprs_llc.c: memset the llhp struct to be sure it is initialized.Holger Hans Peter Freyther1-0/+1
2010-05-23gb_proxy_vty.c: Remove variable that appears to be unusedHolger Hans Peter Freyther1-2/+0
There is no other in_addr inside this file and it appears that we don't use the 'ia' right now and will not use it in the near future.
2010-05-23gprs_ns_frgre.h: Create the header and include itHolger Hans Peter Freyther2-0/+7
2010-05-23gprs_ns.c: Make make_socket known to the compilerHolger Hans Peter Freyther1-0/+1
2010-05-23gprs: Fix warnings on funny casts for the return statementHolger Hans Peter Freyther2-5/+4
Change gprs_nsvc_reset to return void instead of a int as the gb_proxy.c currently ignores the reutnr value anyway. Change the caller inside gprs_ns to return the newly allocated nsvc instead of the return of gprs_nsvc_reset.
2010-05-23gprs_bssgp.c: Return something from non void methods.Holger Hans Peter Freyther1-1/+3
In one use the rc variable we are assigning to, in the others return 0 even if we have a FIXME there.
2010-05-23gprs_bssgp.c: Cast const of TLVP_VAL away.Holger Hans Peter Freyther1-2/+2
Fix a compiler warning, we cast the const away at various other parts in the code as well. We should consider removing the const from the TLV struct..
2010-05-23gsm_04_11: Include bsc_api.h for the dtap signature.Holger Hans Peter Freyther1-0/+1
2010-05-23bs11_config.c: Forward declare BTS init functionHolger Hans Peter Freyther1-0/+1
2010-05-23vty: The method got renamed, fix various compiler warnings.Holger Hans Peter Freyther1-1/+1