Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2272369imm; Tue, 4 Sep 2018 01:16:38 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZ9FuTgLJLzgB1dULiwiv773FGUBxlFdR9Vzz+DnGpBkZzMD3tml7ZAIl2nzx6NHIpmphdi X-Received: by 2002:a63:f111:: with SMTP id f17-v6mr29383764pgi.87.1536048998360; Tue, 04 Sep 2018 01:16:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536048998; cv=none; d=google.com; s=arc-20160816; b=qBJQ5XKTqdAW39ZV9vv1yMk9pohoLf77Q4jCbASsxxgSMkUroqmV2ccsiZB9Swszx4 MikC39zLV0VZOLXPSCDhslrL8IwbVy7i7RKrCQptCoGn1ihhInh2D4YagfgpPk/XqDdJ A/+tzdeOg5AD43YXrHzCxs7DdIl/BN65PBdvQdwdpFjTVI6xxBvEUEDIlixiEtdz4Gxo RLc5tfE4Rh5xzE17HVfBbSNlgAMUQandO8rMICswsrub58LmYz6HTUS06OzIhpJSrRKt shwgV3OMVmewp8dttuq+fJ73lys0fAe6O9nb+R2veHhEMUqXaCj/2rtlGxHKUDlLaOUF b1yg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:user-agent:cc:to :references:in-reply-to:from:subject:content-transfer-encoding :mime-version:dmarc-filter:dkim-signature:dkim-signature :arc-authentication-results; bh=d5AI4i96hq48dp25Ej+sV99/bkoTCdN5Pd6Eq6gsLY0=; b=c4XF/+PgNcE3KLVyj1QvitV6N72J9cE326PWs2yQbbqfb7yEqfPDBL6/gAzUHCBMhx bH/w5DzdMLYTYRmATw7Sgls/TMwQ6BiYdVS6H8vj/GnNCY6ovw8/Kb44Hrkt/r0wdndB OF3lOH97mUsGH9G0EnaiQO+kjulZy5RKFQxZYF2BdreMISF4BYfL3y6E5GM5HySpXXK9 AAgAqB+lLMIhKETDZv0WoSjmYbJ+9RW6GQNbC5s2c0EYAMqHQV5XxwGYeQVpJIJMJ7jq 1u6SUPTlvGRTnhJPWSQF6DzdZg+CY0/P6IXy8dpB0q/KKS5xIItpmVMBv0LbhHaAj+cE n1jA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=c05bI1Vg; dkim=pass header.i=@codeaurora.org header.s=default header.b=HWNj+hjF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 n3-v6si7110965plp.71.2018.09.04.01.16.23; Tue, 04 Sep 2018 01:16:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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=@codeaurora.org header.s=default header.b=c05bI1Vg; dkim=pass header.i=@codeaurora.org header.s=default header.b=HWNj+hjF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727104AbeIDMjS (ORCPT + 99 others); Tue, 4 Sep 2018 08:39:18 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:47390 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726087AbeIDMjR (ORCPT ); Tue, 4 Sep 2018 08:39:17 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 6E874607B9; Tue, 4 Sep 2018 08:15:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1536048915; bh=8iezEVjBv+2SQh9WDTIlp9lIsrAxC3UjhLSfLSBpddU=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=c05bI1Vgvm4zNjasYN8j7KX5pa0ttLIGnjavEGaARskmgu3PiK6Chb3zZbePymrZa Nr537RCJTuoq4gnzWIkKqOtb4BMJLQW6E6bp3QFq1op1pPDlAkfh6M9UglrYkWSw4X clVjJhyw1c5sZ0EeT6TmVqH3fiwMuJGKvwtjNEJs= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.9 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,MISSING_DATE,MISSING_MID,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from potku.adurom.net (88-114-240-52.elisa-laajakaista.fi [88.114.240.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: kvalo@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 0D485606AC; Tue, 4 Sep 2018 08:15:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1536048915; bh=8iezEVjBv+2SQh9WDTIlp9lIsrAxC3UjhLSfLSBpddU=; h=Subject:From:In-Reply-To:References:To:Cc:From; b=HWNj+hjFcDAPbDD6f3L26veHKFt1xz+eKpK377tfsDPqmKlIUPbhdX70gTdXgUOXT zRNpDLxP3xkZkuAGwKp0Et/Mcv3+uXIb14BXWxlDtJfhInGulsx4H4OXx+ZxIGn9G/ Opb0pdqRykFVkxDxuBgqD0fLQual+Rn+IYU3ZoDM= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 0D485606AC Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=kvalo@codeaurora.org Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH v2] mt76: Enable NL80211_EXT_FEATURE_CQM_RSSI_LIST From: Kalle Valo In-Reply-To: <20180901083834.11201-1-kristian.evensen@gmail.com> References: <20180901083834.11201-1-kristian.evensen@gmail.com> To: Kristian Evensen Cc: linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Kristian Evensen User-Agent: pwcli/0.0.0-git (https://github.com/kvalo/pwcli/) Python/2.7.12 Message-Id: <20180904081515.6E874607B9@smtp.codeaurora.org> Date: Tue, 4 Sep 2018 08:15:15 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Kristian Evensen wrote: > Enable the use of CQM_RSSI_LIST with mt76-devices. The change has been > tested with the mt7602, mt7603 and mt7621 PCI wifi-cards. I passed a > list of RSSI thresholds to the driver, and when disconnecting/connecting > the antenna(s) I got an event each time the RSSI went above/below a > threshold. > > While I have not been able to test the change with any of the mt76 > USB-devices (no access to a device), the RX RSSI management code is > shared between the two device types. Thus, CQM should also work with the > mt76 USB-devices. > > Signed-off-by: Kristian Evensen Patch applied to wireless-drivers-next.git, thanks. b37b30afc2b3 mt76: Enable NL80211_EXT_FEATURE_CQM_RSSI_LIST -- https://patchwork.kernel.org/patch/10584647/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches