From patchwork Mon Oct 22 21:42:11 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lorenzo Bianconi X-Patchwork-Id: 10652579 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 6AE4517D4 for ; Mon, 22 Oct 2018 21:42:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E8BE1290A2 for ; Mon, 22 Oct 2018 21:42:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D9C1D290EF; Mon, 22 Oct 2018 21:42:23 +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=-7.9 required=2.0 tests=BAYES_00,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 833A9290A2 for ; Mon, 22 Oct 2018 21:42:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728772AbeJWGCk (ORCPT ); Tue, 23 Oct 2018 02:02:40 -0400 Received: from mail-wm1-f47.google.com ([209.85.128.47]:51033 "EHLO mail-wm1-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728334AbeJWGCk (ORCPT ); Tue, 23 Oct 2018 02:02:40 -0400 Received: by mail-wm1-f47.google.com with SMTP id i8-v6so11720723wmg.0 for ; Mon, 22 Oct 2018 14:42:21 -0700 (PDT) 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:mime-version :content-transfer-encoding; bh=X0URGo7MdZN4BgVNc4nDKKuEvdDJFIy+Sc7NHwQpVMQ=; b=cmOMRUU+OB+XbPteavFMxgRd94TuGaXSa/3LX5O4/cMJUoarOkKjzHr4b1R4VnJdtC 6DahAJ1gUMQAoaQqR3bmij1Ct5OWkU2p+f2QbIPSWNVJzF9vUMtS+bXr5lrFlS0mM3Mi uHLlXi5uxiWvl0lG/sY5PUxDN8Bnv6thv3IwUfrXQ8CjCjBvKdZXMboAw/DePDN80vTh P5dAYUHgNWC6yxu8LMCmFTBQ1GR13B4uXUYoKTkhZEab0w89Kme8E67hElm6KCsaFA5d vGq+NDMaWGMOAL69GKP2WGdZ4InK9poacV/ad3+YwShkMRPz9YrJF4f9++aauUkQWyx0 IXFg== X-Gm-Message-State: ABuFfoiE3ZcmRT5/WpuXPt49a9y72vg+mkF4SYZJ+PRNKDOtYMRg7i7y LTu9hNR9RAAXz0ouKe3VPEYhPw== X-Google-Smtp-Source: ACcGV60QOdh+edbjzG4Vka9zpmyL3J8mpzndvnTLF4cNeHmFDGK+0Af+zY6O9gtCjUlyvTtpOFjX1Q== X-Received: by 2002:a1c:870c:: with SMTP id j12-v6mr18110301wmd.40.1540244540313; Mon, 22 Oct 2018 14:42:20 -0700 (PDT) Received: from localhost.localdomain ([151.66.57.235]) by smtp.gmail.com with ESMTPSA id l125-v6sm21857187wmb.1.2018.10.22.14.42.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 22 Oct 2018 14:42:19 -0700 (PDT) From: Lorenzo Bianconi To: nbd@nbd.name Cc: sgruszka@redhat.com, linux-wireless@vger.kernel.org Subject: [PATCH 0/2] add dfs support to mt76x0e driver Date: Mon, 22 Oct 2018 23:42:11 +0200 Message-Id: X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 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 Introduce {sw,hw} dfs detector to mt76x0e driver in order to properly unlock radar frequencies This series is based on top of 'unify drv_bss_info_changed between mt76x0 and mt76x2' one: https://patchwork.kernel.org/cover/10650357/ Lorenzo Bianconi (2): mt76: move dfs support in mt76x02-lib module mt76x0: pci: add DFS support drivers/net/wireless/mediatek/mt76/Makefile | 3 +- .../net/wireless/mediatek/mt76/mt76x0/main.c | 11 +- .../net/wireless/mediatek/mt76/mt76x0/phy.c | 4 + .../mt76/{mt76x2/pci_dfs.c => mt76x02_dfs.c} | 162 +++++++++++------- .../net/wireless/mediatek/mt76/mt76x02_dfs.h | 5 + .../net/wireless/mediatek/mt76/mt76x02_util.c | 5 + .../wireless/mediatek/mt76/mt76x2/Makefile | 2 +- .../net/wireless/mediatek/mt76/mt76x2/dfs.h | 25 --- .../wireless/mediatek/mt76/mt76x2/mt76x2.h | 1 - .../wireless/mediatek/mt76/mt76x2/pci_init.c | 16 -- .../wireless/mediatek/mt76/mt76x2/pci_main.c | 2 +- .../net/wireless/mediatek/mt76/mt76x2/phy.c | 23 +-- 12 files changed, 128 insertions(+), 131 deletions(-) rename drivers/net/wireless/mediatek/mt76/{mt76x2/pci_dfs.c => mt76x02_dfs.c} (83%) delete mode 100644 drivers/net/wireless/mediatek/mt76/mt76x2/dfs.h