From patchwork Fri Jul 19 06:24:12 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: 13736915 X-Patchwork-Delegate: pkshih@realtek.com 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 A29064AEEA for ; Fri, 19 Jul 2024 06:25:06 +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=1721370308; cv=none; b=HjYc2b4RwMWz7LitUi6Ld0SeEG/SPrm5Kg3Od3NeW+cJdBycje0HjMwNfjaLbYmcMCzRNEscvLL9+9SEMZVlDF+tPhVjWMJoRWIrJ4c7MvUrNWsbwbC1IQt+oNGsH9DuTxzxseXVcqgcJXLnso/QayJ72hj/dpilcQ/5hM1rH8U= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721370308; c=relaxed/simple; bh=yb2HdQ27aiYIVxXqHTpM/WhFenWWiu7wvu73Mf4bDk8=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=SSb2Yt5FBQ5FHEKdr0NurYh9/BWXOsKjwIlgFR/xbBneyAP4gM9kxcclkDvtcOr+y9gC2G+cVjOfxzfgnPGlApP4gynnnGWVYKU4WBEFGJtmVjtEA2mL8Uy6xTRP31LZVTMMAaixUSoKV0CQHseDb2VoRhrGNm4fZqpAFkvqTwY= 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=BNoRTs7r; 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="BNoRTs7r" X-SpamFilter-By: ArmorX SpamTrap 5.78 with qID 46J6P4bA4182650, This message is accepted by code: ctloc85258 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=realtek.com; s=dkim; t=1721370304; bh=yb2HdQ27aiYIVxXqHTpM/WhFenWWiu7wvu73Mf4bDk8=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Transfer-Encoding:Content-Type; b=BNoRTs7rfioRxPxTvC9n2APsXZG+V7k8TOWEkXY03WrmO7aJaTFRnkjn06OhWI5Qc KfrtDrU5XOKQ9hgUPMF6Zg5YbQVX9zSRN+6hC82FvMIKtttYU2Y4JLzV+Oeb2KBI10 70kqUP7InjvWXL8nNzPnrUiz3PJB2e9hXFbeP/rRieZxeAgtnizb0JLzUGFHSKosQ2 vvI3nq7s6Bht72hZqgdveFAMKqGHA6MAINZZEv4A1kuODFjd/PGgOpHML01Wl8gPzm fgJYj5Ua/Xx0xbs8oIGsvJFyQ3x6EnPnVJfje5ho4UwpyHMW1j3cUQ0zxLwQvk06NB nvP3oEBUa//aQ== Received: from mail.realtek.com (rtexh36506.realtek.com.tw[172.21.6.27]) by rtits2.realtek.com.tw (8.15.2/3.02/5.92) with ESMTPS id 46J6P4bA4182650 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Fri, 19 Jul 2024 14:25:04 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) 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, 19 Jul 2024 14:25:04 +0800 Received: from [127.0.1.1] (172.21.69.94) 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; Fri, 19 Jul 2024 14:25:04 +0800 From: Ping-Ke Shih To: Subject: [PATCH v2 4/6] wifi: rtw89: 8852bt: declare firmware features of RTL8852BT Date: Fri, 19 Jul 2024 14:24:12 +0800 Message-ID: <20240719062414.21953-5-pkshih@realtek.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240719062414.21953-1-pkshih@realtek.com> References: <20240719062414.21953-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 --- 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),