From patchwork Mon Jul 17 15:09:51 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Larry Finger X-Patchwork-Id: 9845427 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 0371C60386 for ; Mon, 17 Jul 2017 15:10:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EAFA927CF9 for ; Mon, 17 Jul 2017 15:10:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DFD7828405; Mon, 17 Jul 2017 15:10:15 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9F99627CF9 for ; Mon, 17 Jul 2017 15:10:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751381AbdGQPKO (ORCPT ); Mon, 17 Jul 2017 11:10:14 -0400 Received: from mail-oi0-f66.google.com ([209.85.218.66]:35248 "EHLO mail-oi0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751361AbdGQPKL (ORCPT ); Mon, 17 Jul 2017 11:10:11 -0400 Received: by mail-oi0-f66.google.com with SMTP id r74so4560916oie.2 for ; Mon, 17 Jul 2017 08:10:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=mhepu+RhevtmV8BanZniHP3JemE7ch/vvvlvP5KNNPg=; b=CWLGTz3OyZK9SI3omjZzWvyRw/0fbZ9dNaUEEb+PRke2bMoho4SLAemCgnv9b+HexW jgtssIAvxdaP6+Fzq7o9aXOteCTc/8jRZ2BS8NSL+oT/D09EhQGO7f8l5f294+szK6+9 TdVNXJ3nsgzBlaFOp8UPqX9VxMsOGkM0uDzbROkzjV2xfhWK68Le48gHRkVe5DSpLwfe 1y7uze/zkPtTqeHTBKTkcBTo13X+hBv441oG8Ohsz22LlQXLbvtUxitIjiUzvN6Tp7pH 5wYuUpeiZ1Tla6YSzs7Loj6LAwEAuWRFSeJpgeOQe3vYrMz/HGnK81/z57ZsO9X8sIdT Ozug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=mhepu+RhevtmV8BanZniHP3JemE7ch/vvvlvP5KNNPg=; b=V6+W1LZ9ATHgi+6YJhOSzbXw7I0/qqFy78zmhDagNooQNd5L9GRsxxIHGyAym5+WiL nx1t1hzmNd61LSoVLYWrIvDeQ0d1JBVQBkpsNkcUdZzbTiHxPOGZ21GKkH2XiO9606EB lKdZwyl9c++QLNAFn1TBnoOocNszZM7fTf0axr0WyFklAg6MoSEMWEzVQrCQhb5bJNqh yXK1QShYSMthjb/mHj67kZ7igwq5wxrvgC1vXuWJ2GT3kG03agNspBq5uORD4Mc8V9Ae o7he/yPyZQOEQtwP0I7aDWUiVIIlOnixO/3EVo2dyFu/cZwd/m6QXQ2BlyyTjAP24nXm XT3Q== X-Gm-Message-State: AIVw110A8OJKQKDVXT6hEh2GpbPTlEPOCGmG4jEaoAKzltaa5MZUCmV7 oJj+ii9FzdMWAA== X-Received: by 10.202.8.14 with SMTP id 14mr16545339oii.68.1500304210676; Mon, 17 Jul 2017 08:10:10 -0700 (PDT) Received: from linux-4v1g.suse (cpe-24-31-249-175.kc.res.rr.com. [24.31.249.175]) by smtp.gmail.com with ESMTPSA id p65sm29370656oie.8.2017.07.17.08.10.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 17 Jul 2017 08:10:10 -0700 (PDT) From: Larry Finger To: kvalo@codeaurora.org Cc: linux-wireless@vger.kernel.org, Ping-Ke Shih Subject: [PATCH v2 08/11] rtlwifi: Add RSSI and RF type to wifi.h for phydm Date: Mon, 17 Jul 2017 10:09:51 -0500 Message-Id: <20170717150954.1441-9-Larry.Finger@lwfinger.net> X-Mailer: git-send-email 2.12.3 In-Reply-To: <20170717150954.1441-1-Larry.Finger@lwfinger.net> References: <20170717150954.1441-1-Larry.Finger@lwfinger.net> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Ping-Ke Shih These definition will be used by phydm later. Signed-off-by: Ping-Ke Shih --- v2 - no changes --- drivers/net/wireless/realtek/rtlwifi/wifi.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/net/wireless/realtek/rtlwifi/wifi.h b/drivers/net/wireless/realtek/rtlwifi/wifi.h index 8d8e104507d6..4dbce5f4c2db 100644 --- a/drivers/net/wireless/realtek/rtlwifi/wifi.h +++ b/drivers/net/wireless/realtek/rtlwifi/wifi.h @@ -560,6 +560,11 @@ enum rf_type { RF_1T2R = 1, RF_2T2R = 2, RF_2T2R_GREEN = 3, + RF_2T3R = 4, + RF_2T4R = 5, + RF_3T3R = 6, + RF_3T4R = 7, + RF_4T4R = 8, }; enum ht_channel_width { @@ -1329,6 +1334,7 @@ struct rtl_sta_info { struct rtl_tid_data tids[MAX_TID_COUNT]; /* just used for ap adhoc or mesh*/ struct rssi_sta rssi_stat; + u8 rssi_level; u16 wireless_mode; u8 ratr_index; u8 mimo_ps;