Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp1706063pxp; Thu, 17 Mar 2022 15:03:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwIV/dUQ3igbYdz25ag3tek+UAKVwRu0B8oEXVFAuPncQky8fJmZxFD1p5jWF7rGWbi5DaA X-Received: by 2002:a63:481b:0:b0:378:9b24:5163 with SMTP id v27-20020a63481b000000b003789b245163mr5379595pga.224.1647554601913; Thu, 17 Mar 2022 15:03:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647554601; cv=none; d=google.com; s=arc-20160816; b=cGB1VyzMXRRNODT55WKtcn4LAynWTxHU1ndgxMtpCEHJ6Hp0wpIGBO+eXjgVaTrTTe uGTkB1/7+i+nOQrVyhMU10kYj48XGNvXfwZBricI/ExR9UPiCf34Wskb+CrdhqopNDLY E5BQU0cS5vsPPydT5q1UDHCLhigCQA8aQV/eNgIWLwyecUHxiWZxOMwIYyCV2xlTVEjh pJFqJ94ylgYWAaH3T5X8ZWXMTzejoi9VRgqBbZO0rUwIxhcJ9TFeQIktnoxKmZmiUEOx RGBC6TrFtR0jPYw/IQAN3L4iC8+3P7/OqCRAdA5UG3lpL9sEK0QZbWvPAI0JWoZYN6Rv w+vw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=/rZii18wA2voVc1N7quKjXAD7rAKgafDEn5607kcsOU=; b=yfTW8NPC2jfIo93Kobl27UPHl2spTnEqXHZfOYpdrosG5Oty/zj9F+ExkXb7E5zo12 ZkgBfxpMmddmWWKgsvS4QGwaUF4eOmeeru/uzWrBosxqVQOnf0taY/eijmLA5F0u2Lf/ 7IKYe7wazgUXjttZuit3UVodzTH7HNcqkmd/hr0MeQEnfA3dJzATD18UdaNQx1ve+nQd wuvzj/nLVtNJjuz/qT9/WNFhKBEGPxGhiqiM5vQPIkKziK2uTU73i4MOmGLzbf5AzOKm AmHz6/BTbgwTUczljpvxOQYyV3wEY1SQEzZahVMIrkrXPVja3VzE4Rr7vgCcH/svu58Y sm+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=hSUzHYIi; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id d12-20020a056a0010cc00b004cc3d16c71dsi6481617pfu.44.2022.03.17.15.03.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Mar 2022 15:03:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=hSUzHYIi; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 17A971903E3; Thu, 17 Mar 2022 14:43:02 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230354AbiCQVoR (ORCPT + 70 others); Thu, 17 Mar 2022 17:44:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55652 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230349AbiCQVoQ (ORCPT ); Thu, 17 Mar 2022 17:44:16 -0400 Received: from alexa-out-sd-01.qualcomm.com (alexa-out-sd-01.qualcomm.com [199.106.114.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ED8D02BD1 for ; Thu, 17 Mar 2022 14:42:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1647553376; x=1679089376; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=/rZii18wA2voVc1N7quKjXAD7rAKgafDEn5607kcsOU=; b=hSUzHYIiJiuGaRMcGeF4qqNE78I/3IfbhA2YAxgTNOAAwbFAMRePzmtG L5aOkL2IbCs7ZRZcsfily0cSdV8j/u0OUuikHZBkXsytmJkrg7dHX5yhL nmv9Q4q2zPnrE+pb8tXQUc/mOJr29djM62aY7GU8eSVxl/KlI6OphcHOK 8=; Received: from unknown (HELO ironmsg03-sd.qualcomm.com) ([10.53.140.143]) by alexa-out-sd-01.qualcomm.com with ESMTP; 17 Mar 2022 14:42:56 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg03-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Mar 2022 14:42:56 -0700 Received: from nalasex01a.na.qualcomm.com (10.47.209.196) by nasanex01c.na.qualcomm.com (10.47.97.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Thu, 17 Mar 2022 14:42:56 -0700 Received: from [10.48.244.84] (10.49.16.6) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Thu, 17 Mar 2022 14:42:55 -0700 Message-ID: Date: Thu, 17 Mar 2022 14:42:55 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.5.1 Subject: Re: [PATCH v2 1/3] cfg80211: Add NL80211_IFTYPE_MLO_LINK type for MLO links on MLD STA Content-Language: en-US To: Johannes Berg , Veerendranath Jakkam CC: , , Aaron Komisar References: <1645613200-30221-1-git-send-email-quic_vjakkam@quicinc.com> <1645613200-30221-2-git-send-email-quic_vjakkam@quicinc.com> From: Jeff Johnson In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.49.16.6] X-ClientProxiedBy: nalasex01b.na.qualcomm.com (10.47.209.197) To nalasex01a.na.qualcomm.com (10.47.209.196) X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=no 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 3/11/2022 4:17 AM, Johannes Berg wrote: > On Wed, 2022-02-23 at 16:16 +0530, Veerendranath Jakkam wrote: >> >> Two link non-AP MLD representation: >> >> wlan0 (non-AP MLD) >> IFTYPE_STATION (netdev + wdev) >> / \ >> / \ >> link0 link1 >> IFTYPE_MLO_LINK (wdev) IFTYPE_MLO_LINK (wdev) >> | | >> | | >> radio(2G) radio(5G) >> >> In contrast, NL80211_IFTYPE_MLO_LINK can't be used to represent AP MLO >> link since an MLD AP must support pre-11be and 11be clients >> simultaneously so each AP MLO link affiliated with AP MLD must also act >> as independent AP for pre-11be clients so each AP MLO link must be >> represented by NL80211_IFTYPE_AP associated with a separate netdev. >> >> Two link AP MLD representation: >> >> AP MLD >> (netdev + wdev) >> / \ >> / \ >> wlan0 wlan1 >> IFTYPE_AP IFTYPE_AP >> (netdev + wdev) (netdev + wdev) >> | | >> | | >> radio(2G) radio(5G) > > So just for posterity's sake - we had more discussions on this out of > band, and decided that the "netdev + wdev" on the wlan0/wlan1 will not > actually happen - they both should be just "wdev" like in the non-AP > MLD. > > This solves the issue of broadcast (otherwise you'd need AP MLD + wlan0 > + wlan1 in a bridge and drop all multicast at wlan0 and wlan1), at the > expense of a small amount of flexibility - you cannot consider legacy > and MLD clients to be in different networks. > > However, given the complexities around multicast, you probably cannot > consider them to be in different networks _anyway_ because then you'd > have to _not_ drop all the multicast on wlan0/wlan1, and then you send > multicast twice to the MLD clients, which would be wrong too... > > So the more reasonable thing to do is to treat this the same way as non- > AP MLD with only a single netdev, and effectively behave as if there was > an internal kind of bridge inside the AP MLD for the legacy clients. > > As a consequence, of course this patch will change too. Although this patch series is specific to non-AP MLD support I advocated during internal review to add this AP MLD description to initiate discussion about the differences between the two, and I'm glad to see that is happening. Should we just omit the AP MLD representation in v2, and add that with the AP MLD support? Did you have any other comments on the series other than your proposal to add a MLD wiphy flag, and as a result, not require driver to NULL check the wdev->netdev? Thanks! /jeff