fw/layer1: Use dbm2rxlev instead of just '+110' so that overflows are handled
authorSylvain Munaut <tnt@246tNt.com>
Sun, 14 Nov 2010 15:08:08 +0000 (16:08 +0100)
committerSylvain Munaut <tnt@246tNt.com>
Sun, 14 Nov 2010 16:09:54 +0000 (17:09 +0100)
commit87b44798effc07a2a8d840d3ea4dacdf869f7469
treeaf822401526291ec0296c41aa508c567f55847c4
parent3a8e47430e6d5e266ff1ed2393d489e9453e22fa
fw/layer1: Use dbm2rxlev instead of just '+110' so that overflows are handled

Without this, we would sometime get +143 dBm reported ... which is obviously
false.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
src/target/firmware/layer1/prim_rx_nb.c
src/target/firmware/layer1/prim_tch.c