diff options
author | Felix Fietkau <nbd@nbd.name> | 2020-02-11 21:00:56 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2020-02-14 10:06:09 +0100 |
commit | 07cda406308b7d11cb77c406044b52752049e78d (patch) | |
tree | cb9b66f7cbf44233af2dc4544f961bd5e04100a2 /lib/mpi/mpi-cmp.c | |
parent | 049019c2a07d7b6c86fff9885cb96ab3095f6583 (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