Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp9228567rwd; Wed, 21 Jun 2023 04:58:55 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5Q/dquejyK0+un2wMcpJL37GNtPwy0zKHrshFhqc2H5/LbZs2CRx6s+LKIK9YftQTd0vem X-Received: by 2002:a05:6358:1a84:b0:130:e669:a6c4 with SMTP id gm4-20020a0563581a8400b00130e669a6c4mr8137154rwb.17.1687348735499; Wed, 21 Jun 2023 04:58:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687348735; cv=none; d=google.com; s=arc-20160816; b=OLDWR1wCExN196s0QSeeRzJ9go9rLZ7ZXuPMKRgdrORw3rc+SSR/AztR1shJTcj9MV V/E8n/iKXXCyRQeT9671qaB9PgYP+d7L+65eoVkgR5CYQsX2yLWEXUHqTpDCM4NIQkR0 m84imwzl/lN7urdCb2kvgkACs5y8WVDASHbCzqH6h1H004dV1vKgQBZrpn029O4JUEgG 3aiFIyclRV7+q8FYE6UihruZCBo3P/6aVn8kvbvd03ENFpCqC55pNrNDqqcw1eksZWG3 t4Fb0+MU5hkqBruQlO5Z6QUz9v0IfmuqoHYbGxzP76pD/aQyuaIgc+mn795CAtfM07JA fnPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=+nZBb2oJzuhDKQpCWy5UN11fCiSArQF3qKmuf9I0HmE=; b=YdEWNwW24fYfrQls79UWYJC8CKr0dXpV545Yaw1zP4X2MK109yAEU8oTIiseSkMLE9 pWmtVvt0N+HJhu4NNvdJHF9oFswXFJr/w0sCr1KJo4SWEPb467PR5ZTeCHVHfp88mdsW e4y9alxGdueaZ7JorTlcRFuBaCYAiyD+hfaBewtWcYi9OXsobuMFHG0hHSeaq1x+DBOo GwzMbevz6CMC8K4B0EJNSIjuLUSiyZiJsIo67cAOdBN2mnTzfZxucNxtFrmDppNEYl2d hZr1DPLs7kBl7c0o2G+MDPXBO+Hf3kuedewW+9hCyWZjxx9lizfunkmbHy9e+bIoHX+d S5ZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=YS9yPAF1; 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 v3-20020a655c43000000b0053fbe7c8d3dsi3691529pgr.632.2023.06.21.04.58.47; Wed, 21 Jun 2023 04:58:55 -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=YS9yPAF1; 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 S231420AbjFUL6S (ORCPT + 60 others); Wed, 21 Jun 2023 07:58:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34640 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231325AbjFUL6Q (ORCPT ); Wed, 21 Jun 2023 07:58:16 -0400 Received: from sipsolutions.net (s3.sipsolutions.net [IPv6:2a01:4f8:191:4433::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A06581706 for ; Wed, 21 Jun 2023 04:58:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sipsolutions.net; s=mail; h=MIME-Version:Content-Transfer-Encoding: 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=+nZBb2oJzuhDKQpCWy5UN11fCiSArQF3qKmuf9I0HmE=; t=1687348684; x=1688558284; b=YS9yPAF1gFh7lrcVPURvl+pEITQ1qEJkzy4v0kQIafqK5YU 80vTKqSE+L43+GKKGd0N0NCJzOpXZZ3lkUVgVB0T2bHnpX9t28ZIzsMfBtzqJx+rETky37dGgdYDC wou1MYfsLa8OuBjqiirWLw5RJx61z/5Rs/5MsLDN/1KVLPhSUw/a8D7CmkYj6Wr6+B/Kg6a6nxjHM pTPD3Etwf8eWoNzU7HvNTZTbim4MqCM+wiYkY/Qh75FmMRGH7nu/p8ZYt7AXzgGdWsafa4KDtef7g 9Qn1HQlbKOOP0ekTbpy1kNaEvC+80sAhWCOM+th3suTedlhksDpQvlL4bN3E/rsg==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.96) (envelope-from ) id 1qBwTC-00DeK0-0v; Wed, 21 Jun 2023 13:57:54 +0200 Message-ID: <53612acba151d031f636626db20c1c60db09fdd0.camel@sipsolutions.net> Subject: Re: [PATCH 10/19] wifi: iwlwifi: limit EHT capabilities based on PCIe link speed From: Johannes Berg To: Ben Greear , gregory.greenman@intel.com Cc: linux-wireless@vger.kernel.org Date: Wed, 21 Jun 2023 13:57:53 +0200 In-Reply-To: References: <20230620100405.45117-1-gregory.greenman@intel.com> <20230620125813.b77a1574a0a7.Id4120c161fb7df6dedc70d5f3e3829e9117b8cb1@changeid> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.3 (3.48.3-1.fc38) MIME-Version: 1.0 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, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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, 2023-06-20 at 06:19 -0700, Ben Greear wrote: > On 6/20/23 3:03 AM, gregory.greenman@intel.com wrote: > > From: Johannes Berg > >=20 > > If a discrete NIC is connected to a PCIe link hat isn't at least > > Gen3 (8.0 GT/s), then we cannot sustain 320 MHz traffic, so remove > > that from EHT capabilities in that case. > >=20 > > While at it, also move setting 320 MHz beamformee to the right > > place in the code so it's not set while not supporting 320 MHz. >=20 > Is there not an advantage to allowing 320Mhz for longer distance connecti= ons > where signal is relatively weak, so over-all tput would easily fit in les= ser > pcie bus? Especially on 6E band where the US regdom allows more over-all= power > when using wider bandwidths? >=20 I actually don't know. This surely isn't ideal, but it's the only way to really force the AP to not send too much than the NIC can pass out, and it gets unhappy if it can't. johannes