Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5640223pxj; Wed, 23 Jun 2021 06:00:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyLYcBINJN94lHO/pZyLXfUthxW0BwaATDODmMC+P6RdAB7fgrNf+eYpN60CYcqyaE6LuJg X-Received: by 2002:a05:6402:12d4:: with SMTP id k20mr12351078edx.344.1624453247705; Wed, 23 Jun 2021 06:00:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624453247; cv=none; d=google.com; s=arc-20160816; b=XADM4r0EqY2X8HFslzfmKpiiYRnHA1NqQ3Li/sA1BeN4JJXB4NiYSeTenE9rBJlObz lAzNcOseMsH7uCUZxys/LDlgCM8IdWL6Nmbw0T5W0Vxq6AxJ6167G1VRAGKN8A8u3mV0 UWdOu4DwlzvZXttBDSV86bURjZ5mhDXdbtPppxYvDA3hBa8ZmW24v1OCvwFOlSokxSdG F03mv9ZHDvINavYzwSfPrwJcSQ0xEi4Xfwe6RmPg+RR0u0nzsBPEwTtOUBm7BlNkvRO2 ui948tFmVbHLjR6a5XInfMNgygL5+zLhIVfTWe2EpIZIVxABM+YBCUHLWS5bVQjKItmu z5qQ== 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 :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=lL2VVUThEcMbjCoqjyIrlmrphOrEg2/IavnMrGGa/eg=; b=Y4KgcmrblsqH+41bdylJdp8vDW/w1A6IQ00itCzh0OQ5RFJqzaL3hytg6heyABOoR7 BpDJx4Bja0m9wJxTIS4imlTTkja4Wxf5GwHrAj0ynXus00HQhT9640cvtqDZEWmpL/2c O2O76FhNmcVVRooqjHCarOalNl9m7xgsqdBBFHiaznqvp+fGQs5uQrH00XhPkknl6O8k MnvEoSl00LVxQPMSNSN8W7l7P964dErVjU7s8QLuJdiobcBYsOr1bT4VxGEhgyA3OZH5 Oe06Z4koOeTmc6MeUImw4EONKNszXYaySCVtg43dLra8UAFJ5g8XRZF11RRYeAWZntnC k8sQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w22si21910627edv.331.2021.06.23.06.00.19; Wed, 23 Jun 2021 06:00:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230251AbhFWNCW (ORCPT + 99 others); Wed, 23 Jun 2021 09:02:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39072 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230019AbhFWNCW (ORCPT ); Wed, 23 Jun 2021 09:02:22 -0400 Received: from sipsolutions.net (s3.sipsolutions.net [IPv6:2a01:4f8:191:4433::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1FA14C061574 for ; Wed, 23 Jun 2021 06:00:05 -0700 (PDT) Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.94.2) (envelope-from ) id 1lw2U6-00AZHE-Ib; Wed, 23 Jun 2021 15:00:02 +0200 Message-ID: Subject: Re: [PATCH] mac80211: Fix sw connection monitor and sw scan when STA is connected HE From: Johannes Berg To: Pkshih Cc: "linux-wireless@vger.kernel.org" Date: Wed, 23 Jun 2021 15:00:01 +0200 In-Reply-To: <8f1524261420449d87b86e9067f3d74f@realtek.com> References: <20210611030422.9608-1-pkshih@realtek.com> <072bfd8473ac4054a43818009e66a914@realtek.com> (sfid-20210611_052347_394259_CA96FBDB) <05835527eb79d7bad22b20247b351b82cc0776d3.camel@sipsolutions.net> <8f1524261420449d87b86e9067f3d74f@realtek.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.38.4 (3.38.4-1.fc33) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-malware-bazaar: not-scanned Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Wed, 2021-06-23 at 12:49 +0000, Pkshih wrote: > > -----Original Message----- > > From: Johannes Berg [mailto:johannes@sipsolutions.net] > > Sent: Wednesday, June 23, 2021 6:33 PM > > To: Pkshih > > Cc: linux-wireless@vger.kernel.org > > Subject: Re: [PATCH] mac80211: Fix sw connection monitor and sw scan > > when STA is connected HE > > > > > Hi mac80211 team, > > > > > > We are working on Realtek 11ax driver, rtw89, not being merged > > > yet. > > > This driver uses software connection monitor and software scan, > > > like > > > our 11ac driver rtw88, > > > but we found these two functions don't work properly due to > > > mac80211 > > > doesn't send > > > null data frame when STA is connected HE. > > > > > > We search for the reason why it can't send null frame, but we > > > don't > > > get the answer. > > > Possibly, it is because existing HE hardware supports hardware > > > connection monitor > > > and scan, or supports TWT to avoid sending null data frame to tell > > > AP > > > its PS mode. > > > Could anyone enlighten me the reason? > > > > It was just a workaround for an iwlwifi specific issue that got left > > in. > > I just merged a patch from Felix to resolve that. > > > > I check Felix's patch: > https://patchwork.kernel.org/project/linux-wireless/patch/20210619101517.90806-1-nbd@nbd.name/ > > > I think we should revert the commit f39b07fdfb68 ("mac80211: HE STA > disassoc due to QOS NULL not sent"), > which fixes connection monitor due to QOS NULL not send. > I agree, that makes sense. > > Another place is ieee80211_send_null_response(); I'm not sure if we > can remove > the checking as well. Yes, I think so. Want to send patch(es) for that? johannes