aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2020-02-11 21:00:56 +0100
committerFelix Fietkau <nbd@nbd.name>2020-02-14 10:06:09 +0100
commit07cda406308b7d11cb77c406044b52752049e78d (patch)
treecb9b66f7cbf44233af2dc4544f961bd5e04100a2 /lib/mpi/mpi-cmp.c
parent049019c2a07d7b6c86fff9885cb96ab3095f6583 (diff)
mt76: fix rounding issues on converting per-chain and combined txpower
Unify code converting between the different txpower values. Always add/remove the combined txpower delta before dividing half-dB values. Also fix the combined txpower delta values. The correct half-dB delta for 3 chains is 9, not 8. Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions