Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp55152rdb; Thu, 5 Oct 2023 16:40:10 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGo/wvhidLkT4ykQJMkn80TB5WtOhS1Ic8ciNF8OSWkFcLzDp/esGIwthga7p5qWsV1OUjr X-Received: by 2002:a17:90a:bc92:b0:263:fbe5:2125 with SMTP id x18-20020a17090abc9200b00263fbe52125mr6427804pjr.15.1696549210007; Thu, 05 Oct 2023 16:40:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696549209; cv=none; d=google.com; s=arc-20160816; b=k1i3M/0ls/NOAw9ETLv6thd7ok3dL/eRxOJnNq6G8DRh8W1Nk9IE1cqG0h4uCBSc9A rf2TAZrBVviMj4gwtioYsnxBUtp+PDoznWzDAOg4H2yNoWmxxX0Cx9jQqNf/4lZ+3gdo ibwO3HqHN9yKDkPi6j3fZiU2sCxCMPuwLeNF5902xX0VUpWiD26THyWzWbxg19mq14fZ W602ZdN8ZDXt5RghChc4v9Ib33w3siIHAoYIY84WrOZe3sYwtVxhlQRLZ+Ya91rFJc0z nLIcs9TOsJTDMoRMZ+i+fer29+T9caPZk+SBn0S3E9tFxz+wx4lSXv4dVE1pBYk0lN5W AnwA== 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 :organization:references:to:from:content-language:subject:user-agent :mime-version:date:message-id:dkim-signature:dkim-filter; bh=OUpPV1djL92zEglV7J45IBYXPmKBxJCj/K0mLNKU6YA=; fh=LbOKWJHTo8IGkH9PGmpeU6ndo1Q5/V9bDrUebU2BHmk=; b=vaSOFkESZsFFgaF2a38qh71OEUAhbI6cWWnm9InndU5FCFE+xcF5S9RAIIZLG5BCzZ jv3UmRcZ6RT+dGlA8XWAvTU6pPJ4G2/7E3CNZORMqmnSaTA8AHxEVxssEYckJfMO5C1b B31mrfRRgb3p8WOfzC+VaF6qf4Rbaj2EVmarihL8KobvlYPlppyYNQJUFhY4x+4kKMhM oypILMYzg3ZuIxTdisIMCq++0GiS5W35L2T11ZfANOP5sREerN6V4qTsEs4rkOwUkJf4 77jpAe9fZ7KrGoBtNtlU7QP0Q5TwRgXgcATM9bsWlV/lmTFenObQLHqt1K8ixBum7mMY 0CpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@candelatech.com header.s=default header.b=Ton1bZP5; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=candelatech.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id mi10-20020a17090b4b4a00b0027921228848si5133943pjb.133.2023.10.05.16.40.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 16:40:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@candelatech.com header.s=default header.b=Ton1bZP5; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=candelatech.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 44CEC8026D83; Thu, 5 Oct 2023 16:40:05 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229519AbjJEXjy (ORCPT + 52 others); Thu, 5 Oct 2023 19:39:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45594 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229503AbjJEXjC (ORCPT ); Thu, 5 Oct 2023 19:39:02 -0400 Received: from dispatch1-us1.ppe-hosted.com (dispatch1-us1.ppe-hosted.com [67.231.154.183]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5F98AE7 for ; Thu, 5 Oct 2023 16:39:01 -0700 (PDT) X-Virus-Scanned: Proofpoint Essentials engine Received: from mail3.candelatech.com (mail2.candelatech.com [208.74.158.173]) by mx1-us1.ppe-hosted.com (PPE Hosted ESMTP Server) with ESMTP id 3E1902C006C; Thu, 5 Oct 2023 23:38:59 +0000 (UTC) Received: from [192.168.100.159] (50-251-239-81-static.hfc.comcastbusiness.net [50.251.239.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail3.candelatech.com (Postfix) with ESMTPSA id 91B6713C2B0; Thu, 5 Oct 2023 16:38:58 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 mail3.candelatech.com 91B6713C2B0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=candelatech.com; s=default; t=1696549138; bh=VEMoDBukjCDX99Abs1IDmwidxRDC+f6alGTuu90HfJI=; h=Date:Subject:From:To:References:In-Reply-To:From; b=Ton1bZP5n09ngrJPb9m8QkhTkZyHnKHviEdjKIfIU/KmAv5W2jLNh9auMrMHsFdx9 VAqu4Lj4shlsVsi2Hjc3FwGDMXn5rn17cf7kNIdeE4U8n804mpKod5vUosMyzQGRoY 7k8wmPbseT56MtHP04HfapbaC1/n47MVouc72oWk= Message-ID: Date: Thu, 5 Oct 2023 16:38:58 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH] mac80211: Allow STA to connect in AX mode to MLD AP. Content-Language: en-US From: Ben Greear To: Johannes Berg , linux-wireless@vger.kernel.org References: <20231003164326.857433-1-greearb@candelatech.com> <4ae5a8dbe80e0eb0b96e9165892746fc3b3e9197.camel@sipsolutions.net> <22462d21-86c0-a2f0-265f-044bfb14719a@candelatech.com> Organization: Candela Technologies In-Reply-To: <22462d21-86c0-a2f0-265f-044bfb14719a@candelatech.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-MDID: 1696549140-4_9Y3U0dyZIu X-MDID-O: us5;at1;1696549140;4_9Y3U0dyZIu;;b42792dba290a1257c3f0aaf1c60b0ff X-Spam-Status: No, score=-5.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Thu, 05 Oct 2023 16:40:05 -0700 (PDT) On 10/4/23 13:36, Ben Greear wrote: > On 10/4/23 12:38, Johannes Berg wrote: >> On Tue, 2023-10-03 at 09:43 -0700, greearb@candelatech.com wrote: >>> From: Ben Greear >>> >>> Check if user has configured STA to be AX mode, and if so, >>> skip the check for MLD elements (as they would not be needed >>> in AX mode). >> >> Eh, no, I think this is wrong. >> >>> >>>           if (ieee80211_vif_is_mld(&sdata->vif)) { >> >> If you get past this if, you've (locally) committed to doing EHT >> already, not just HE (née 11ax), so should have an EHT connection? >> >> Though the change is hard to read - but why are you telling the >> supplicant to connect with MLO if you wanted to not use EHT? > > It is mostly white-space changes, but the diff is ugly. > > I caused the DISABLE_EHT flag to be set in mac80211, and that generally > seems to work in my kernel, but something is still trying to do MLO I guess. > > I did not specifically tell supplicant to do MLO, and in fact I told > it to disable_be, but maybe that is not fully implemented.  My supplicant > is a few months old vs upstream at this point. I created a patch to supplicant where it will disable MLO if disable_eht is true, and that seems to have properly associated a non-MLO station in AX mode. So I agree that my patch to the kernel is not needed. Thanks for the patch review and comments. Thanks, Ben