Thread (62 messages) 62 messages, 7 authors, 2021-07-16

RE: [PATCH 14/24] rtw89: 8852a: add 8852a RFK files

From: Pkshih <pkshih@realtek.com>
Date: 2021-07-15 03:34:17

-----Original Message-----
From: Pkshih
Sent: Monday, July 12, 2021 2:24 PM
To: 'Oleksij Rempel'
Cc: kvalo@codeaurora.org; linux-wireless@vger.kernel.org
Subject: RE: [PATCH 14/24] rtw89: 8852a: add 8852a RFK files
[...]
quoted
quoted
+	rtw89_debug(rtwdev, RTW89_DBG_TSSI, "[TSSI] %s: phy=%d\n",
+		    __func__, phy);
+
+	if (!rtwdev->is_tssi_mode[RF_PATH_A])
+		return;
+	if (!rtwdev->is_tssi_mode[RF_PATH_B])
+		return;
+
+	_tssi_disable(rtwdev, phy);
+
+	for (i = RF_PATH_A; i < RF_PATH_NUM_8852A; i++) {
+		_tssi_rf_setting(rtwdev, phy, i);
+		_tssi_set_sys(rtwdev, phy);
+		_tssi_set_tmeter_tbl(rtwdev, phy, i);
+		_tssi_pak(rtwdev, phy, i);
+	}
+
+	_tssi_enable(rtwdev, phy);
+	_tssi_set_efuse_to_de(rtwdev, phy);
+}
+
+void rtw8852a_tssi_track(struct rtw89_dev *rtwdev)
+{
+	_tssi_track(rtwdev);
+}
rtw8852a_tssi_track() is not used
I'll check TSSI owner.
Will remove it if we don't need it, or call it if necessary.
I have confirmed with TSSI owner; we'll call it from rtw8852a_rfk_track().
Thanks for the catch.

--
Ping-Ke
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help