* remote-cli: (22 commits)
Throw exception if usrp is not found. Don't crash transceiver.
Update OpenBTS init script
Correctly exit OpenBTS even if console is not started yet.
Add option to run OpenBTS in a failsafe loop.
Shutdown without core dump on a usual SocketError.
Remove Transceiver PID file on OpenBTS exit.
Save transceiver PID to a file and use it to kill old transceivers.
Correct comment for Server.WritePID.
Set FD_CLOEXEC flag on all sockets.
Stupid bug fixed - can't move stack variables initialization to a separate function.
Gracefully shutdown OpenBTS on transceiver timeout/error.
Make functions and variables in OpenBTS.cpp static to avoid their use outside of the file.
Remove PID file on program exit.
Implemented daemon mode, configured from config.
Better default name for OpenBTS control UNIX socket.
Initialize logger right after loading config file.
Use normal cout and cerr while we have only one thread.
Better comments for previous commit.
Catch SIGINT, SIGTERM and SIGHUP and shutdown the server gracefully.
Uncomment real BTS start/stop.
...
Transmit tuning was primarily setup for side A only. Some boards
- WBX - would still tune with improper channel arguments, though
receiver performance was disrupted.
Previous testing was primarily with single board on side A only
or dual configuration with side A transmit, so this bug largely
went undetected. Patch tested with RFX and WBX daughterboards
in single and dual configurations sides A and B.
Signed-off-by: Thomas Tsou <ttsou@vt.edu>
* dboard:
Transceiver52M: add WBX, DBSRX, and single board support
Transceiver: add WBX, DBSRX, and single board support
Conflicts:
public-trunk/Transceiver/radioInterface.cpp
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>
Remove all RFX specific parts and control daughterboard
functionality using the base API. The tuning is now set
to a non-inverted image so remove the I/Q swap as well.
Daughterboard configuration is set through an enum
variable. Currently, there is no auto-configuration and
the default is Tx/RX on sides A/B respectively. For
transceiver boards the receive antenna is set to RX2.
enum dboardConfigType {
TXA_RXB,
TXB_RXA,
TXA_RXA,
TXB_RXB
};
const dboardConfigType dboardConfig = TXA_RXB;
Signed-off-by: Thomas Tsou <ttsou@vt.edu>
Somehow it seems the author tought using ~ would set that bit to 0. But
it invert all bits and as such set all others to '1'.
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
This hack accidentally leaked in the release code ... but it prevents
tuning for certain ARFCN and reduces TX power.
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>