Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp553664iob; Thu, 28 Apr 2022 07:52:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxY9WC8tTFdWGNUihK5p+blQV5F/MMVJHU4d+CrOwP0fNn4VoppydwdN4BoHUxvTPlUe0EN X-Received: by 2002:a2e:9b0e:0:b0:24f:24a3:8bfb with SMTP id u14-20020a2e9b0e000000b0024f24a38bfbmr8073867lji.414.1651157552007; Thu, 28 Apr 2022 07:52:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651157552; cv=none; d=google.com; s=arc-20160816; b=L5n5cIdqw3B8vcOW4nugfLN7BHIa0nC5hWu0KEzc7oUL0Ygk8ub8mtG6kSyA0ujaQ1 znxIN8iEQ8SPgz99szIskl8oICMI8Z8HBrSbbyn5o53lIxvRtP4a/DC9sNwxlgTdeg6j uFdY+T2dyBGAHUOzvh5KUXGVPgy6kOtAXNzCL9+oZXo9D0tq5BkREdDWfFYQZ+nKgg+a HVR1cUWePUXDa7MKQMBAk63STs7rw1bxpEVAHQIRr/D0qO3o3bsM9yOqnKDasgWw7aEH sxqwSS9miYUTk5puy9z55E6zG5Vl+qaTHLhBI4oEQ+wlm2jZCLQBDEPMob4Zx91j5xaC o9Kg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id:dkim-signature; bh=17Jsefjifj13Rt9a4+dw888xw10yfVDbeOLKOSA8FK4=; b=WclZHA7oyGB1+KBMT4ApyDWR/U5uhE+Cgrr5XLtvxYkjm8LpQ7ops7Eot/iKLtUKIB BR0eVzlf2qlLIfz23Bl9q3AGsvrTa1Fep+rcG4PDyESEDFYQHQzCCcqhcVL81dytM/xG A0/cvFlre7hETtReWiw5gsSeyo46paGWKLoSf1dSgDqeMflADTKxyvrgc9ttCM0YSZmz SwhDXdOY/YbnhTDDsS0yxuKmsBpkcFjBo0+GeQKjI8Rcz/c5l+ORhpvNrF1e0QzQeSWz B/UoaTIpjHwVFkGMSSFvLi45027lA0Xw0Mty+lSCKTtkvAKRYV+SQpL/LV7JRnMor7o+ 7rrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=dNbIUter; 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 d24-20020a2e3318000000b0024952f7bba5si4339544ljc.256.2022.04.28.07.51.42; Thu, 28 Apr 2022 07:52:31 -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=dNbIUter; 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 S235354AbiD1Mjq (ORCPT + 68 others); Thu, 28 Apr 2022 08:39:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36372 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235480AbiD1Mjp (ORCPT ); Thu, 28 Apr 2022 08:39:45 -0400 Received: from sipsolutions.net (s3.sipsolutions.net [IPv6:2a01:4f8:191:4433::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7699FAF1E9 for ; Thu, 28 Apr 2022 05:36:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sipsolutions.net; s=mail; h=Content-Transfer-Encoding:MIME-Version: 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=17Jsefjifj13Rt9a4+dw888xw10yfVDbeOLKOSA8FK4=; t=1651149389; x=1652358989; b=dNbIUterPfWwxbKn9unw4luPJkczgbPjCSwbiJNrWq60k16 vkigxo/9qWRksrVTOnbQb7kfGcKC8z2d9IzffJWS2LdKwGtKvxvNY03KQTMEjaD9J7XIt6BHDATnj SF797YjCZlce3lDEdpAgziBaB+h7g7BmoeXotze+jxkpKxuyUwIL0DzVLAy97gbwL3nTyicMT2ldG NSmREd08owq6vw26VxCtpysNRvdjRJzzan9VrOhrFlZqPcuZgzX99gRmkBYhoxjMqPqJ0JQ3Q1+tP 7jRxtNK5rCYEfJpAnMWwtXX7TuY3H+NGH9UztXGMdwuH0TfHD7QeJoQFBGaVmnig==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.95) (envelope-from ) id 1nk3Nj-00GQhn-0D; Thu, 28 Apr 2022 14:36:27 +0200 Message-ID: Subject: Re: [RFC PATCH] cfg80211: do some rework towards MLO link APIs From: Johannes Berg To: Vasanthakumar Thiagarajan , linux-wireless@vger.kernel.org Cc: Jouni Malinen Date: Thu, 28 Apr 2022 14:36:26 +0200 In-Reply-To: <6b40798e349d11e495a6df20ecba479a8357dad2.camel@sipsolutions.net> References: <20220414145522.116716-1-johannes@sipsolutions.net> <6b40798e349d11e495a6df20ecba479a8357dad2.camel@sipsolutions.net> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.4 (3.42.4-2.fc35) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-malware-bazaar: not-scanned X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=ham 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 Tue, 2022-04-26 at 09:16 +0200, Johannes Berg wrote: > > > The proposal to have some sort of mapping between local and OTA link > > will work. So in AP mode, it is OTA link_id but in STA mode, it is > > local > > link_id which does not change the life time of the STA link > > interface? Will that be still called link_id or something which > > means > > pseudo link_id (something like link_idx?) to avoid confusions with > > OTA link_id? > > I started calling it link_num later, but that might also be confusing > and misinterpreted as num_links or so? ... However, I'm starting to have second thoughts on this. I do understand the concern that Jouni mentioned, that the device might roam by itself, and change the underlying links, and you'd have races if you identify only by the link ID, and that just changed, and so now you're referring to something else. His suggestion was that we might need to include the BSSID or the address of the AP MLD, or such, in some cases. [1] However, if e.g. roaming is offloaded but the supplicant isn't, then we really do need the ability to refer to the link ID, e.g. to set the per link GTK/IGTK/BIGTK after the 4-way-HS (or later 2-way-HS). So now I'm wondering what we're achieving by having a mapping, if every component in the system needs to be aware of the mapping? johannes [1] Now that I'm writing this, I'll also note that basically such offloaded MLO-aware roaming basically means all the previous things we discussed with netdevs or wdevs don't work either?