Received: by 2002:a6b:7707:0:0:0:0:0 with SMTP id n7csp6952181iom; Wed, 25 May 2022 18:29:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwRLKVm2HlAunUqyNL0dWc0HSc9trptHYrj49WsWSdZfSkz4vKO17fcibyIA75ey4+sEW+w X-Received: by 2002:a17:907:9958:b0:6e7:f67a:a1e7 with SMTP id kl24-20020a170907995800b006e7f67aa1e7mr30208559ejc.400.1653528585003; Wed, 25 May 2022 18:29:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653528584; cv=none; d=google.com; s=arc-20160816; b=znwva4eCXw3ARyenvV6ly/UKuQTFOkV+Dh4/eEX0UKMCFDkU/1eExJQ3UK3CgggqnO 2xFnQ4XelGagkSLDzq3VPYCTWO26X0s+bSE7arzYJJWyR/88pgqXx11IorhCqA2mW8ut j8uJTAX6rp3pujWZKf0+6hwNs5OKDODmNN7s8UTbsXfRPn+z96dej0qIEE84a+xZNeZC N6PBLkW2AKnkZxRCbsYmZ2JbT76RHKuPyxR0UX3GxmRh93T1fsN5rGdr4/CASHf7gspJ 5z7XC+hmjEvoR64Lkx/wNARp9iLJB2yK9OaOctftl1Sp6i4+cTWoRL9Jd5c+5xQzZjW7 I8WA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:authenticated-by; bh=QlO0XJnCnvccWgoSmO3HpIS1p7eIUhPSIIyu39tSIQM=; b=G5+FNxcs8zMaXTim88CClQiVtbMEtRCTL466C5Sa4HxLU5MfoF8Dw+hNNO28eKX64H 9C4BKh4JerWBSjap/nUmryaf4NCLl3t5CtO6UNnWpL48BJWAVyY6KqHyMtoc8e7Q1Cnd 4Q8fN3G1yqgAd9U/JLkkENZ3/0f7lfA8ptlPfgKMVU1a4fUD9PedOzUVS0qhDRcMlHzX 7wAdFODX5arRoSn/nWSCCAC5D6/0pcGB0oJ/oz1TM+OWqxgyVkBnbtW2vae914gFFnuw IbfecEoMXATAfN8mpulMCsE3aTxIOOb4mQzgDrG/t7sNhvkDTLK2JVmb8wIw/5pjW64n Qy7w== 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 l16-20020a170906795000b006f4ab13f1desi316720ejo.122.2022.05.25.18.28.57; Wed, 25 May 2022 18:29:44 -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 S1346633AbiEZAER convert rfc822-to-8bit (ORCPT + 67 others); Wed, 25 May 2022 20:04:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40444 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346603AbiEZAEP (ORCPT ); Wed, 25 May 2022 20:04:15 -0400 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3312A4249A for ; Wed, 25 May 2022 17:04:10 -0700 (PDT) Authenticated-By: X-SpamFilter-By: ArmorX SpamTrap 5.73 with qID 24Q03rzfE011143, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexh36504.realtek.com.tw[172.21.6.27]) by rtits2.realtek.com.tw (8.15.2/2.71/5.88) with ESMTPS id 24Q03rzfE011143 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Thu, 26 May 2022 08:03:53 +0800 Received: from RTEXMBS06.realtek.com.tw (172.21.6.99) by RTEXH36504.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.2308.27; Thu, 26 May 2022 08:03:52 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXMBS06.realtek.com.tw (172.21.6.99) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Thu, 26 May 2022 08:03:52 +0800 Received: from RTEXMBS04.realtek.com.tw ([fe80::34e7:ab63:3da4:27c6]) by RTEXMBS04.realtek.com.tw ([fe80::34e7:ab63:3da4:27c6%5]) with mapi id 15.01.2308.021; Thu, 26 May 2022 08:03:52 +0800 From: Ping-Ke Shih To: =?iso-8859-2?Q?Ond=F8ej_Jirman?= CC: "tony0620emma@gmail.com" , "kvalo@kernel.org" , "linux-wireless@vger.kernel.org" , Bernie Huang Subject: RE: [PATCH 3/6] rtw88: Add update beacon flow for AP mode Thread-Topic: [PATCH 3/6] rtw88: Add update beacon flow for AP mode Thread-Index: AQHYSmYzKfcDpBas3E6lf9szC4Rq2K0v+8qAgACXDOA= Date: Thu, 26 May 2022 00:03:52 +0000 Message-ID: References: <20220407095858.46807-1-pkshih@realtek.com> <20220407095858.46807-4-pkshih@realtek.com> <20220525230121.zk6xdjycxdhe62nw@core> In-Reply-To: <20220525230121.zk6xdjycxdhe62nw@core> Accept-Language: en-US, zh-TW Content-Language: zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.21.69.188] x-kse-serverinfo: RTEXMBS06.realtek.com.tw, 9 x-kse-attachmentfiltering-interceptor-info: no applicable attachment filtering rules found x-kse-antivirus-interceptor-info: scan successful x-kse-antivirus-info: =?iso-8859-2?Q?Clean,_bases:_2022/5/25_=3F=3F_10:00:00?= x-kse-bulkmessagesfiltering-scan-result: protection disabled Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-KSE-ServerInfo: RTEXH36504.realtek.com.tw, 9 X-KSE-Attachment-Filter-Triggered-Rules: Clean X-KSE-Attachment-Filter-Triggered-Filters: Clean X-KSE-BulkMessagesFiltering-Scan-Result: protection disabled 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 > -----Original Message----- > From: Ond?ej Jirman > Sent: Thursday, May 26, 2022 7:01 AM > To: Ping-Ke Shih > Cc: tony0620emma@gmail.com; kvalo@kernel.org; linux-wireless@vger.kernel.org; Bernie Huang > > Subject: Re: [PATCH 3/6] rtw88: Add update beacon flow for AP mode > > Hello Ping-Ke, > > please see bugreport below: > > > > > +static int rtw_ops_set_tim(struct ieee80211_hw *hw, struct ieee80211_sta *sta, > > + bool set) > > +{ > > + struct rtw_dev *rtwdev = hw->priv; > > + > > + mutex_lock(&rtwdev->mutex); > > + rtw_fw_download_rsvd_page(rtwdev); > > + mutex_unlock(&rtwdev->mutex); > > set_tim is supposed to be atomic. See: > https://elixir.bootlin.com/linux/latest/source/include/net/mac80211.h#L3500 > Thanks for pointing out. We will fix it. Ping-Ke