]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: rtw89: rtw8852b{t}: fix TSSI debug timestamps
authorDmitry Antipov <dmantipov@yandex.ru>
Thu, 13 Feb 2025 09:50:06 +0000 (12:50 +0300)
committerPing-Ke Shih <pkshih@realtek.com>
Fri, 21 Feb 2025 01:29:31 +0000 (09:29 +0800)
commitbfc8e71ef6b7913f0129aff47951cab73a175259
tree6ac526c0e53da7327efadd3db5ae4b4b0411f05e
parent80c4668d024ff7b5427d90b5fad655ce9461c7b1
wifi: rtw89: rtw8852b{t}: fix TSSI debug timestamps

Since the vendor driver is claimed to measure 'tssi_alimk_time' of
'struct rtw89_tssi_info' in microseconds, adjust rtw8852b{t}-specific
'_tssi_alimentk()' to not mess the former with nanoseconds and print
both per-call and accumulated times. Compile tested only.

Fixes: 7f18a70d7b4d ("wifi: rtw89: 8852b: rfk: add TSSI")
Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20250213095006.1308810-1-dmantipov@yandex.ru
drivers/net/wireless/realtek/rtw89/core.h
drivers/net/wireless/realtek/rtw89/rtw8852b_rfk.c
drivers/net/wireless/realtek/rtw89/rtw8852bt_rfk.c