Commit Graph

63 Commits

Author SHA1 Message Date
Tom Tsou
c438a5a689 Transceiver52M: Add option to explicitly set GPSDO reference
Before UHD version 3.9.0 on-board GPSDO modules for USRP
devices were automatically enabled if detected. After UHD
version 3.9.0 the UHD behavior changed to require explicit
setting of the reference to enable GPSDO use.

Modify the interfaces to pass 'internal', 'external' and
'gpsdo' reference options from configuration database into
the UHD driver layer. Convert the 'TRX.reference' entry in
the configuration from a boolean value to string.
2016-09-12 06:13:42 -07:00
Michael Iedema
303b080e67 remove unneeded ssl and crypto dependencies 2016-07-26 10:37:05 -07:00
Michael Iedema
904091ebaa increase range of allowable values for RxGain to support Ettus hardware 2015-02-04 10:25:29 +01:00
Michael Iedema
3d59f52a3f sync from commercial 64a79ce7a18f7e3ef3fe5aeacf3b6629980d30b2 2014-12-04 21:25:19 +01:00
Michael Iedema
a5473eedf1 remove reference to dead key 2014-07-28 21:13:35 -07:00
Michael Iedema
49087580a0 merge 5.0 preview from commercial 2014-07-16 23:57:22 +02:00
Michael Iedema
32b17689b0 enable NodeManager in OpenBTS (somehow de-staged from merge earlier!) 2014-06-21 14:09:42 +02:00
Michael Iedema
e9489856ca - set GSM.CallerID.Source to username by default, the existing 4.0 behavior, so compatibility is maintained
r8633 upstream
2014-05-22 19:32:14 +02:00
Michael Iedema
9854f07d7a whitespace nitpick 2014-04-10 06:06:42 +02:00
Michael Iedema
08d1ed0940 - add missing SIP.Realm definition to configuration schema, apologies for the botched merge 2014-04-10 06:04:01 +02:00
Michael Iedema
735faa60ef - add GSM.CallerID.Source so the source string for numeric caller id in SIP INVITES can be selected 2014-04-09 14:04:18 +02:00
Michael Iedema
41542c7ae7 - make path to databases and CLI less specific (/var/run instead of /var/run/OpenBTS)
- sync to newer version of NodeManager
2014-03-30 19:50:46 +02:00
Michael Iedema
eb93d0da84 - strip unsupported config keys from audit cross check 2014-03-25 21:14:04 +01:00
Michael Iedema
fbe5202745 regenerate OpenBTS.example.sql 2014-03-25 02:05:49 +01:00
Michael Iedema
c13f8bde8f merged in commercial openbts 2014-03-25 00:06:30 +01:00
Kurtis Heimerl
a795f499a3 small bug fixes from last patch
git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@6759 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-10-18 07:21:40 +00:00
Kurtis Heimerl
50a65783f8 Patching cleaning up rotted code. Now able to select device to run for both 52M and RAD1 from a config variable. Also fixed RAD1 not listening to TRX.Port or TRX.IP.
git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@6757 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-10-18 06:10:23 +00:00
Kurtis Heimerl
b0ea928994 r6605 in private:
Dont POWERON the radio before it is inited.
Suppress some irrelevant gcc warnings.



git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@6715 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-10-16 02:07:39 +00:00
Kurtis Heimerl
ff99b37721 Missed this path change
git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@6712 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-10-15 06:23:48 +00:00
Kurtis Heimerl
a09fa74532 should not install to a set home directory
git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@6710 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-10-15 02:48:38 +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
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
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
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
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
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
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
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
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
7ee4804d71 Sylvain patch #2, with modifications:
CommonLibs: Avoid direct syslog calls in ConfigurationTable

    We instead introduce a 'log early' facility in Logger.h to accomplish
    the same

    Signed-off-by: Sylvain Munaut <tnt@246tNt.com>

I added similar code to the reporting functions, which did not exist when sylvain made this patch

git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@4629 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2012-12-16 06:08:18 +00:00
Kurtis Heimerl
ebb600ce92 Sylvian's patch #1: Changing SETTSC into SETBSIC in the transceiver interfaceInbox
git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@4628 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2012-12-16 06:07:24 +00:00
Kurtis Heimerl
a98dc82267 Patch 4545 in private:
Added support for performance-reporting counters.

and

Patch 4588 in private:
For some reason, ReportingTest won't build on all systems.  Since it is not part of the actuall application, I am commenting it out from the Makefile.am for now.

git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@4627 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2012-12-16 06:06:32 +00:00
Kurtis Heimerl
b6ad879c08 r4589 in private:
Renamed GSM.CCCH.PCH.Reserve to GSM.Channels.SDCCHReserve and fixed bugs in the comparison and startup test.

git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@4614 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2012-12-11 08:07:00 +00:00
Kurtis Heimerl
aa1e334cd9 r4605 in private:
Make the sending of 100 Trying optional for SIP MESSAGE, even though it violates RFC3428.
Closes #1194.

git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@4613 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2012-12-11 06:11:23 +00:00
Kurtis Heimerl
1811ddb3c7 r4426 in private:
Check for transceiver with a "ping", not be waiting for the clock.
The fixes in the socket class seem to have solved this problem.

git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@4514 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2012-11-23 08:36:49 +00:00
Kurtis Heimerl
4885efcd14 r4408 in private:
Add code from David to keep the transceiver running when OpenBTS crashes and check if it is running when starting up.

git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@4512 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2012-11-23 08:35:46 +00:00
Kurtis Heimerl
e452aa7ff3 First half of r4299 in private:
adds printing deeper version information.

git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@4509 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2012-11-23 08:33:34 +00:00
Kurtis Heimerl
768815e07f Oh kay. Lots of patches trying to catch up to mainline:
r4232: Major change in hos entries are removed from a TransactionTable.

>From now on, the only place were entries are actually removed is in TransactionTable::innerRemove.
Anywhere else, the remove methods just set a flag to tag the entry for later removal be innerRemove.
This allows us to survive situations where we try to touch transactions that have been removed already.  We still log at the ERR level, but no more segfaults.

Updated all of the TransactionTable "find" methods to not return pointers to dead or removed tranactions.

Updated find-by-channel search to return the transaction entry with the highest transaction number, which fixes a bug that sometimes picked up the wrong transaction records during EA TCH assignment.

r4253: New exception class for when someone tries to use a "removed" transaction.

r4254: Updated copyright notice.

r4265: Unlock TransactionEntry::mLock while blocked on SIP message FIFOs in SIPEngine.  This does wonders to reduce lock contention and make everything more snappy.

Use Mutex::tryLock in TransactionEntry::dead and if lock is held, assume that it is not dead.  This also does a lot to reduce lock contention.

r4294: Change Um congestion response back to SIP 503.

r4295: When deleting an entry that has failed to respond to paging, send a SIP 480 response so the switch knows that transaction is dead.

r4412: Fixed bug that was causing SIPInterface to crash when the IMSI cannot be extracted from the To: header.

git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@4497 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2012-11-22 05:30:27 +00:00
Kurtis Heimerl
32c9608a84 increased the start timeout, UHD takes longer to start
git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@4357 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2012-10-26 06:27:23 +00:00
Kurtis Heimerl
05ea53e57f merged private Config to public: r4211:
Changes to ConfigurationTable class.  Cleaner locking operations, fewer messages for normal operations, ALERT logging for truly abnormal operations.

git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@4348 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2012-10-26 06:25:56 +00:00
Donald Kirker
3011a608a1 Simple script for looping the OpenBTS process to catch crashes and restarts.
git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@3858 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2012-06-28 21:02:07 +00:00
Kurtis Heimerl
9a5f9b1ef0 Alexander's build fixes
git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@3722 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2012-06-05 01:42:14 +00:00
Kurtis Heimerl
4041066c6b missed a config variable
git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@3711 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2012-06-02 23:52:03 +00:00
Kurtis Heimerl
27aee75dd5 New-style socketed CLI support. Hooray histories!
git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@3690 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2012-05-31 00:05:22 +00:00
Kurtis Heimerl
13ece1dbae Adding MultiARFCN support to core.
git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@3688 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2012-05-31 00:05:12 +00:00
Kurtis Heimerl
a1609072d7 Brandon Creighton's patch: A lot of refactoring, but separates global object creation from initialization. Allows for logging of database initialization failures.
git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@3165 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2012-02-10 01:45:41 +00:00