Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp227753pxj; Thu, 10 Jun 2021 20:24:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyV0/y5Qy9zc1oRRDTpovNUnlBHiXdm3q+9oEOWdj6XHUm7dc+aDd959/tgEFD9Sa7Ywro6 X-Received: by 2002:a17:907:2149:: with SMTP id rk9mr1509288ejb.229.1623381873083; Thu, 10 Jun 2021 20:24:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623381873; cv=none; d=google.com; s=arc-20160816; b=sGcCYvHjzI0wpLEY47TTrSjYcXmGF5HEQfxV/e90c1YJUSDZjt8wc2mupBQ574D9lZ 7+wtSzCaARD4PY244d8kv0gheifcvUMrPxDXSz6MUUyFnkkZf9nB+PgvwNE/ecGnOa/i nUcRTv5rhaBehjEwE1IAlZn2gvbAMzjjUmdEeR2Qm1VtCdnTR1Mi/PyHpwz61bSZgJ/E eXTMup9FNNkKVPCyVOWjsm2mKzjwU/ZeswAmhQEt5HI2Z1rOoLTB44RJiCd3Oy2kjMsw Ya6hObdt81vBXjpWO0DQoJn2+diD33Dl1SY0SjrncfaBWvlHcuKkKkP/2DJrOGpSakfO UK/w== 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=rWmyvR19KpNPknw58DjWLUeg8rKWzc+ADiaMTywLo/Y=; b=smdLqLG1tqT9o1cGCcXv0RylLpPwT5gLR/4oMZQp8bokSVhf3e0iHY6qPiB0hzdolE K2Vj6E5zq1KyhMHLi+TFutWXtncv7pKZVPXEmDGBhjoQ9oVJluBYWASxEwZj9GjmuzKw gTNeXUftYomn9cjHviKCbdE1pvFNe53kv3XIWCLdKHFtQ4p4vq2vMBNVlcX91XeGkTDx vnnU8oDdYGlTNCo82qzdVSp4QOg8oETBIW5tUbKEu9TfVYCOheVTtrZaS8GBINnqyIBS h+Z6mNWLtiL9iyz1CqQMy8Ut9kh0uC/K9o2h9fgRF+rv40DHS4eTTLo9OQsr/VBxzB6i 0hdg== 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 be13si3861267edb.104.2021.06.10.20.24.01; Thu, 10 Jun 2021 20:24:32 -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 S230435AbhFKDZl convert rfc822-to-8bit (ORCPT + 99 others); Thu, 10 Jun 2021 23:25:41 -0400 Received: from rtits2.realtek.com ([211.75.126.72]:43798 "EHLO rtits2.realtek.com.tw" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230236AbhFKDZl (ORCPT ); Thu, 10 Jun 2021 23:25:41 -0400 Authenticated-By: X-SpamFilter-By: ArmorX SpamTrap 5.73 with qID 15B3NYznC016916, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexh36502.realtek.com.tw[172.21.6.25]) by rtits2.realtek.com.tw (8.15.2/2.71/5.88) with ESMTPS id 15B3NYznC016916 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Fri, 11 Jun 2021 11:23:34 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXH36502.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.2106.2; Fri, 11 Jun 2021 11:23:33 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) 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.2106.2; Fri, 11 Jun 2021 11:23:33 +0800 Received: from RTEXMBS04.realtek.com.tw ([fe80::1d8:ba7d:61ca:bd74]) by RTEXMBS04.realtek.com.tw ([fe80::1d8:ba7d:61ca:bd74%5]) with mapi id 15.01.2106.013; Fri, 11 Jun 2021 11:23:33 +0800 From: Pkshih To: Pkshih , "johannes@sipsolutions.net" CC: "linux-wireless@vger.kernel.org" Subject: RE: [PATCH] mac80211: Fix sw connection monitor and sw scan when STA is connected HE Thread-Topic: [PATCH] mac80211: Fix sw connection monitor and sw scan when STA is connected HE Thread-Index: AQHXXm6ItuGkMH9RLkaoOlE6YAkORKsOIMzw Date: Fri, 11 Jun 2021 03:23:33 +0000 Message-ID: <072bfd8473ac4054a43818009e66a914@realtek.com> References: <20210611030422.9608-1-pkshih@realtek.com> In-Reply-To: <20210611030422.9608-1-pkshih@realtek.com> Accept-Language: en-US, zh-TW Content-Language: zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.21.69.146] x-kse-serverinfo: RTEXMBS04.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: =?us-ascii?Q?Clean,_bases:_2021/6/11_=3F=3F_01:08:00?= x-kse-bulkmessagesfiltering-scan-result: protection disabled Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-KSE-ServerInfo: RTEXH36502.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-KSE-AntiSpam-Outbound-Interceptor-Info: scan successful X-KSE-AntiSpam-Version: 5.9.20, Database issued on: 06/11/2021 03:11:58 X-KSE-AntiSpam-Status: KAS_STATUS_NOT_DETECTED X-KSE-AntiSpam-Method: none X-KSE-AntiSpam-Rate: 0 X-KSE-AntiSpam-Info: Lua profiles 164259 [Jun 10 2021] X-KSE-AntiSpam-Info: Version: 5.9.20.0 X-KSE-AntiSpam-Info: Envelope from: pkshih@realtek.com X-KSE-AntiSpam-Info: LuaCore: 448 448 71fb1b37213ce9a885768d4012c46ac449c77b17 X-KSE-AntiSpam-Info: {Tracking_uf_ne_domains} X-KSE-AntiSpam-Info: realtek.com:7.1.1;127.0.0.199:7.1.2;d41d8cd98f00b204e9800998ecf8427e.com:7.1.1 X-KSE-AntiSpam-Info: Rate: 0 X-KSE-AntiSpam-Info: Status: not_detected X-KSE-AntiSpam-Info: Method: none X-KSE-AntiSpam-Info: Auth:dkim=none X-KSE-Antiphishing-Info: Clean X-KSE-Antiphishing-ScanningType: Heuristic X-KSE-Antiphishing-Method: None X-KSE-Antiphishing-Bases: 06/11/2021 03:15:00 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org > -----Original Message----- > From: Ping-Ke Shih [mailto:pkshih@realtek.com] > Sent: Friday, June 11, 2021 11:04 AM > To: johannes@sipsolutions.net > Cc: linux-wireless@vger.kernel.org > Subject: [PATCH] mac80211: Fix sw connection monitor and sw scan when STA is connected HE > > Add HE_NULLFUNC_STACK hw_flag to allow sending nullfunc when STA is > connected HE. Then, sw connection monitor can detects AP has left, and sw > scan can issue nullfunc properly when switching to off channel. > > The related commits are commit 41cbb0f5a295 ("mac80211: add support for HE") > that stops sending nullfunc when STA is connected HE, and commit f39b07fdfb68 > ("mac80211: HE STA disassoc due to QOS NULL not sent") that makes STA > doesn't disconnect locally even if AP has left. > > Signed-off-by: Ping-Ke Shih > --- [...] 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? Thank you -- Ping-Ke