wifi: rtw89: sar: correct TX power boundary for MAC domain
authorZong-Zhe Yang <kevin_yang@realtek.com>
Fri, 12 Apr 2024 11:57:22 +0000 (19:57 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Thu, 18 Apr 2024 01:09:01 +0000 (09:09 +0800)
commitdf0fa9d0d23ac7516d6baca5fecab21e539d00ec
tree464200f5697d65b5f709065ade25fc3b156e9eee
parentc6330b129786e267b14129335a08fa7c331c308d
wifi: rtw89: sar: correct TX power boundary for MAC domain

TX power in MAC domain is signed 7 bits. (unit: based on txpwr_factor_mac)
The valid range should be [-64, 63].

While the original wrong bounds might not really be encountered, still make
them correct.

Signed-off-by: Zong-Zhe Yang <kevin_yang@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://msgid.link/20240412115729.8316-2-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/sar.h