From patchwork Fri Sep 29 19:47:57 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Larry Finger X-Patchwork-Id: 9978589 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 2528060329 for ; Fri, 29 Sep 2017 19:48:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 17FB6298AD for ; Fri, 29 Sep 2017 19:48:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0D185298AF; Fri, 29 Sep 2017 19:48:21 +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=-4.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID, URIBL_BLACK 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 AB0CF298AD for ; Fri, 29 Sep 2017 19:48:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752574AbdI2TsS (ORCPT ); Fri, 29 Sep 2017 15:48:18 -0400 Received: from mail-oi0-f68.google.com ([209.85.218.68]:45731 "EHLO mail-oi0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752507AbdI2TsO (ORCPT ); Fri, 29 Sep 2017 15:48:14 -0400 Received: by mail-oi0-f68.google.com with SMTP id f3so1108097oia.2 for ; Fri, 29 Sep 2017 12:48:14 -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=LAyHWrHaNCkIukH7Y0NNX6zgz4Cy42U3G7nc3lP5ct4=; b=qdqEWsKDQRMGMvFC6siy5DlHnuVWy92+2ltQhVNWUwbyE05UcBon6QWYvS2G/Oavnt KSM9+gAYh7XFNJEgolICQkAKc+fBaj8FRiySk/Pchf/I1nVLgm+v9UYJ9GgTXoM05r1X 0YhuiTg7fXBHpeLOm3SWbHmN4P/2hqn5Qz+tm3XCXe34Acfv2LcQij8uc5srIdtKNQLE FRIImXR+lKU9Ezcwr2kkIukXUjYsItOzQIUw2GvD3A2Om5/B9P8tdHMRzL9We569QQA3 4DSwgvbOQ6lruyiQVTKCy6HvvblLozd8Q25Pl52J/S2/ZPyAdB2gY6xSot2Xrq56sjeD UISw== 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=LAyHWrHaNCkIukH7Y0NNX6zgz4Cy42U3G7nc3lP5ct4=; b=uUoMzke+qCw6fQV7Jvt3M8+VKJeq9BCogcvYaS5EkMfT/+4AokiLmbfOH8l0+jCKVr mz1pJXUL7ZmHYqSsux2oCKzIh5vzFs+tW60yVuX6P4DvBoGXc8N9Exvg8SuspCJAPNca 4932A9WMcCjzKErq/gB9lgyrlDygYaH4iLl1lFvPA42BEBqxBaNpwsMyiMDUMKxj2iFt hI9cC70OFHRU0Xoe70M1EahgRG3LAdsDyjU4MOy8r1/IJZTsophFKpVTn3cdcK5G52Wq zG0ZAA38F0UsYK1ia5m7O0s94rAOwNZIHFgiHmXXoNb4U/Ul7jC+7Wf48LjYkWWD7vX3 sQcg== X-Gm-Message-State: AMCzsaUAE5XksujXkxM7eWq4Bh8DOmaOna2EBGIb/RHlavJx1bHrlcqW iqDFhkp9VW2cATYkJ05mNfs= X-Google-Smtp-Source: AOwi7QBGHyGJZXwwkRl2UC6eI8nKDm0RjiYwJsdLLN5fwejb1HPbF5r+2lYYli4jFvplK1y1PJ8wLg== X-Received: by 10.202.173.72 with SMTP id w69mr2896550oie.109.1506714494387; Fri, 29 Sep 2017 12:48:14 -0700 (PDT) Received: from Larrylap.localdomain (cpe-24-31-251-255.kc.res.rr.com. [24.31.251.255]) by smtp.gmail.com with ESMTPSA id v14sm2311062oif.39.2017.09.29.12.48.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 29 Sep 2017 12:48:13 -0700 (PDT) From: Larry Finger To: kvalo@codeaurora.org Cc: linux-wireless@vger.kernel.org, Ping-Ke Shih , Larry Finger , Yan-Hsuan Chuang , Birming Chiu , Shaofu , Steven Ting Subject: [PATCH 07/10] rtlwifi: Add RSSI and RF type to wifi.h for phydm Date: Fri, 29 Sep 2017 14:47:57 -0500 Message-Id: <20170929194800.15617-8-Larry.Finger@lwfinger.net> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20170929194800.15617-1-Larry.Finger@lwfinger.net> References: <20170929194800.15617-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 Signed-off-by: Larry Finger Cc: Yan-Hsuan Chuang Cc: Birming Chiu Cc: Shaofu Cc: Steven Ting --- 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 ceeca79acc56..5843aee5c921 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;