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

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

flat view

From: Oleksij Rempel <o.rempel@pengutronix.de>
Date: 2021-07-15 03:59:55

On Thu, Jul 15, 2021 at 03:33:47AM +0000, Pkshih wrote:
quoted
-----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
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.
Sounds good :)

Regards,
Oleksij
-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help