Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp2531457lqo; Mon, 20 May 2024 08:34:44 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWSkMBeCs1HI10SgN+MbJmaf9Obxl9XHbUUfVNCWJAdgePFNfeNi8ApMlA+2IXNV/Jl+pbV5kd+wRtFjpdr6SV6QZJBmPOVlxhRdfHzFQ== X-Google-Smtp-Source: AGHT+IFD/y7vlgVRj6So3U/lNaaBPmUOhgLAbWUlfeeB0yFN4Fuj6A3hE0YokCwLPGlXJq9ZxpTn X-Received: by 2002:a50:9e61:0:b0:56e:23e3:bdc2 with SMTP id 4fb4d7f45d1cf-5734d5cf9b4mr29951260a12.13.1716219284439; Mon, 20 May 2024 08:34:44 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716219284; cv=pass; d=google.com; s=arc-20160816; b=bU4i0pF+KwtoIkL3/ide6prujHvEIw0Ajoiv328lZ8nZwpLX5uY/tSiGNIawSldZn7 kboAntUeODsHe6ilLOLC9ZbjiYWS+ZJK2gNSszHFgXyANLs2Me82cD5+NXgrvj1Qdghc OOjjMfoOATfr6GsopMd6NfG3W6B/Fy78g6Z810lwwd9q2H9X36Zu0+GI+FMG7DvlQ2cc 51sOTYulY7KUYeERxsydt+vRXye79INPq6kmV+GesRmeYEyF1A18/jSHEdgz5ktZ/u9/ +Rxse0hetIk9MbmCiYPNQx8bKmzse8DGgsLiN0qZ7JiyrsIknARtoX1f1Tihu66K2BAg 7MRg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:message-id:in-reply-to:date:references:subject:cc:to :from:dkim-signature; bh=fUC3K0FopgN75/hKia48R2a+UbLSZcvDavuSlPC6Nzc=; fh=Zc6T9nseKVQKaVb9UxRSd0b2BzNLogbc0M1OrLC68IY=; b=z0b5mFoNPggCyEwWApgxP5+6si84BfZHtizcZ/byRh20Pospgz4ysw86mgnmm9uYu2 HzJ5i9Ruu7wffgNH73BWdOpGL2PhlrmSwWXFC85ni1eWUeMUsBMpHDl0aq+80dY/uw8k dene+1qjXrCa0VBHtj3HWCmlVOkP3PNxuTvm+kIzwzTW28CwkkVtca3VMufofLE6lJvS 3v3jRH3sjHERjjGGUV2O5V8CI8w28kKQixHSclJYlIgHR/qjVmwqf6KkbMoz/Zd1svTd 0Ht08ZhcdvkOEAXg8PPST+pGjNvPCHOgitPMJVFrP0W6WUrVJ9s7KoI7e29h2AUeCng6 YJ0g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XixFXTyS; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-7847-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-7847-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-5733beacdc1si12947722a12.61.2024.05.20.08.34.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 May 2024 08:34:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-7847-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XixFXTyS; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-7847-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-7847-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 307151F21A4F for ; Mon, 20 May 2024 15:34:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BA500136E0C; Mon, 20 May 2024 15:34:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="XixFXTyS" X-Original-To: linux-wireless@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8F9FD55782; Mon, 20 May 2024 15:34:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716219282; cv=none; b=aZd2GaTCv706oI5q+5S31gsONnB5Gj5k3tnqMsHZn13ndj496tOMdFptlGqHYR5o5AutU2CPLB23iStsgZmQ+RwcisoIdsphuZIvYg4t2If7AwVdghfqMClTUGxl3QDzI83uGmi2Zpj+bTA74fZT7ANPbmiQgtBFnyLiYgyBCAE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716219282; c=relaxed/simple; bh=Iql17hNOkntU/TEX70CbOa8Oc4J0CcgtLaFX5lJfHiU=; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID: MIME-Version:Content-Type; b=myuiPqFaupde0fs/j41vz0kbSD/hzn2n5/NZk0x/FRAPywGYl8M3rApY8BoB7AdyowVPJjBscBNSJlVZWbeqjKMWWUtDNYGHW5oClAMKzEwq+C4nEjfpy4AzAUPe58bkFSO3/PHqlmjv6RvxO0bBvUbi6wfgsR+h9RQBWiLduew= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=XixFXTyS; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 164BAC32789; Mon, 20 May 2024 15:34:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1716219282; bh=Iql17hNOkntU/TEX70CbOa8Oc4J0CcgtLaFX5lJfHiU=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=XixFXTySIXU6MYB/gKzec07HMWEKKFYxZdSlTizu3cEEJboWHNEXIVMOH+N+I3nWd EN8AWqbYFYeNOrOZzbWf3RRHO2414UsH+e5knfZgrGjcMuQP1fRXJyKs+CuB0DrbJr 6BnGqwdiFNFCIq54LQxiVXV7cIPAnhcGcwlFztw/9rdRrVkBr9F5yTM8dshmO/SsVe PD8dZ/zeE5s36XgEsS0ZvS6l99vKpyXJW6+GBaeOdUSHfaUasUQltQMzJCYGaIRGKy vq0rHaQq7vKo2XfDSnqPdQIWFkWOJQl9nl2WVal4dsjL5wtIbKU2ZCQ2HH/Ru3Zuc8 43VWsc7lRk0LQ== From: Kalle Valo To: Baochen Qiang Cc: , , Subject: Re: [PATCH v2] wifi: ath11k: move power type check to ASSOC stage when connecting to 6 GHz AP References: <20240424064019.4847-1-quic_bqiang@quicinc.com> <87wmo0k71i.fsf@kernel.org> <3dc28f34-45cc-4e14-b9ea-1f7b78a6a591@quicinc.com> Date: Mon, 20 May 2024 18:34:39 +0300 In-Reply-To: <3dc28f34-45cc-4e14-b9ea-1f7b78a6a591@quicinc.com> (Baochen Qiang's message of "Fri, 17 May 2024 10:14:08 +0800") Message-ID: <87h6esebu8.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Baochen Qiang writes: > On 5/11/2024 5:54 PM, Kalle Valo wrote: >> Baochen Qiang writes: >> >>> With commit bc8a0fac8677 ("wifi: mac80211: don't set bss_conf in parsing") >>> ath11k fails to connect to 6 GHz AP. >>> >>> This is because currently ath11k checks AP's power type in >>> ath11k_mac_op_assign_vif_chanctx() which would be called in AUTH stage. >>> However with above commit power type is not available until ASSOC stage. >>> As a result power type check fails and therefore connection fails. >>> >>> Fix this by moving power type check to ASSOC stage, also move regulatory >>> rules update there because it depends on power type. >>> >>> Tested-on: WCN6855 hw2.0 PCI >>> WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.30 >>> >>> Fixes: bc8a0fac8677 ("wifi: mac80211: don't set bss_conf in parsing") >>> Signed-off-by: Baochen Qiang >> >> Oh, this fell through the cracks. Commit bc8a0fac8677 was introduced in >> v6.9-rc1 so I should have sent this to v6.9 but it's too late now. I'll >> need to queue this for v6.10 via wireless tree. >> >> Adding the regression also to regzbot: >> >> #regzbot introduced: bc8a0fac8677 >> #regzbot title: ath11k: connection to 6 GHz AP fails >> > Hi Kalle, with an upcoming patch this regression is expected to be fixed: > > https://lore.kernel.org/all/20240506214536.310434f55f76.I6aca291ee06265e3f63e0f9024ba19a850b53a33@changeid/#t > > So here the ath11k fix would not be needed any more once above patch got merged. What happens if we apply both patch 'wifi: ath11k: move power type check to ASSOC stage when connecting to 6 GHz AP' and patchset 'wifi: mac80211: build TPE handling'? In other words, do they conflict from functionality point of view? I ask because I suspect Johannes is planning to take patchset 'wifi: mac80211: build TPE handling' to v6.11 but we should fix the ath11k bug in v6.10. > But I don't have time to test this, so suggest keeping it pending. We > could drop it once above analysis got verified. BTW for some this patch wasn't in the pending branch but it's there now. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches