Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B67C9E936E3 for ; Wed, 4 Oct 2023 20:43:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233410AbjJDUnt (ORCPT ); Wed, 4 Oct 2023 16:43:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43842 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233243AbjJDUns (ORCPT ); Wed, 4 Oct 2023 16:43:48 -0400 X-Greylist: delayed 460 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Wed, 04 Oct 2023 13:43:45 PDT Received: from dispatch1-us1.ppe-hosted.com (dispatch1-us1.ppe-hosted.com [67.231.154.183]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A3B4A9B for ; Wed, 4 Oct 2023 13:43:45 -0700 (PDT) Received: from dispatch1-us1.ppe-hosted.com (ip6-localhost [127.0.0.1]) by dispatch1-us1.ppe-hosted.com (PPE Hosted ESMTP Server) with ESMTP id 3C1BC5D3CC8 for ; Wed, 4 Oct 2023 20:36:05 +0000 (UTC) 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 1C9848C0072; Wed, 4 Oct 2023 20:36:02 +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 36DD013C2B0; Wed, 4 Oct 2023 13:36:02 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 mail3.candelatech.com 36DD013C2B0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=candelatech.com; s=default; t=1696451762; bh=7J5hKsaoXaKWqTIcz79bfMMFr1gmcNPStZ/JK1dEJYo=; h=Date:Subject:To:References:From:In-Reply-To:From; b=LnBv0JQt+WfenDzUg5bVCL6UCiOe4L/F6Fv/5WABUNNvf2VK5w06dqMmMPrGogwle 2S/0KmD8Z1F/uMQSYtdVxvgKgJDTkOeL7hfnaM95hwiYr4we99d/u5K00cHDwxzTD+ EyfGNv6eGimXU9mJBYO6A5KjmykHXxO1OiKQiC0w= Message-ID: <22462d21-86c0-a2f0-265f-044bfb14719a@candelatech.com> Date: Wed, 4 Oct 2023 13:36:01 -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 To: Johannes Berg , linux-wireless@vger.kernel.org References: <20231003164326.857433-1-greearb@candelatech.com> <4ae5a8dbe80e0eb0b96e9165892746fc3b3e9197.camel@sipsolutions.net> From: Ben Greear Organization: Candela Technologies In-Reply-To: <4ae5a8dbe80e0eb0b96e9165892746fc3b3e9197.camel@sipsolutions.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-MDID: 1696451763-xoJFAbWFpTs9 X-MDID-O: us5;at1;1696451763;xoJFAbWFpTs9;;b42792dba290a1257c3f0aaf1c60b0ff Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org 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. Thanks, Ben -- Ben Greear Candela Technologies Inc http://www.candelatech.com