From 7ac54b10d3373865cddd0f2e3821b0346cb9dd7c Mon Sep 17 00:00:00 2001 From: "kurtis.heimerl" Date: Sat, 26 Nov 2011 03:17:49 +0000 Subject: transceiver: simplify transmit power control UHD will internally accept floats with a range of +/-1.0, which corresponds to a 16-bit signed integer range of apporximately +/- 32000. Set the default amplitude to .3, which is a safe value agaist saturation elsewhere in the transmit chain. The non-UHD maximum amplitude is unchanged at 13500. Remove digital gain control because it's unnecessary and causes extra load on enbedded systems. Signed-off-by: Thomas Tsou git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@2654 19bc5d8c-e614-43d4-8b26-e1612bc8e597 --- Transceiver52M/radioInterface.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Transceiver52M/radioInterface.h') diff --git a/Transceiver52M/radioInterface.h b/Transceiver52M/radioInterface.h index 090b296..d19f88d 100644 --- a/Transceiver52M/radioInterface.h +++ b/Transceiver52M/radioInterface.h @@ -157,7 +157,7 @@ private: signalVector *finalVec, *finalVec9; /** format samples to USRP */ - short *radioifyVector(signalVector &wVector, short *shortVector, double scale, bool zeroOut); + short *radioifyVector(signalVector &wVector, short *shortVector, bool zeroOut); /** format samples from USRP */ void unRadioifyVector(short *shortVector, signalVector &wVector); -- cgit v1.2.3