From patchwork Wed Dec 12 21:51:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lorenzo Bianconi X-Patchwork-Id: 10727153 X-Patchwork-Delegate: kvalo@adurom.com 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 C769D14BD for ; Wed, 12 Dec 2018 21:52:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B962E2B97D for ; Wed, 12 Dec 2018 21:52:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AD7C62B986; Wed, 12 Dec 2018 21:52:09 +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 4D6C42B97D for ; Wed, 12 Dec 2018 21:52:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728127AbeLLVwI (ORCPT ); Wed, 12 Dec 2018 16:52:08 -0500 Received: from mail-wr1-f67.google.com ([209.85.221.67]:39124 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726263AbeLLVwI (ORCPT ); Wed, 12 Dec 2018 16:52:08 -0500 Received: by mail-wr1-f67.google.com with SMTP id t27so19196268wra.6 for ; Wed, 12 Dec 2018 13:52:07 -0800 (PST) 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=+TYyUzbNCCJDFXb+jr1z8INqPis77LRhVrlhQp0xf6w=; b=ItyzZoU700oyqVPMjFb5RFMYkubfFBaPeJ00dYPu1gHh84b58VOlOCQwoHhVb5nNw0 rhwRrhl9iG7duOloAuNYSnRTIJcA5CIVgJkIqsK1ze7O8k1uIXBldBH9IP8Khz9O1O8m Wkv3MGQcoMH2h6S6RMSlLia74Twa3qlqPGI1TGJOD2oXHJGGus6JYL6Du0sltks0j87r D3E6NZYqUp4ZzakQ/FEGdWjH11Yr7FcznvsgK8F96a4uRrq3QgULTFgvRzWBNP+bx3Ip GkVoJPzWv/+UIiKrpcxTOuh9Iv0XGfQDGq71nAuxkVPyNc5KyPbd7vMDprnK9iV9Rv3z wpvQ== X-Gm-Message-State: AA+aEWYaYZB7XQUUGyIsIv1NpHnQPM1Gxm1G/IxDiO1pg9l8vcbrsZlM hgSKfB0xRlC34pNNKo6PoLfQ3Q== X-Google-Smtp-Source: AFSGD/UuH6aJ/JdnCHcJfsZP8cpj6GGGx2iaSSGIzOO7nq36xnvgTZkpkqX3FKpEreJY7RVQeIQqgA== X-Received: by 2002:adf:80cf:: with SMTP id 73mr418106wrl.57.1544651526843; Wed, 12 Dec 2018 13:52:06 -0800 (PST) Received: from localhost.localdomain ([151.66.36.11]) by smtp.gmail.com with ESMTPSA id o17sm225615wmg.35.2018.12.12.13.52.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 12 Dec 2018 13:52:06 -0800 (PST) From: Lorenzo Bianconi To: nbd@nbd.name Cc: linux-wireless@vger.kernel.org, sgruszka@redhat.com Subject: [PATCH 2/3] mt76x2: init: set default value for MT_TX_LINK_CFG Date: Wed, 12 Dec 2018 22:51:54 +0100 Message-Id: <87d5cbe3208ae962fcdf02d7d4266420e0e4dd92.1544568618.git.lorenzo.bianconi@redhat.com> X-Mailer: git-send-email 2.19.2 In-Reply-To: References: 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 Update default value for MT_TX_LINK_CFG according to vendor driver Signed-off-by: Lorenzo Bianconi --- drivers/net/wireless/mediatek/mt76/mt76x2/init.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wireless/mediatek/mt76/mt76x2/init.c b/drivers/net/wireless/mediatek/mt76/mt76x2/init.c index 54a9b5fac787..f8534362e2c8 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76x2/init.c +++ b/drivers/net/wireless/mediatek/mt76/mt76x2/init.c @@ -143,6 +143,7 @@ void mt76_write_mac_initvals(struct mt76x02_dev *dev) { MT_VHT_HT_FBK_CFG1, 0xedcba980 }, { MT_PROT_AUTO_TX_CFG, 0x00830083 }, { MT_HT_CTRL_CFG, 0x000001ff }, + { MT_TX_LINK_CFG, 0x00001020 }, }; struct mt76_reg_pair prot_vals[] = { { MT_CCK_PROT_CFG, DEFAULT_PROT_CFG_CCK },