From patchwork Sun Jul 28 19:03:16 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lorenzo Bianconi X-Patchwork-Id: 11063019 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 AD06A13B1 for ; Sun, 28 Jul 2019 19:03:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 95D05286C8 for ; Sun, 28 Jul 2019 19:03:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8466B287C2; Sun, 28 Jul 2019 19:03:30 +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,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 209BC286C8 for ; Sun, 28 Jul 2019 19:03:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726151AbfG1TD3 (ORCPT ); Sun, 28 Jul 2019 15:03:29 -0400 Received: from mail.kernel.org ([198.145.29.99]:51804 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726105AbfG1TD2 (ORCPT ); Sun, 28 Jul 2019 15:03:28 -0400 Received: from lore-desk-wlan.lan (unknown [151.66.36.246]) (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 D33092075B; Sun, 28 Jul 2019 19:03:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1564340608; bh=7AnHIZ2osYDpMp8j9Xs2dM8DizB6AdRDdHxwAMPjiSs=; h=From:To:Cc:Subject:Date:From; b=pEETWCI3Sgh38ushMHjvzhOTwzgxBy9aGY446AKRPm93r3Z8N2G8UYuCkwgK+Ijw5 S1Vaa5hfr2IwkC5FSE0z5gB6jY8vLpqJFNJCgIwq9B27PUdgoR1LkKRgefuCQGSdXd KQHGUgr2P7wu5waW7wIsARATP0PqmMmgxmzimgAM= From: Lorenzo Bianconi To: nbd@nbd.name Cc: lorenzo.bianconi@redhat.com, linux-wireless@vger.kernel.org, ryder.lee@mediatek.com, royluo@google.com Subject: [PATCH 0/2] mt7615: add Smart Carrier Sense support Date: Sun, 28 Jul 2019 21:03:16 +0200 Message-Id: X-Mailer: git-send-email 2.21.0 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 Add Smart Carrier Sense (SCS) algorithm in order to tune device sensitivity to track long-range clients and cut-off possible interferences using RTS error rate and False CCA reported by the radio Lorenzo Bianconi (2): mt76: mt7615: rework locking scheme for mt7615_set_channel mt76: mt7615: add Smart Carrier Sense support drivers/net/wireless/mediatek/mt76/mt76.h | 9 +- .../wireless/mediatek/mt76/mt7615/debugfs.c | 39 ++++ .../net/wireless/mediatek/mt76/mt7615/init.c | 1 + .../net/wireless/mediatek/mt76/mt7615/mac.c | 176 ++++++++++++++++++ .../net/wireless/mediatek/mt76/mt7615/main.c | 15 +- .../wireless/mediatek/mt76/mt7615/mt7615.h | 14 ++ .../net/wireless/mediatek/mt76/mt7615/regs.h | 36 ++++ 7 files changed, 281 insertions(+), 9 deletions(-)