From patchwork Fri Oct 23 09:37:31 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ping-Ke Shih X-Patchwork-Id: 287753 Return-Path: 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=-6.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, 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 B24CBC55178 for ; Fri, 23 Oct 2020 09:38:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5AF4A241A4 for ; Fri, 23 Oct 2020 09:38:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S461605AbgJWJih (ORCPT ); Fri, 23 Oct 2020 05:38:37 -0400 Received: from rtits2.realtek.com ([211.75.126.72]:45981 "EHLO rtits2.realtek.com.tw" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S461514AbgJWJig (ORCPT ); Fri, 23 Oct 2020 05:38:36 -0400 Authenticated-By: X-SpamFilter-By: ArmorX SpamTrap 5.69 with qID 09N9cTLE1024653, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexmb04.realtek.com.tw[172.21.6.97]) by rtits2.realtek.com.tw (8.15.2/2.66/5.86) with ESMTPS id 09N9cTLE1024653 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Fri, 23 Oct 2020 17:38:29 +0800 Received: from localhost.localdomain (172.21.69.213) 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.2044.4; Fri, 23 Oct 2020 17:38:29 +0800 From: To: , CC: Subject: [PATCH 00/11] rtw88: coex: fix field issues and add debug interfaces Date: Fri, 23 Oct 2020 17:37:31 +0800 Message-ID: <20201023093742.29908-1-pkshih@realtek.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 X-Originating-IP: [172.21.69.213] X-ClientProxiedBy: RTEXMB06.realtek.com.tw (172.21.6.99) To RTEXMB04.realtek.com.tw (172.21.6.97) Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org From: Ping-Ke Shih This patchset adds coex code synchronized from our internal tree, in which we fix many field issues, and add debug interfaces that is helpful to debug in field. Also, some coding style fixes are included. There are totally 32 patches, so I plan to submit them as three patchsets, and this is the first one. Ching-Te Ku (11): rtw88: coex: fixed some wrong register definition and setting rtw88: coex: update coex parameter to improve A2DP quality rtw88: coex: reduce magic number rtw88: coex: coding style adjustment rtw88: coex: Modify the timing of set_ant_path/set_rf_para rtw88: coex: add separate flag for manual control rtw88: coex: modified for BT info notify rtw88: coex: change the parameter for A2DP when WLAN connecting rtw88: coex: update WLAN 5G AFH parameter for 8822b rtw88: coex: add debug message rtw88: coex: simplify the setting and condition about WLAN TX limitation drivers/net/wireless/realtek/rtw88/coex.c | 678 ++++++++++++++---- drivers/net/wireless/realtek/rtw88/coex.h | 36 +- drivers/net/wireless/realtek/rtw88/debug.c | 4 +- drivers/net/wireless/realtek/rtw88/main.c | 4 +- drivers/net/wireless/realtek/rtw88/main.h | 13 +- drivers/net/wireless/realtek/rtw88/reg.h | 15 +- drivers/net/wireless/realtek/rtw88/rtw8723d.c | 65 +- drivers/net/wireless/realtek/rtw88/rtw8821c.c | 3 +- drivers/net/wireless/realtek/rtw88/rtw8821c.h | 2 - drivers/net/wireless/realtek/rtw88/rtw8822b.c | 65 +- drivers/net/wireless/realtek/rtw88/rtw8822c.c | 102 +-- 11 files changed, 724 insertions(+), 263 deletions(-)