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>
This commit is contained in:
Felix Fietkau 2020-02-11 21:00:56 +01:00
commit 07cda40630
4 changed files with 15 additions and 36 deletions