From patchwork Sat Jul 20 02:13:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ping-Ke Shih X-Patchwork-Id: 813910 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 8747CB661 for ; Sat, 20 Jul 2024 02:14:43 +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=1721441685; cv=none; b=T1MxKYACCJG51p1jeERFNET4twUXj26dqi1l+LXjPAtO3rH/Pcg6p8n7AFnJ+UWdoe47ojBY1iM465CD5bRbmS41NYBi25YhGPin3Ex/ywp1tptBLCD+Y8xF1i8MFt6gVnBvid4kv7m+CxmydOCaV0bFUzzvSdY6QdqEGxCP6VQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721441685; c=relaxed/simple; bh=lpNi/LMTtH4PcD630aQHfSn66sPzHUlkUKe69HlH6Z8=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=UvMQyLvMj90iZZJY82etij+CHjxC+RptjbX4ICi8wFr2eV6qntcxoVq7ZuaWAOu0z08zl4Y0Q3rZvtTuLJPd1xb8NAYzt20FiQDAoU66oiFWfPtvpnv8wQsv9UWgB1/bPoQmYQd2dZ/sTuDAyPW9Jqb/08pMUhJappoQLUHceH0= 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=temperror (0-bit key) header.d=realtek.com header.i=@realtek.com header.b=GYgj2fXy; 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=temperror (0-bit key) header.d=realtek.com header.i=@realtek.com header.b="GYgj2fXy" X-SpamFilter-By: ArmorX SpamTrap 5.78 with qID 46K2EftfE1147869, This message is accepted by code: ctloc85258 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=realtek.com; s=dkim; t=1721441681; bh=lpNi/LMTtH4PcD630aQHfSn66sPzHUlkUKe69HlH6Z8=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Transfer-Encoding:Content-Type; b=GYgj2fXylsGap96vwTDX6hQMxQaNnj02jXAgu+iRgU7MlasvDIGQ2o5PxKYXDfRaO TGbxFFxDnzDrUIlgtJnj7e1yJquSgI3qZMuaZMxBCNpSuenFqckZf+ZzJ8iPdcmddV EFcKHQjnlcA5JeoDPRGYPXjku0HsfheBQ+VIrE8pwu8FYlxgUkO7vYO4sRQRdunoAB UhAVxaVYKPnfX2v3UB3oTkzd51DMXETGLGpO93gGBh0hvimZi3aTSWQK3qUmeeedjP S1OpvBUUlixkrO854pQFxJkqf/1iHYFO2U3LAcYCcqG5XHpzONs/iYMvDL9HHu5eM1 6zxscClLOaiHg== Received: from mail.realtek.com (rtexh36505.realtek.com.tw[172.21.6.25]) by rtits2.realtek.com.tw (8.15.2/3.02/5.92) with ESMTPS id 46K2EftfE1147869 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Sat, 20 Jul 2024 10:14:41 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXH36505.realtek.com.tw (172.21.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Sat, 20 Jul 2024 10:14:41 +0800 Received: from [127.0.1.1] (172.16.22.168) by RTEXMBS04.realtek.com.tw (172.21.6.97) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Sat, 20 Jul 2024 10:14:41 +0800 From: Ping-Ke Shih To: Subject: [PATCH v3 5/7] wifi: rtw89: 8852bt: declare firmware features of RTL8852BT Date: Sat, 20 Jul 2024 10:13:38 +0800 Message-ID: <20240720021340.12102-6-pkshih@realtek.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240720021340.12102-1-pkshih@realtek.com> References: <20240720021340.12102-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 RTEXMBS04.realtek.com.tw (172.21.6.97) Firmware features are enabled after being supported, including TX wake, firmware crash simulation, hardware scan. Signed-off-by: Ping-Ke Shih --- v3: no change v2: no change --- drivers/net/wireless/realtek/rtw89/fw.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/net/wireless/realtek/rtw89/fw.c b/drivers/net/wireless/realtek/rtw89/fw.c index fbe08c162b93..c83274950793 100644 --- a/drivers/net/wireless/realtek/rtw89/fw.c +++ b/drivers/net/wireless/realtek/rtw89/fw.c @@ -670,6 +670,10 @@ static const struct __fw_feat_cfg fw_feat_tbl[] = { __CFG_FW_FEAT(RTL8852B, ge, 0, 29, 26, 0, TX_WAKE), __CFG_FW_FEAT(RTL8852B, ge, 0, 29, 29, 0, CRASH_TRIGGER), __CFG_FW_FEAT(RTL8852B, ge, 0, 29, 29, 0, SCAN_OFFLOAD), + __CFG_FW_FEAT(RTL8852BT, ge, 0, 29, 74, 0, NO_LPS_PG), + __CFG_FW_FEAT(RTL8852BT, ge, 0, 29, 74, 0, TX_WAKE), + __CFG_FW_FEAT(RTL8852BT, ge, 0, 29, 90, 0, CRASH_TRIGGER), + __CFG_FW_FEAT(RTL8852BT, ge, 0, 29, 91, 0, SCAN_OFFLOAD), __CFG_FW_FEAT(RTL8852C, le, 0, 27, 33, 0, NO_DEEP_PS), __CFG_FW_FEAT(RTL8852C, ge, 0, 27, 34, 0, TX_WAKE), __CFG_FW_FEAT(RTL8852C, ge, 0, 27, 36, 0, SCAN_OFFLOAD),