[rf] Adding rffe_set_gain() and rffe_get_gain() to get/set computed gain
authorAndreas Eversberg <jolly@eversberg.eu>
Sun, 17 Jul 2011 07:27:35 +0000 (09:27 +0200)
committerAndreas Eversberg <jolly@eversberg.eu>
Sun, 17 Jul 2011 07:27:35 +0000 (09:27 +0200)
commit065b6e35a35e290450f3a7e2958c11cd4fd25131
tree257b300e0c049714acc8af22342d9148ee673969
parente91dfa950e85d12cb35765670762906bbc6f0846
[rf] Adding rffe_set_gain() and rffe_get_gain() to get/set computed gain

rffe_compute_gain() is the new name for rffe_set_gain(). I needed to change
this, to solve the name collision with the rffe_set_gain() function, which
actually sets the absolute gain.

rffe_get_gain() will now read the absolute gain which has been computed by
rffe_compute_gain() or set by rffe_set_gain().
12 files changed:
src/target/firmware/apps/l1test/main.c
src/target/firmware/apps/layer1/main.c
src/target/firmware/board/compal/rffe_dualband.c
src/target/firmware/board/gta0x/rffe_gta0x_triband.c
src/target/firmware/board/pirelli_dpl10/rffe_dpl10_triband.c
src/target/firmware/include/rf/trf6151.h
src/target/firmware/include/rffe.h
src/target/firmware/layer1/prim_fbsb.c
src/target/firmware/layer1/prim_pm.c
src/target/firmware/layer1/prim_rx_nb.c
src/target/firmware/layer1/prim_tch.c
src/target/firmware/rf/trf6151.c