transceiver: fix bug in setting low-level attenuation

This patch fixes some confusion in gain vs. attenuation
setting. The UHD device is controlled through gain
settings but OpenBTS represents gain in terms of
attenuation relative to maximum - 0 dB attenuation.

Signed-off-by: Thomas Tsou <ttsou@vt.edu>

git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@2662 19bc5d8c-e614-43d4-8b26-e1612bc8e597
1 file changed
tree: 9abb6628321623619892eb7b3fbb0f825d189ea4
  1. CommonLibs/
  2. Transceiver52M/