Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp5289872rwl; Tue, 11 Apr 2023 03:21:12 -0700 (PDT) X-Google-Smtp-Source: AKy350am88PkKphKEFnQQeNrIisSNiIe3x/KGB/IPzpt5VeccQi37u0Ip1e7JfMJqL9nmLb84pf8 X-Received: by 2002:aa7:c04f:0:b0:504:99eb:34ad with SMTP id k15-20020aa7c04f000000b0050499eb34admr1840699edo.24.1681208471951; Tue, 11 Apr 2023 03:21:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681208471; cv=none; d=google.com; s=arc-20160816; b=O0BSqxWWICann4T4M5ydeYl4NOcEEhGQ9vV3Ei7yACW35EyDnkC7q2KGKfajFvX9kt p1AfFpUJ+JsG/T3mD6PeHxZNvz5ErhfkZfcBCz7EzOYZh4nEikB/NeVI8PSf36ccZvQk egTa+PHfkroewxm2jaovN6Ux4QckERKhl8Wjn1ZiH1ukWR2dDNRkYS0wdGJDWcAaxuyz EGwXAMTQNwngY50wNWfvPNBQxUn3gVYeYpUVe6K48Pvrur9xk+GzVTnAxpge2dW4X11u gI8Ih8Qr/hdJKYsfz/C0F93OZxVUzW4sqBtnX3UTgzYKxYdw5BxJKYwsFbmI7mv9wi6b /JlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=g37lg8wxChlnTFd5lG/0A02V1vDlQ8YaEb0RUigmtow=; b=HS+vypgKDLQWgy8umbNb8lbpiLRvKLv8adE4EdHaumuZFc6Tx8rKqvtx/NImEjdVW3 v6lGGO/G1TF+eF7xFFuDzxoOibe0mERm2LmLTYbrtf0ovwFHKAgL9oQu+4jOJrc/CGJ3 dNMA0RiRGk/l+g5NP1d0n5t8sQoKxBT6NPSt4iuUDQ6HKl6H4HzpU5kJnsulHleoe1Ge /OPchbthzfxdSY+z0zPlmimgl/lyiTljTRK1T50SabQfuaiYx0z0oAiWrBdHUQEajeQW 7kjJB/rBvXtSLb7QSJJVzI+Nvqt57wojB/ykl0BggVtQ4sgT+desI9lbIYfyya2T8HJB Bbeg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=LAtQT3cD; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y25-20020aa7ccd9000000b005049c3103besi4648954edt.589.2023.04.11.03.20.52; Tue, 11 Apr 2023 03:21:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=LAtQT3cD; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229716AbjDKKSd (ORCPT + 61 others); Tue, 11 Apr 2023 06:18:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45616 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229659AbjDKKSb (ORCPT ); Tue, 11 Apr 2023 06:18:31 -0400 Received: from sipsolutions.net (s3.sipsolutions.net [IPv6:2a01:4f8:191:4433::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DEBF23A90 for ; Tue, 11 Apr 2023 03:18:21 -0700 (PDT) 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=g37lg8wxChlnTFd5lG/0A02V1vDlQ8YaEb0RUigmtow=; t=1681208301; x=1682417901; b=LAtQT3cDvcEEpgqxDidmd6A46+E4ZhZxg2R9UoNTqtxO7QA Gt4oYucGu1TIbRyC61sTtJdlErQtCDTSjQVwiQ8kFtMxH8YuJHZER8vNvI5zlUfsb36xwVpi7SIBR tKiY5XK0DO69ZmL8LXVYfU/4TGIeF/z+m38c3b8M7Tw9iB6723nx39wAfyumcHXoElKqVBmfdM7Tu ud863+Lx2rwEhnUCq2bdkOHWctZlFyFNEFSDqkIGMK+YcykB+wzDIrgts0PC9AQKftZEiB+ASaOVX jpdA8enBZbsXAfBpp1oqppNXh0+ss4aojixLt864fEa9epaMz3CNMZr7tdJAKiNA==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.96) (envelope-from ) id 1pmB4t-00CgIS-1p; Tue, 11 Apr 2023 12:18:19 +0200 Message-ID: Subject: Re: [PATCH 24/27] wifi: mac80211: implement link switching From: Johannes Berg To: Wen Gong , linux-wireless@vger.kernel.org Cc: ath11k@lists.infradead.org, ath12k@lists.infradead.org Date: Tue, 11 Apr 2023 12:18:18 +0200 In-Reply-To: <955cf0b5-8973-86b5-109e-268917d70904@quicinc.com> References: <20220902141259.377789-1-johannes@sipsolutions.net> <20220902161143.d99dfbe65c90.I92385ba882ec984a9a2ad18293173436657e82aa@changeid> <50719d34bc48d816d00b56d3d9efdb59e3e51a16.camel@sipsolutions.net> <955cf0b5-8973-86b5-109e-268917d70904@quicinc.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4 (3.46.4-1.fc37) MIME-Version: 1.0 X-malware-bazaar: not-scanned X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Mon, 2023-04-03 at 22:21 +0800, Wen Gong wrote: >=20 > Also it does not have BSS_CHANGED_ASSOC(exists in=20 > ieee80211_set_associated()) for >=20 > ieee80211_link_info_change_notify()/ieee80211_vif_cfg_change_notify(). Well, that's clearly intentional though, since the assoc state is at the MLD level, so changing a link doesn't affect the assoc state, right? This is also done through _vif_cfg_change_notify(). > So I think low-level driver also need to auto add BSS_CHANGED_ASSOC=20 > logic for the added link as well as the pairwise key you said, right? >=20 That doesn't make a lot of sense as written, IMHO, but yes if you have something you need to do on links during assoc, then you'd have to take care of that as well, just like the keys. johannes