Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp2043758ybg; Thu, 24 Oct 2019 04:03:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqzg74gFQSo7m9ncLR2ukTr8X412OBcSs4QU2akMy8u+nooXktMfTdETe5E5SBqyoICGRvTt X-Received: by 2002:a17:906:544d:: with SMTP id d13mr602282ejp.64.1571914997881; Thu, 24 Oct 2019 04:03:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571914997; cv=none; d=google.com; s=arc-20160816; b=LH9CncOCeHuhCzkFHy+dBei65iuzHUphYYjcaBRFz1Wjwk7HsYDoyEbSsVagAP+lzi 2L/9tZvIThODq9o3kxQIb1svkGuoJwt0nfEF0X0CEZih5UVljet59hLhGfOyJ6Zn49fZ iI8YUFHh2wWcREe/uX5Nd7MflMdMmIzGUM7ls6a9csMajpM0/4JezzfJ2S1RZ2LVcJbu i+7jMbifvn+kl2hfLZGaexXvUh4G/Yx2/UNQmwI7FuKLEYUqdVwl9kzZOU1osIau5Prw P3eKHZVYe/DjDoBIXectxw9TTrR/eelBWv3xzTxOBkfVStxFWPI6n+nBwheDjBanAtZO Bi9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=YbIr1oDSQ4EPbvIHPFNZbAyS3NB93QhbsBV4jJ3VP1k=; b=Rw+4xmvXxUbf5NadTshkNEF4hbyZ9VU3q2vPb6JUk14RjZ3+uPQKzQg1hGqE9iFoVD FKpo+uLUx4RB6ZRwuNikYTwNkQu7C2uVX2adi/AJNASRUsrkmqVN4O8sJY0fgvbPiDPa m3BA1YVcoLOe5xblPpTO0xMg1ZyuCu/oM4cr45elLU49R4SmJagGOJcasb6hs+6hH0Mu nq/wmO1vFfnMdxIboQAz3jnBzFHmMqyrEDW4Q0DmyPO/mO21cQ9wTfZ5EDPDlFANiBU2 JJ2fBUdKm1hcVd4dPR98j9AFv7WkWTzZWrewG9Fmr5X0hXAoOLz7AwCd4pnr6BX4Clrm jh6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@endlessm-com.20150623.gappssmtp.com header.s=20150623 header.b=tzh0AgOX; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g25si15157853edr.71.2019.10.24.04.02.43; Thu, 24 Oct 2019 04:03:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@endlessm-com.20150623.gappssmtp.com header.s=20150623 header.b=tzh0AgOX; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2392295AbfJXB3o (ORCPT + 99 others); Wed, 23 Oct 2019 21:29:44 -0400 Received: from mail-qk1-f195.google.com ([209.85.222.195]:38406 "EHLO mail-qk1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388218AbfJXB3o (ORCPT ); Wed, 23 Oct 2019 21:29:44 -0400 Received: by mail-qk1-f195.google.com with SMTP id p4so21829481qkf.5 for ; Wed, 23 Oct 2019 18:29:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=endlessm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=YbIr1oDSQ4EPbvIHPFNZbAyS3NB93QhbsBV4jJ3VP1k=; b=tzh0AgOXkfbqhCuKFKxoKO7S4f9RzUekJ6ryKIIbV668YrBdWD7X/nPXj2f1VVxHEy VbIbGZybsXTfsQq8QT0dYS/lDSbUsnIA/RT6lw8yRXVsnf0DFKpounTkPcrYTyAYYGUK 7Cn6722/+MM9G62uEBXkJx8mFzUQRlMwnwdd0UoU0mI/t0PQVPWr+i8NSLSVv2u9JGMw 1z01K77rP3W0k4t8m+a6LRR70wOI5LRBa8HXcBgzzm2TeY/IzWL2lXQY4DOMNpiYjCIH U1bgz/5/2itAThK5rRkmZxP9kPue0G1SGWpjW38LcKvqPceKFgc+pU6bc+UQGcz+jd5a K2tQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=YbIr1oDSQ4EPbvIHPFNZbAyS3NB93QhbsBV4jJ3VP1k=; b=NdMz/v+8smCkvC+3aeSM+EbGv3ku86dC6xleLssYbymP/1zLZDiTIZYi/+O1AsnauY jPkMHWDu2TcoycOTlxo7huh00u36UDr2OELwwpV914m1t0Su2ouEMfVlZikFzKDw2gZX bAi60G2dk5CwzhHGUFg3zwBBXufy5qvN1NSRIXLUzfzk4vDTqYovJIx8ETrIl5nDR7IZ 1wwVxvmV5pgCxWzMZDZ997ypEj2/RY9/8HWGesUhY8GD+j62GL78Ql28Y2zJ4zREAbOw vuzAlYji3oC3FiloTKd5dDTyl1o8DkZfhXUAHyiWV/U464mmoZ8CdlHRj358YIg+tY5v rbvA== X-Gm-Message-State: APjAAAWSayTstOgmADD/8KZhPwb/UguiotAqh8g3T/kHgcNlbEID/5NW KxNsEuARy0R996lgvy8m/AdZrMnZzOJgvgVPnq9WBA== X-Received: by 2002:a37:847:: with SMTP id 68mr10906479qki.366.1571880581745; Wed, 23 Oct 2019 18:29:41 -0700 (PDT) MIME-Version: 1.0 References: <20191022100420.25116-1-yhchuang@realtek.com> <20191022100420.25116-3-yhchuang@realtek.com> In-Reply-To: <20191022100420.25116-3-yhchuang@realtek.com> From: Chris Chiu Date: Thu, 24 Oct 2019 09:29:30 +0800 Message-ID: Subject: Re: [PATCH v3 2/5] rtw88: add power tracking support To: Tony Chuang Cc: Kalle Valo , linux-wireless , Brian Norris Content-Type: text/plain; charset="UTF-8" Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Tue, Oct 22, 2019 at 6:04 PM wrote: > > From: Tzu-En Huang > > The temperature of the chip can affect the output power > of the RF components. Hence driver requires to compensate > the power by adjusting the power index recorded in the > power swing table. > > And if the difference of current thermal value to the > default thermal value exceeds a threshold, the RF IQK > should be triggered to re-calibrate the characteristics > of the RF components, to keep the output IQ vectors of > the RF components orthogonal enough. > > Signed-off-by: Tzu-En Huang > Signed-off-by: Yan-Hsuan Chuang > --- Reviewed-by: Chris Chiu > > v1 -> v2 > * Use macros to check current band > * Some coding style refinement > * Not casting "const" pointers > > v2 -> v3 > * Use RF_PATH_* for thermal values >