summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChing-Te Ku <ku920601@realtek.com>2026-07-24 21:56:34 +0800
committerPing-Ke Shih <pkshih@realtek.com>2026-07-30 10:37:01 +0800
commit528e5e1d78253136ea1b6f400f09db956476dba3 (patch)
tree0fe2bf5c48b71a423ccce1cbea3fd7d751600ea2
parent5c90259b9748f3a75522cbd3da33f55b203752e2 (diff)
downloadlinux-528e5e1d78253136ea1b6f400f09db956476dba3.tar.gz
linux-528e5e1d78253136ea1b6f400f09db956476dba3.zip
wifi: rtw89: coex: Refine RF calibration notify flow
BT-coexistence only needs to record RF calibration is doing or not, don't need to record the status of the calibration steps. Signed-off-by: Ching-Te Ku <ku920601@realtek.com> Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Link: https://patch.msgid.link/20260724135640.3195044-9-pkshih@realtek.com
-rw-r--r--drivers/net/wireless/realtek/rtw89/coex.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/wireless/realtek/rtw89/coex.c b/drivers/net/wireless/realtek/rtw89/coex.c
index 96ec5fa20422..187e7e70e86d 100644
--- a/drivers/net/wireless/realtek/rtw89/coex.c
+++ b/drivers/net/wireless/realtek/rtw89/coex.c
@@ -9144,14 +9144,13 @@ static bool _ntfy_wl_rfk(struct rtw89_dev *rtwdev, u8 phy_path,
wl->rfk_info.state = BTC_WRFK_START;
btc->cx.wl.wcnt[BTC_WCNT_RFK_REQ]++;
- btc->cx.wl.wcnt[BTC_WCNT_RFK_GO]++;
btc->dm.cnt_notify[BTC_NCNT_WL_RFK]++;
_write_scbd(rtwdev, BTC_ALL_BT, BTC_WSCB_WLRFK, true);
break;
case BTC_WRFK_ONESHOT_START:
case BTC_WRFK_ONESHOT_STOP:
- wl->rfk_info.state = state;
+ btc->cx.wl.wcnt[BTC_WCNT_RFK_GO]++;
if (type != BTC_WRFKT_RXDCK)
return BTC_WRFK_ALLOW;
break;
@@ -9165,7 +9164,7 @@ static bool _ntfy_wl_rfk(struct rtw89_dev *rtwdev, u8 phy_path,
default:
rtw89_debug(rtwdev, RTW89_DBG_BTC,
"[BTC], %s() warning state=%d\n", __func__, state);
- break;
+ return result;
}
if (result == BTC_WRFK_ALLOW) {