From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 327CEE810DF for ; Thu, 28 Sep 2023 02:18:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229493AbjI1CSz convert rfc822-to-8bit (ORCPT ); Wed, 27 Sep 2023 22:18:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50910 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229704AbjI1CSz (ORCPT ); Wed, 27 Sep 2023 22:18:55 -0400 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D45E1B3 for ; Wed, 27 Sep 2023 19:18:51 -0700 (PDT) X-SpamFilter-By: ArmorX SpamTrap 5.78 with qID 38S2Ial563161749, 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.92/5.92) with ESMTPS id 38S2Ial563161749 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 28 Sep 2023 10:18:36 +0800 Received: from RTEXDAG01.realtek.com.tw (172.21.6.100) 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; Thu, 28 Sep 2023 10:18:37 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXDAG01.realtek.com.tw (172.21.6.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.7; Thu, 28 Sep 2023 10:18:36 +0800 Received: from RTEXMBS04.realtek.com.tw ([fe80::7445:d92b:d0b3:f79c]) by RTEXMBS04.realtek.com.tw ([fe80::7445:d92b:d0b3:f79c%5]) with mapi id 15.01.2375.007; Thu, 28 Sep 2023 10:18:36 +0800 From: Ping-Ke Shih To: Dmitry Antipov CC: Kalle Valo , "linux-wireless@vger.kernel.org" Subject: RE: [PATCH] wifi: rtlwifi: fix EDCA limit to set Thread-Topic: [PATCH] wifi: rtlwifi: fix EDCA limit to set Thread-Index: AQHZ8Uv4BCJ+ZAYsvEy9EerWLD3S4LAvY1/A Date: Thu, 28 Sep 2023 02:18:36 +0000 Message-ID: <1dc8ba8d0c93465a92fbfe4293c2c136@realtek.com> References: <20230927140513.16065-1-dmantipov@yandex.ru> In-Reply-To: <20230927140513.16065-1-dmantipov@yandex.ru> Accept-Language: en-US, zh-TW Content-Language: zh-TW x-originating-ip: [172.21.69.25] x-kse-serverinfo: RTEXDAG01.realtek.com.tw, 9 x-kse-antispam-interceptor-info: fallback x-kse-antivirus-interceptor-info: fallback Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 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 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org > -----Original Message----- > From: Dmitry Antipov > Sent: Wednesday, September 27, 2023 10:05 PM > To: Ping-Ke Shih > Cc: Kalle Valo ; linux-wireless@vger.kernel.org; Dmitry Antipov > Subject: [PATCH] wifi: rtlwifi: fix EDCA limit to set "wifi: rtlwifi: 8192c: fix EDCA limit set by BT coexistence" would be clearer. > > In 'rtl92c_dm_check_edca_turbo()', most likely the DL limit should > be set from the corresponding field of 'rtlpriv->btcoexist' rather > than UL. Compile tested only. > > Fixes: beb5bc402043 ("rtlwifi: rtl8192c-common: Convert common dynamic management routines for addition > of rtl8192se and rtl8192de") > Signed-off-by: Dmitry Antipov Acked-by: Ping-Ke Shih > --- > drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c > b/drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c > index 0b6a15c2e5cc..d92aad60edfe 100644 > --- a/drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c > +++ b/drivers/net/wireless/realtek/rtlwifi/rtl8192c/dm_common.c > @@ -640,7 +640,7 @@ static void rtl92c_dm_check_edca_turbo(struct ieee80211_hw *hw) > } > > if (rtlpriv->btcoexist.bt_edca_dl != 0) { > - edca_be_ul = rtlpriv->btcoexist.bt_edca_dl; > + edca_be_dl = rtlpriv->btcoexist.bt_edca_dl; > bt_change_edca = true; > } > > -- > 2.41.0