Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1179515ybe; Fri, 6 Sep 2019 13:08:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqw+ssb7Du8RrQBfj2sGDyM1ntBalKFEdWOhvBBlObK/2t3N/1LKqNHrT1iCfQTGGx37dj8z X-Received: by 2002:a17:902:b201:: with SMTP id t1mr11335759plr.144.1567800535373; Fri, 06 Sep 2019 13:08:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567800535; cv=none; d=google.com; s=arc-20160816; b=B/jvYFcqa1qrnlVSjF0UCtt6ssuXZL5p7SPvSZdO+3bxvvdOKgJq9F18U4X1weEH1J RMFqMVPmMhqKv9t7ak53zBgzxeRJEU+FzaOzlfjulG7B5toux+UlaI6KHEpzfE0ILEus mYEqAj5YlodCLkBXnSHsSTZT8vQ0cUnUrlQn2DGqaZXncOnagcr3bR3Jos+Cx9oBi/7c z5MBfzMm5TuopMCjE9ogstkFcTSpwAySnC7ovhvzjPr3yZ8tf9EbO+jFjMdXntOGW56U MDFHw9eBCALQpcpfdDMZmsByMK4O4JP9Mt8a0oKt2GRESl494BwoJvZrVUSaesJNYju0 QBmQ== 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=N5uB5kCJomnMpUJpAfvljmUswWQplF1Fn9+CWKgjK/E=; b=Ey34jJ2Ivkwq/3gQEOETDpV2i/fNJlDuu8bAYnJ/apMB/KP/OL0/s+ztGt9FkKzNh/ xUUy2BXlwR6hmiFn2aStCiMk9hsZmonwAfrUHYKBUGhVXsfeUBwIUpC7MZJnYUOMaf/f zsBDvFPNRJRznMdGEyD0vz9mqkSnzpq8WJKjjBGVCPs6YGZwXLoOMYynuOKiyzpiQ/mu WJc1k5Jrjxntngxft23q17iKBGbArScqAmQ4+Tur8zsGTeHDImeF/FazED9GjGI6kRQf JQo8dtNI+WkNMv9p8QbPHNaqVvTXHIZ2EgeAb1saWihM434r6NEuj3qlpQ4XkT0/CKvl 1Qfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=iCVkv0XW; 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 w3si5768109plq.237.2019.09.06.13.08.27; Fri, 06 Sep 2019 13:08:55 -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=iCVkv0XW; 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 S2389837AbfIFP3Z (ORCPT + 99 others); Fri, 6 Sep 2019 11:29:25 -0400 Received: from mail.kernel.org ([198.145.29.99]:54826 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388007AbfIFP3Z (ORCPT ); Fri, 6 Sep 2019 11:29:25 -0400 Received: from localhost.localdomain.com (unknown [151.66.4.139]) (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 622092070C; Fri, 6 Sep 2019 15:29:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1567783764; bh=goP0T3nK9wdPLM00EOzxui8WH6coYbI+vkgT50x1Uug=; h=From:To:Cc:Subject:Date:From; b=iCVkv0XW9kvBUvbAlgcQYhkSe+ErY/EBI3yhViGoadkYST84/2FwRuESWtDMLPxrM 0YoXMTp8u8k+ufz0xsKovvtT+jLTPBY7mKGZ+PMTRyv8Pe9JJN+WZzWu12VRQMxRJI hFaT+JuVGxXHcrwFVq07SFPyuwJ58maj7IYUqwSs= 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] mt76: mt7615: enable SCS by default Date: Fri, 6 Sep 2019 17:29:04 +0200 Message-Id: <5933942ffd23f71b925cc6be26e9918fd663ed46.1567783646.git.lorenzo@kernel.org> 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 Enable Smart Carrier Sense algorithm by default in order to improve performances in a noisy environment Signed-off-by: Lorenzo Bianconi --- drivers/net/wireless/mediatek/mt76/mt7615/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/mediatek/mt76/mt7615/init.c b/drivers/net/wireless/mediatek/mt76/mt7615/init.c index 1104e4c8aaa6..835499979b73 100644 --- a/drivers/net/wireless/mediatek/mt76/mt7615/init.c +++ b/drivers/net/wireless/mediatek/mt76/mt7615/init.c @@ -50,7 +50,7 @@ static void mt7615_mac_init(struct mt7615_dev *dev) MT_TMAC_CTCR0_INS_DDLMT_EN); mt7615_mcu_set_rts_thresh(dev, 0x92b); - mt7615_mac_set_scs(dev, false); + mt7615_mac_set_scs(dev, true); mt76_rmw(dev, MT_AGG_SCR, MT_AGG_SCR_NLNAV_MID_PTEC_DIS, MT_AGG_SCR_NLNAV_MID_PTEC_DIS); -- 2.21.0