uhd: set attenuation relative to max RF gain

Previously this was referenced off the the ad9862
PGA with a range from 0 to -20 dB. Instead base
the attenuation factor on the maximum total RF
gain returned by the device.

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

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