Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1131189pxb; Fri, 27 Aug 2021 01:47:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxF65wXs0816A+McqPRxeJtbdSkMkWfp34qfP2RsJLadpVneH8bx58drMfL0pjiP/f7l8lU X-Received: by 2002:a05:6402:332:: with SMTP id q18mr8808301edw.127.1630054074304; Fri, 27 Aug 2021 01:47:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630054074; cv=none; d=google.com; s=arc-20160816; b=Pn7lCPNYuFcFsmo98NBW0WXSP5jxzXysT1p2etRJkY+EQTyEtTY51/Lq/adaEnAlzy H2uxFxDt0tAsmriZ/Bt/c+mlFyv1l0H9ZHX67KpCvfo0LW1DS8mwbA/P2kHTm/ALv5Od HyktNIKw7B0IvSIzMBQsn4mhGnGk7OSpSYZoa6emRj0PLP8DajIJuKDihO8KW4+8RSJo UsTEmglB2rFhw29GEYTZMxIvVWbvQ1UeyebCJyuJp8ZuJOBapDVcFMpEQ6mar0jo3gpj FKj3LZ6V4np3YGizR10cjwqdhWKpLsue9WhEk67XgffiwBRS9+uXWZx1akGu1hUd7Tfv b6TA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:message-id:references:in-reply-to :subject:cc:to:from:date:content-transfer-encoding:mime-version :sender:dkim-signature; bh=nuWZZjA/CahwoY0D3QK4iRrNop3uymnaep3vKQXmInE=; b=uFb+J4ydR1KI8aGw+cZt26zDgwwwjiPXv6IgcEBs2Um4cq7Y5m/scGmh6KSi5DdjPF PXB3siSfeTBDyww6UtFd9hTbCiEYbq5vasUmi++/wFUbSVeLEbWrZAPg0VfsJ24iUNz/ LKklqDva9YB2YvFUFUEIiYhx8PPFp8nnIDmEZIvaqM8bNEt44hRIq2cAIvJwJ0gmfT5o HKFql47Ws+zd8suZeu8++0/ea91DTrhOwBO5RAj4W42IxH74Px98zOvqV9YriVEqQtME OE11hfhvxg1MKty2YoC/Hiq+DhwvzZ1QzSPYsL6+FIiFNvPCdz37RuwLfQ6hvd1CNBHt lc+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=SO4zFHN8; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o14si5882662edq.39.2021.08.27.01.47.26; Fri, 27 Aug 2021 01:47:54 -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=@mg.codeaurora.org header.s=smtp header.b=SO4zFHN8; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244448AbhH0IsG (ORCPT + 99 others); Fri, 27 Aug 2021 04:48:06 -0400 Received: from so254-9.mailgun.net ([198.61.254.9]:64906 "EHLO so254-9.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232048AbhH0IsD (ORCPT ); Fri, 27 Aug 2021 04:48:03 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1630054035; h=Message-ID: References: In-Reply-To: Subject: Cc: To: From: Date: Content-Transfer-Encoding: Content-Type: MIME-Version: Sender; bh=nuWZZjA/CahwoY0D3QK4iRrNop3uymnaep3vKQXmInE=; b=SO4zFHN8RMj+YmBtUHFe0zvmPlBw5991vL6aYghkOLd6pPY3g/ul949PqSeXXQey2b8B9ydQ /Ec9JqY7dqwEPhoqU7fXN5yyPMZBlgfAmVwQ2CGOZg+BG7SwCnDq/0qnWOhJo4NBh3Qi3UmQ iX3/ESjafkk7ZtkUts7NesUj1KE= X-Mailgun-Sending-Ip: 198.61.254.9 X-Mailgun-Sid: WyI3YTAwOSIsICJsaW51eC13aXJlbGVzc0B2Z2VyLmtlcm5lbC5vcmciLCAiYmU5ZTRhIl0= Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n06.prod.us-west-2.postgun.com with SMTP id 6128a692d15f4d68a2db895d (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Fri, 27 Aug 2021 08:47:14 GMT Sender: wgong=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 200C2C43616; Fri, 27 Aug 2021 08:47:14 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: wgong) by smtp.codeaurora.org (Postfix) with ESMTPSA id B3DC0C4338F; Fri, 27 Aug 2021 08:47:13 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 27 Aug 2021 16:47:13 +0800 From: Wen Gong To: Johannes Berg Cc: ath11k@lists.infradead.org, linux-wireless@vger.kernel.org Subject: Re: [PATCH v2 8/8] mac80211: save transmit power envelope element and power constraint In-Reply-To: References: <20210820122041.12157-1-wgong@codeaurora.org> <20210820122041.12157-9-wgong@codeaurora.org> <25fcede26b99604a03d0b321b7120db4@codeaurora.org> <48ad47869e703cbef437378c508d6a5b64c160ae.camel@sipsolutions.net> <0680b508a7864e02f55d763851f7460baa73b53f.camel@sipsolutions.net> <110489059796b17849d0f32fb5189828@codeaurora.org> <27680423e824dd67217cc6f1e62f9ac0a1af78f2.camel@sipsolutions.net> <01d9e4eadbb0d87edbc026fc719858a3@codeaurora.org> <3483aeb87a81dea538af3a2640cd49831274320f.camel@sipsolutions.net> <40e8c88cec2d3601afbfe187c57fac6b@codeaurora.org> Message-ID: X-Sender: wgong@codeaurora.org User-Agent: Roundcube Webmail/1.3.9 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 2021-08-27 16:30, Johannes Berg wrote: > On Fri, 2021-08-27 at 16:28 +0800, Wen Gong wrote: >> >> the TPE is only 8 pointer in the struct ieee802_11_elems. > > > I know, but it's showing _just_ above the threshold for the warning > now, > so if it was _just_ below the threshold before, adding 64 bytes could > still do that. 64 bytes is a lot, after all, the threshold is only 512 > I > think. > Yes, I will change to below in next version. "struct ieee802_11_elems *elems = kzalloc(sizeof(*elems))" > johannes