Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp9527901rwd; Wed, 21 Jun 2023 08:30:42 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6RZCe56cgCKgmJQcBQWwpfHcwBO34C+jgjxuppsgzT3CbXXL9OhTDEiXNQBnA+2wbdH7Xj X-Received: by 2002:a17:902:e801:b0:1b5:4262:ec71 with SMTP id u1-20020a170902e80100b001b54262ec71mr8978025plg.23.1687361442589; Wed, 21 Jun 2023 08:30:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687361442; cv=none; d=google.com; s=arc-20160816; b=Gzfu82EMv3927QfH8BxiGFuZzY2ZgPk5+JKcIkCuWFjgFhKYNcOV64Zb27oUKPYGqb XAPUw4hjftCHvVldT/aoWyrIB6caqjzIlcQsLtDwx26rhhMPL3g507RIg1qBt43o8YqH XoRKcdSIlhuz2JYVCglRdo3541TG+5thv/nLhKkH9d7CB8CNL3ptlkEXl0q9gj3RWH6/ L6XPzhNxMY9oVR5lZeYU4iCcU3B8M9mf01QLxjaUS341js2pXz7/5DRXZejU5Y7+75yf VCBN0faar0jc2VsdZOwIpGFXXimxUk/hpGlZmylwdD4lSno78RBa2JIiRwDp4W7RrudS d3Hg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:organization :from:references:cc:to:subject:dkim-signature:dkim-filter; bh=aTh5Bwgv9NbPhNtfkND3IpiFJTbIN0hkjFfYj692d2o=; b=SuA8oeJEkyi6oWavu7EvXC0N8+Hj8QaJpiVkmutKgaRPt7bp5SVcJFV6CX5gZ5omhC r3b7kgF8BSzJ0EfGJWn0agtkh2eQbs8HWIGBACvxIClWJmI06U3Ewe7Pl3hQxEc3e7/x luelG6BkH4pxq9CRqUHvmsokv+UDZbDQFycddH2H9Bqqs3hAr6aJ2ykKzxP5yfJgITwn iK54QYAbJa+XWPPxRMVFCl1zEnV5BYGdNlM4M6ejGd1fEqEKCUdZZ6dC5YwtwS4OyirS Ti+MsSsF28ltwDlMs7RbVbRmEi9oms4HiiPzYfaEVbzyHH1N/KKxYyCbsFCBCW6Gwau0 yfnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@candelatech.com header.s=default header.b=CsJD1QcL; 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=NONE dis=NONE) header.from=candelatech.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u14-20020a170902e80e00b001b5219acbbfsi490229plg.359.2023.06.21.08.30.32; Wed, 21 Jun 2023 08:30:42 -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=@candelatech.com header.s=default header.b=CsJD1QcL; 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=NONE dis=NONE) header.from=candelatech.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232487AbjFUPL6 (ORCPT + 59 others); Wed, 21 Jun 2023 11:11:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51282 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233242AbjFUPLh (ORCPT ); Wed, 21 Jun 2023 11:11:37 -0400 Received: from dispatch1-us1.ppe-hosted.com (dispatch1-us1.ppe-hosted.com [67.231.154.164]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 89C8159C7 for ; Wed, 21 Jun 2023 08:07:05 -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 3808B5C43F2 for ; Wed, 21 Jun 2023 14:48:51 +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 8D1D024005D; Wed, 21 Jun 2023 14:48:39 +0000 (UTC) Received: from [192.168.1.115] (unknown [98.97.112.156]) (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 7A7BE13C2B0; Wed, 21 Jun 2023 07:48:38 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 mail3.candelatech.com 7A7BE13C2B0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=candelatech.com; s=default; t=1687358918; bh=SzAlpnHZecZa3N2uhe/a8AbUZuAh1g1+ys6diEISfn8=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=CsJD1QcLHhgGEG36ngd3J6EWh/uXOtISwsMlwStvFXu9LLSS4Pm+XSI2qdcb90H9P X4aIZSxKFLLGnDYJU0JbYEVmKAidKV7oslMURH1gi7B9uTdjGlA1hNZmeqWLDWQUHS um2v2brkFQOOpS2fnVguimQ0Kmk/vxI9YDuaqGaw= Subject: Re: [PATCH 10/19] wifi: iwlwifi: limit EHT capabilities based on PCIe link speed To: Johannes Berg , gregory.greenman@intel.com Cc: linux-wireless@vger.kernel.org References: <20230620100405.45117-1-gregory.greenman@intel.com> <20230620125813.b77a1574a0a7.Id4120c161fb7df6dedc70d5f3e3829e9117b8cb1@changeid> <53612acba151d031f636626db20c1c60db09fdd0.camel@sipsolutions.net> From: Ben Greear Organization: Candela Technologies Message-ID: <9f4c589a-2160-cedb-d79a-1f57ea5244da@candelatech.com> Date: Wed, 21 Jun 2023 07:48:38 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 MIME-Version: 1.0 In-Reply-To: <53612acba151d031f636626db20c1c60db09fdd0.camel@sipsolutions.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-MW Content-Transfer-Encoding: 7bit X-MDID: 1687358920-6ZfSgWMvdibv X-MDID-O: us5;at1;1687358920;6ZfSgWMvdibv;;21a4e426aab50b16d8e6565b1650ef6d X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,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 6/21/23 4:57 AM, Johannes Berg wrote: > 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 >>> >>> 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. >>> >>> 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. >> >> Is there not an advantage to allowing 320Mhz for longer distance connections >> where signal is relatively weak, so over-all tput would easily fit in lesser >> pcie bus? Especially on 6E band where the US regdom allows more over-all power >> when using wider bandwidths? >> > > 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. So this is to work around hardware/firmware bug in NIC? If so, that should be mentioned. I have heard in the past that higher bandwidth works better than higher NSS in a lot of cases, so if HW/FW can be made to deal with floods in unlikely case that the RF is perfect enough to saturate the PCI bus, then I think you should allow 320Mhz even on slower PCI bus configurations. Thanks, Ben > > johannes > -- Ben Greear Candela Technologies Inc http://www.candelatech.com