Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp7105170ybi; Thu, 13 Jun 2019 09:38:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqym1FUwkILd/uUFDyP5KfZDkVXrcBaWgCT2PPFKNl4GoJNG9nyKImHPbLEtJC51ovcru4PD X-Received: by 2002:a63:eb0a:: with SMTP id t10mr28360730pgh.99.1560443882256; Thu, 13 Jun 2019 09:38:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560443882; cv=none; d=google.com; s=arc-20160816; b=Gpz4uZCazM0QnrQcLg7gqaKpHX6vOR55eGOkfBS88m23EIKwM+JAjbqKfkgHIaFutt 9GMCxxPD/6rDJNLESn1DVjOKbGpFlj7FRSp4X5os+t/gbszdNrRmvw/xRIEVyM1DUHhQ EMwbdgn7/8kIPLjvQPHN2eIUSGa1AfGJlcUBAMwvRasXgRulCNKozwNFuX+vT+vXXoTa mY/l3RZJl+ImYgJkZ/0y+VqBhwwwMfQMokRUo/0SuWJpYJJVXFqIQCtsJofrt70zMtky IoauRAm5aigpv8qEyCH0fSLxebuJWoMZGYJkhWVCDvCl9Qaro0KxH7I7TchK/QPez1M3 UXmA== 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=zIP43gDhzKvC+9+UnXrMjcvuf99+1ElMDf0/1FjqpDq8wrzXZlb/+FXBo6aCLBa7Nl E804C2X32kOYwtu80KG3Famslf3DQ3jkllrJJKrKMxc+iwbJEGiJORDRUL5XNx99ZTb0 meEz4wcTiMsEJ6/kLxoKVxgzI3195ic5fR+RBuTMyR1auZy3ZwTwpgMntW5/dSGFEAzX 5lro/c4C2IVMevawZjzORderGKkuH1LoXmK86Lr0ZEwHPk7TdJswF2oCwX+vUJMDqupz V9RbcoKvu5SyTbwAjBkFrJfzLeW4ix5BgugWrjOv7Nnlgd2xMurvO0XVpWxw2LbjPn1T j53A== 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 d23si129012pgm.580.2019.06.13.09.37.47; Thu, 13 Jun 2019 09:38:02 -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 S2392661AbfFMQhn (ORCPT + 99 others); Thu, 13 Jun 2019 12:37:43 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:38240 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1730636AbfFMHNo (ORCPT ); Thu, 13 Jun 2019 03:13:44 -0400 X-UUID: 7fb525a94b8241e492dc70d5b7f83123-20190613 X-UUID: 7fb525a94b8241e492dc70d5b7f83123-20190613 Received: from mtkexhb02.mediatek.inc [(172.21.101.103)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 140816244; Thu, 13 Jun 2019 15:13:36 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs08n2.mediatek.inc (172.21.101.56) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 13 Jun 2019 15:13:33 +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; Thu, 13 Jun 2019 15:13:33 +0800 From: Ryder Lee To: Felix Fietkau , Lorenzo Bianconi CC: Roy Luo , YF Luo , Yiwei Chung , Sean Wang , , , , Ryder Lee Subject: [PATCH v2 1/2] mt76: mt7615: fix incorrect settings in mesh mode Date: Thu, 13 Jun 2019 15:13:30 +0800 Message-ID: <3065a01998dfa04a5d2d680e820a17cb5c110d0f.1560330906.git.ryder.lee@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: 5533815261F40B873B0FE936DC543BA5DEA8548223FBF6ED8A830DDCA412B28B2000:8 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