Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp4141774ybd; Tue, 25 Jun 2019 15:02:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqwaYStjEIyt16ZcWmk6ubpf1G7mee12+A5j2PdBTveRuBXuAAr42KEzy6aEB+X+OHItDmEs X-Received: by 2002:a17:90a:dd45:: with SMTP id u5mr97264pjv.109.1561500178088; Tue, 25 Jun 2019 15:02:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561500178; cv=none; d=google.com; s=arc-20160816; b=Fy/Idp0DNftknH1yQujHPwJV2+0qTKaQcnuxXDplV7PpFkT7sBixUfk7UOv1QKksEW eoXoFqYsLf7VNUsQou7WroCCtCyZiNDsqAZr3u0glxbaOTs6FXIJqWagLE8tq8fOE6pV o2AnliXENuePc554tz4s/ZdL+YzdxNM0Wk4DY1Mnuqvw9oGN8C1amrtYcI+J1x+rRIjc eiecpVMkd9EawDmn9wF1tBYSfBmNE9u9c6B1zaR42FhPLuISNDSOyuDtkSW6c7NQpUqr 2NhWVLp9XYIM8r4cC4YLmxD5IbVKvSxorcI9lkUuiO0evokjbOMFzTm6CTELceRW2weZ eIEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=HrvYyLMye7Qls3DMNDMtgVccEHCgnPGwA4pxBC1np9E=; b=bDQxy2LurQyVx9cdDrys066A5MxSPWIObUQKOubGL7T65JTqRTZu2qeXk79cIxP+Od EGEZ8CvWAWRgvydJtdSW5yduXvyYsliUXxuN9s0IfELLaeDDX8snCATEIKgqpjlKBwQo EB7qE2475fhAgsNMs8+Eblmf1mhOlqpht/oXxC8yGq43kCankQNbKomxwWn2yHCGfWs0 SMm1UJ/uTM+KcukW5lLXPMJB9WSZmYfzTxbfEzcmkJPoBmHgb1ZSF9VQpk5QuQtWt+hC zdO6Hh0+gMfLht7DYY4dydfBf6kNJXtzDPpFwp7msBOOkiP6mZCq1DYW7+8QtPqZfXrk +Kpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=oWAUy20l; 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 k3si24895pjt.85.2019.06.25.15.02.43; Tue, 25 Jun 2019 15:02:58 -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=oWAUy20l; 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 S1726474AbfFYWB7 (ORCPT + 99 others); Tue, 25 Jun 2019 18:01:59 -0400 Received: from mail.kernel.org ([198.145.29.99]:37726 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726287AbfFYWB7 (ORCPT ); Tue, 25 Jun 2019 18:01:59 -0400 Received: from lore-desk-wlan.lan (unknown [151.66.61.123]) (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 9B484213F2; Tue, 25 Jun 2019 22:01:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1561500118; bh=d3an55i6V52zQtBU+A+w3f4/4cB5BAeylN2J0HNdyAk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=oWAUy20lse89wwLUo3x6x+9OcwraMW+Ou2xKkYgQEeau7iJRrT+pEjPYZ65GjYez0 gaf1sfKJqL9gnoOsHof1fHN9NyCzNIDwz+ZO0kj2SyHxITeGfVE70JAoh3YBUeNk1t ohJGYGU1hmqbZHPuGkD2F38WK/LsQebreMF6s0k4= From: Lorenzo Bianconi To: nbd@nbd.name Cc: lorenzo.bianconi@redhat.com, linux-wireless@vger.kernel.org, ryder.lee@mediatek.com, royluo@google.com, yf.luo@mediatek.com Subject: [RFC 4/5] mt76: mt7615: unlock dfs bands Date: Wed, 26 Jun 2019 00:01:25 +0200 Message-Id: <5b95dc9a237dc4e130c65d8480ca0cad2a5b9313.1561499275.git.lorenzo@kernel.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Unlock dfs channels since now mt7615 driver supports radar detection Signed-off-by: Lorenzo Bianconi --- drivers/net/wireless/mediatek/mt76/mt7615/init.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/net/wireless/mediatek/mt76/mt7615/init.c b/drivers/net/wireless/mediatek/mt76/mt7615/init.c index 5dc4cced5789..6d336d82cafe 100644 --- a/drivers/net/wireless/mediatek/mt76/mt7615/init.c +++ b/drivers/net/wireless/mediatek/mt76/mt7615/init.c @@ -152,6 +152,12 @@ static const struct ieee80211_iface_combination if_comb[] = { .max_interfaces = 4, .num_different_channels = 1, .beacon_int_infra_match = true, + .radar_detect_widths = BIT(NL80211_CHAN_WIDTH_20_NOHT) | + BIT(NL80211_CHAN_WIDTH_20) | + BIT(NL80211_CHAN_WIDTH_40) | + BIT(NL80211_CHAN_WIDTH_80) | + BIT(NL80211_CHAN_WIDTH_160) | + BIT(NL80211_CHAN_WIDTH_80P80), } }; -- 2.21.0