Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp2206615ybh; Mon, 9 Mar 2020 00:59:31 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsZb+ReT575vJlfetDdK0GeC2s1q/+48yvG+lHXJtdm+GzMWKMw5cf+y6Mbg57psSX//748 X-Received: by 2002:a9d:e83:: with SMTP id 3mr12029380otj.93.1583740771514; Mon, 09 Mar 2020 00:59:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583740771; cv=none; d=google.com; s=arc-20160816; b=uthqEyCjNXzqIrIDt8GC1ZBx2RrsQQEq0rw5+rcXp5OBFilHOQ/jjebLjwfxGgbVGX nwGolRa8l2u4Un99hEIPT52J6IRrtEmAJTQMFVfg8Efx9BkGmEvHleMitQ7uIdit9swK 1wj7Pwo67UN+/Tueh02Hw+MAlc9cN+gJR33Anne4/ukYYaNl6QytoPejA5FcNYDqjL+N +MGHBx8PSSD+qsuYiLz3lVT67hken0kkyAFwKdt3P2ZSAwncqmItgZdfHgsZkA3zi2Cn mlALEfcT4TmkuxIuQIYY/IGmFJLx9AIWmu4s4ZxBWg2Q1SnV4iSP7MZbBzuDe6g2+zrm 1v/w== 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=JQLaxSX4icxjCyZeKHTkDzSZo19L8cvQ9F+He/G0RnY=; b=d83tqEN1McQGtmwwoR2c9xWdpqwLcf9MOR+6JleqRW3ZcB+QCpN7eaS+J1Z4ZVzmC4 8ta21MjSX4B/Hz6qMsZ61TpsBnrcvaH7+BEsgQyKSkAq1HspEwE9ghbodNq24YUb2QdJ X99pj9okoKjqz5Yxe0zwqGjQLoJlMe7ieNmUqDxHQXB2pIlqAYISFVBstpvLS3c/eEUG DChhzwsTAb+Q2QvG8j95knmPA2DF5+EA9qi6USNMUukRLIDPJz6bfwSSCyoF3GqsZNHV pqhn8YnH1BVNs86n6YWAcnT8xFJB6m5BqCpURbNWJU6S8iR2uRCHE1RrMNGEslZslyRL PNRA== 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 l14si5612054otn.157.2020.03.09.00.59.09; Mon, 09 Mar 2020 00:59:31 -0700 (PDT) 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 S1726368AbgCIH7H (ORCPT + 99 others); Mon, 9 Mar 2020 03:59:07 -0400 Received: from rtits2.realtek.com ([211.75.126.72]:57820 "EHLO rtits2.realtek.com.tw" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725942AbgCIH7H (ORCPT ); Mon, 9 Mar 2020 03:59:07 -0400 Authenticated-By: X-SpamFilter-By: BOX Solutions SpamTrap 5.62 with qID 0297wva1011842, 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 0297wva1011842 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 9 Mar 2020 15:58:57 +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, 9 Mar 2020 15:58:57 +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, 9 Mar 2020 15:58:56 +0800 From: To: CC: , Subject: [PATCH v2 0/2] rtw88: add coex related debugfs Date: Mon, 9 Mar 2020 15:58:50 +0800 Message-ID: <20200309075852.11454-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. v1 -> v2 * don't ignore "ignore wlan command" 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 | 492 ++++++++++++++++++ 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, 641 insertions(+) -- 2.17.1