]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: rtw89: phy: support env_monitor per PHY
authorPing-Ke Shih <pkshih@realtek.com>
Fri, 17 Jan 2025 07:28:23 +0000 (15:28 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Mon, 3 Feb 2025 01:49:24 +0000 (09:49 +0800)
commit11a625160a32243001b6c773a671dcacdd56c038
treeeb3fd1cb8b14fe76da2ebba2f2e4fbe13cf56b0b
parent57a6cdf2feaf864903b88ae03fe9e0d56cdbd0ee
wifi: rtw89: phy: support env_monitor per PHY

The env_monitor is to collect information of current operating channel as
helper to make decision with better hardware parameters to adopt current
environment.

Use PHY context as argument to control PHY accordingly, and use
rtw89_phy_{write32,read32}_idx with phy_idx to access registers.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20250117072828.16728-4-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/core.h
drivers/net/wireless/realtek/rtw89/phy.c
drivers/net/wireless/realtek/rtw89/sar.c