Message ID | 20200504105010.10780-1-yhchuang@realtek.com |
---|---|
Headers | show
Return-Path: <SRS0=yCsk=6S=vger.kernel.org=linux-wireless-owner@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4F150C3A5A9 for <linux-wireless@archiver.kernel.org>; Mon, 4 May 2020 10:50:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 295C420643 for <linux-wireless@archiver.kernel.org>; Mon, 4 May 2020 10:50:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728294AbgEDKuZ (ORCPT <rfc822;linux-wireless@archiver.kernel.org>); Mon, 4 May 2020 06:50:25 -0400 Received: from rtits2.realtek.com ([211.75.126.72]:51266 "EHLO rtits2.realtek.com.tw" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727916AbgEDKuZ (ORCPT <rfc822;linux-wireless@vger.kernel.org>); Mon, 4 May 2020 06:50:25 -0400 Authenticated-By: X-SpamFilter-By: ArmorX SpamTrap 5.69 with qID 044AoDesD003112, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexmb06.realtek.com.tw[172.21.6.99]) by rtits2.realtek.com.tw (8.15.2/2.66/5.86) with ESMTPS id 044AoDesD003112 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Mon, 4 May 2020 18:50:13 +0800 Received: from RTEXMB04.realtek.com.tw (172.21.6.97) by RTEXMB06.realtek.com.tw (172.21.6.99) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1779.2; Mon, 4 May 2020 18:50:13 +0800 Received: from localhost.localdomain (172.21.68.128) by RTEXMB04.realtek.com.tw (172.21.6.97) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1779.2; Mon, 4 May 2020 18:50:13 +0800 From: <yhchuang@realtek.com> To: <kvalo@codeaurora.org> CC: <linux-wireless@vger.kernel.org>, <pkshih@realtek.com>, <bigeasy@linutronix.de> Subject: [PATCH v4 0/8] rtw88: 8723d: add BB related routines Date: Mon, 4 May 2020 18:50:02 +0800 Message-ID: <20200504105010.10780-1-yhchuang@realtek.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [172.21.68.128] X-ClientProxiedBy: RTEXMB02.realtek.com.tw (172.21.6.95) To RTEXMB04.realtek.com.tw (172.21.6.97) Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: <linux-wireless.vger.kernel.org> X-Mailing-List: linux-wireless@vger.kernel.org |
Series | rtw88: 8723d: add BB related routines | expand |
From: Yan-Hsuan Chuang <yhchuang@realtek.com> Add BB related routines for 8723D. The BB controls the channel, RX decoding, and RX gain. So, add DIG parameters and RX descriptor parsing for the RX frames. And the false alarm statistics help the driver to choose better DIG values. The 8723D devices have more settings for CCK rates for DIG, mostly because that the 8723D is 802.11n device. The 8723D devices cannot recieve LDPC frames, do not advertise it. v1 -> v2 * make a patchset contains less patches for review v2 -> v3 * move defined macros to header file v3 -> v4 * rx ldpc cap fix * set channel flow refine Ping-Ke Shih (8): rtw88: 8723d: Add DIG parameter rtw88: 8723d: Add query_rx_desc rtw88: 8723d: Add set_channel rtw88: handle C2H_CCX_TX_RPT to know if packet TX'ed successfully rtw88: 8723d: some chips don't support LDPC rtw88: 8723d: Add chip_ops::false_alarm_statistics rtw88: 8723d: Set IG register for CCK rate rtw88: 8723d: add interface configurations table drivers/net/wireless/realtek/rtw88/fw.c | 6 +- drivers/net/wireless/realtek/rtw88/fw.h | 7 +- drivers/net/wireless/realtek/rtw88/mac.c | 3 + drivers/net/wireless/realtek/rtw88/main.c | 9 +- drivers/net/wireless/realtek/rtw88/main.h | 7 + drivers/net/wireless/realtek/rtw88/phy.c | 4 + drivers/net/wireless/realtek/rtw88/rtw8723d.c | 376 ++++++++++++++++++ drivers/net/wireless/realtek/rtw88/rtw8723d.h | 94 +++++ drivers/net/wireless/realtek/rtw88/rtw8822b.c | 2 + drivers/net/wireless/realtek/rtw88/rtw8822c.c | 2 + drivers/net/wireless/realtek/rtw88/tx.c | 11 +- drivers/net/wireless/realtek/rtw88/tx.h | 2 +- 12 files changed, 514 insertions(+), 9 deletions(-)