Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1291185pxb; Fri, 20 Aug 2021 02:18:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwLEKX3iFxuK1iGbidAzIaqpUWmJDj71MJnuD7NC2WDXxjufXtEXCziSD0lnufp8rlT/uRe X-Received: by 2002:a17:907:105d:: with SMTP id oy29mr20501452ejb.531.1629451113482; Fri, 20 Aug 2021 02:18:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629451113; cv=none; d=google.com; s=arc-20160816; b=fjPOiM2xoylPL27jYQeazROdG3Tmk8JP5MpzjTnmhnSkE8CULgWCpU44Fdzrvks0DG ZgTOfWb9NJMs1sW7W8Y287BKFxuzXimgKQDPJ7iWem2bB5NkFtnkgPRXulN9iChpqXcM C0KymxtKgo4ISlcZwNW0SuLd0GmPWz8fzR59xx6X0aCBd8uhCylVzX2kgz5F+78Tcy8N IDqiA3DTbn21gM8kROqdiBOozGRf/5mYPGG3wNYjUKCMxaVHha2LussXCa3TskWvBxo5 yhC4AAAf5P4eluohYG2dDYZ3FIC1etO7vQdcwyrD3XXtlXE+ZEYrLLdwdHMx4fM5MrFn E82g== 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:to:from:subject:message-id :dkim-signature; bh=C34DC/JZ/0jrJFT1WLTx+jmXW+TLNZPwmBEN0go/p9k=; b=YRD0pLPMerd6zX+KMbKatQ/KOmt/3CWEtxaiyJXMZVG4dVIC341+4l1PfryDEwE4XS XXoW1SCRdK2O5yaz2H5u35Hk5xhRQCBA5BB0nntqTgP87AW9CPOFormOxAxA6E4A7J9h 8i+VssyEvuR04nkQkqd0sEEyjCufVzTqiIHSQEJSWsNdFXaT55nx1M2t36CFhgPofbSg M6nFPuWFQisVCIb7BhqOXLKf2XpX3OUJwlIeZFUikJZftYrFaAGEy/0J0h+oKS+ZRUBW fnFGHi3J6sO+8Tv5MRbrO27I8rpUPvZRV0bT7K0ktoMhzoydMwRwZQDmWXJQWPxeXXKl XogA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=WWHBMJZU; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p18si5976295ejb.559.2021.08.20.02.18.03; Fri, 20 Aug 2021 02:18:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=WWHBMJZU; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 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 S235426AbhHTJSC (ORCPT + 99 others); Fri, 20 Aug 2021 05:18:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47084 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235063AbhHTJSB (ORCPT ); Fri, 20 Aug 2021 05:18:01 -0400 Received: from sipsolutions.net (s3.sipsolutions.net [IPv6:2a01:4f8:191:4433::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 669E3C061575 for ; Fri, 20 Aug 2021 02:17:23 -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:To:From:Subject:Message-ID:Sender: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-To: Resent-Cc:Resent-Message-ID; bh=C34DC/JZ/0jrJFT1WLTx+jmXW+TLNZPwmBEN0go/p9k=; t=1629451043; x=1630660643; b=WWHBMJZU1qHp00M5mchLWjpcwcNExYYNTUk4GFjGfftKY1C yRhzKoe0hn/yZbg9ZrVRx4+U79DSS1rAqcRVDBSjLVz1MvURNf03/2z2ROjH0ah51vygqMOTN0500 nCJ+KrOCAQxfM8DsxgevCyRcDtuGS87RzQOXCPRcYJAalu2RBDDXqwpKFdcLdJ8juQq67PFyh5+D+ zHNjZ/gyIQ6WHJ/dwpF8hANU44PbwYyVQ3EI/RuxX5FVCIfJEd6f5P0dNC5vAbl6nHmLYOkPUITnB QXgram3RDcWccSYXLnc+QNgtm397WXujFNEzpZstxDN+dSX9LBe/wiOlGsGKTv9A==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.94.2) (envelope-from ) id 1mH0eO-00DWv8-Qi; Fri, 20 Aug 2021 11:17:20 +0200 Message-ID: <2c55dce18c94d778207b3fc452a09e14ee80c032.camel@sipsolutions.net> Subject: Re: question on HE debugfs output From: Johannes Berg To: Ben Greear , "linux-wireless@vger.kernel.org" Date: Fri, 20 Aug 2021 11:17:20 +0200 In-Reply-To: <578da3a0-f029-4e60-d4e6-34d42def62e8@candelatech.com> References: <578da3a0-f029-4e60-d4e6-34d42def62e8@candelatech.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.38.4 (3.38.4-1.fc33) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-malware-bazaar: not-scanned Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Hi Ben, > While poking around in things, I noticed that the > he_capa debugfs is not showing the least-common-denominator, but rather > more specifically the peer's capabilities. > > This could be bugs in how I'm using this, but thought I'd ask to > see if this was on purpose or not. It was on purpose. Also, for HE it's different from HT/VHT in that we don't do this in the stack any more. I'm not really sure _why_ now (or if we should change it), but I seem to remember it was just a lot more complex to do in general, but drivers didn't really care so much since they tend to have a lot of hard-coded assumptions, e.g. they might not care about seeing 2, 3 or more streams supported if their code assumes the device always only supports 2 in the first place, so all they need is a >= 2 check in this case, for example. If you wanted to change that, I wouldn't mind, but it might be complex. johannes