Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp1962625lqt; Sun, 21 Apr 2024 17:56:37 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVbal8kMpxJ187nBSOfk2D/XHPFnJKNorQ+Che4DcXY6y5zHs2Crunn/3ZZqPsGQf0xzQF/ErsIWePcfhrJf9yS/fJKf9KnJCShEgrwJg== X-Google-Smtp-Source: AGHT+IFsENXSx498baVHSOnIOzuXnXbzbiqPhdRRICWakKHcDC/qPVvtcdwR9TbWPsFA8lsXL5gF X-Received: by 2002:a50:9356:0:b0:56d:f3f3:f61f with SMTP id n22-20020a509356000000b0056df3f3f61fmr7558113eda.9.1713747397401; Sun, 21 Apr 2024 17:56:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713747397; cv=pass; d=google.com; s=arc-20160816; b=DNApV4WeMFg3nA0TOZP/bwVC3b3vGNwGlMejgfJhKVhBMQU2lQhxmv/oGdkWbh7d/X GjQYy0blA+zazZ3lmZhuKexVbjBA7I902tqFcUX7lQ285bcwW6whPa73+drafdvOtTzH Umz/YeW8lgRejU3dmvN8Kf65o26lj+Y+sbPdBSBUy7LivCCZ/+/TX3ro0qRCTxQO8UJT WmPLTItKyyNL/a0dI3ME05YbfqUQz5RmdWbZNsePWQ0ifCxSkk00/673u3I19Dj4/GMH P+4KKDdoTLIQYXVqAyfg4t2XcxSX4OhdVVXqcF5L48+xGh5vFAl29cZtKSqMclxivNov RNGQ== 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 :message-id:subject:cc:to:from:date:dkim-signature; bh=o2iiRfsgDlxie7Sw96O890/W7qDYXB9sJMVK0j1DSqY=; fh=dcOSjWNTlgN61p9LjxzXmQOujsC+ShXuY0DTS+hMtEI=; b=asjuWZ1AlXsBBGZS7GPUbHEbAAeV49Va6BNA/yX0YS97E5p9nXACEe33SZqk++dGkA pedOFVru+Bca9/WPRUZP+8+9i+04iEaAJhxF/qizPi4Jz80Yk8YcVB7j2uqwIz4Gv8Ua F2dOaVykAADHFts12jnOWkUeDzqvxCsOdjl70kC4rM74HNnwVWofNNULp9fqzOno+AB5 38e9glrDROstOZAiiizYRtAc2Z6oLbJf0WHCPanhSCxW3Wdwc3S0Z54hJ1MKJUteRu+X 8wXppmdrGLaDAGxcvXRD7S1eRQtTl/Y44MUF6P36MMXmkLuHW4yAX4JkqG2fSEjqVB3u iYGw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=ceCPMWlZ; arc=pass (i=1 spf=pass spfdomain=canb.auug.org.au dkim=pass dkdomain=canb.auug.org.au dmarc=pass fromdomain=canb.auug.org.au); spf=pass (google.com: domain of linux-wireless+bounces-6606-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-6606-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canb.auug.org.au Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id e7-20020a056402190700b005720c6299f7si614324edz.312.2024.04.21.17.56.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Apr 2024 17:56:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-6606-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=@canb.auug.org.au header.s=201702 header.b=ceCPMWlZ; arc=pass (i=1 spf=pass spfdomain=canb.auug.org.au dkim=pass dkdomain=canb.auug.org.au dmarc=pass fromdomain=canb.auug.org.au); spf=pass (google.com: domain of linux-wireless+bounces-6606-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-6606-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canb.auug.org.au 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 91D371F2158D for ; Mon, 22 Apr 2024 00:56:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 816F810F4; Mon, 22 Apr 2024 00:56:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=canb.auug.org.au header.i=@canb.auug.org.au header.b="ceCPMWlZ" X-Original-To: linux-wireless@vger.kernel.org Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) (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 9D75481E; Mon, 22 Apr 2024 00:56:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=150.107.74.76 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713747391; cv=none; b=qehBZ8V0kEKSXG+JsrLPOGHmCVVo/sIBRqPKSYFHO9URDz6iBE/wdAeupMocjVqcslQt+NhZKsvD8ZfLVrWNRuvC45PJKQTnLoy/P8oK16S85BJBpFEujzrG2Z+e/6ZCslQzkNNZEtBfeO3w6fSnfEUVi6mpDDkEAm+MmRZ2Abk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713747391; c=relaxed/simple; bh=371jyJprDRfHOmCH/Fxpr8y4E1O0YN2AgmEBCXGdqEQ=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type; b=iaL9FKynvJYw0Eq5CFMdQfJIx8QyrSivTjeMuo/+U07kKIuXDQb4UKFrJp37m5DLyDZ+ZXFGYVaeO8pvCvOIVm92WRRC52gpLHOztPfRybkhtqGgNekUSMIP+wYmr4X22CpstcEdzB78++J3E0//L7Indb/eYNwJn/U+LhAcxhk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=canb.auug.org.au; spf=pass smtp.mailfrom=canb.auug.org.au; dkim=pass (2048-bit key) header.d=canb.auug.org.au header.i=@canb.auug.org.au header.b=ceCPMWlZ; arc=none smtp.client-ip=150.107.74.76 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=canb.auug.org.au Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=canb.auug.org.au DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au; s=201702; t=1713747385; bh=o2iiRfsgDlxie7Sw96O890/W7qDYXB9sJMVK0j1DSqY=; h=Date:From:To:Cc:Subject:From; b=ceCPMWlZI1hKoou3tOvDZFlglDWoeB2cC2dgP9246mKnjDagMNCCjyMKQi5izduYl nyQ3VxLupN1H4LqyS5Cq0a0OunCZKzW0g0veL+COrgECXh5/BkvQyYJQHtW/RJ74vX Q11LLYY4T9/t+H+d3zU9nBnoNRayPIC1vtcF4FH/dHmcfVByXSkS4pDz+dHV7FxMcZ K94WcPJwCMxOYt7MTP2vpoacgN5ai9ahqRw06SilNrnWvV3qUmJ+N6rPxsaUfRgYVs qp6JoHL9vOk7jv3CKogKYWDrppFvfBS3A9H/Gs03D70fQCNROakJn8/iNi4Mfy9jgi C6yENISOEWJVQ== Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4VN6JS24rfz4wcb; Mon, 22 Apr 2024 10:56:24 +1000 (AEST) Date: Mon, 22 Apr 2024 10:56:23 +1000 From: Stephen Rothwell To: Kalle Valo , Johannes Berg Cc: Wireless , Johannes Berg , Linux Kernel Mailing List , Linux Next Mailing List Subject: linux-next: manual merge of the wireless-next tree with the wireless tree Message-ID: <20240422105623.7b1fbda2@canb.auug.org.au> Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/P0JkuJR6=UOwV3U=MCBrQxx"; protocol="application/pgp-signature"; micalg=pgp-sha256 --Sig_/P0JkuJR6=UOwV3U=MCBrQxx Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, Today's linux-next merge of the wireless-next tree got a conflict in: net/mac80211/chan.c between commit: 89884459a0b9 ("wifi: mac80211: fix idle calculation with multi-link") from the wireless tree and commit: 87f5500285fb ("wifi: mac80211: simplify ieee80211_assign_link_chanctx()") from the wireless-next tree. I fixed it up (see below) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts. --=20 Cheers, Stephen Rothwell diff --cc net/mac80211/chan.c index 4e0c1a6e509f,dedf11eeb43c..380695fdc32f --- a/net/mac80211/chan.c +++ b/net/mac80211/chan.c @@@ -800,8 -819,7 +819,8 @@@ static int ieee80211_assign_link_chanct struct ieee80211_local *local =3D sdata->local; struct ieee80211_chanctx_conf *conf; struct ieee80211_chanctx *curr_ctx =3D NULL; + bool new_idle; - int ret =3D 0; + int ret; =20 if (WARN_ON(sdata->vif.type =3D=3D NL80211_IFTYPE_NAN)) return -EOPNOTSUPP; @@@ -822,17 -840,24 +841,22 @@@ ieee80211_recalc_chanctx_min_def(local, new_ctx, link); =20 ret =3D drv_assign_vif_chanctx(local, sdata, link->conf, new_ctx); - if (ret) - goto out; -=20 - conf =3D &new_ctx->conf; - list_add(&link->assigned_chanctx_list, - &new_ctx->assigned_links); + if (assign_on_failure || !ret) { + /* Need to continue, see _ieee80211_set_active_links */ + WARN_ON_ONCE(ret && !local->in_reconfig); + ret =3D 0; +=20 + /* succeeded, so commit it to the data structures */ + conf =3D &new_ctx->conf; + list_add(&link->assigned_chanctx_list, + &new_ctx->assigned_links); + } + } else { + ret =3D 0; } =20 - out: rcu_assign_pointer(link->conf->chanctx_conf, conf); =20 - sdata->vif.cfg.idle =3D !conf; - if (curr_ctx && ieee80211_chanctx_num_assigned(local, curr_ctx) > 0) { ieee80211_recalc_chanctx_chantype(local, curr_ctx); ieee80211_recalc_smps_chanctx(local, curr_ctx); --Sig_/P0JkuJR6=UOwV3U=MCBrQxx Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmYltbcACgkQAVBC80lX 0GxfBAf/TGFiNoDJ4g3bno2FzMVTWyL/dQDogND/PFuxrVZLDHZcFn8sHXOclrfn I5PRAXTs6J7X3zYtrmoQyJN/BuhkAocmDtHPgFTx1BAnrO42/GmbKC1/SpWdG47V JxwX/s16So6O2sGNKCDFpyVcjAAFkeZvRX4td6XJNkLA6zH0LIABVzWYzsw3Bg// R3Vi8wsjkcrqGD8DEdheyw54bSKnNSxIFan4/1ivIsmvDWDpEkwGof2fKTbY/3XJ KgVjOFmrzC071pmhplBzmQDA0f5AaTV3wTuB3GeY/89aajf6lvN+/QNGXZXWbo3o kk+ON7Ib/KGj/+z/RAlmEuNvUBaekQ== =aLjw -----END PGP SIGNATURE----- --Sig_/P0JkuJR6=UOwV3U=MCBrQxx--