Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp361892ybi; Fri, 31 May 2019 02:41:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqx8f1h4JdZaiImdab1aXJmP0QelhOjciowC3dHGGZJ99aEu+1Kgqbxso/4mQeCkAR5vn55k X-Received: by 2002:a17:902:8f84:: with SMTP id z4mr8123705plo.233.1559295709885; Fri, 31 May 2019 02:41:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559295709; cv=none; d=google.com; s=arc-20160816; b=gRAHsCEWAHhYeifhnvIP0dGK6C3hTXmEturFQzhR9eiM9wYbylSnSN6hFe2pSWLMMt +fgdXyRgBm76UjakbGm/oyFjdFYDK4QZaVPfUJq8uHJhmoJ3lWRvEyJHA/Vrbu3oKWT1 4B5q9Ykbk7Zat4c0JnYQ3OQVPHAk+JnygfLgiiVKarwK61HBaLoR0RL8NqEFjZl3yOF4 i5QzPVspYJ85NIa9qsLcIaWZgIGNOD8uicecSg77Mufszw0gbU7H2rXRKp4KPv7LNDhj kttvY8ccxqjwr0b4i8oTk33FoMZR1qm6dxaGwjYEGJrOv6Ylv090Fpeaf4lbAhGZs3S9 avrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=TkBTFK2/9d0eIsdoa9FgWxJi9KciVPEJa9td4uNng0A=; b=SRcDhr2f+/GDtHeknNaaEYd74a9LUGsrE6Z3jI+XItJm9d6dFF4x6c6xwnNMEb5KP0 F3xduNfjENHZlv29IdJF+S6ySnGFjyusPzvaY4xI7EA863uwkkiLIheg4ehQIsscEivV 7UDaUt/VubeT/FQz3XrfinBer9JyQ+OaERZbn5d9q1fUFq5Q8A20hdZxiyKx5W2iud91 Tp+GdZaRppyCxJ5U6NLLOO6emyWT4BI19VfbWfMktdU6Go4FDabidT2G0msE9xBqHzc0 Vmp3rXG56+2Ed1p4YfrMak/d8Y6nxWfeErLKAJwvWA+t+dHrrfbzvtWJmrngnLEnX1sE N56A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=z5uEEmFZ; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f20si4993998pgv.448.2019.05.31.02.41.23; Fri, 31 May 2019 02:41:49 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=z5uEEmFZ; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726952AbfEaJjD (ORCPT + 99 others); Fri, 31 May 2019 05:39:03 -0400 Received: from mail.kernel.org ([198.145.29.99]:42318 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726555AbfEaJjC (ORCPT ); Fri, 31 May 2019 05:39:02 -0400 Received: from localhost.localdomain.com (nat-pool-mxp-t.redhat.com [149.6.153.186]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 0CD6D266FD; Fri, 31 May 2019 09:39:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1559295542; bh=+eiytJyZx9ZqZGyeuytr5k+fhLSuQwqrKYMTPYmlakw=; h=From:To:Cc:Subject:Date:From; b=z5uEEmFZReJsiUJ+quaLxb6lZ4hMpZ22Ey3eLfs7MGGNvQXSR1F6DKUH19kH8cbNB z78L341gr2cri6sfOn1SpcHEBjKms7+Tr60JtJBy+OpsloORlZGUWTB3eepZiC0d9H fxCVFHTtTQSRT4bx/xLu9zFQMW4PH48FZzXhdm6s= From: Lorenzo Bianconi To: nbd@nbd.name Cc: kvalo@codeaurora.org, linux-wireless@vger.kernel.org, lorenzo.bianconi@redhat.com, sgruszka@redhat.com Subject: [PATCH v2 0/2] mt76: usb: fix A-MSDU support Date: Fri, 31 May 2019 11:38:21 +0200 Message-Id: X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Reallocate the skb if there is no enough space to manage the AMSDU rx packets. Do not always copy the first part of received frames if A-MSDU is enabled for SG capable devices Changes since v1: - do not allocate multiple page buffers but rely on fragmented skbs if there is no enough space to manage the AMSDU rx packets @Felix: do you prefer to take this series in your tree or is it better to merge it in wireless-drivers? Lorenzo Bianconi (2): mt76: usb: fix rx A-MSDU support mt76: usb: do not always copy the first part of received frames drivers/net/wireless/mediatek/mt76/mt76.h | 4 ++ drivers/net/wireless/mediatek/mt76/usb.c | 64 ++++++++++++++++++----- 2 files changed, 55 insertions(+), 13 deletions(-) -- 2.21.0