Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1197403rwd; Thu, 25 May 2023 09:12:44 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ677jveBBmRU51avutO/OKOk46pDummKmHc1NW4Mbt1Lrsz/IlT9QYAfAWWwFk7smYzrgHR X-Received: by 2002:a17:90a:8cf:b0:24e:4cf8:235 with SMTP id 15-20020a17090a08cf00b0024e4cf80235mr2499744pjn.0.1685031164168; Thu, 25 May 2023 09:12:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685031164; cv=none; d=google.com; s=arc-20160816; b=NkMeazgLPzjMzApJ4R1PxKbJguWYrkfy21zNltes1TBFiJbF5BBbw8QfT25q9SyvTz WLQeTOXjwk3NwDvJtwRql8ug8Ym6yop6U5LEb3z2wMWIOn419Z2ih9NERICgPR7FSgzD ecKliCVPJjFJApSMgI5xggZxDTs79QYYOcETPNYghAUFPbvnLU+vGyea9bopaCHPXCp2 6g5j1BqXAV8zuptdRpd3TIeuHlP6/ARAoW0b0oue4J9IAKwJSlCEIEe2h3GtZexYvyh6 w6iXZx0ra3w6Kxoa3TtOMyiOpxTZ1MPzmwyHza4ha+2TlFX3Ijnis3aSb4jEz5gLr0Zp mmgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:message-id:user-agent:cc:to:references :in-reply-to:from:subject:content-transfer-encoding:mime-version :dkim-signature; bh=28dh1332X0lFH+HhpeWH4CK16ZegCGCbe2xraKTyTnc=; b=MUSHyTyIQgzNeYCkeYVjWGggkHWqRhOWJb6jfD9cVlz/s+xQlIvOZ0flsctMvPItrS 7Tj6cDLmQChgnDnGzK3r3ytJhZAeO0c7qmAqE3uKRfw7Oxjib3cdiWdBiURb5yYvrZJB iwT2VC1uf7I73PcR+t1xwppphUUt0CXEXn2pEOs0h24eTm3kVK4agSoTyjKa/4ce3Fm3 +oN3YCY9mB4LOKr2dg4XaTb9OE7vpg5GjA77GPlned/8LNzg881w4ujXoM7bv8sadP6/ gwiLKkr6+P5P9dfvK3PHLStqvmn6wX1wEn64FZ+RkWdqwF9q+EfHpqu+IhSBWnQbFcsa y9GA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=i5bVwC86; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nd17-20020a17090b4cd100b002560b9a0d44si902032pjb.167.2023.05.25.09.12.34; Thu, 25 May 2023 09:12: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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=i5bVwC86; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233178AbjEYQLr (ORCPT + 62 others); Thu, 25 May 2023 12:11:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55764 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233104AbjEYQLq (ORCPT ); Thu, 25 May 2023 12:11:46 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 09DF21B6 for ; Thu, 25 May 2023 09:11:15 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 2657164751 for ; Thu, 25 May 2023 16:11:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CF111C433EF; Thu, 25 May 2023 16:11:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1685031073; bh=dKI1coD7ah1DWH/RjD8YoJ1O3N0Fb39DzbMKepdNzlU=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=i5bVwC86FBXCGKMIijeVtd1HQz6NPZQhoIpkWR3C6wRGki/SRPyXsWbsRO8/yV4qZ aPahPm2elaCHzBGRgTLtAP4g8O9MbF20PqR/zXPNApxeSAvUJ2XXit9r8eQ7vy9WMh /1aPym7q0Tba08TlYA6FOjIimyHo9vZxzWg54fC3J2rl2iij8vO2JAQ3e2BWFIpeKA j3WEEaGokxxlv0I0rF38FYD2wwelzyol8dpOL0sGfEJLO0bh51qiHw3+eb2oXPf00P WZ4QNufxVchXZ1AWGOUlwV/GyBKLwNeL4lyd9aLvcht8onedHUv+wud8WaNLJ5wKH2 9J5ouDYhav29g== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH 1/3] wifi: rtw89: ser: reset total_sta_assoc and tdls_peer when L2 From: Kalle Valo In-Reply-To: <20230516082441.11154-2-pkshih@realtek.com> References: <20230516082441.11154-2-pkshih@realtek.com> To: Ping-Ke Shih Cc: , User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.7.3 Message-ID: <168503107072.22756.9472067177641035272.kvalo@kernel.org> Date: Thu, 25 May 2023 16:11:12 +0000 (UTC) X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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 Ping-Ke Shih wrote: > From: Zong-Zhe Yang > > The total_sta_assoc and the tdls_peer are used for statistics accodring > to stations' information. L2 (Level 2) SER (system error recovery) will > call ieee80211_restart_hw() which re-invokes sta_state ops. And then, > the total_sta_assoc and tdls_peer will be re-increased. In case wrong > statistics results, we reset them in SER L2 handling. > > Signed-off-by: Zong-Zhe Yang > Signed-off-by: Ping-Ke Shih 3 patches applied to wireless-next.git, thanks. cda66049bab5 wifi: rtw89: ser: reset total_sta_assoc and tdls_peer when L2 b79a84fbbdb0 wifi: rtw89: tweak H2C TX waiting function for SER 8b21c08ef7df wifi: rtw89: refine packet offload handling under SER -- https://patchwork.kernel.org/project/linux-wireless/patch/20230516082441.11154-2-pkshih@realtek.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches