Received: by 2002:a05:7412:8d1c:b0:fa:4c10:6cad with SMTP id bj28csp51088rdb; Tue, 16 Jan 2024 14:45:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IE99XRg3c1yAf4eYDlhadP9AKefpefeN51+FqvbDKR2lh88/xoXL2U33ACxXbrKUJi1YY15 X-Received: by 2002:a05:6a00:ac1:b0:6da:cbee:9d9c with SMTP id c1-20020a056a000ac100b006dacbee9d9cmr5181216pfl.29.1705445154080; Tue, 16 Jan 2024 14:45:54 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705445154; cv=pass; d=google.com; s=arc-20160816; b=AIHYH81J35TU4om+uhBWxAIPqsMs6zBH6QFN6r5KwvfGBf62I4zDO736LwcftaJTqj 8OlLji5Z6XV8vBVL3iStG7wxEFHmczecD24pSv1jmOD3jeuTfGNdRkNhOiQQoiTp6Azw R7xUg3u7vKV1DHCit8B8oMduu3pwa342UGdIXNK5TDCDY3uVe/6rrRFIiRhN4N2Tb4B4 tWl+qeBdAypWKq2tzFDfjl0RfhUE/VennaTsb3Rm3rx+42B3QAA8aI8MbjAXK9j6TD51 PkIRh/NmcJeDxEg4Ft9/KOsnitpQMYyi6VMTmK7WdNcKYtv+ubZ84YyeT39ewWk39V3+ LBiw== 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:content-transfer-encoding:references:in-reply-to:date:cc :to:from:subject:message-id:dkim-signature; bh=0iK44sT+JH6btkONVaDDfvQMivb0ALaKOLPT0/zAEbs=; fh=evMIRIYI2AW8kQRVdGWfRPHRDEfCP/XM3hFm6iCWY8w=; b=DYmdlUw/vjKsAzfx9yYhLHh2GvEjK/TcY7Ywdt1nEX5+3IQ4pWUA8lmmg8meaFaxX8 e5JWJMdGLxDsr0F/QywiX/8yTfMBS7sT/2MS7ofGlaIqOIU0eyFVB7kyJu3DenGjHnHn nqboL+7GhfMzEAjtnF4SZbla+TPZn0iMa76LYblXtpmwqo6PSd4gc9SuvWIB/ZknB9UE 7JJr/Kvp2xrwMUGsSVUYOMN9Xttjt/VhNzUHJ8xFohqyVXk1NRCSJGaOOUlRZyd++fdH 47fOS3Tqa20E0w+I5oaFuCWQa4Rc0apDii13Y+yf2hqoUI6JR1mFVeqVPYfyofMF4U9r dM3Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=OVCCx7UX; arc=pass (i=1 spf=pass spfdomain=sipsolutions.net dkim=pass dkdomain=sipsolutions.net dmarc=pass fromdomain=sipsolutions.net); spf=pass (google.com: domain of linux-wireless+bounces-2066-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-2066-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id ea25-20020a056a004c1900b006d9cb86cbb1si231152pfb.78.2024.01.16.14.45.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jan 2024 14:45:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-2066-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=OVCCx7UX; arc=pass (i=1 spf=pass spfdomain=sipsolutions.net dkim=pass dkdomain=sipsolutions.net dmarc=pass fromdomain=sipsolutions.net); spf=pass (google.com: domain of linux-wireless+bounces-2066-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-2066-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 1A20AB20BA7 for ; Tue, 16 Jan 2024 22:22:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B64A61F95D; Tue, 16 Jan 2024 21:08:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sipsolutions.net header.i=@sipsolutions.net header.b="OVCCx7UX" X-Original-To: linux-wireless@vger.kernel.org Received: from sipsolutions.net (s3.sipsolutions.net [168.119.38.16]) (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 871951F939; Tue, 16 Jan 2024 21:08:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=168.119.38.16 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705439332; cv=none; b=ZpiEBKUr7m0LxCALS0UdpRVq55KP0D3rgvwa0OdV/JtKrxvLQdTZnuMuJ8QzyylzVGpXSfcXW+rDzqPDcfa/pF8mkODjcJ0GpPMQ3JBjvfNUZx6qM7naT//SYjB8KSjfz8g43RpfgVRx+FaQh6bKGDtGJMC7Py+5Wlosp0UTLI4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705439332; c=relaxed/simple; bh=0iK44sT+JH6btkONVaDDfvQMivb0ALaKOLPT0/zAEbs=; h=DKIM-Signature:Received:Message-ID:Subject:From:To:Cc:Date: In-Reply-To:References:Content-Type:Content-Transfer-Encoding: User-Agent:MIME-Version:X-malware-bazaar; b=gqScOWQ+9fSbXLTjDGxogpqugWTmW9RFLiKg2WqMJ6YyPcKkR3yg2qn0a8AVxAKsBFCdC0cAamnOJn+tlpstYloZjeaS16EnoBNUydJIDoRvcNLJUVxzn1KUdVsrazsh+m3FOtWfHJt5TO9vuZNieI1E215hFprR9BLVsYTtmZ8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sipsolutions.net; spf=pass smtp.mailfrom=sipsolutions.net; dkim=pass (2048-bit key) header.d=sipsolutions.net header.i=@sipsolutions.net header.b=OVCCx7UX; arc=none smtp.client-ip=168.119.38.16 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sipsolutions.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sipsolutions.net DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sipsolutions.net; s=mail; h=MIME-Version:Content-Transfer-Encoding: Content-Type:References:In-Reply-To:Date:Cc:To:From:Subject:Message-ID:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-To: Resent-Cc:Resent-Message-ID; bh=0iK44sT+JH6btkONVaDDfvQMivb0ALaKOLPT0/zAEbs=; t=1705439329; x=1706648929; b=OVCCx7UX8+WR6D4MT23f+se5pC23jW4iC6LPsRjd1RYJMNa 92+NwRKLsu+0UQZjY+Z7c4Oo70qbdsAHznJaJAQPIj9163pXn8RoU1VoaJfrpbUP++qdGPZQr5q9R Z8g8bLCU3x+BxkG+W0rBskkebWE8LDUh+XCZTWr4qW6EWnuOlwB/E7TwZxY/eMARsa4Klb+MlhhQ9 7t5pvq3kL5gOs5Cgb+XF6mwXMWH2YtUlg4l5vkbXdyRd+4KWTPt/2P6NbLTjlZhDc6HeingLR4eU3 4XNv5JJQvf4k6YoSbYU3FYbjeE+kk4DGtOIujzKKymbSKgTOWxYltglqsaSgKdIg==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.97) (envelope-from ) id 1rPqfu-00000005III-0oaT; Tue, 16 Jan 2024 22:08:46 +0100 Message-ID: Subject: Re: [REGRESSION] 6.7 broke wifi "AP is in CSA process, reject auth" From: Johannes Berg To: coldolt Cc: ayala.beker@intel.com, linux-wireless@vger.kernel.org, regressions@lists.linux.dev Date: Tue, 16 Jan 2024 22:08:45 +0100 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.50.3 (3.50.3-1.fc39) Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-malware-bazaar: not-scanned On Tue, 2024-01-16 at 22:37 +0200, coldolt wrote: > On Tue, Jan 16, 2024 at 1:43=E2=80=AFPM Johannes Berg wrote: > > so mode=3D=3D1 indicates quiet, new_operating_class/new_ch_num are actu= ally > > the channel it's currently on, and count is 9. > >=20 > > Can you say if it actually changes the count? Maybe capture on channel > > 36 using the NIC as a sniffer what it does over time: > > https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi/debugging#air= _sniffing >=20 > If I keep checking it the line "Unknown IE (60): 01 16 24 09" seems to > always stay the same, the 09 doesn't change, it's the same today as it > was yesterday. Interesting. > I captured the channel 36 for 15 mins, here is the 34MB file in > gdrive: https://drive.google.com/file/d/1yqDb3g3Cfttm4W-Jb5AA51nLQ7OglWhl= /view?usp=3Dsharing Thanks! I got it, feel free to delete. It's interesting, the AP is not including the element in the beacon, but is unconditionally and always including it in the probe responses. > > Initially I'd say though that if this situation persists, then your AP > > is having some problems and we'd not have stayed connected without the > > patch in question either. If you want, maybe revert and see what the > > symptom is then? >=20 > I now compiled and installed commit c09c4f3 and its parent 2bf57b0. > The 2bf57b0 works great, connects immediately and I used it for 30+ > mins, also tried to connect/disconnect 5+ times smoothly, no symptoms. > The c09c4f3 has the problem described originally, never connects even > if trying 10+ times in 5+ minutes, keeps outputting the same dmesg > message "AP is in CSA process, reject auth". Yes, I didn't think of it being broken enough to include it in probe responses but not beacons ... So it makes sense that w/o that we could connect and not even disconnect, because while connected we ignore (E)CSA in probe responses... I'll think about it for a bit and ask some folks, but I guess we'll just remove the check for probe responses from this ... there's little guarantee anyway that this works well. Or maybe if we find it in probe response check if we have a recent beacon? But that's tricky, we may not, if we got a probe response on the channel but no beacon. johannes