From patchwork Sun Aug 12 14:52:07 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kristian Evensen X-Patchwork-Id: 10563673 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 918FE1510 for ; Sun, 12 Aug 2018 14:53:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7386B29375 for ; Sun, 12 Aug 2018 14:53:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 64D4B29394; Sun, 12 Aug 2018 14:53:34 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 35FBB29375 for ; Sun, 12 Aug 2018 14:53:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728261AbeHLRbY (ORCPT ); Sun, 12 Aug 2018 13:31:24 -0400 Received: from mail-lf1-f68.google.com ([209.85.167.68]:39600 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728104AbeHLRbY (ORCPT ); Sun, 12 Aug 2018 13:31:24 -0400 Received: by mail-lf1-f68.google.com with SMTP id a134-v6so9569836lfe.6; Sun, 12 Aug 2018 07:53:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=g/mn5+dYy3phpyIHh3N1We6mfdSB17flN2Cpgf2iUCg=; b=Bf2ECf5wLhjTUL7OWh8LGjXcJXWhto5AMYOrSWYjP+fVYQHPDX/jys9QXZyvqNgPUV Gq7CUmTSk8n7YNIgjk+wsvH6y/RUSN6TX27o4h852sM4kMRpbsf9E2dlmYRPl4dAXym8 /qoS+3aYvseGca0QwevhywgcoavLulLnKCEX4/1GrLubfbTLCreqCblwnoBbzNwNW+m4 9zoPP4QbSvoJ/JnP9bSagby8NR0HYNCjma8fhGfSaRvQiyuypP6FsZ2l9esu7qRsMd9B jTJ9lyTIX0qujOTqGwblBtPSmh+ucSdIAISNfZi1wvA2eQcsT7RGLfEAuCiPZn498519 Ce5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=g/mn5+dYy3phpyIHh3N1We6mfdSB17flN2Cpgf2iUCg=; b=DkfwIseouPN8CXfYuNWi+yjcj5Y+KR/N/Oh8zK/odIoGSt/NoahJ4AM4bse0EEVPVa yvRJyz2m1QxsQlk3iLhHW+Lfa/27AgIce37u4zHPI4gEBMyMb3tmiG3dX0mpIp70bZyH wjPbGnXLe54bOaihEsjke18eEEs9bCsB0raay2o7JqwQH9Dpvp+IV69ACrMgPT5Su+aH ddfMXoAGg8qx5VFPYC4aUBGFHOmUCKkADawoXrCtOimN+gjbCwFtz3Dz8EAYrnHgJnL9 wiQNlxXQcKUcac2CJwGDVkSaMjI+LkD1psnnXAiR+urVVwDpQBGBaOXQOVd63dcQMgaj 81mA== X-Gm-Message-State: AOUpUlEVyFhb9f39wHu0biOFbqNtZACGOForSr2mqMO1L9RAMS3fV1xn Y3/ZJfqcEHixaJ2qM3jv464dYSNH X-Google-Smtp-Source: AA+uWPxZ+6Fp5+niRbELS2VqbK5U3YvWC8DipBfXui9Ekni6CsbixKIZ7Gm/Osk+mY5e8kUqxZqJWg== X-Received: by 2002:a19:9345:: with SMTP id v66-v6mr8880676lfd.89.1534085584775; Sun, 12 Aug 2018 07:53:04 -0700 (PDT) Received: from localhost.localdomain (155.51-175-192.customer.lyse.net. [51.175.192.155]) by smtp.gmail.com with ESMTPSA id p134-v6sm2906631lfe.11.2018.08.12.07.53.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 12 Aug 2018 07:53:04 -0700 (PDT) From: Kristian Evensen To: linux-wireless@vger.kernel.org, kvalo@codeaurora.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Kristian Evensen Subject: [PATCH] mt76: Enable NL80211_EXT_FEATURE_CQM_RSSI_LIST Date: Sun, 12 Aug 2018 16:52:07 +0200 Message-Id: <20180812145207.11395-1-kristian.evensen@gmail.com> X-Mailer: git-send-email 2.14.1 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Enable the use of CQM with mt76-devices. Signed-off-by: Kristian Evensen --- drivers/net/wireless/mediatek/mt76/mac80211.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/wireless/mediatek/mt76/mac80211.c b/drivers/net/wireless/mediatek/mt76/mac80211.c index 029d54bc..3eb328ff 100644 --- a/drivers/net/wireless/mediatek/mt76/mac80211.c +++ b/drivers/net/wireless/mediatek/mt76/mac80211.c @@ -305,6 +305,8 @@ int mt76_register_device(struct mt76_dev *dev, bool vht, wiphy->features |= NL80211_FEATURE_ACTIVE_MONITOR; + wiphy_ext_feature_set(wiphy, NL80211_EXT_FEATURE_CQM_RSSI_LIST); + wiphy->available_antennas_tx = dev->antenna_mask; wiphy->available_antennas_rx = dev->antenna_mask;