Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1899788rwd; Thu, 18 May 2023 20:19:27 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ54T0icBwwiIYJ9ul0gKDPSh9nZeCMZU10qOCsYoaapscdP//T5RTVgr+3hyahnVCqCTcKw X-Received: by 2002:a05:6a20:c193:b0:100:b8fc:8c6c with SMTP id bg19-20020a056a20c19300b00100b8fc8c6cmr665703pzb.19.1684466367419; Thu, 18 May 2023 20:19:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684466367; cv=none; d=google.com; s=arc-20160816; b=EKKap88I1SEaiTX7siY/qrblWjwZVU2OWCO8O3kwy38ATuoGYcBdgqtATH8rt3dPaQ VUC+51bOgMIUnZr31/YeLhcdddI9KbLRExiS9mTkD0yj7+3SmL+rc4lpF6mKhClUX0FG E+Q6aj39oGcMJrFUW9F/0PByi/9x9NYS8P4jL+ti9IUh52Z4WxrypslH1p8BVbVNoiZ7 AI8CD0+2zi4xlCsuZqev8LM8eBWWEjmIHRof+TJIqEDD9JJ4RQLJKVHWX3yuS2x/IVYM Z9GiJARPBEHJOY6cRsS/mPKU9vIKu+sB2272RFgJ57KEG4ILw0KhPGBAjeH28/9kzg91 76Wg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :authenticated-by; bh=bU7O3QGegEmGEJyye55ElhAnNihNxnD2ZBZovOTZ76M=; b=c8OLKl87f1k/hPOUhhzkTIXLTOb1PCwpo3GClVtNA6D7OW2pNgxlPZfHwcjcXPJq3M ktoSj6pvHdIDUfEcmQnbLnNk44fWdpan21IAJ63c1dCLadD0DMf8bCKFTKKtHmPPVH0O hXJOrGahzpQ5k+3I/67+FnkaP/rE0cl/VMaVuyzKWiyphKvU0X7+nNLGvs/qmtey4Bgc 0Q40HEK8f0V41Q+Xaf9Kn+kTy9GlqNqRl7jAGJTh8rA/cCDsyB64lHulCdWjcyhNePbE Cq45crc5N0NPE5t4hO7rRIPo4gQVtD96NOUTj185/DbA5N0Px18CccrUmw0C5P3zBt0y OfrA== 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 z10-20020aa79f8a000000b00643aa8d8cb7si3161035pfr.185.2023.05.18.20.19.20; Thu, 18 May 2023 20:19:27 -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 S230235AbjESDP1 (ORCPT + 62 others); Thu, 18 May 2023 23:15:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58090 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229812AbjESDPZ (ORCPT ); Thu, 18 May 2023 23:15:25 -0400 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DEE6FA6 for ; Thu, 18 May 2023 20:15:23 -0700 (PDT) Authenticated-By: X-SpamFilter-By: ArmorX SpamTrap 5.77 with qID 34J3F8Qc8004536, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexh36505.realtek.com.tw[172.21.6.25]) by rtits2.realtek.com.tw (8.15.2/2.81/5.90) with ESMTPS id 34J3F8Qc8004536 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=OK); Fri, 19 May 2023 11:15:08 +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_128_GCM_SHA256) id 15.1.2375.32; Fri, 19 May 2023 11:15:18 +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; Fri, 19 May 2023 11:15:17 +0800 From: Ping-Ke Shih To: CC: , Subject: [PATCH 6/7] wifi: rtw89: add tx_wake notify for 8851B Date: Fri, 19 May 2023 11:14:59 +0800 Message-ID: <20230519031500.21087-7-pkshih@realtek.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230519031500.21087-1-pkshih@realtek.com> References: <20230519031500.21087-1-pkshih@realtek.com> 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-KSE-ServerInfo: RTEXH36505.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 From: Chin-Yen Lee 8851B has the same issue: management frames get stuck when WiFi chip enters low PS mode, so we also add notify wake function to trigger WiFi chip wake before forwarding management frames. Signed-off-by: Chin-Yen Lee 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 ad277f22b1973..918f7bcad7fea 100644 --- a/drivers/net/wireless/realtek/rtw89/fw.c +++ b/drivers/net/wireless/realtek/rtw89/fw.c @@ -256,6 +256,7 @@ struct __fw_feat_cfg { } static const struct __fw_feat_cfg fw_feat_tbl[] = { + __CFG_FW_FEAT(RTL8851B, ge, 0, 29, 37, 1, TX_WAKE), __CFG_FW_FEAT(RTL8852A, le, 0, 13, 29, 0, OLD_HT_RA_FORMAT), __CFG_FW_FEAT(RTL8852A, ge, 0, 13, 35, 0, SCAN_OFFLOAD), __CFG_FW_FEAT(RTL8852A, ge, 0, 13, 35, 0, TX_WAKE), -- 2.25.1