416 Commits

Author SHA1 Message Date
Michael Iedema
7766ef94f2 update copyright year 2021-02-10 16:55:53 +01:00
Michael Iedema
646bb6e79f lower default value of TRX.MinimumRxRSSI to -90 2017-03-22 16:18:16 +01:00
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
2992951933 limit GPRS channel allocation to number actually requested, without this all of CN is filled with GPRS if we request anything from it 2016-07-26 11:19:50 -07:00
Harvind Samra
f6dd22cb5c Fix indexing problem in getChanGroup, which was causing seg fault when channel allocations in configuration are explicitly set. 2016-07-26 11:13:50 -07:00
Harvind Samra
c77b3ca30d Fix minimum latency bound form 1 frame to 3 frames. Probably only affects 1% of USB connections. We can tolerate 3 GSM frames latency. 2016-07-26 11:13:10 -07:00
pat
0490bbaef4 Small fixes for potential bugs in peering that were extremely unlikely ever to occur. 2016-07-26 11:11:05 -07:00
Michael Iedema
a716ed66c0 Neighbor with highest numbered arfcn was usually discarded
from neighbor table.
2016-07-26 11:10:06 -07:00
Michael Iedema
303b080e67 remove unneeded ssl and crypto dependencies 2016-07-26 10:37:05 -07:00
pat
ba18692a65 Fix AGCH queue bugs: time comparison was incorrect in gRachQ. Add AGCH details to CLI load command, which changed the output format. 2016-07-26 10:17:58 -07:00
pat
b0737ba490 Mutex protect L1Encoder::getNextWriteTime. It is called from another thread in GSMCCCH to set the channel start time. 2016-07-26 09:29:44 -07:00
pat
d1bb8df38c Reverse service order of CCCH priority queue. Add LOG(DEBUG) to check it, and some miscellaneous comments. 2016-07-26 09:20:02 -07:00
pat
4e4d559407 Fix tmsis -a. 2016-07-26 08:46:50 -07:00
pat
61072e77b0 Just move some LOG(DEBUG) messages into a scopedlock protected area. 2016-07-26 08:39:12 -07:00
pat
3f9396dd60 Reduce the post-reassignment sleep that is meant to prevent a race from 1 second to 400ms. This will reduce spurious "blocked more than one second at..." errors and hopefully is still long enough to overcome the race condition if the system is not too heavily loaded. This is a temporary measure - release6 eliminates these issues. 2016-07-14 07:42:57 -07:00
pat
af0221fab4 Fix TranEntry double deletion introduced by previous commit f93c48. 2016-07-14 07:06:40 -07:00
pat
c0cd4b778e Attempt to fix a locking problem in mmCheckSipMsgs and mmCheckTimers. Tickets #1905 and #1914. Formerly these methods held the global lock while running the transaction state machine; now they hold the global lock only to generate a temporary vector of transactions to process, then release the global lock and rely on a lock in the transaction to prevent simultaneous access to the state machine.
Keep deleted TranEntrys around a while after they are deleted to try to avoid crashes:
Add sDeletedTranEntrys list to hold last 100 deleted TranEntrys.
Add TranDeleted CCState.  Set this when transaction is being deleted.  Check for this state when starting state machines.
2016-07-14 07:06:02 -07:00
Michael Iedema
baa3934a62 update CommonLibs ref to revert localhost-only binding which broke GSMTAP functionality 2016-07-13 05:36:17 -07:00
Michael Iedema
b0c2daddd5 update ref to CommonLibs 2016-07-06 12:20:43 -07:00
Michael Iedema
b4c16be0e5 Revert "transceiver: Use length fields in UDP receive calls"
This reverts commit 30c652fe4f.
2016-06-10 06:43:18 -07:00
Michael Iedema
6135b5838f Revert "bump common libs to use safer UDPSocket::read() interface"
This reverts commit 5b5934707a.
2016-06-10 06:41:47 -07:00
Michael Iedema
32f2258e6b Revert "update other bits in OpenBTS to use safer read() signature"
This reverts commit e09152ccb5.
2016-06-10 06:41:23 -07:00
Michael Iedema
b0ead346c8 Revert "fix socket reads to properly pass buffer and timeouts according to new signature"
This reverts commit 0fb9135dab.
2016-06-10 06:40:57 -07:00
Michael Iedema
0fb9135dab fix socket reads to properly pass buffer and timeouts according to new signature 2016-05-26 14:03:58 -07:00
Michael Iedema
61fb7b69ab fix package compat for ubuntu 16.04 2016-05-26 13:05:42 -07:00
Michael Iedema
e1f6be607b also ignore Transceiver52 binary 2016-05-06 18:23:54 +02:00
Michael Iedema
e09152ccb5 update other bits in OpenBTS to use safer read() signature 2016-05-06 18:19:19 +02:00
Michael Iedema
5b5934707a bump common libs to use safer UDPSocket::read() interface 2016-05-06 18:17:41 +02:00
Tom Tsou
30c652fe4f transceiver: Use length fields in UDP receive calls
Update to match socket changes for buffer underrun prevention in
CommonLibs patch

"common: Add mandatory length field to UDP receive calls"

Reported-by: Simone Margaritelli <simone@zimperium.com>
Signed-off-by: Tom Tsou <tom.tsou@ettus.com>
2016-05-05 11:38:03 +02:00
Michael Iedema
6f8bd14482 include NodeManager event timestamp fix 2016-04-05 19:55:02 -05:00
Michael Iedema
e9bac710e3 - SAP 0 now prioritized over SAP 3
- Handle Unsolicited DM response to SABM message
- ContentionResolution only applicable to SAP 0
2015-12-18 20:30:55 +01:00
Tom Tsou
b2482baf79 Transceiver52M: Remove unused and unmaintained files (part 2)
Previous patch fdf71fb5 "Remove unused and unmaintained files" was
incomplete. Remove remaining use of sendLPF_961.h and rcvLPF_651.h.

Signed-off-by: Tom Tsou <tom.tsou@ettus.com>
2015-11-07 16:40:51 +01:00
Tom Tsou
fdf71fb552 Transceiver52M: Remove unused and unmaintained files
Test applications sigProcLibTest and USRPping are not used or maintained
in Transceiver52M. This has been the case for many years.

Signed-off-by: Tom Tsou <tom.tsou@ettus.com>
2015-11-05 09:57:30 +01:00
Tom Tsou
42cc2d123d uhd: Update B200 timing compensation for UHD 3.9.0
Version change to UHD 3.9.0 includes FIR filter changes in the FPGA that
alter group delay and consequently offset uplink/downlink slot alignment.
Only B200 is affected. Add compile time version check for new timing
values.

Signed-off-by: Tom Tsou <tom.tsou@ettus.com>
2015-11-05 09:57:22 +01:00
Tom Tsou
25363b4e5d uhd: Move timestamp calculations to use UHD API
Update to minimally use the UHD driver 003.005.004 API version and set
base version requirement. In effect, this uses internal UHD timestamp
conversion calls and makes stream operations dependent on the stream
instead of the base device.

Signed-off-by: Tom Tsou <tom.tsou@ettus.com>
2015-11-05 09:57:13 +01:00
Michael Iedema
27e9808f3a Merge branch 'master' of https://github.com/RangeNetworks/openbts 2015-02-04 10:26:10 +01: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
7e1797d6e4 swap to https no longer needed 2015-01-28 12:06:09 +01:00
Michael Iedema
925f0790b0 use https instead of ssh auth on submodules 2015-01-28 12:02:07 +01:00
Thomas Tsou
d2b84104f8 GSM: Correct GSMTAP channel types
GSMTAP channel types are not consistent with current Wireshark types,
which originate from libosmocore.

http://cgit.osmocom.org/cgit/libosmocore/tree/include/osmocom/core/gsmtap.h

The types may not have been supported in Wireshark at the previous time
of modification, however, they are now supported in mainline and popular
distributions.

Signed-off-by: Tom Tsou <tom@tsou.cc>
2015-01-26 13:16:54 +01:00
Tom Tsou
6edb20c605 Transceiver52M: Add clipping detection on RACH input
Alert user of overdriven RACH input indicated by a positive
threshold detector result. This indication serves as notification
that the receive RF gain level is too high for the configured
transceiver setup.

Signed-off-by: Tom Tsou <tom@tsou.cc>
2015-01-12 21:15:11 +01:00
Tom Tsou
b03be9567a Transceiver52M: Add USRP X300/X310 support
X300/X310 support was missing due to the very high bandwidth X-series
being somewhat of an excessive solution for relatively narrowband GSM.
Nevertheless, the X300/X310 is a useful and capable device for OpenBTS
use.

Signed-off-by: Tom Tsou <tom@tsou.cc>
2015-01-12 16:43:16 +01:00
pat
51e9dbe811 Horrific bug one-line fix. The setMSSACCHL1Encoder::setMSTiming function did not actually set the ordered MS Timing. Leaving the MS Ordered Timing always 0 limits the range of the BTS to 4-5 TA unit symbols, equal to 2-3 Km. 2014-12-26 13:25:01 +01:00
Michael Iedema
29ce7194d1 drop master from the moniker 2014-12-08 14:55:46 +01:00
Michael Iedema
9948c0a5e1 use updated NM w/auto-confirming install script 2014-12-04 22:37:04 +01:00
Michael Iedema
009a594cb4 update travis logic to avoid signatures 2014-12-04 22:28:55 +01:00
Michael Iedema
3d59f52a3f sync from commercial 64a79ce7a18f7e3ef3fe5aeacf3b6629980d30b2 2014-12-04 21:25:19 +01:00
Thomas Tsou
eceec213a5 Transceiver52M: Match handover and slot mask flags with TransceiverRAD1
The following flags affect GPRS performance.

Add flags for HANDOVER/NOHANDOVER commands, which force RACH burst
processing on selected slots. Also turn on the previously disabled
filler table slot mask (i.e. 'Magic flag').

These changes match Transceiver52M with TransceiverRAD1 command handling
that took place in commit

5289a229d9 'sync of openbts'

Signed-off-by: Thomas Tsou <tom@tsou.cc>
2014-10-23 01:19:26 +02:00
Michael Iedema
84fa77b18c Rename README.APIs to README.APIs.md 2014-09-11 22:08:56 +02:00
Michael Iedema
a8e64a4349 allow extra configure flags to be read from the shell so a single package defnition can be used for all radios 2014-09-03 02:48:10 +02:00