aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2012-07-16BSC API: Don't treat a RRLP message as NOTICE eventHarald Welte1-0/+6
While generally we should log troly unknown RR messages, we can simply pass along RRLP messages (which aren't unknown!) In real networks, the RRLP would probably not end up at the MSC, but well, sometimes we don't care what real/classic networks do.
2012-07-14SGSN: Code to help debug / fix sgsn crash in cb_data_ind()Harald Welte2-1/+26
A crash was obsserved in cb_data_ind() when mm is dereferenced. This patch adds some safeguards that try to prevent the library handle back-pointer to the pdp_ctx to be NULL, and print a stack backtrace in case we are free() ing the sgsn-side pdp_ctx while there's still a library handle attached.
2012-07-14add some comments regarding the free() / release of pdp contextxHarald Welte2-0/+8
It might be that we're deleting structures instead of properly cleaning up the attached libgtp handles...
2012-07-12move BTS-specific timezone override into sub-structureHarald Welte3-16/+20
Group all three structure members involved in bts-specific timezone handling into a sub-structure.
2012-07-12handover: Not finding a HO record on CHAN ACT NACK is not an errorHarald Welte1-1/+1
... it might well a completely non-ho-related establishment
2012-07-10msc: Attempt to release the lchan immediately on IMSI DetachHolger Hans Peter Freyther1-6/+6
The Nokia E71 sends a "IMSI Detach" this msc code does not immediately send the "RR Channel Release", the E71 is impatient and sends a DISC, the "RELEASE INDICATION" is handled by starting the channel release procedure. OpenBSC sends a "RR Channel Release" which will never be answered, during the early release there is no timer and the lchan will be in "RELEASE REQUESTED" forever. This commit removes the anchor operation and checks if the channel can be released immediately. Regarding the channel release handling there is already a branch that needs to be tested.
2012-07-04GPRS LLC: fix segfault when transmitting downlink unit-data without mmctxHarald Welte1-5/+10
2012-07-04BSC VTY: Allow encryption to be set to A5/3Harald Welte1-2/+3
We are currently not checking if the BTS actually suports that cipher, and we particularly don't have any hack for ip.access which apparently seems to re-use the RSL algorithm identifier for A5/2.
2012-07-02BSC: introduce new "sysmobts" BTS modelHarald Welte13-8/+101
so far, osmo-bts/sysmobts used to be entered as "sysmobts" type in the configuration file. However, there are some differences in the protocol/behaviour and we should reflect that by a new BTS plugin (with lots of code reuse from the nanobts driver).
2012-07-02pre-fix measurement reports with subscriber identityHarald Welte1-3/+7
... otherwise it's impossible to distinguish them from each other.
2012-06-28gsm_data_shared: add structure for decoded parameters of RLC configHarald Welte2-0/+69
this is primarily needed on the BTS side, but we should also use it on the BSC side and make the parameters VTY-configurable.
2012-06-28ipaccess: some more comments on timer valuesHarald Welte1-2/+5
2012-06-17use new external libosmogb (part of libosmocore.git)0.12.0Harald Welte23-4453/+8
This removes the libgb (GPRS NS/BSSGP) code from the openbsc.git repository and uses the new version from libosmocore.git instead.
2012-06-17index on master: d24566a libgb: separate header files related to spec and ↵Harald Welte0-0/+0
implementation
2012-06-17libgb: separate header files related to spec and implementationHarald Welte7-219/+239
like in libosmogsm, we separate between header files that are just reflecting information in the respective specs, and header files that related to our specific implementation.
2012-06-17libgb: make sure all BSSGP functions have bssgp_ prefixHarald Welte9-35/+34
We change the minority of functions employing the gprs_bssgp_ prefix to match with the majority without gprs_ in front.
2012-06-17libgb/gprs: don't use log_info from libcommon anymoreHarald Welte4-5/+98
2012-06-17libgb: prefix all NS related functions with gprs_Harald Welte10-58/+95
2012-06-17libgb: don't call directly into GMM / LLC layerHarald Welte5-9/+143
Instead of direct function calls to individual functions, we now generate primitives (osmo_prim) and send them to one application-provided function "bssgp_prim_cb()"
2012-06-17libgb: remove dependency of BSSGP to include sgsn/gmm internal structsHarald Welte3-27/+55
2012-06-17update .gitignoreHarald Welte1-0/+6
2012-06-16libgb: Remove dependency to openbsc/debug.hHarald Welte17-30/+108
2012-06-16libgb: remove dependencies to openbsc/vty.h and openbsc/gsm_data.hHarald Welte9-36/+98
Rather than using openbsc internal data/functions, we now use only internal and libosmocore-provided ones.
2012-06-16libgb: Use library SS_L_NS instead lf local SS_NSHarald Welte8-23/+20
which removes some further dependencies of libgb to openbsc internal code and data.
2012-06-16libgb: move GPRS specific msgb CB definitions to separate headerHarald Welte10-36/+40
2012-06-16split libgb into a separate library for outside useHarald Welte28-53/+80
This also removes the dependency to osmo_sock() inside libcommon and replaces it with osmo_sock_* from libosmocore
2012-06-16gsm_data_shared: add handover related bits for osmo-btsHarald Welte1-0/+8
2012-06-03Allow VTY-based configuration of T3105Harald Welte6-6/+11
This timer will only be forwarded to BS11 and Ericsson Abis so far, not to Nokia and ip.access BTS yet.
2012-06-03update year in copyright stringHarald Welte1-1/+1
2012-05-31abis_rsl_rcvmsg(): Fix msgb memory leak in error pathHarald Welte1-1/+2
Thanks to Andreas Eversberg for spotting this one.
2012-05-31vty / cfg_bts_tsc: TSC range is 0..7, not 0..255Harald Welte1-6/+1
2012-05-18rtp: Add a smalltalk script that can replay the state file.0.11.0Holger Hans Peter Freyther1-0/+56
2012-05-18rtp: Add lua script to split a trace by SSRC/streamsHolger Hans Peter Freyther1-0/+28
This can be used to replay RTP streams with more or less the same timing as the original one.
2012-05-17nitb: Enable the external RF Control interface for the nitb applicationHolger Hans Peter Freyther1-2/+18
Add argument handling for the nitb application and create the RF ctrl interface for being able to control the TRX using an external socket.
2012-05-17bsc: Move the osmo_bsc_rf file into the libbsc code and renameHolger Hans Peter Freyther3-2/+2
The nitb will provide the RF interface as well.
2012-05-11mgcp: Make it possible to drop RTCP packets coming from the BTS/NetHolger Hans Peter Freyther4-2/+56
The ip.access nanoBTS appears to send quite broken NTP timestamps in the RTCP messages might confuse equipment that uses the sender report of the BTS. Make it easy to experiment by adding an option to drop RTCP.
2012-05-11bsc vty: Provide a show mscs command to show the state of each MSCHolger Hans Peter Freyther1-0/+18
2012-05-07libmsc/db: Fix max value of ainfo->a3a8_ki_len in db_get_authinfo_for_subscrSylvain Munaut1-1/+1
Thanks to Robert Ingr for pointing this out Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2012-04-26RSL add debug statements when sending RSL EST REQ and RSL REL REQ.Harald Welte1-0/+6
2012-04-26bsc_api: Fix wrong order of log category and level argumentsHarald Welte1-1/+1
2012-04-26bsc_api: log RR STATUS from MS as NOTICE, not DEBUG levelHarald Welte1-1/+1
2012-04-19add loopback flag to lchan (for osmo-bts)Harald Welte1-0/+1
2012-04-18lchan: Fix the name of the SACCH in the variable namesHolger Hans Peter Freyther6-10/+10
Call the channel by the right name.
2012-04-17bsc_api: Send RR Release and de-activate the SACCH on errorHolger Hans Peter Freyther1-2/+2
In case the connection should not be created/accepted release the channel by sending a RR Release and de-activating the SACCH. Phones should deal better with that behavior.
2012-04-13mgcp: Catch up with the renaming of the MGCP GW binaryHolger Hans Peter Freyther2-2/+2
2012-04-11bsc: Allow to run a mixed TCH/H, TCH/F configurationHolger Hans Peter Freyther1-4/+22
In case the call handling starts on a TCH/H switch to a TCH/F if fullrate is requested. Add a method that is used to determine if the mode and current channel are compatible with each other.
2012-04-08add 'ciph_state' member to BTS-side lchan definitionHarald Welte1-0/+2
2012-04-08introduce HAVE_TM_GMTOFF_IN_TMHarald Welte3-0/+40
Not all architectures have the tm.tm_gmtoff member. This fixes cygwin builds.
2012-04-08make sure we still build on systems that don't have IPPROTO_GREHarald Welte1-0/+2
2012-03-26nat: Add another test case for TP-SRR clearing and number rewriteHolger Hans Peter Freyther2-3/+42