Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp378515yba; Wed, 15 May 2019 03:04:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqyroeW4aHmIOMCH59vePK6lGQWnI2+ywPPIljWarPv+9ClktmXxUzH+vJKPFuxTwtu6OrvC X-Received: by 2002:a63:dc09:: with SMTP id s9mr1558454pgg.425.1557914665356; Wed, 15 May 2019 03:04:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557914665; cv=none; d=google.com; s=arc-20160816; b=wqDEef9bYFuhsvXJQtw9Y67UjQi9nGH9NBRYNmRBRegdEzKFpJcN0J+iQ+w5nXpdJI kH1pDNs5jzS+JRw8kOkcYa7J2aAbS6as60Arx6hcCj6C9FJUjGpWVHktWKlk+UcpIK9B Y77LEKm9PA64HB12t197tKSs7jibhpiq9+1mdGCxIjIPGdJiiT6H/zJbMQLUXWttmOCj p1I2OZRdpqFuh6oJq/yV2i07xfmt4cGtGvA+XmxUuxwILvTuM+DnBDAwoGMPsYJEDgxG 4aDQu32ajKxQ83yE+PP5QLatnuExOF5+TSORYwOw8Aud7dSvVNeA7gwRObODLwYoL7dx uA6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=VD4tegmkqkOg95dEhB30JPWx50Q5LVCLUuv7xs5wBxI=; b=NrS29jqm2BQ7rZ7TxxXmDF4vCCMRJxzexqNGO8zxLXTzlg+CPAiFeoxzU5MI5WSJOW YVLDwP/2bO8VtDbPwygiHGDNzfjpcAEPZqMqB5RaZ5gypqB1KsU7ciP/K4wLZ52xyi2W jjiNvKSP5fpdetXwXELwShhrTr5CTAYa6PPwkv3hMmf4BMtD6/ncBvvfXtj4k7ifzktd em8AjOrXSuhFTsQGGFF73ER1n1f8WVcpBEbbzXKFoYwhWkUfQzqcKEx7x3QFIUGMj931 zcXQjPLRmoJRBTr/GXoD/QYiJLhV3Q3NSRZsidr3ePjPqL85oSpc0FIcdC2+H//jMwD2 GaHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=HhMos16V; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u14si1418954pgn.304.2019.05.15.03.04.09; Wed, 15 May 2019 03:04:25 -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; dkim=pass header.i=@kernel.org header.s=default header.b=HhMos16V; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726168AbfEOKDv (ORCPT + 99 others); Wed, 15 May 2019 06:03:51 -0400 Received: from mail.kernel.org ([198.145.29.99]:56508 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725966AbfEOKDu (ORCPT ); Wed, 15 May 2019 06:03:50 -0400 Received: from localhost.localdomain (nat-pool-mxp-t.redhat.com [149.6.153.186]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 50AFA2084A; Wed, 15 May 2019 10:03:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1557914629; bh=VD4tegmkqkOg95dEhB30JPWx50Q5LVCLUuv7xs5wBxI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=HhMos16Vi53zyiMTWr4CjLVak4U9NIF9mUNdCChG/iw0BAeHHh0bDWQaDzICIygMb hu0GXPAgeFyDt2WovO9DkthcXUDNp1XH84TiMDwWSxSiSvp3V2ZEiHeSN8mzkyycLg YKSIj4+DRFhPx+detxw6cjADGGpKGEVzqg0Yk+88= Date: Wed, 15 May 2019 12:03:44 +0200 From: Lorenzo Bianconi To: Stanislaw Gruszka Cc: Kalle Valo , nbd@nbd.name, lorenzo.bianconi@redhat.com, linux-wireless@vger.kernel.org Subject: Re: [PATCH] mt76: mt7603: add debugfs knob to enable/disable edcca Message-ID: <20190515100343.GB30757@localhost.localdomain> References: <0691acb931e963cb6028d4687cdd61032d0aaf52.1557591530.git.lorenzo@kernel.org> <87r293ugia.fsf@purkki.adurom.net> <20190513084127.GA3127@localhost.localdomain> <20190513094837.GB15694@redhat.com> <20190515093333.GA2333@redhat.com> <20190515094354.GA30757@localhost.localdomain> <20190515095440.GB3407@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Yylu36WmvOXNoKYn" Content-Disposition: inline In-Reply-To: <20190515095440.GB3407@redhat.com> User-Agent: Mutt/1.11.3 (2019-02-01) Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org --Yylu36WmvOXNoKYn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > On Wed, May 15, 2019 at 11:43:55AM +0200, Lorenzo Bianconi wrote: > > > On Mon, May 13, 2019 at 11:48:37AM +0200, Stanislaw Gruszka wrote: > > > > On Mon, May 13, 2019 at 10:41:28AM +0200, Lorenzo Bianconi wrote: > > > > > > Lorenzo Bianconi writes: > > > > > >=20 > > > > > > > Introduce a knob in mt7603 debugfs in order to enable/disable > > > > > > > edcca processing > > > > > > > > > > > > > > Signed-off-by: Lorenzo Bianconi > > > > > >=20 > > > > > > It's good to explain what edcca does and how the file is used s= upposed > > > > > > to be used. In other words, have a small introduction for the u= ser. > > > > >=20 > > > > > Hi Kalle, > > > > >=20 > > > > > edcca is used for adjusting energy detect based on CCA thresholds. > > > > > The code was already there so I just reported the acronym. > > > >=20 > > > > What for it is needed ? > > >=20 > > > Care to comment why EDCCA is needed at all ? > > >=20 > > > Taking that debugfs file that enable it is read-only, it looks like > > > feature that nobody needs nor tests. > >=20 > > already fixed in v2 > > https://patchwork.kernel.org/patch/10940645/ >=20 > I'm aware of this patch and other one for mt76x02. But so far in the > sources EDCCA is disabled for mt76x02 without possibility to enable it > (and this permission file issue was pointed by Kalle during review, not > by someone who want to test EDCCA). So again, what for EDCCA is needed ? As I have already written in a previous email, ED/CCA is used to control tx= power according to the CCA MIB counters (e.g do not transmit if the channel busy = time is higher than 90% for given amount of time in a row). I guess it is requir= ed by ETSI regulatory. Regarding file permission for mt76x02 debugfs edcca node is a typo. Lorenzo >=20 > Stanislaw --Yylu36WmvOXNoKYn Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQTquNwa3Txd3rGGn7Y6cBh0uS2trAUCXNvj/AAKCRA6cBh0uS2t rEdQAQD4YcmmbO8cooWRbgCwesXnFnjEbxYovLBY6/vBihAUUwD+IruDiQ77GWqm L5pr8w4RYhR9dbdM937d+obSWNLktgo= =wWbq -----END PGP SIGNATURE----- --Yylu36WmvOXNoKYn--