Commit Graph

265 Commits

Author SHA1 Message Date
Kurtis Heimerl
e6ce2cfa55 Martin Hauke's build/typo bug fixes
git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@6698 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-10-11 19:47:27 +00:00
Kurtis Heimerl
ea6659c604 increasing watchdog timer range as a workaround
git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@6628 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-10-03 17:38:54 +00:00
Kurtis Heimerl
8006dd55ff Default to non-RAD1 setups.
git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@6617 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-10-02 01:54:16 +00:00
Michael Iedema
7a5d549aa5 - reinstate runloop as quite a few installs might be depending on it
git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@6508 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-09-19 05:24:50 +00:00
Michael Iedema
ef1d68e0bb - add missing CLI script so debian packages build properly again
- ignore some stuff


git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@6496 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-09-18 09:01:55 +00:00
Kurtis Heimerl
9757b7bc1e Missed some stuff. Suggested by Chris Newman
git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@6402 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-09-05 05:49:56 +00:00
Kurtis Heimerl
f610e7a270 removed /var/run/OpenBTS stuff
git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@6303 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-08-24 06:20:45 +00:00
Kurtis Heimerl
b288d5c7ff stepping down from alert to warning to reduce tension from users of UHD devices
git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@6192 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-08-15 23:32:59 +00:00
Kurtis Heimerl
6dfce1265c ortp 0.20 compat
git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@6191 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-08-15 23:23:42 +00:00
Kurtis Heimerl
cbd9157c38 missed the removal of old transceivers
git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@6169 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-08-14 00:54:30 +00:00
Kurtis Heimerl
5289a229d9 sync of openbts
git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@6168 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-08-14 00:52:14 +00:00
Kurtis Heimerl
1baba59e14 added conflicts to control, do not install public/private concurrently!
git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@5905 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-07-09 07:29:50 +00:00
Kurtis Heimerl
2ada18a775 cleaned up makefiles, and now can is confflags="--with-uhd" dpkg-buildpackage -B to build the uhd version. There's still an issue with linking uhd though, I have to test on a real install.
git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@5904 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-07-09 07:22:26 +00:00
Kurtis Heimerl
7466de849a OpenBTS working now
git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@5903 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-07-09 05:14:42 +00:00
Kurtis Heimerl
a737b586d3 fixed some compatibility issues
git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@5900 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-07-09 05:14:09 +00:00
Kurtis Heimerl
01b412379e smq debian packaging files
git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@5896 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-07-07 07:37:02 +00:00
Kurtis Heimerl
8f5c064961 First pass at adding debian package building scripts
git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@5895 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-07-07 07:36:54 +00:00
Kurtis Heimerl
826c4f655f removing extraneous sqlite3 calls
git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@5840 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-07-01 05:30:23 +00:00
Kurtis Heimerl
57dce4e397 adding WAL forcing and another missing config
git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@5704 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-06-13 00:24:22 +00:00
Kurtis Heimerl
f90cc4f4f4 missed a variable in sql
git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@5703 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-06-12 22:11:40 +00:00
Thomas Tsou
40f309ab3d Transceiver52M: Add more complete specification of GPRS types
Submitted by: Ivan Kluchnikov <kluchnikovi@gmail.com>
Signed-off-by: Thomas Tsou <tom@tsou.cc>

git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@5690 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-06-09 22:38:18 +00:00
Thomas Tsou
eacdf11bfa Transceiver52M: Add GPRS combinations to correlation types
Submitted-by: Andreas Eversberg <jolly@eversberg.eu>
Signed-off-by: Thomas Tsou <tom@tsou.cc>

git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@5677 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-06-06 04:36:45 +00:00
Kurtis Heimerl
bdf1aff128 Change to makefile.common to support git externals script
git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@5670 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-06-05 00:22:54 +00:00
Kurtis Heimerl
738cf3f77a openbts externals now finished. that was pretty easy actually
git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@5669 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-06-04 21:30:15 +00:00
Kurtis Heimerl
b660aa8900 svn externals for openbts
git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@5668 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-06-04 21:25:06 +00:00
Kurtis Heimerl
7178e8367e syncing commonlibs with Many thanks to Michael Iedema for these patches, makes config a lot better.
git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@5655 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-05-31 21:47:25 +00:00
Kurtis Heimerl
40e14f52a3 r4677 in commercial:
syncing SR across trees. Will merge later.

git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@5477 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-05-16 21:54:36 +00:00
Thomas Tsou
d21140203b Transceiver52M: Fix calculation of TS correlation for 2 sps and higher
The correlation starting point for normal burst training sequence
calculation should be a scaled value of the same symbol regardless
of the samples-per-symbol used. Use of 2 samples-per-symbols double
the index values, but yields the following outputs, which results
in a late time-of-arrival value at the output of the correlation.

This patch modifies the parameter calculation accordingly.

1 sps parameters

maxTOA = 3
spanTOA = 5;
startIx = 61;
endIx = 87;
windowLen = 26;
corrLen = 7;

2 sps parameters (errant case)

maxTOA = 6;
spanTOA = 10;
startIx = 112;
endIx = 184;
windowLen = 72;
corrLen =13;

2 sps parameters (corrected)

maxTOA = 6;
spanTOA = 10;
startIx = 122;
endIx = 174;
windowLen = 52;
corrLen =13;

Signed-off-by: Thomas Tsou <tom@tsou.cc>

git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@5183 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-04-04 23:35:08 +00:00
Kurtis Heimerl
f3e56825e1 r4974 in private:
Fix the SMS sporadic delivery failure problem.

git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@5170 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-03-28 01:06:51 +00:00
Thomas Tsou
f16b9a8e42 Transceiver52: allow for handling of TCH/H slots
Although currently unsupported in GSM core, enable TCH/H
support in Transceiver52M for testing and future availability.

Signed-off-by: Thomas Tsou <tom@tsou.cc>

git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@5169 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-03-27 22:00:25 +00:00
Kurtis Heimerl
9c7ea38965 Roughly r4224 in private:
More reliable detection of busy condition on MTC.
Also adds new GSM state, "Busy Reject".

git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@4920 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-02-16 13:03:08 +00:00
Kurtis Heimerl
d26fa0a4aa r4223 in Private: Clean up properly when we get the SIP 486 response.
git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@4919 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-02-16 13:02:31 +00:00
Kurtis Heimerl
f7903a1623 r 4258 in private: Check for defunct transactions when handling Paging Respone.
git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@4918 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-02-16 12:43:44 +00:00
Kurtis Heimerl
96bd5dc4de r4259 in private:
More checking for defunct tranaactions.
Send RELEASE on TCH if the call fails before EA Assignment step.

git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@4915 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-02-15 08:14:44 +00:00
Kurtis Heimerl
2e1a7ed5d9 Merging another fix from Private. This one didn't count sip state fail as finished, leading to extra 480s
git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@4914 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-02-15 07:39:02 +00:00
Kurtis Heimerl
fe0dec2481 Alexander's patch: 3b05a4929c
git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@4913 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-02-15 07:12:05 +00:00
Kurtis Heimerl
db0753a41c Synced sqlite3utils with private and fixed a small recursive bug in SIPEngine that was already fixed in private
git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@4912 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-02-15 02:57:54 +00:00
Kurtis Heimerl
f9e71e7747 Potentially fixed a bug where a message sent from the CLI isn't responded to, gets cleared from the paging table and then segfaults as it has no invite attached.
git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@4882 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-02-05 10:05:19 +00:00
Kurtis Heimerl
599d7494f4 basic usability fixes we no longer print out warnings when looking for a starting transceiver and we no longer have a link to /var/run/OpenBTS in the example sql.
git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@4881 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-02-05 09:36:12 +00:00
Kurtis Heimerl
291ec1c086 removed freeswitch config, moved to my github. See Freeswitch on the wiki
git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@4749 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-01-19 14:06:08 +00:00
Kurtis Heimerl
b0170ab989 we accidentally overwrote the sqlite3 bump from 3.6 -> 3.7. Reverting (and syncing) that
git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@4682 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2012-12-27 07:24:40 +00:00
Kurtis Heimerl
2e9298dd54 reverted some fixes to keep synced with private branch
git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@4676 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2012-12-22 05:12:01 +00:00
Kurtis Heimerl
ca7c3dfeff Merging SMSMessages change to openbts
git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@4675 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2012-12-22 04:39:09 +00:00
Kurtis Heimerl
bd1ab51ed6 Correction of trivial warnings.
git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@4670 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2012-12-22 04:30:56 +00:00
Kurtis Heimerl
68a3a8c9fc Syncing the CommonLibs, SMS and sqlite3 directories
git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@4652 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2012-12-19 09:06:50 +00:00
Kurtis Heimerl
be79d04169 From 2ff022d56c827c9f9adf5c6c1de19195ed755ac1 Mon Sep 17 00:00:00 2001
From: Alexander Chemeris <Alexander.Chemeris@gmail.com>
Date: Wed, 19 Dec 2012 02:11:48 +0400
Subject: [PATCH] Remove declaration of parseTL() function which is never
 defined nor used.

git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@4646 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2012-12-19 04:49:11 +00:00
Kurtis Heimerl
7e28c367cd From b453f10d65dd1ff1df0dd3747adf63f4e1fd7d30 Mon Sep 17 00:00:00 2001
From: Alexander Chemeris <Alexander.Chemeris@gmail.com>
Date: Sun, 16 Dec 2012 17:44:10 +0400
Subject: [PATCH] Use gethostbyname2_r() instead of gethostbyname() if
 available.

gethostbyname() is not thread-safe. It's recommended to use gethostbyname_r() or gethostbyname2_r() instead.
---
 CommonLibs/Sockets.cpp |   44 +++++++++++++++++++++++++++++++++-----------
 configure.ac           |    4 ++++
 2 files changed, 37 insertions(+), 11 deletions(-)

git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@4637 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2012-12-17 11:22:04 +00:00
Kurtis Heimerl
5bdfe7419c From 32bbfc3c89b1c56672bf2fd3660a45c513ac54d4 Mon Sep 17 00:00:00 2001
From: Alexander Chemeris <Alexander.Chemeris@gmail.com>
Date: Sun, 16 Dec 2012 17:33:46 +0400
Subject: [PATCH 1/4] Fix typos in comments.

---
 CommonLibs/Logger.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@4635 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2012-12-17 11:21:32 +00:00
Thomas Tsou
83a4d26744 Transceiver52M: Read IP address and port to bind to from a configuration instead of hardcoding them.
Signed-off-by: Thomas Tsou <tom@tsou.cc>

git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@4634 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2012-12-16 20:48:47 +00:00
Thomas Tsou
a83e091b25 Transceiver52M: Properly pass samplerate to RadioDevice::make()
Without this patch, if SAMPSPERSYM is set bigger than 1, then
erratic behaviour will occur.

Signed-off-by: Thomas Tsou <tom@tsou.cc>

git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@4633 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2012-12-16 20:35:01 +00:00