From patchwork Mon Jul 3 18:40:35 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Larry Finger X-Patchwork-Id: 9823817 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 84E1C604D9 for ; Mon, 3 Jul 2017 18:41:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 784AF2856D for ; Mon, 3 Jul 2017 18:41:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6B0B4285F2; Mon, 3 Jul 2017 18:41:04 +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 0C6092856D for ; Mon, 3 Jul 2017 18:41:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754309AbdGCSlC (ORCPT ); Mon, 3 Jul 2017 14:41:02 -0400 Received: from mail-oi0-f68.google.com ([209.85.218.68]:36493 "EHLO mail-oi0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754203AbdGCSkx (ORCPT ); Mon, 3 Jul 2017 14:40:53 -0400 Received: by mail-oi0-f68.google.com with SMTP id n2so12756275oig.3 for ; Mon, 03 Jul 2017 11:40:53 -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=VbE1qPtsEJc1d4/6fOLndMLy8Qm879/NfInG0oRp3f8=; b=S6xbsK1j0etpKgB+8Gvps6NOPAuJkBq0ZskL9xEwmrt4nbd+X6VpqcuDBQPoPuJqTd pzxJ63w4WqV2JoX6vWTkisxGlE+muvf6ReaTpSQZQPkCq4K44a24HMr4PT/t9e57v21E zudlHCIZ/xawZXdFDP8bv8pQgTaU2UBsFqv/N54lQaJLZXNcmh7UgEgk6RyHHHDrrfzA 6u4jQP3qzb6gdGOlvMTymawekPtrH+bhd6DJm5AuYmjk4zxq0UpGUbE6Dz6x6j8PKHZR 6QjG5nLV+/7doPZ5lynjtYbXTkS4y2Jq7a97QQk8Z1B3U6hTdVvvYc+a/z/eP8V5ZceK o7Qg== 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=VbE1qPtsEJc1d4/6fOLndMLy8Qm879/NfInG0oRp3f8=; b=apR080bln4lXJSH8Itbfe9AyAUG7gdhGbkMj05lWPPq8wxt5XigJUb1BbOSxnOiSMu KoPDk9AakACxXq7jlKficFpdFn4uOix8tj/1mVG+Pp6f+qPpdZHydhIn9qwD2eFsMipu 8ipBuVWE7QLpEiSfT5BSdPJh5OnVTnwOHQvTV/rSdMmcgn3N7PoOqhwFOlRTRoRZO9qi Jl2+yHtZDJVhNP/BTChlpI/ljeUiy+Kp0Uq9/vAfItzQCuCe/gy3vcNB2q/KpCygvO6a DSOEc3mp/h/fHJJqzf0WZcv6kv9ZwfFqF6xWjG64RM8MBJGdK+eYKhN3wbQvutwtyxNa YbLg== X-Gm-Message-State: AIVw1139WEA/c6jWOXPn0Hn9kxTj53cClevmmKNfz3cKqvLd5scffRCG zoBoLFbPiRD6KQ== X-Received: by 10.202.59.7 with SMTP id i7mr3031858oia.22.1499107252642; Mon, 03 Jul 2017 11:40:52 -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 o2sm14641309oik.16.2017.07.03.11.40.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 03 Jul 2017 11:40:52 -0700 (PDT) From: Larry Finger To: kvalo@codeaurora.org Cc: linux-wireless@vger.kernel.org, Ping-Ke Shih Subject: [PATCH 08/11] rtlwifi: Add RSSI and RF type to wifi.h for phydm Date: Mon, 3 Jul 2017 13:40:35 -0500 Message-Id: <20170703184038.24669-9-Larry.Finger@lwfinger.net> X-Mailer: git-send-email 2.12.3 In-Reply-To: <20170703184038.24669-1-Larry.Finger@lwfinger.net> References: <20170703184038.24669-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 --- 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;