]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: rtw89: add support for negative values of dBm to linear conversion
authorKuan-Chung Chen <damon.chen@realtek.com>
Thu, 6 Mar 2025 02:11:40 +0000 (10:11 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Thu, 13 Mar 2025 00:40:00 +0000 (08:40 +0800)
commit3df4583ae0cf3c93e4e3d6990566e1f7fe669bdf
tree3b8b4aef37f9ba3eb8b330841f377d3d642e958d
parent3218f5bd8e2e4abc156493f8121b8db53b49ee9e
wifi: rtw89: add support for negative values of dBm to linear conversion

Enhanced the dBm to linear conversion function to accommodate negative
dBm values and improved the precision from 1 dBm to 0.25 dBm.

Signed-off-by: Kuan-Chung Chen <damon.chen@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20250306021144.12854-2-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/rtw8852b_common.c
drivers/net/wireless/realtek/rtw89/util.c
drivers/net/wireless/realtek/rtw89/util.h