]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
wifi: rtw89: report boottime of receiving beacon and probe response
authorZong-Zhe Yang <kevin_yang@realtek.com>
Wed, 18 Jun 2025 12:46:48 +0000 (20:46 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Tue, 24 Jun 2025 06:38:53 +0000 (14:38 +0800)
commitc2852b5a0575b0f9de7e6359b9725a5b074778f8
treee0aab98b150e5aebfdec4948aa8ac74191aa8a76
parent7e04f01bb94fe61c73cc59f0495c3b6c16a83231
wifi: rtw89: report boottime of receiving beacon and probe response

Userspace tools will parse NL80211_BSS_LAST_SEEN_BOOTTIME (if any) for a
more accurate timing when a BSS was seen. For example, iw, wpa_supplicant.
For beacon and probe response, fill RX boottime_ns in ieee80211_rx_status.
And for certain, it shouldn't count the waiting time for the PPDU status,
i.e. the possible buffering time of a frame in driver.

Signed-off-by: Zong-Zhe Yang <kevin_yang@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20250618124649.11436-6-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/core.c