Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp5376248yba; Mon, 13 May 2019 09:48:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqwytAgbSMfvamm/+DlYXHH5Bs/xCsOqDx1+AFEb0oDNDNSnBBtGUDztNzcuTaI9UPMosNLz X-Received: by 2002:a63:1866:: with SMTP id 38mr32424337pgy.123.1557766089797; Mon, 13 May 2019 09:48:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557766089; cv=none; d=google.com; s=arc-20160816; b=GyQLxvtuud/hTcIO6vRwha9JGS+11Od7LCYOWw4O6y2JkMA7gxF6PMwixb/V+IXJ+y 7AtOWuXVKhrke9f4hPivu+apfZ0TaL80m9ww7S7AmMRpvSDdvW6n81gYJO+ie0IjxqLA dZyaIk1oedzPla8ghKMMbyaC5jdgPhMPDIAWbceeoiQe9eAQj0QCbsj8BrwUNXwTNd1I 4oEZPdHZn3/mCRpYgWYOnBvvvae6qHg/pUY41Zakvfz4yaE2pxgaKO4MNNRfqEgwDsfl LESXd45/Ez0tuHHS8xtnBKjuiFOg2efJhIdDtdnNjp9/PJ/OEd1xMtt0TX9WEn4BB1Op 0iAQ== 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=TJyvFdiqmpWZeE8W+pdYHvE96zJWMqfvG934q1Ocfzg=; b=B7TLjL6bQNhMCyija0g9uniDQ1RWCEQaUj85f1H8nTPhPRuMDDSGGvaxu6w/iwf/1H WXUKJBBiPo203jYputLQxTbBLEv8G9Hw46ly72B/alW4VbIA5i3HhsL27W7QdpExbX3M jpNxHUOkWdjLsVJf9sfkCVKzVW+1CITNtmEbHusG2sxxqCWJQpLL+bygHyE1+8KUU7JD Q5NeVXapVB5thbtq4me93yLXpNrfowDhJCT30vCliwRrxMRYCab2K6kLZfhjtds28UBu oTQOGWo6tOIkhywx1ZThsOGo6qMkm4jot9b0g9U/k8AUmb5ntXY5H+YHpy2h6eQ+D/6+ yLCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="O/XyLfmL"; 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 t24si17168198pga.495.2019.05.13.09.47.45; Mon, 13 May 2019 09:48:09 -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="O/XyLfmL"; 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 S1731436AbfEMPlt (ORCPT + 99 others); Mon, 13 May 2019 11:41:49 -0400 Received: from mail.kernel.org ([198.145.29.99]:59382 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731426AbfEMPls (ORCPT ); Mon, 13 May 2019 11:41:48 -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 850BF21473; Mon, 13 May 2019 15:41:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1557762107; bh=TJyvFdiqmpWZeE8W+pdYHvE96zJWMqfvG934q1Ocfzg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=O/XyLfmLnOAZfRBj7Aw3844x/9L8Uu4mlB+wki66t875kCbzaaj9vCFlpH3qWyxca EsGU+/yCb0/yFiCj0yiFDlBHGnmjzlJMmKsamS2p7j3FWR46lXS4SvA/FxMRqXh8R2 lQCLhbcnnBOa8IndjKpObUZV+8e7cCYhCN9SEiKM= Date: Mon, 13 May 2019 17:41:37 +0200 From: Lorenzo Bianconi To: Kalle Valo Cc: 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: <20190513154135.GA13245@localhost.localdomain> References: <0691acb931e963cb6028d4687cdd61032d0aaf52.1557591530.git.lorenzo@kernel.org> <87r293ugia.fsf@purkki.adurom.net> <20190513084127.GA3127@localhost.localdomain> <87sgtiil7n.fsf@codeaurora.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="h31gzZEtNLTqOjlF" Content-Disposition: inline In-Reply-To: <87sgtiil7n.fsf@codeaurora.org> 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 --h31gzZEtNLTqOjlF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > Lorenzo Bianconi writes: >=20 > >> 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 supposed > >> to be used. In other words, have a small introduction for the user. > > > > Hi Kalle, > > > > edcca is used for adjusting energy detect based on CCA thresholds. > > The code was already there so I just reported the acronym. >=20 > A lot of people read commit logs but not everyone (myself included) are > familiar with mt76 internals so please try to explain the acronyms and > the background of the patch. Also you should explain in the commit log > _why_ you are adding the debugfs file, how it helps the user and how to > use it. sorry for not been so clear. ED/CCA is used to control tx power according to the CCA MIB counters (e.g d= o not transmit if the channel busy time is higher than 90% for given amount of ti= me in a row). As already done in commit 643749d4a82b ("mt76: mt76x02: disable ED/CCA by d= efault"), this patch adds the possibility to enable/disable the processing according = to an entry in the debugfs. The reason behind this patch is ED/CCA caused instability in the past so it could be useful to disable it. Regards, Lorenzo >=20 > --=20 > Kalle Valo --h31gzZEtNLTqOjlF Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQTquNwa3Txd3rGGn7Y6cBh0uS2trAUCXNmQLAAKCRA6cBh0uS2t rFzHAQDj6q1S9QhVujEEJ8DdTi99E6p2ffIM7bjOtBUgNdmWhQEA2WRinCSqVqnp vqucYsr0Vtfgiipg6+PugcHYpGxQFwY= =qII8 -----END PGP SIGNATURE----- --h31gzZEtNLTqOjlF--