Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp400536rwd; Tue, 30 May 2023 23:10:34 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6q/0OvRF+BASEKgkoHUkPABH672ZO1OHRRLhPSW+1sSkVr42Ud2P7x/5tF5T1ZKv6uAhp4 X-Received: by 2002:a17:90a:ff17:b0:255:c5f7:ff3e with SMTP id ce23-20020a17090aff1700b00255c5f7ff3emr4813661pjb.4.1685513434593; Tue, 30 May 2023 23:10:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685513434; cv=none; d=google.com; s=arc-20160816; b=x44iFeS/JALLNiEa2br5a2RlKIi/Yyrsj1B56avMDSRPDtgJDazVI2L82468q2Gf3j dAkvcW0GRRP9UNnIx52JkFr7XJij+CuOnrPN2gRDPnUX5Z9zf7v5tPm99kASWdhyJJjn GJoj6QHdpSQDQX3LkVjUXv4CzR4uLLd3XreZLDxBFDt1dPP3QoVqTPCkafq+Jmzq9EQP Qyy0V+zXjvAhylszRELESBt9+BgEuDHazm0HbHkJ2KyaaXtOEI53ltc447ZjOP8EoDKk 18V85AcOMvz9n2q7j178RrV0MHrgppZuJk99ZViBuuENwRATQUsQmNZt71bz8AjLb8WF HgGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:authenticated-by; bh=ydH/C6nFr3rl6Qc7KmtH5ha+Fp6msf/dkI2+aGJx8iA=; b=ILryKbsJpSrpaeSzKujxF/bIsVP3UOwsmXLPpguzsrLq1dq+C2EYm5589Pwu1Q6KH6 v0ZAlEwRO1Y0lIaFVXKJB9vBaumTooGHpy8sPS03uL7MVjeBeFq2uSzTd5IuKr55z6nF 9NZYhLtkt7rJ1RHqrd5zlOdV0JIQxs7EO293KSnoMaLP9qi01GmzYNDd0bRaJHwCDz0j 4OVCpq59pd7tTHLjmn90yhgskitq+JS2bKkB7XnX00ByltfqT2WYs+xWqpVO2DRMw1Ff BQV5jL+8rSYIjgXT8T6nCUaL1h2OqtVCMbxF/zrqsU1LPjbSnZKMX7Cf+NhiHR3RZrrw b0Iw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c11-20020a17090a8d0b00b0025620801ed4si462530pjo.1.2023.05.30.23.10.26; Tue, 30 May 2023 23:10:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234373AbjEaGIZ (ORCPT + 64 others); Wed, 31 May 2023 02:08:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60556 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234376AbjEaGIJ (ORCPT ); Wed, 31 May 2023 02:08:09 -0400 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 544C3E60 for ; Tue, 30 May 2023 23:07:47 -0700 (PDT) Authenticated-By: X-SpamFilter-By: ArmorX SpamTrap 5.77 with qID 34V67OAZ0025588, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexh36506.realtek.com.tw[172.21.6.27]) by rtits2.realtek.com.tw (8.15.2/2.81/5.90) with ESMTPS id 34V67OAZ0025588 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=OK); Wed, 31 May 2023 14:07:24 +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_128_GCM_SHA256) id 15.1.2507.17; Wed, 31 May 2023 14:07:37 +0800 Received: from [127.0.1.1] (172.21.69.188) by RTEXMBS04.realtek.com.tw (172.21.6.97) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.7; Wed, 31 May 2023 14:07:37 +0800 From: Ping-Ke Shih To: CC: , , Subject: [PATCH 0/4] wifi: rtw89: 8851b: enable firmware features of hw_scan and crash_trigger Date: Wed, 31 May 2023 14:07:09 +0800 Message-ID: <20230531060713.57203-1-pkshih@realtek.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [172.21.69.188] X-ClientProxiedBy: RTEXMBS02.realtek.com.tw (172.21.6.95) To RTEXMBS04.realtek.com.tw (172.21.6.97) X-KSE-ServerInfo: RTEXMBS04.realtek.com.tw, 9 X-KSE-AntiSpam-Interceptor-Info: fallback X-KSE-Antivirus-Interceptor-Info: fallback X-KSE-AntiSpam-Interceptor-Info: fallback X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org After verification, we can enable hw_scan and crash_trigger simulation by this patchset. During verification of crash_trigger simulation (patch 4/4), we find that driver doesn't configure TX power properly in certain situation, so refine debugfs entry by patch 2/4 and correct TX power by patch 3/4. Po-Hao Huang (1): wifi: rtw89: 8851b: enable hw_scan support Zong-Zhe Yang (3): wifi: rtw89: debug: txpwr table access only valid page according to chip wifi: rtw89: set TX power without precondition during setting channel wifi: rtw89: 8851b: configure CRASH_TRIGGER feature for 8851B drivers/net/wireless/realtek/rtw89/core.c | 5 ++--- drivers/net/wireless/realtek/rtw89/debug.c | 13 ++++++++++++- drivers/net/wireless/realtek/rtw89/fw.c | 2 ++ drivers/net/wireless/realtek/rtw89/fw.h | 2 +- drivers/net/wireless/realtek/rtw89/reg.h | 6 ++++++ 5 files changed, 23 insertions(+), 5 deletions(-) -- 2.25.1