Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5349808ybi; Wed, 12 Jun 2019 00:43:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqxPpklgrv/KPX6Bd4sIxucx7VIv9zp88wdGheRJpUyeiJyQi7J5/IScZ8+En0gLtfq79rWI X-Received: by 2002:a65:60d9:: with SMTP id r25mr23928829pgv.228.1560325400514; Wed, 12 Jun 2019 00:43:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560325400; cv=none; d=google.com; s=arc-20160816; b=pGtaULoFompXVqyfMjF+kLDfeMOvcYNHs/BEsierYk6paCGYuMPy2WiC3UAaw1zdg5 Nfvg8RNfHx304btXhzs5CbxQDOyMHouODiFjVZrc+5t/Po2a2ZEPj1/wl/5O1QS9SrlF zHB264lkGkxVtvS74BoqieEgyjeJBLGkm+4/FQKAsEW4B1R7optLSpKRXGVyOm2wtZLq ZsUWRhxV882dTk4VT3EHM1lR1FRODfDajwtlhLCTo80iUxwDZ/RRQBy6NKVbedC286sr pNX1mkHMUuJfXiR0HXklz+FyQ3GClPbUJzmNKOTNNX1FS9Cyvbow1jcfymfEghaRXBm2 bT+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=cYfmNVbfdxl46WLZBVh1NDKv3B8jc1H7uRic8Jaunz4=; b=TEPkkjXJz1aLNlQoLED0WAmU1oN6Wma0oUO4Rp35S3u3NS+nW+S0yuUiOiDlu/ePT4 172qx5oJ8uunry6pCw3easjY2XylqDK13SNlufQ/hct+hO6Z1Q1JDIhhNvvROlZe2Z2b 5L1fafTyIYO2KcqiHFNLSsbnWgqSg/v4qeT+TkSQEQThmmQnRkIytkFkQ7J7G0BLuyqa AsuxTFxYJvKkVR/+jw4/39B6nyxVEmIje9tSUNkUFTwcDvYbZ/KQ41yDGAViOU1he/JK T4RrOqXj2wly1gwV5KjrRJgnLAMOTNjLkeci523FOcFFV8C0eRJEhRWPjsMdErbjBsZK HNkA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e11si15351353plb.407.2019.06.12.00.43.02; Wed, 12 Jun 2019 00:43:20 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2408557AbfFLDMp (ORCPT + 99 others); Tue, 11 Jun 2019 23:12:45 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:52245 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S2408538AbfFLDMp (ORCPT ); Tue, 11 Jun 2019 23:12:45 -0400 X-UUID: 4f80c4c4ccd3475f87596ca4a0de9668-20190612 X-UUID: 4f80c4c4ccd3475f87596ca4a0de9668-20190612 Received: from mtkmrs01.mediatek.inc [(172.21.131.159)] by mailgw01.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 516540313; Wed, 12 Jun 2019 11:12:41 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs08n1.mediatek.inc (172.21.101.55) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Wed, 12 Jun 2019 11:12:39 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Wed, 12 Jun 2019 11:12:39 +0800 From: Ryder Lee To: Felix Fietkau , Lorenzo Bianconi CC: Roy Luo , YF Luo , Yiwei Chung , Sean Wang , , , , Ryder Lee Subject: [PATCH 1/2] mt76: mt7615: fix incorrect settings in mesh mode Date: Wed, 12 Jun 2019 11:12:33 +0800 Message-ID: <3065a01998dfa04a5d2d680e820a17cb5c110d0f.1560221172.git.ryder.lee@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <22e5caff3581dc92fd6fec2f25966d86b7276bba.1560220443.git.ryder.lee@mediatek.com> References: <22e5caff3581dc92fd6fec2f25966d86b7276bba.1560220443.git.ryder.lee@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix wrong settings that will drop packets due to hardware's RX table searching flow. Fixes: f072c7ba2150 ("mt76: mt7615: enable support for mesh") Signed-off-by: Ryder Lee --- drivers/net/wireless/mediatek/mt76/mt7615/mcu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/mediatek/mt76/mt7615/mcu.c b/drivers/net/wireless/mediatek/mt76/mt7615/mcu.c index 76431d00a8ac..e82086eb8aa4 100644 --- a/drivers/net/wireless/mediatek/mt76/mt7615/mcu.c +++ b/drivers/net/wireless/mediatek/mt76/mt7615/mcu.c @@ -970,7 +970,7 @@ int mt7615_mcu_add_wtbl(struct mt7615_dev *dev, struct ieee80211_vif *vif, .rx_wtbl = { .tag = cpu_to_le16(WTBL_RX), .len = cpu_to_le16(sizeof(struct wtbl_rx)), - .rca1 = vif->type == NL80211_IFTYPE_STATION, + .rca1 = vif->type != NL80211_IFTYPE_AP, .rca2 = 1, .rv = 1, }, -- 2.18.0