Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp324343pxb; Thu, 26 Aug 2021 04:10:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy3+kijUEJqG9mDFE5lofzGYZTuhanQaUCRLtjqx3+M3dTpyd5eST5TbXHRMJYM2LNCcV+d X-Received: by 2002:a92:d1c6:: with SMTP id u6mr2247865ilg.263.1629976259211; Thu, 26 Aug 2021 04:10:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629976259; cv=none; d=google.com; s=arc-20160816; b=zr8XFKJ9j7OxETcmOe1xdsehQBj15tVgVRjdloQNEnpWTBAqbaFJ+9l71NhGfZ5l9o 2PYu0SSdIy+/L/h5fjGnDElwS/ojACagBfmK1623Ys8tB5QiDrC2r46xTCvZ+Wlb0tG5 fj2cZgWm7KdK++cRqgbODyrvROiCXvbg4Zcls1Ue+YyLZzZuUpx93hABochgTSLvNGxg SXNAJy4NMNS/z9HeJqJL9BkLSmn8XgdRi/Lj3hJxem+X53omeSQ42L7YP/Ffu6Nv07nS 1/DNbC9pq9UWwgvnfJE0IIvRdqLU0360ottnFNXoBT22Ldtw7mZunajU0J2Gv0kK9OIN 9KLA== 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:cc:to:from:subject :message-id:dkim-signature; bh=czeI+nFfn0fKCtI/TVIcOvMy5GtYOlDI6pZBIAoYgAE=; b=IPiOmi0X6480Nh8yKP8wPeWy1TTUN59oxddxMPQu8BaMak/enQC6HAXAJG1rQ0C2Su 16y/ELYKicQt9qTfTzjffEHTpT6JKoAege42cTL0TJCqQayoxW+/tIhnz5vP9LXTKsUh rLSHXwM+D0FRjXH5jdLrpzxcsf2Upvp5l4Km+qzTG0jobynpwjeqKJEixr09XZBF78V9 P8nDuq5c5cbcpPfMGvBin0NeCvpa4MLc2BKiBdYtvtFkuQHB1KnIo/YUMPUoOe5Qf+4e c8TOEi0n78JowzZFdss4SZKC/UIGMrLgF2FUNPk/FAAwd3Zhw5C3YvwjNSpnUNp+8+NS y0eQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=oEXGXKOD; 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 r17si2743415ilo.3.2021.08.26.04.10.47; Thu, 26 Aug 2021 04:10:59 -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=oEXGXKOD; 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 S241923AbhHZLLb (ORCPT + 99 others); Thu, 26 Aug 2021 07:11:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41262 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241865AbhHZLLa (ORCPT ); Thu, 26 Aug 2021 07:11:30 -0400 Received: from sipsolutions.net (s3.sipsolutions.net [IPv6:2a01:4f8:191:4433::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8DDA6C061757 for ; Thu, 26 Aug 2021 04:10:43 -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: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=czeI+nFfn0fKCtI/TVIcOvMy5GtYOlDI6pZBIAoYgAE=; t=1629976243; x=1631185843; b=oEXGXKODPx9c8HxABUuXD8OoadETPQnAEtgEdgI4d/yyvnT 0Shj8ogj7BrgZ+xC4XCXSCwIfBN2p0DStxeKaoY5OLqtPWrIMxdQZm5FPcCWR9lKO/qZcvi/I3DpR bNuDR6eQkP+3KEm+ANOqE7kTqrDaZvdM/Mr6rDO5RpdhNtpQZfKuOjXQoe3EhhwPlTQUULacp1r5P M3uGxT861rAdhiq7RvvA8Pr87DqeLj2ChRIcNVs6CdEUJOGdbW4a56ttBZXfi0Ehdu+wlK5DV3Pcr 4rrTj9J8CIpYeEC2xhbhxYPP+aJwjGXhUbgXtzWR8usxpE7/9pruanDJO2HjNy3A==; 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 1mJDHK-00G7g3-Rq; Thu, 26 Aug 2021 13:10:38 +0200 Message-ID: Subject: Re: [PATCH v2 8/8] mac80211: save transmit power envelope element and power constraint From: Johannes Berg To: Wen Gong Cc: ath11k@lists.infradead.org, linux-wireless@vger.kernel.org Date: Thu, 26 Aug 2021 13:10:37 +0200 In-Reply-To: References: <20210820122041.12157-1-wgong@codeaurora.org> <20210820122041.12157-9-wgong@codeaurora.org> <5c85b2bcfbffb617c5aa3f55e7ae94a1ab4df743.camel@sipsolutions.net> 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 On Thu, 2021-08-26 at 19:00 +0800, Wen Gong wrote: > On 2021-08-26 18:57, Johannes Berg wrote: > > On Thu, 2021-08-26 at 18:50 +0800, Wen Gong wrote: > > > > > > > it is memset here i this patch: > > > > Oops, missed that. > > > > But is that really a good place for it? Doesn't really seem to belong > > to > > assigning a channel context - maybe put it into set_disassoc()? > > > it is correct. > you can see it is place together with "drv_unassign_vif_chanctx(local, > sdata, curr_ctx)" > in ieee80211_assign_vif_chanctx(), it is for disconnect. Yes, I know it's *correct*, but that doesn't mean it's *good*? Look at that code - it does nothing with bss_conf. Nobody is ever going to look there. johannes >