Received: by 2002:a05:7412:8d09:b0:fa:4c10:6cad with SMTP id bj9csp146913rdb; Mon, 15 Jan 2024 15:56:20 -0800 (PST) X-Google-Smtp-Source: AGHT+IGPBLxsdHwkRZXrTYn10wk/3KjDi2R7grGHjxUjtFuATUvFabsXwLigXkhLCfyUrz6tcYNM X-Received: by 2002:a17:906:1509:b0:a2a:767f:29cd with SMTP id b9-20020a170906150900b00a2a767f29cdmr2796119ejd.75.1705362980076; Mon, 15 Jan 2024 15:56:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705362980; cv=none; d=google.com; s=arc-20160816; b=QfcuC/uuoJjC0H1FyCJRTrwb2aocbuUmFFFcXDih3qRZp5sJfka8akWOueF2pootAs wwkJunxhhPksRviK9pPe0XGDVTpl/pfpjhBsmc70rozbBUhfU1nQTtHiyP2H3W8b3x0d qa5bLPJ5Dee6+D9K5y1AhA/MJA1zEUCLNka7qaJRdbChBym0f5hRk0oqcNKHJYl5Szis ysG06USWsYViEGCQ8ziRyyur0SibULGSpud7aHClRiOdVdhVaXmRqLM5gNt/iSgqp4Lr UxztR2EAAtB5jyHNTW2VMJ3Ck1oGW3yUp9j6zQ7V7DBu334uY5fc1nUVw+To9j2vCsVZ GyPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=OP32MFSw3ny7WfjbsVr7W/4A9ct/HGx66eldykG7aiE=; fh=J0kFWx4eqU5xBW+by8Hel2TDMUzkoWkC4/5VkgTjSH0=; b=LyqCgD6+4tRmQThwdRdNVGDfR90yxus8B4mTHVrEAj82rJF6qsB7muHyG4T14bPcXk t8f/YjLHsFxPsOBvzRuSBF58NkoYp6DcbkNsPgrsjwsSuwR8kcDn0NEcuKnUQIJ9lVYQ PBCH5F5TUuGBHJAZnXjGVIYrP7YPtqdUxSl21v9o/WElI/OrNHqLAC8n5gK0QMyIVqxo 9xsPuYSrRKY8FHgtqKgKpgk6OS3rh5OgRFmDmfl7gCH3EZTDT2JjpDrNqE8tYDWO46rL lp72q6+OD4YV3/qsHJqR34orE8ek1ZAaX+omIA62nxs6xbQuSsQCKdgyvge6GI62IklP 1bOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=jqzopUux; spf=pass (google.com: domain of linux-wireless+bounces-1948-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1948-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id j10-20020a170906830a00b00a26ea30e63csi4170944ejx.692.2024.01.15.15.56.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jan 2024 15:56:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-1948-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=jqzopUux; spf=pass (google.com: domain of linux-wireless+bounces-1948-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1948-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 95B0A1F21F06 for ; Mon, 15 Jan 2024 23:56:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B780E1B7EB; Mon, 15 Jan 2024 23:56:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="jqzopUux" X-Original-To: linux-wireless@vger.kernel.org Received: from mail-ej1-f46.google.com (mail-ej1-f46.google.com [209.85.218.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 061B11B7E8 for ; Mon, 15 Jan 2024 23:56:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ej1-f46.google.com with SMTP id a640c23a62f3a-a277339dcf4so1032580966b.2 for ; Mon, 15 Jan 2024 15:56:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705362971; x=1705967771; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=OP32MFSw3ny7WfjbsVr7W/4A9ct/HGx66eldykG7aiE=; b=jqzopUuxtb0cLEAoGPTdRdPS9/DxEMESP2GdiSkeHmsvmHYM/+7gGYr+MkzZ/0ZXs1 Sb9+VApBvbmASoTQUwFGbNSyCKOTNAKQcaSCgofjkOhvxmIqQ4etQxpVDltPgkhlHZ+T b8Y0dndvG6ZcN+KpLsXPrrlJCdqhWmF42hMOKndAX6fTEWFwGGQr/KiHVysGBQpxw8bz a7PyBABB2Yl2SDH/o9CNo2EykAuYNyeSWJkDOTQQ6zFhbw/TZyKxS3nuhN6dKFBmBfHY lhOIEMGTTf4/k5y56uznJ4R7tAZxPaaJO03QGwRWZL60tC8EdKk21LYWup83Ra6E5KRS ys4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705362971; x=1705967771; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=OP32MFSw3ny7WfjbsVr7W/4A9ct/HGx66eldykG7aiE=; b=P+eYV+KlB45BrHAUbAKquCQkuokigmzsQMt7zkVMZaH2QTJLCNDyn9ozAcR0pLItes XgOg8uh5f9ciuc96mdMX/n2lgJ7mLc3DWNLgXmCrI3U6Bv9mBsUvRzz31pDhGJYq+TRZ Jg5ckTZf4uTQFGHDPHQOoFgyFj8jp3yq8boiCF7MqudPmJ4NOJ/esCkpoI+Bd8RSg0MX FKToiTA/z+K/9Yr51KJRDqKHvrOMVB2nrefX/ZAm0NUPUOpBEb9iANlwinvB7Dq2GOmi 4c7CaNvYkCUKpEqovRRi2dlgjLJTgYsl43oguisipGf44SZryKg8uvWIcByLyc2nnujS SWnw== X-Gm-Message-State: AOJu0YzHfB9B2jWyFq3XOVvcbu6GTlEyo8Y7UFc6Z5XeMCGSZLVSpl/n VwPNe+lN0izfBsUvWUN0Dsq01KHcS0KO1Ut6w/Y= X-Received: by 2002:a17:906:f8c4:b0:a28:aab9:911c with SMTP id lh4-20020a170906f8c400b00a28aab9911cmr2808477ejb.47.1705362970912; Mon, 15 Jan 2024 15:56:10 -0800 (PST) Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: In-Reply-To: From: coldolt Date: Tue, 16 Jan 2024 01:56:03 +0200 Message-ID: Subject: Re: [REGRESSION] 6.7 broke wifi "AP is in CSA process, reject auth" To: Johannes Berg Cc: ayala.beker@intel.com, linux-wireless@vger.kernel.org, regressions@lists.linux.dev Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I can try to keep connecting for over 5 minutes, it never connects, keeps outputting the same dmesg message. The kernel before 6.7 connects immediately. The router is an Asus RT-AC53. Output of "sudo iw wlp2s0 scan -u" for it is= : BSS b0:6e:bf:76:0a:3c(on wlp2s0) last seen: 752.658s [boottime] TSF: 177237341 usec (0d, 00:02:57) freq: 5180.0 beacon interval: 200 TUs capability: ESS Privacy ShortPreamble SpectrumMgmt APSD (0x0931) signal: -61.00 dBm last seen: 90 ms ago Information elements from Probe Response frame: SSID: internet5 Supported rates: 6.0* 9.0 12.0* 18.0 24.0* 36.0 48.0 54.0 DS Parameter set: channel 36 Unknown IE (60): 01 16 24 09 HT capabilities: Capabilities: 0x16e HT20/HT40 SM Power Save disabled RX HT20 SGI RX HT40 SGI RX STBC 1-stream Max AMSDU length: 3839 bytes No DSSS/CCK HT40 Maximum RX AMPDU length 32767 bytes (exponent: 0x002) Minimum RX AMPDU time spacing: 4 usec (0x05) HT RX MCS rate indexes supported: 0-7, 32 HT TX MCS rate indexes are undefined HT operation: * primary channel: 36 * secondary channel offset: above * STA channel width: any * RIFS: 0 * HT protection: no * non-GF present: 0 * OBSS non-GF present: 0 * dual beacon: 0 * dual CTS protection: 0 * STBC beacon: 0 * L-SIG TXOP Prot: 0 * PCO active: 0 * PCO phase: 0 RSN: * Version: 1 * Group cipher: CCMP * Pairwise ciphers: CCMP * Authentication suites: PSK * Capabilities: 1-PTKSA-RC 1-GTKSA-RC (0x0000) WMM: * Parameter version 1 * u-APSD * BE: CW 15-1023, AIFSN 3 * BK: CW 15-1023, AIFSN 7 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec * VO: CW 3-7, AIFSN 2, TXOP 1504 usec BSS Load: * station count: 0 * channel utilisation: 9/255 * available admission capacity: 31250 [*32us] Vendor specific: OUI 00:0c:43, data: 03 00 00 00 Power constraint: 3 dB Country: FR Environment: Indoor/Outdoor Channels [36 - 96] @ 16 dBm VHT capabilities: VHT Capabilities (0x31c00120): Max MPDU length: 3895 Supported Channel Width: neither 160 nor 80+80 short GI (80 MHz) +HTC-VHT RX antenna pattern consistency TX antenna pattern consistency VHT RX MCS set: 1 streams: MCS 0-9 2 streams: not supported 3 streams: not supported 4 streams: not supported 5 streams: not supported 6 streams: not supported 7 streams: not supported 8 streams: not supported VHT RX highest supported: 292 Mbps VHT TX MCS set: 1 streams: MCS 0-9 2 streams: not supported 3 streams: not supported 4 streams: not supported 5 streams: not supported 6 streams: not supported 7 streams: not supported 8 streams: not supported VHT TX highest supported: 292 Mbps VHT extended NSS: not supported VHT operation: * channel width: 1 (80 MHz) * center freq segment 1: 42 * center freq segment 2: 0 * VHT basic MCS set: 0xfffe On Mon, Jan 15, 2024 at 10:00=E2=80=AFPM Johannes Berg wrote: > > On Mon, 2024-01-15 at 16:39 +0200, coldolt wrote: > > I'm on Arch linux, updated the kernel from 6.6.10 -> 6.7. > > > > Now it doesn't connect to my 5GHz wifi, to 2.4GHz it still connects. > > Also the earlier kernel version still works. Output from "sudo dmesg | > > grep -i wlp2s0": > > > > > [ 6.049600] iwlwifi 0000:02:00.0 wlp2s0: renamed from wlan0 > > > [ 131.095861] wlp2s0: AP is in CSA process, reject auth > > > [ 132.143170] wlp2s0: AP is in CSA process, reject auth > > > [ 133.599906] wlp2s0: AP is in CSA process, reject auth > > > [ 135.549325] wlp2s0: AP is in CSA process, reject auth > > > [ 145.510438] wlp2s0: AP is in CSA process, reject auth > > > > I notice that the commit c09c4f31998bac, which was added to kernel > > 6.7, introduced rejecting a connection with that error message "AP is > > in CSA process, reject auth". > > > > My guess is that commit is the cause of the regression. > > I guess? But that was quite intentional - we don't handle connecting > well while the AP is switching channels. > > This really shouldn't persist for longer than a few seconds though, even > the 15 seconds sounds pretty excessive. > > Could you show the output of > > $ sudo iw wlp2s0 scan -u > > for this AP? > > johannes