Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1834281ybe; Wed, 11 Sep 2019 23:42:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqwmWDNG+lvaUnYg1g79bTSJ/9Lhsg67WJuwMJo750l+rAumYwlQO0iKSY03x68D6bVXzfsg X-Received: by 2002:a17:906:b298:: with SMTP id q24mr28847936ejz.93.1568270527313; Wed, 11 Sep 2019 23:42:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568270527; cv=none; d=google.com; s=arc-20160816; b=WsuS8qeUL+7UoIPh/XkUWG+RlTjDm3W07MdZglFh+KdCoBlXC2jz7q+9mbObpPU+sM zQ9TzZ9Ru3bARYQLpPHe4GVu0l/OOD7hFQR4No6qGxUJCd2qL8J52sqhezK/ORA4Z6sr bAogQqed5lOZNugHTdBZe00/zz6dzSQ9DBJKsGufI4Oy4+MTvTIfh/1HJeP2r8Jp9qyt 5lnxoJfpJCC4fnwmuafxdrGlLdBWSI7CGdKrmuA07AUOmifSjHplu/hXa9gO85UbpORU nyjpa5tYdmIbqXDRJgnvXvlLmh+qoJQXgs8iHfzyqthZndgQ/1j9WlbIZUroH/X6UIHv VMZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:authenticated-by; bh=eN6qXvKd8mtBIugiAuj5p5TjqDc3KJJ4nw5wfbUlJ7U=; b=wDyg96bbrU9OjqLNRweevXTIMsouLyKl1RcRWhQUBBmt4VF95DRQNRhTlG1HE+R1Iz QtU8VsZ+37dMpbdPCuDp5oij2WNag7jQ3ucjwGlK1kWtrNtRkCPo4k+xlx0gbBxZXWlJ pIp3HXB89Ih0FW/fUt45jmzTdxgi6WIH2pTwYZK5TfXrnqTeCszLmfYeBg6VChQoFiYU FNwZYLISTnRz6uFg+hQogIdqySQ7B4ao1dvQul3oArgi8sBygsonVm2fSMRm/0NOFMcL 12f5eq8wljPYaOIFjN2YMgcddPYSO6zGTHmcoXuglEbD5aQ/j/Bh7CsuGSPvuhwPCo0U jZ3w== ARC-Authentication-Results: i=1; mx.google.com; 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 e22si14159307eda.300.2019.09.11.23.41.31; Wed, 11 Sep 2019 23:42:07 -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; 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 S1729228AbfILGjp (ORCPT + 99 others); Thu, 12 Sep 2019 02:39:45 -0400 Received: from rtits2.realtek.com ([211.75.126.72]:41622 "EHLO rtits2.realtek.com.tw" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725765AbfILGjp (ORCPT ); Thu, 12 Sep 2019 02:39:45 -0400 Authenticated-By: X-SpamFilter-By: BOX Solutions SpamTrap 5.62 with qID x8C6dMD2009941, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (RTITCASV01.realtek.com.tw[172.21.6.18]) by rtits2.realtek.com.tw (8.15.2/2.57/5.78) with ESMTPS id x8C6dMD2009941 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 12 Sep 2019 14:39:22 +0800 Received: from localhost.localdomain (172.21.68.126) by RTITCASV01.realtek.com.tw (172.21.6.18) with Microsoft SMTP Server id 14.3.468.0; Thu, 12 Sep 2019 14:39:21 +0800 From: To: CC: , Subject: [PATCH 0/2] rtw88: report RX signal strength for each antenna Date: Thu, 12 Sep 2019 14:39:13 +0800 Message-ID: <1568270355-29727-1-git-send-email-yhchuang@realtek.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [172.21.68.126] Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org From: Yan-Hsuan Chuang For some user-space programs such as tcpdump, they can parse the radiotap headers provided by the wireless device. And the signal strengths for each antenna are very helpful. They can tell us if the antennas are placed or connected properly. Tsang-Shian Lin (1): rtw88: fix wrong rx power calculation Yan-Hsuan Chuang (1): rtw88: report RX power for each antenna drivers/net/wireless/realtek/rtw88/rtw8822b.c | 1 + drivers/net/wireless/realtek/rtw88/rtw8822c.c | 10 +++++----- drivers/net/wireless/realtek/rtw88/rx.c | 5 +++++ 3 files changed, 11 insertions(+), 5 deletions(-) -- 2.7.4