From patchwork Fri Jun 6 02:02:57 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ping-Ke Shih X-Patchwork-Id: 894702 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1E4C71C700D for ; Fri, 6 Jun 2025 02:03:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=211.75.126.72 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749175408; cv=none; b=mgRXlfHojpvU2gNivte5dALC8ZIvkbTfEujavHuGta8U7mEthR5qSfi5ovHRvzGgOaueiOGlrbOZ/HfM+/+CgJyGD6jHPiCzO0ALsMiD/u2/JzWySU9r7MpI881baud4g3sy8Knq4Pj4e6HTn6lUVBL3aIseT8UTp3JqcoynwAw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749175408; c=relaxed/simple; bh=WHLIW/BwIfpNeC79XayKwtAxQGsjDjb976r59u6w1xc=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=c9KuTL5q1xly0AsAy6iBAl7X+0Q5yXvl25veLwMYirwFnKppxL10+kmkOTak/d5q2Py9E6jnJkVc9OhI52WFNl78pNmZk5G8Leky0n8YtvoxOvlWtDDp3pjtMbqL9D9IPr/9Nrc2mD5hGHPtdSv2dYuZbsuD0ZrxHjkp9iQbCvw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=realtek.com; spf=pass smtp.mailfrom=realtek.com; dkim=pass (2048-bit key) header.d=realtek.com header.i=@realtek.com header.b=HuxGWJMh; arc=none smtp.client-ip=211.75.126.72 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=realtek.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=realtek.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=realtek.com header.i=@realtek.com header.b="HuxGWJMh" X-SpamFilter-By: ArmorX SpamTrap 5.80 with qID 55623OfJ42620766, This message is accepted by code: ctloc85258 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=realtek.com; s=dkim; t=1749175404; bh=VUeJ2pkdAFneXgRhT4eWP8EH2kH9TNWj3zU2wpGPT3A=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Transfer-Encoding:Content-Type; b=HuxGWJMhMdwskiOrdZDblTjNkolz+NwcfLlHYANaBg39oHf4EKiT3Uex0UQJnNMhH 2AHA9p2l34J/cH+Ws4cIPGkUi6FXozv4Nt5FybiPsSeJRhqSLNQxVBiJUtNkf80Hmm DYa1xJj8WBwS1HRTR0Wd01kYrWxOuMvDmfY5+TMORvrS3SF2o9CLldbUFgdmFCFp2A jt2tgB51uSzUQ+ccGwMViHW4cx9ADOpv1NppQi9fJ/Zx4DaT2jsFXjchfreQDyCbBP Is2XIG7icAH1V/JhknBqTMHWnstNE1G5cEKltBRJzVMN3Yjj/KTD58DHqEPWsx92v2 CXxvbCY37a19g== Received: from mail.realtek.com (rtexh36506.realtek.com.tw[172.21.6.27]) by rtits2.realtek.com.tw (8.15.2/3.13/5.93) with ESMTPS id 55623OfJ42620766 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Fri, 6 Jun 2025 10:03:24 +0800 Received: from RTEXDAG02.realtek.com.tw (172.21.6.101) by RTEXH36506.realtek.com.tw (172.21.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Fri, 6 Jun 2025 10:03:23 +0800 Received: from [127.0.1.1] (172.21.69.94) by RTEXDAG02.realtek.com.tw (172.21.6.101) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Fri, 6 Jun 2025 10:03:23 +0800 From: Ping-Ke Shih To: CC: , Subject: [PATCH rtw-next 1/6] wifi: rtw89: 8852c: increase beacon loss to 6 seconds Date: Fri, 6 Jun 2025 10:02:57 +0800 Message-ID: <20250606020302.16873-2-pkshih@realtek.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20250606020302.16873-1-pkshih@realtek.com> References: <20250606020302.16873-1-pkshih@realtek.com> Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: RTEXMBS02.realtek.com.tw (172.21.6.95) To RTEXDAG02.realtek.com.tw (172.21.6.101) From: Kuan-Chung Chen Intermittent beacon loss from a specific AP causes the connection to be lost. Increasing the beacon loss count can make the connection more stable. Signed-off-by: Kuan-Chung Chen Signed-off-by: Ping-Ke Shih --- drivers/net/wireless/realtek/rtw89/fw.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wireless/realtek/rtw89/fw.c b/drivers/net/wireless/realtek/rtw89/fw.c index 00b65b2995cf..36147040c35b 100644 --- a/drivers/net/wireless/realtek/rtw89/fw.c +++ b/drivers/net/wireless/realtek/rtw89/fw.c @@ -838,6 +838,7 @@ static const struct __fw_feat_cfg fw_feat_tbl[] = { __CFG_FW_FEAT(RTL8852C, ge, 0, 27, 40, 0, CRASH_TRIGGER), __CFG_FW_FEAT(RTL8852C, ge, 0, 27, 56, 10, BEACON_FILTER), __CFG_FW_FEAT(RTL8852C, ge, 0, 27, 80, 0, WOW_REASON_V1), + __CFG_FW_FEAT(RTL8852C, ge, 0, 27, 128, 0, BEACON_LOSS_COUNT_V1), __CFG_FW_FEAT(RTL8922A, ge, 0, 34, 30, 0, CRASH_TRIGGER), __CFG_FW_FEAT(RTL8922A, ge, 0, 34, 11, 0, MACID_PAUSE_SLEEP), __CFG_FW_FEAT(RTL8922A, ge, 0, 34, 35, 0, SCAN_OFFLOAD),