Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp3479391pxu; Sun, 11 Oct 2020 11:10:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzlvWyN818cj+gH6FZWxYdCkqEZC4oz9qKriQ0hLf93RrCAdZT+K+Tv8zgKI2nZ5+IP3jmI X-Received: by 2002:a05:6402:b91:: with SMTP id cf17mr10196118edb.130.1602439804026; Sun, 11 Oct 2020 11:10:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602439804; cv=none; d=google.com; s=arc-20160816; b=GXvJ/NhEICN1mI5tI132gzVxgcYvqGACkhHMdHnR7tEes4GVAg0GxMGRrDX+vE0l7U Wbx27kPNBbUkcO1E/FAF29urhOZzytt6YDdZsSN3M8WX8/QK2LxtXw1O2s70T34Mu349 lrnuSs8PPd/MrHFneJynI0xO7miWJbB/ify+6QaCH4yReztShLrrMM+I4Uc3ZSaxEL++ xfzIPZB1aXrisyNHWJo4isMmqCwM3AkJevpEP7TMhKtPmsWYh89ikz2vTcA9qqJaKXSm Z2i+ibcCZbVaekBY5no6Ti93vD1tjDfhGoF3enfIWnu4K4YZu3BOaCgtTtykChYhjNy9 cKUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=mf1TU+vAlZ3cuyuDsOHZ8HXxbL4wAGb5TC7oIAhHUH0=; b=k6aicKVggwVnjge1k0qq8Gg0NQPTleD5VhNNtMhstASnOJUStIltI3CatuWCUMY3xS swNwzLmxFujoR/u6MQ0R6UitW7KYy/ocW4gZQAi0rSJ9mk3cLq673+drpt+8WZaOqwra e+NDEonTSRlEIq/HyzZ0WIOiO0YY0CuIAM83Kr0OK0byNIY8cKSiki5OTIDpHA1Lmdf9 0HkHWGxJLQ3W84uJcDFU6vPmc1P7lgK6Bwqkyk+XWRGV5xjipXU3+lDjI2NXgXgiccNM 9kxxYW/iBEtW//D1UbVKfoW88hrEYNOnT93LRnJZJQMyxS02uEOqkxjIi96reVXN8sA8 D94A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=q2Pq6c7E; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ml22si10152903ejb.172.2020.10.11.11.09.39; Sun, 11 Oct 2020 11:10:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=q2Pq6c7E; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387769AbgJKQUo (ORCPT + 99 others); Sun, 11 Oct 2020 12:20:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60212 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387739AbgJKQUo (ORCPT ); Sun, 11 Oct 2020 12:20:44 -0400 Received: from nbd.name (nbd.name [IPv6:2a01:4f8:221:3d45::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6F00BC0613CE for ; Sun, 11 Oct 2020 09:20:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nbd.name; s=20160729; h=Content-Transfer-Encoding:MIME-Version:Message-Id:Date:Subject :Cc:To:From:Sender:Reply-To:Content-Type:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=mf1TU+vAlZ3cuyuDsOHZ8HXxbL4wAGb5TC7oIAhHUH0=; b=q2Pq6c7EgpwDH0lYKi/us2uZ4Q K1CJ7hYopIJMIWHPcKLANAdkwaBEA1a7clI5iDzRaUiKr/tEO/np5EaXUwM1tJI5pmlXYEGZ6AXWV WksO0Eh+fZjYgCeesNdBRxbSypMyxcPTveQypOOXoF+MH7bFThHdn6qaAOVhPPv8tLCU=; Received: from p54ae9462.dip0.t-ipconnect.de ([84.174.148.98] helo=localhost.localdomain) by ds12 with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.89) (envelope-from ) id 1kRe5S-0004gJ-4Q; Sun, 11 Oct 2020 18:20:42 +0200 From: Felix Fietkau To: linux-wireless@vger.kernel.org Cc: stable@vger.kernel.org Subject: [PATCH] mt76: add back the SUPPORTS_REORDERING_BUFFER flag Date: Sun, 11 Oct 2020 18:20:40 +0200 Message-Id: <20201011162040.63714-1-nbd@nbd.name> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org It was accidentally dropped while adding multiple wiphy support Fixes fast-rx support and avoids handling reordering in both mac80211 and the driver Cc: stable@vger.kernel.org Fixes: c89d36254155 ("mt76: add function for allocating an extra wiphy") Signed-off-by: Felix Fietkau --- drivers/net/wireless/mediatek/mt76/mac80211.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wireless/mediatek/mt76/mac80211.c b/drivers/net/wireless/mediatek/mt76/mac80211.c index a778ecc65261..2bc1ef1cbfea 100644 --- a/drivers/net/wireless/mediatek/mt76/mac80211.c +++ b/drivers/net/wireless/mediatek/mt76/mac80211.c @@ -305,6 +305,7 @@ mt76_phy_init(struct mt76_dev *dev, struct ieee80211_hw *hw) ieee80211_hw_set(hw, SUPPORT_FAST_XMIT); ieee80211_hw_set(hw, SUPPORTS_CLONED_SKBS); ieee80211_hw_set(hw, SUPPORTS_AMSDU_IN_AMPDU); + ieee80211_hw_set(hw, SUPPORTS_REORDERING_BUFFER); if (!(dev->drv->drv_flags & MT_DRV_AMSDU_OFFLOAD)) { ieee80211_hw_set(hw, TX_AMSDU); -- 2.28.0