Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp4141097ybd; Tue, 25 Jun 2019 15:02:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqxVlk26wEup66BhGUcdn5mGJy9zqgyl6lu+5I7lv25f8JU7VOc9kz4oy4UAGSUoTQVCPQzo X-Received: by 2002:a63:e53:: with SMTP id 19mr40636185pgo.137.1561500142173; Tue, 25 Jun 2019 15:02:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561500142; cv=none; d=google.com; s=arc-20160816; b=KeKFonELR1CtbnWuYtjFLIYxKTYKnXXc+1ARNB1avoGdcG6a06Y7OmP8BKtzxKed9u eEfKrUyR5iYrWkc3Il0dd42anZPLKZGGsybM7I5hGgLFKrZMq6h/ZRYRaSembPGm2lGM RMfaNuhvnM2pXzrxNXyHHAVcPhaXc2EFhAHUBt0v/uukNSU8FgwqMYT5m+bU4208Kqfl Bf74xp6unejuVGvxm5kUJLTMds2OO5ygkqll4jyFUYYe1feEifRn0+cqhV4OAfqnUIP3 IjXxP1ELc8vq+c47F18XcM8o5Ucb18400UW9EyXlImlCiJZYgG/eGIK9R0AN/ezEhMSd nrnA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=yjxjWJDXsNg0oEAxt+of5QVLk6123nMhwdN01AbieV0=; b=DFauz737OAcCR3LchA1vHN18sBULWd3muMV1GFJ30zSUXsDtSPEfq2rSBXO+GE0tO+ n20P1/aw9RGViBlcTg1F9sBpwANg2iL9s8NShsl6IXezj1JUE6zMUKz6OdOGAZLEZ+2y PgJIwCs+WZRbtR/4UETt7qJzK+pwum+bbMwI7+Mx8lhDCz5l209EXUARMFR2ALdzNGLN hdvvxBd83D57/HtuaJxfNWNTTPdQ2IAs/p8h8W8TJXgr/dfUz18yR1aV6Q+6GPswJGeR ljQyLQsISTEGY3k8DN7Z+pY4Be74rF7n3ju5PdjG4pnhaKNSzxCjppVk91AHoMFJu2St cd4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=hnjnEqht; 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 s24si9829727pfh.227.2019.06.25.15.01.59; Tue, 25 Jun 2019 15:02:22 -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=hnjnEqht; 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 S1726320AbfFYWBl (ORCPT + 99 others); Tue, 25 Jun 2019 18:01:41 -0400 Received: from mail.kernel.org ([198.145.29.99]:37326 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726287AbfFYWBk (ORCPT ); Tue, 25 Jun 2019 18:01:40 -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 0C9332080C; Tue, 25 Jun 2019 22:01:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1561500100; bh=tOzgUk1RBOCQTpHAYWbEhXQf5usxs50Ef2LiyQqBHHY=; h=From:To:Cc:Subject:Date:From; b=hnjnEqhtULKt8jtbJG4Jtq72n0hJAe2PVPUfEWGuzD+Fbc4gg1FLTpUg2Dt10SYAu tZBc9oNXBkM5Jb+sIp6sLexeBwoUXKII8B13iS0HWYJ4McDuS7TcpPyJnC6E4bruK/ gITnxR644CGeSdlzVVSujUhGeRnpjPiQXEnMRzJE= 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 0/5] add hw dfs pattern detector support to mt7615 driver Date: Wed, 26 Jun 2019 00:01:21 +0200 Message-Id: X-Mailer: git-send-email 2.21.0 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 Introduce radar pattern detection support to mt7615 driver. Please note I have tested this series just through the radar pattern test knob added to debugfs and not through I real radar signal generator. CSA is currently missing (I am currently working on it). This series is based on 'mt76: move nl80211_dfs_regions in mt76_dev data structure' https://patchwork.kernel.org/patch/11010723/ Lorenzo Bianconi (5): mt76: mt7615: introduce mt7615_regd_notifier mt76: mt7615: add hw dfs pattern detector support mt76: mt7615: do not perform txcalibration before cac is complited mt76: mt7615: unlock dfs bands mt76: mt7615: add radar pattern test knob to debugfs .../wireless/mediatek/mt76/mt7615/Makefile | 3 +- .../wireless/mediatek/mt76/mt7615/debugfs.c | 38 ++++++ .../net/wireless/mediatek/mt76/mt7615/dma.c | 2 +- .../net/wireless/mediatek/mt76/mt7615/init.c | 43 +++++-- .../net/wireless/mediatek/mt76/mt7615/mac.c | 88 +++++++++++++ .../net/wireless/mediatek/mt76/mt7615/main.c | 6 + .../net/wireless/mediatek/mt76/mt7615/mcu.c | 121 ++++++++++++++++-- .../net/wireless/mediatek/mt76/mt7615/mcu.h | 23 ++++ .../wireless/mediatek/mt76/mt7615/mt7615.h | 55 ++++++++ 9 files changed, 356 insertions(+), 23 deletions(-) create mode 100644 drivers/net/wireless/mediatek/mt76/mt7615/debugfs.c -- 2.21.0