OSDN Git Service

rtw88: coex: change the decode method from firmware
authorChing-Te Ku <ku920601@realtek.com>
Thu, 12 Nov 2020 03:14:30 +0000 (11:14 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 24 Nov 2020 09:16:31 +0000 (11:16 +0200)
commit362c4a5cc886e9c369bf2106ab648c2ad076abb6
tree75506a7f0fd0aad940ed67f614c21b1dbd408fc1
parent2485bc7c781694b5a367cb70a6d2da81301310d2
rtw88: coex: change the decode method from firmware

Fix sometimes FW information will be parsed as wrong value,
do a correction of sign bit to show the correct information.
(Ex, Value should be 20, but it shows 236.)

Signed-off-by: Ching-Te Ku <ku920601@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20201112031430.4846-12-pkshih@realtek.com
drivers/net/wireless/realtek/rtw88/coex.c