Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp2103414ybh; Sun, 15 Mar 2020 19:14:36 -0700 (PDT) X-Google-Smtp-Source: ADFU+vuomOmLR3XpE724ncPg/8lv/W8jXeWkJFLQ1qFNh4/WxlpMNFdrNG+3/mDuNbARcjJ3kSSy X-Received: by 2002:aca:cd0e:: with SMTP id d14mr15057620oig.167.1584324876039; Sun, 15 Mar 2020 19:14:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584324876; cv=none; d=google.com; s=arc-20160816; b=AjioQGDmKDUf8VQ/FshC/O8GhmaD8j1RgzXE0zLg3DuurqQISce3o2H9RpCy4Tv8EK Cu9xLFoW6pRjQvLdE8KKv+brD8SEZUe9SOioJ2DyOJR3XMgDJsYCqr2BdvaoG6HG7mDd Gq98aeTOwnRogt4lKJay2Rqd9YqH+HtoNPD44sdq1cE2tNcZaZIM/wyaI/DATXfGHOcH DNyrchhaR8bOaf0j+6mR6bgCUU7GD8AhtGfaBl99/CE2Ey6NgTOruYJqYIlRJ5Xq+Ef3 6Yrpv88/v4g35LtuKDdwGecmV5TgDwjzeMnsQY43pD/6szyLZQfyhHoyxhkuqr3YAh8I FEbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:authenticated-by; bh=r+hNGkMtm5FwNSnZHSfmoIHFhAY2kAsdRWaFa1PQXBM=; b=US3a612VNKXmjBJI2tOSyaVjksPXTEjLdoIJwLRuCOMOGX70BiAjZFDSbrZwhYWPWl EZI0U3Wztf/wAaoHpwbL6bmjEGGLbFm8sD9+ubdZTnVmumZGBj+Gdh+/53qEdXY14CiK UEMyJKXppGtGbi0cpxQK1n/qFv2sPfsqRX+JbuefdZCPXgx4owpDtm/7al8+oB9YtdAd lWv5WCFYoDRL3macBu+6jF/7NwlsTgJHTiuVfmR1DzvyU39IZN/C5V7aNBBFJm2YOSZA HN/kBLEmQm82MXo8+1jrSQOFXxh7TCfZeb32bfsX+aI2gJAc0YPcEQuMBnIbv16rMPFq mvdw== 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 o16si8531659oie.125.2020.03.15.19.13.59; Sun, 15 Mar 2020 19:14:35 -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 S1729332AbgCPCN5 convert rfc822-to-8bit (ORCPT + 99 others); Sun, 15 Mar 2020 22:13:57 -0400 Received: from rtits2.realtek.com ([211.75.126.72]:32771 "EHLO rtits2.realtek.com.tw" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729301AbgCPCN5 (ORCPT ); Sun, 15 Mar 2020 22:13:57 -0400 Authenticated-By: X-SpamFilter-By: BOX Solutions SpamTrap 5.62 with qID 02G2DUmh014280, 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 02G2DUmh014280 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 16 Mar 2020 10:13:31 +0800 Received: from RTEXDAG01.realtek.com.tw (172.21.6.100) 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, 16 Mar 2020 10:13:30 +0800 Received: from RTEXMB04.realtek.com.tw (172.21.6.97) by RTEXDAG01.realtek.com.tw (172.21.6.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1779.2; Mon, 16 Mar 2020 10:13:30 +0800 Received: from RTEXMB04.realtek.com.tw ([fe80::d9c5:a079:495e:b999]) by RTEXMB04.realtek.com.tw ([fe80::d9c5:a079:495e:b999%6]) with mapi id 15.01.1779.005; Mon, 16 Mar 2020 10:13:30 +0800 From: Tony Chuang To: Kalle Valo CC: "linux-wireless@vger.kernel.org" , "briannorris@chromium.org" , Arend Van Spriel , Johannes Berg , "tamizhr@codeaurora.org" Subject: RE: [PATCH v2 2/2] rtw88: add a debugfs entry to enable/disable coex mechanism Thread-Topic: [PATCH v2 2/2] rtw88: add a debugfs entry to enable/disable coex mechanism Thread-Index: AQHV9eid5DTKsHzIFkaU/75iZgvikahFRc8AgAEbR4CABCO1UA== Date: Mon, 16 Mar 2020 02:13:30 +0000 Message-ID: References: <20200309075852.11454-1-yhchuang@realtek.com> <20200309075852.11454-3-yhchuang@realtek.com> <877dzpu2lt.fsf@tynnyri.adurom.net> <33d4904b71a04ed8b0226ce07b037e05@realtek.com> <87a74ko66i.fsf@kamboji.qca.qualcomm.com> In-Reply-To: <87a74ko66i.fsf@kamboji.qca.qualcomm.com> Accept-Language: zh-TW, en-US Content-Language: zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.21.68.175] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Kalle Valo writes: > Tony Chuang writes: > > > Kalle Valo : > > > >> writes: > >> > >> > From: Yan-Hsuan Chuang > >> > > >> > Sometimes we need to stop the coex mechanism to debug, so that we > >> > can manually control the device through various outer commands. > >> > Hence, add a new debugfs coex_enable to allow us to enable/disable > >> > the coex mechanism when driver is running. > >> > > >> > To disable coex > >> > echo 0 > /sys/kernel/debug/ieee80211/phyX/rtw88/coex_enable > >> > > >> > To enable coex > >> > echo 1 > /sys/kernel/debug/ieee80211/phyX/rtw88/coex_enable > >> > > >> > To check coex dm is enabled or not > >> > cat /sys/kernel/debug/ieee80211/phyX/rtw88/coex_enable > >> > >> I forgot, did we add a command to nl80211 for managing btcoex? At least > >> we have talking about that for years. Please check that first before > >> adding a debugfs interface for this. > >> > > > > Yes, I found there was a thread [1] talking about adding a callback to > > enable/disable btcoex, but it seems not get applied eventually. > > Too bad, I really think we should have at least enable/disable > functionality in nl80211. But if it's not there, I guess it's ok to have > yet another driver custom debugfs file :/ > Yes, so please take this ;) Thanks Yen-Hsuan