wifi: rtw89: mac: add function to get TSF
authorZong-Zhe Yang <kevin_yang@realtek.com>
Thu, 19 Jan 2023 06:24:53 +0000 (14:24 +0800)
committerKalle Valo <kvalo@kernel.org>
Mon, 13 Feb 2023 17:04:59 +0000 (19:04 +0200)
commit76f478a34dafcee28165022b2f73d0ee1f0f47e5
treeec884bcc4a1bc3c110151dc8299dc6433774dc18
parent42db7edd5c0523b43a004779caf36e1ebac80b40
wifi: rtw89: mac: add function to get TSF

Add mac function rtw89_mac_port_get_tsf() to get TSF by port.
It will be used when MCC (multi-channel concurrency) calculates
timing things.

Signed-off-by: Zong-Zhe Yang <kevin_yang@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20230119062453.58341-4-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/mac.c
drivers/net/wireless/realtek/rtw89/mac.h