From patchwork Thu Jul 18 02:51:36 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: 813926 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 9672E3612D for ; Thu, 18 Jul 2024 02:52:33 +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=1721271155; cv=none; b=V0GMFMs31/EkLsaBhFJa1ihkKUNH/aBqUf11xvUgdHjGd+cX4mpvZnmlitLaE0FwT6j8h8I1+AjAvEZTpkWcHjXIBWP6KpAlnvekyKxijqdkZtyN6sfEmWohZLz0U31jOkSZsItcWYiF3Iwb+vsTgjXDMQsF2sTM/RkoDv3lDi4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721271155; c=relaxed/simple; bh=8xNnd334E3sW3PDq939h6Iw4fRYgNttfRGLPTBZMrh4=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=IQ5C2rkUTPjgv+2ZSnlAZcSJ2QaUDBr9OSRuVpCcsXFCf8GPY4zU9jwRnK5s15C6AN7bXJI+gnCMApON9hkNO+sf4YwsXqwtjjl4wcwvuGA6Xy2ea1A3QRwW2OzztE6CIHZoxzRmazcZoLt25a3gtjJB1AAIDcRtbZiKLFgEYNc= 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=BKzH1BMq; 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="BKzH1BMq" X-SpamFilter-By: ArmorX SpamTrap 5.78 with qID 46I2qVNH12860467, This message is accepted by code: ctloc85258 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=realtek.com; s=dkim; t=1721271151; bh=8xNnd334E3sW3PDq939h6Iw4fRYgNttfRGLPTBZMrh4=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Transfer-Encoding:Content-Type; b=BKzH1BMqxbn5xEaw6Mvdrq+fRSepvi27T4JrWqxVe4lxObpVHTNJF5pP6342JIpmU K0ytkSllD+Ob2REeIDtv6ndN/OFszSFfEczLxBGaSaJl4sFIK618TRwGUf/Kg7ZaUA lbwC2dOOkzwuE6N1pWgrxeR1rUomFMAM2quZZJCEsurVmXTTfMp4QcClM79PKQISYf kzSdbP3WKtrVeSgiOwXNt1ZYIb0/W2QXx0nc7dYN0EGgb9pwwOR4Pm9XfWkZZQGsxr sgG1nI4NYlqjcWIiYIgtKvAIFH4q3KUXCX/jrNKhdmr23JluFARb98AKAi532qzBmJ ZjgrZgjPjd38A== 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 46I2qVNH12860467 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Thu, 18 Jul 2024 10:52:31 +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; Thu, 18 Jul 2024 10:52:31 +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; Thu, 18 Jul 2024 10:52:31 +0800 From: Ping-Ke Shih To: Subject: [PATCH 4/6] wifi: rtw89: 8852bt: declare firmware features of RTL8852BT Date: Thu, 18 Jul 2024 10:51:36 +0800 Message-ID: <20240718025138.18777-5-pkshih@realtek.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240718025138.18777-1-pkshih@realtek.com> References: <20240718025138.18777-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 --- 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),