laforge
/
openbts-osmo
Archived
1
0
Fork 0
Commit Graph

13 Commits

Author SHA1 Message Date
Thomas Tsou d93729a806 transceiver: usrp1: select single dboard use at compile time
The following option selects single daughterboard use on
side A only. Otherwise, the default setting is TX on A and
Rx on B.

  ./configure --with-singledb

Other options are possible, as per the following enum, but
for simplicity with configure options, there are only two
choices.

  enum dboardConfigType {
    TXA_RXB,
    TXB_RXA,
    TXA_RXA,
    TXB_RXB
  };

Signed-off-by: Thomas Tsou <ttsou@vt.edu>
2011-10-21 12:06:01 -04:00
Thomas Tsou 515c859556 transceiver: uhd: make external reference a compile time option
External reference selection was already compile-time
determined by a hard coded value. Make it selectable
as a configure option.

Signed-off-by: Thomas Tsou <ttsou@vt.edu>
2011-10-21 12:05:51 -04:00
Thomas Tsou 44fe0df73f build: insert autofoo for usrp transceiver and options
Usage:

  ./configure --with-usrp1

  Enable non-UHD USRP1 support through the gnuradio-based
  driver. Requires gnuradio (libusrp) to be installed.

 ./configure --with-resample

  Enable host-based 400ksps to 270.833ksps resampling.
  Only supported for UHD devices. If not enabled, the GSM
  sample rate is requested directly from the device.

Signed-off-by: Thomas Tsou <ttsou@vt.edu>
2011-10-20 21:10:41 -04:00
Thomas Tsou 4fcc2bd352 transceiver: remove old resampling transceiver 2011-10-20 20:45:20 -04:00
Thomas Tsou b70ddd4be2 uhd: change configure default to uhd
This is, afterall, the OpenBTS repository for UHD.

Signed-off-by: Thomas Tsou <ttsou@vt.edu>
2011-06-01 15:53:34 -07:00
Thomas Tsou f398757fe6 Merge branch 'master' of git://openbts.git.sourceforge.net/gitroot/openbts/openbts
* 'master' of git://openbts.git.sourceforge.net/gitroot/openbts/openbts:
  configure.ac: use AM_SILENT_RULES if available
2011-05-26 15:40:21 -07:00
Alexander Huemer a2d4ed5c71 configure.ac: use AM_SILENT_RULES if available
M_SILENT_RULES improves readability of the messages emitted by make,
compiler warnings are easier to spot.

Available since automake-1.11, ignored on earlier versions.

Traditional verbose output can be forced by
"./configure --disable-silent-rules" or "make V=1"

Written-by: Alexander Huemer <alexander.huemer@xx.vu>
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-05-23 19:04:50 +02:00
Thomas Tsou 90d7633583 uhd: add 52 MHz transceiver support
These are mostly identical changes as added to the non-52MHz
implementation with the exception of sample rate.

Signed-off-by: Thomas Tsou <ttsou@vt.edu>
2011-05-05 12:20:08 -04:00
Thomas Tsou f1ec79c540 Merge branch 'master' of git://openbts.git.sourceforge.net/gitroot/openbts/openbts
* 'master' of git://openbts.git.sourceforge.net/gitroot/openbts/openbts: (21 commits)
  Transceiver52M: Do not delete 'trx' on exit.
  common libs: Implemented ISLOGGING() macro to test whether given loglevel is going to be logged.
  common libs: Implemented BitVector::unhex() which reads a hex string into a BitVector.
  common libs: Lower log level for "setting log path to " message.
  common libs: Use gethostbyname2_r() instead of gethostbyname() if available.
  control: Save IMEI in TMSI table for informational purposes.
  sip: Set display name for To field in a SIP MESSAGE.
  control: Use std::string in TransactionEntry to ctore messaging payload.
  smqueue: Documentation fixes for sm_state enumeration in smqueue.
  gsm: Add 8-bit alphabet to enumeration of GSM alphabets.
  sip: More comments and minor code ordering in SIP::sip_message().
  smqueue: Fix compiler warning about char* and constant strings.
  Transceiver: correctly exit if USRP is not found.
  Transceiver52M: Fix wrong memcpy().
  Better safety checks in TMSIRecord::load().
  Zero file descriptors set before use.
  Remove unused variable in BitVector::hex().
  Move more code out of asserts.
  Don't put real code into assert().
  Fix a bug with Timeval difference calculation on 64-bit Linux.
  ...
2010-12-22 01:10:22 -05:00
Alexander Chemeris 80963d1ed9 common libs: Use gethostbyname2_r() instead of gethostbyname() if available.
gethostbyname() is not thread-safe. It's recommended to use gethostbyname_r() or gethostbyname2_r() instead.

(cherry picked from commit f27e9581cdb6837f83d0aab467f0e5f83e814e7b)
2010-12-21 18:11:14 +03:00
Thomas Tsou fb852969db uhd: add conditional build support
Transceiver can be built with UHD by specifiying the --with-uhd
option. Fractional sample rates are not supported by the USRP2
so Transceiver52M is not built.

Otherwise, the default GNU Radio USRP1 implementation is used.

Signed-off-by: Thomas Tsou <ttsou@vt.edu>
2010-11-17 01:44:38 -05:00
David A. Burgess fa179f74b7 Change license to AGPLv3. 2010-07-04 15:28:06 -07:00
David A. Burgess ecbaf97509 Initial import of OpenBTS 2.6 for a new public trunk. 2010-05-23 19:42:16 -07:00