Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 27A09C197A0 for ; Thu, 16 Nov 2023 20:05:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345368AbjKPUFT (ORCPT ); Thu, 16 Nov 2023 15:05:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229533AbjKPUFS (ORCPT ); Thu, 16 Nov 2023 15:05:18 -0500 Received: from sipsolutions.net (s3.sipsolutions.net [IPv6:2a01:4f8:242:246e::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C8DEB196 for ; Thu, 16 Nov 2023 12:05:14 -0800 (PST) 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:To:From:Subject:Message-ID:Sender: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-To: Resent-Cc:Resent-Message-ID; bh=cvyZOOhxHJuee1Zg6iHwodXM+OXil4lT5nBkrQ8rEzM=; t=1700165114; x=1701374714; b=xHl9SOLylw+XkDoqCIWej/yLs8wQI/7VZjqdGWADD9NG5CG ihql8LWK7vxsLqN/spMSO+SwUamIOOLZ8Zki68fpZHJ2NJCrXXhr8wVDt+jDXvliICG/wyt7QDAnn gvy8NPnjAm9iqsA2d4v4VTFUUVfZGSDCrzEA8ol6fXRByJ6f/j71d9zYv8pqfpqN9ANAP/muniCqV UR07wzcfONJ/8i0z/G1UZwoad8ZP9k//gnEW4zeaBvAe88UjKXxTklJnSCMtW1Oz3AcZj8Biw251c oZT/DYVYhRTXD9eLDvTv43h8berwgeMfuR3/Dvk6M9fFDGrtMEGWRrLJwD+L4jXg==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.97) (envelope-from ) id 1r3ibw-0000000AcNF-3D0l; Thu, 16 Nov 2023 21:05:12 +0100 Message-ID: <5cb00149a01706042aaa44f015f5330b57808951.camel@sipsolutions.net> Subject: Re: [PATCH] wifi: iwlwifi: Add debugging around scan failure warning. From: Johannes Berg To: Ben Greear , linux-wireless@vger.kernel.org Date: Thu, 16 Nov 2023 21:05:11 +0100 In-Reply-To: References: <20231114212309.2180281-1-greearb@candelatech.com> <9574407e2be4c97b1ef2d9f73b5eecb08791ff56.camel@sipsolutions.net> <7a76305b-dd42-b866-f64f-93b7c8811f97@candelatech.com> <8693a54d50f05a7668b11518eea2de46dd13952d.camel@sipsolutions.net> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.4 (3.48.4-1.fc38) MIME-Version: 1.0 X-malware-bazaar: not-scanned Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Thu, 2023-11-16 at 09:51 -0800, Ben Greear wrote: > I found a splat with my debugging enabled today, running with the v86 fir= mware. Looks like > immediate cause is that active_links was 0x0. Logs are full of it, in fa= ct. Seems to always > be the same reason. active_links will be 0 if there isn't MLO, i.e. you're not connected. > [ 4382.603271] iwlwifi 0000:21:00.0: scan failure: Cannot find link info = for link-id: 0 active-links: 0x0 >=20 The real question is how we ended up with no info for link-id 0, but like I said, that's a more dynamic question, just knowing the number doesn't really help with it :) johannes