aboutsummaryrefslogtreecommitdiffstats
path: root/Transceiver52M/radioInterface.h
diff options
context:
space:
mode:
authorkurtis.heimerl <kurtis.heimerl@19bc5d8c-e614-43d4-8b26-e1612bc8e597>2011-11-26 03:18:05 +0000
committerkurtis.heimerl <kurtis.heimerl@19bc5d8c-e614-43d4-8b26-e1612bc8e597>2011-11-26 03:18:05 +0000
commitee5347af4004831ed38781b52a62a84ed9d3a076 (patch)
treee71f3d9b4e034ec6efc539762b8d34e693c9c858 /Transceiver52M/radioInterface.h
parent495d3c8b0cf598ea31f941d1465ba371f73358f8 (diff)
transceiver: reinsert digital gain scaling
Commit e161523c (transceiver: simplify transmit power control) changed transmit gain control to RF setting only. This was appropriate for a WBX board with 25 dB of gain control, but inappropriate for an RFX with fixed transmit gain. RFX boards will regain the ability to set transmit attenuation. Since gain is set on the RF side first, reintroducing digital gain settings should have limited overall effect on non-RFX daughterboards. Signed-off-by: Thomas Tsou <ttsou@vt.edu> git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@2660 19bc5d8c-e614-43d4-8b26-e1612bc8e597
Diffstat (limited to 'Transceiver52M/radioInterface.h')
-rw-r--r--Transceiver52M/radioInterface.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Transceiver52M/radioInterface.h b/Transceiver52M/radioInterface.h
index d19f88d..71273b3 100644
--- a/Transceiver52M/radioInterface.h
+++ b/Transceiver52M/radioInterface.h
@@ -157,7 +157,10 @@ private:
signalVector *finalVec, *finalVec9;
/** format samples to USRP */
- short *radioifyVector(signalVector &wVector, short *shortVector, bool zeroOut);
+ short *radioifyVector(signalVector &wVector,
+ short *shortVector,
+ float scale,
+ bool zeroOut);
/** format samples from USRP */
void unRadioifyVector(short *shortVector, signalVector &wVector);