Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp59816pxm; Fri, 4 Mar 2022 16:04:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJy4eRI6J/aKlqDq4+VBhlgvkQbqhUJxBEF0mZI6fIk2KFG6BhbNVys4zBaHxu8y/C5+TvBt X-Received: by 2002:ad4:5de6:0:b0:433:2eeb:1e0f with SMTP id jn6-20020ad45de6000000b004332eeb1e0fmr1064430qvb.50.1646438695882; Fri, 04 Mar 2022 16:04:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646438695; cv=none; d=google.com; s=arc-20160816; b=scqM3d3h30yNvikQfz+p3yFgCQDDYmnnNOCHt4qfKIxhYZ1SwzmPpxQCk5vCcrc95N 5ZVCwMd9qkP43VCDpRzrRC2pGgDCA+A5PlVuzQQj/g3rh9tIu4zksejXHB0P3c/IiuIW /ZAOZB3WUl0U3naV4Ft9MgXL3ZKAcVtoaVm7YhjAzdUDHFlOkjtbsTGppTfG1g6pFPWL ii0GL7ACS1IgCB44YXDAPNuMcqVVJxxMUpbcRDOUvFym5tJ9/5kYt717o7qe3cD5QKd9 +xZcern4nxQdwv4T5sDPAQBylvzj4yhy5cXIqp8689wKQu+C+Se09G9W4WKPykNFuis+ Rn1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=HdOIr3PSwfOYPqQB9WgALhzS6sPBYej6cvNC4HewYKI=; b=qD4camPsFrBQ7F2Jno7v0QfKZgX0Ge4C2pVqG0jBrbVC28eTRG5J0+JpntNIGEEIGi E5IAboRCxxMKB4x5VTqLxFZm+Q2UFSaoCUPMQXTEy1ubMkC4KStjhbzC9HAxWE8P798y is61hlehgcv/ZrZ5+1oimN2Zs0WluiziYFQJmiEX2f67uEqYVOzFs110H7+33Hcu0SjJ y0DqpCI7Y3dgfQzNUSjn9SfVzeS87TcPrm4VVofXVx7rWQBKWbkodHcRlKpMWh+s+jI2 0KKgm+4cYqOaFM26tIeg8YXUXzkYieMvdE2UzhVYMkVWEEbQEeT2A4dmRNtJIhd5UXdi etvg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c18-20020a05622a059200b002de957c3df5si2780288qtb.196.2022.03.04.16.04.27; Fri, 04 Mar 2022 16:04:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229758AbiCDXn1 (ORCPT + 72 others); Fri, 4 Mar 2022 18:43:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46130 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229471AbiCDXn0 (ORCPT ); Fri, 4 Mar 2022 18:43:26 -0500 Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 73B61BBB for ; Fri, 4 Mar 2022 15:42:33 -0800 (PST) X-UUID: bb59bc860c4f460ab9d547d55e5cffd1-20220305 X-UUID: bb59bc860c4f460ab9d547d55e5cffd1-20220305 Received: from mtkmbs10n2.mediatek.inc [(172.21.101.183)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 555538357; Sat, 05 Mar 2022 07:42:26 +0800 Received: from mtkcas11.mediatek.inc (172.21.101.40) by mtkmbs07n2.mediatek.inc (172.21.101.141) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sat, 5 Mar 2022 07:42:25 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas11.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Sat, 5 Mar 2022 07:42:25 +0800 From: Ryder Lee To: Felix Fietkau CC: Lorenzo Bianconi , Shayne Chen , Evelyn Tsai , , , Ryder Lee Subject: [PATCH] mt76: mt7915: allow beaconing on all chains Date: Sat, 5 Mar 2022 07:42:24 +0800 Message-ID: <7dcbe1ef9dd396883ae6caf98b138c5a30429b94.1646437090.git.ryder.lee@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Type: text/plain X-MTK: N X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,MAY_BE_FORGED, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE,T_SPF_TEMPERROR,UNPARSEABLE_RELAY autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org This improves rate reach performance on units with polarized antennas. Signed-off-by: Ryder Lee --- drivers/net/wireless/mediatek/mt76/mt7915/mac.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wireless/mediatek/mt76/mt7915/mac.c b/drivers/net/wireless/mediatek/mt76/mt7915/mac.c index 1da551f0b389..71e889b56581 100644 --- a/drivers/net/wireless/mediatek/mt76/mt7915/mac.c +++ b/drivers/net/wireless/mediatek/mt76/mt7915/mac.c @@ -1101,6 +1101,7 @@ mt7915_mac_write_txwi_80211(struct mt7915_dev *dev, __le32 *txwi, if (ieee80211_is_beacon(fc)) { txwi[3] &= ~cpu_to_le32(MT_TXD3_SW_POWER_MGMT); txwi[3] |= cpu_to_le32(MT_TXD3_REM_TX_COUNT); + txwi[7] |= cpu_to_le32(FIELD_PREP(MT_TXD7_SPE_IDX, 0x18)); } if (info->flags & IEEE80211_TX_CTL_INJECTED) { -- 2.29.2