Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp313796pxb; Wed, 23 Mar 2022 19:11:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyqcbJF9sTvF4bonML+BLNFVmXcrqLpmwEpyK8tJ83Ivo9lQ5J5mjXGKCzPFckffUzqpLH2 X-Received: by 2002:a17:903:2309:b0:153:ad3f:b074 with SMTP id d9-20020a170903230900b00153ad3fb074mr3254332plh.82.1648087874082; Wed, 23 Mar 2022 19:11:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648087874; cv=none; d=google.com; s=arc-20160816; b=LcasS/IgUBh3L6Iwm0BBg74gRUxAy/Vi/mUMfCXbcOByevxah+WSgC0ndUZS/bvuZ8 i4csIL6lrEMJIwKKyEmOmh5bMo2BBOUkhlmLvSAXSVgfgObV/f7JIGAegSlPTtkNpsQd Kd+6OLxY446xJzjlkldUmLlAC9jE0XOPGkcJ17p45OuL2pM6gpi9MX6hut9jhT+DVyde z6Jm/udDtNt61HMcVCLNiFatQWHaTaDmmsTKRRdf7MQixj7lGAybYAHKvQr8Tq/oy6Bx UBM7K9N2j5fKEyw3F9Fg1f7fNx0n9X+I9nruWJ8MdMQDDfOBpOmJaORFvcxdwn39GjUL PPBg== 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:from :references:to:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=akxUDbVJ934mdte3EiQmz/nvXI8A79eAvp4WYVt3+uc=; b=V42Jgyy99I9iskpBRC1E87YG6R92nXOz1lhvoaZJKwAdDeMLMU1AsGxB5MyIETov88 EvdGjSs2FgmnedHllo2CcuUxEexX/OWNY8ionCbtgMj+aPI8jA8gXfCrncwXnxxuYBR+ sNPPeHqqknoNKvMprFm2uCb6+E9YJOu0ABCEcP3fh8ImQfnkiQ2BA/YZgW4AI0cfsK03 bcV8vhOIXJtZTOToNPyAT64qldWvA5P81+auuV7MjRvA2ut3rCXa3kgFgnto4Mf/8yB7 rBvAjHQs1gwHUSmi1H1zPBs3/lsGeRBbs98vKv3wXJhw005aiL+S2jeupLJoUeuPNHie 9Veg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=ti4x4yOM; 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=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c16-20020a630d10000000b0038265eb2c1csi13772867pgl.467.2022.03.23.19.11.04; Wed, 23 Mar 2022 19:11:14 -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=@quicinc.com header.s=qcdkim header.b=ti4x4yOM; 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=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344787AbiCWUqf (ORCPT + 70 others); Wed, 23 Mar 2022 16:46:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35430 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344780AbiCWUqf (ORCPT ); Wed, 23 Mar 2022 16:46:35 -0400 Received: from alexa-out.qualcomm.com (alexa-out.qualcomm.com [129.46.98.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8F0B0E0F5 for ; Wed, 23 Mar 2022 13:45:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1648068304; x=1679604304; h=message-id:date:mime-version:subject:to:references:from: in-reply-to:content-transfer-encoding; bh=akxUDbVJ934mdte3EiQmz/nvXI8A79eAvp4WYVt3+uc=; b=ti4x4yOMaPRvfsFrKVjqTzk59kDhy2sVm7fbYj6q7rXtnGNSiGudr97B RMCGFIg6z3GcUP1jFRbIg5hR/hR2jPrEI49s5jZbE9mI7nf7slNEQz0qR 9UBE+2xLkWn8iPvQdDxTXamN71MMu+lFJ2Bmtyih+mqzbbcyR6c3jWdlA A=; Received: from ironmsg-lv-alpha.qualcomm.com ([10.47.202.13]) by alexa-out.qualcomm.com with ESMTP; 23 Mar 2022 13:45:04 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg-lv-alpha.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Mar 2022 13:45:03 -0700 Received: from nalasex01a.na.qualcomm.com (10.47.209.196) by nasanex01c.na.qualcomm.com (10.47.97.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Wed, 23 Mar 2022 13:45:03 -0700 Received: from [10.111.183.2] (10.49.16.6) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Wed, 23 Mar 2022 13:45:03 -0700 Message-ID: Date: Wed, 23 Mar 2022 13:45:02 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.6.0 Subject: Re: [PATCH v2 1/4] nl80211: advertise RU puncturing support to userspace Content-Language: en-US To: , References: <20220323191640.31230-1-quic_alokad@quicinc.com> From: Aloka Dixit In-Reply-To: <20220323191640.31230-1-quic_alokad@quicinc.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.49.16.6] X-ClientProxiedBy: nalasex01a.na.qualcomm.com (10.47.209.196) To nalasex01a.na.qualcomm.com (10.47.209.196) X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 3/23/2022 12:16 PM, Aloka Dixit wrote: > RU preamble puncturing is allowed for bandwidths more that 80 MHz > except 80+80. Drivers may not support puncturing at all or have > restrictions for a minimum bandwidth. > Add new attribute NL80211_ATTR_RU_PUNCT_SUPP_BW to advertise the > driver support to the userspace. Default value (0) will indicate that > RU puncturing is not supported. > > Signed-off-by: Aloka Dixit > --- > v2: Moved boundary check for ru_punct_supp_bw to wiphy_register(). > These patches depend on EHT support from https://patchwork.kernel.org/project/linux-wireless/list/?series=614176&state=%2A&archive=both which are not yet present in mac80211-next tree. But found those in wireless-next tree hence I used the same repository.