Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1519526ybv; Fri, 14 Feb 2020 01:05:33 -0800 (PST) X-Google-Smtp-Source: APXvYqyFjcHONdFoiFHulmk8GOPzcnohJ5stL8I8QrRQ6hxb+j5fLDqmRyKnU6tBMw6Iu0/8QmPK X-Received: by 2002:aca:1c0d:: with SMTP id c13mr1152517oic.44.1581671133605; Fri, 14 Feb 2020 01:05:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581671133; cv=none; d=google.com; s=arc-20160816; b=mTSPOVXkTMD4aKSQ0QVYh/f8B1hjetbOTEmNAWXuVUGv0Yyr8bp92WoIx3eNe6CRF3 yCsjbvMhSPk7NtaaJq+rp4Tp9gUOwiO5L+aLN4CFgQXdZWBQCiJuDH60XxpCPcnWUi8U AgQrjVwpXoij7CGpmnunKIulS4oCzvzxjyFktUvAXZHVzRiXPGa4FVsVsSABvtGhsiv6 bHmcXJmMf9uvsx6e+2qQj/j1OlUA4ePOHpi3lNdzNaWL4mOrffA3MbB5iw4pkU8uXJ9C yGkJyeQIaJOQ29GsQCMZI/bS+zZ6xJGc2Gb4oqOGwZRrUWy/ZWp+DauuLRSH93VpHtDn Wmog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:authenticated-by; bh=7QQwdqWEK/3ySoqT8Ogj+m/YKJRAqAlTZdOwOCmtOv8=; b=DQi8Vc/PaJqi2vrJlq7mBujfFOfVy9e0KI8kZcNPJeENjEqVukDenO448jwxbMHN2X 5Ee96bTiGBeNXj2Pl1SmnXLTEQAw5iM2sWBxfLgTUyWVFZRLcPDBFtsVMkH5l8c/AOin 0u2KDjsBmHHCWDGgf/+2po1tk5JLQZceAMAm8W2T0XpYIhQCnw+ldAW+j5jMofkStZox ZrqkPJ+qFldZRXE81VK9ssZN5GWMMj4gSFXi5DEftQoe31JLHEFZ88TOT4PRTMR2iZ9J haH2wdcWpbvWREluAq4Vkc4g1NDP5E+9BelHDR1WrBMkxUuaENX984+SFzDVBW5weZzN rX5A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z1si2551366otp.70.2020.02.14.01.05.21; Fri, 14 Feb 2020 01:05:33 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728522AbgBNJEA (ORCPT + 99 others); Fri, 14 Feb 2020 04:04:00 -0500 Received: from rtits2.realtek.com ([211.75.126.72]:35655 "EHLO rtits2.realtek.com.tw" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726179AbgBNJEA (ORCPT ); Fri, 14 Feb 2020 04:04:00 -0500 Authenticated-By: X-SpamFilter-By: BOX Solutions SpamTrap 5.62 with qID 01E93p2c032383, 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.57/5.78) with ESMTPS id 01E93p2c032383 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 14 Feb 2020 17:03:51 +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; Fri, 14 Feb 2020 17:03:51 +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; Fri, 14 Feb 2020 17:03:51 +0800 From: To: CC: , Subject: [PATCH 0/2] rtw88: add coex related debugfs Date: Fri, 14 Feb 2020 17:03:32 +0800 Message-ID: <20200214090334.330-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: RTEXMB03.realtek.com.tw (172.21.6.96) To RTEXMB04.realtek.com.tw (172.21.6.97) Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org From: Yan-Hsuan Chuang Sometimes WiFi/BT coexistence problems are difficult to debug. There are many factors that can influence the coex. Such the different scenarios of BT's profile, or the environment. So it is very useful to have some tools to know the current status for WiFi and BT, so that we can check if the decision made by the coex mechanism is good for the current situation. Also we can stop the coex mechanism to stop making any decisions, and send some commands through user space, to help us check that specific strategies are good for the current situation. Yan-Hsuan Chuang (2): rtw88: add a debugfs entry to dump coex's info rtw88: add a debugfs entry to enable/disable coex mechanism drivers/net/wireless/realtek/rtw88/coex.c | 497 ++++++++++++++++++ drivers/net/wireless/realtek/rtw88/coex.h | 10 + drivers/net/wireless/realtek/rtw88/debug.c | 63 +++ drivers/net/wireless/realtek/rtw88/main.h | 18 + drivers/net/wireless/realtek/rtw88/rtw8822b.c | 30 ++ drivers/net/wireless/realtek/rtw88/rtw8822c.c | 28 + 6 files changed, 646 insertions(+) -- 2.17.1