From patchwork Tue Apr 9 19:08:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Erik Stromdahl X-Patchwork-Id: 10891943 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 440E8922 for ; Tue, 9 Apr 2019 19:13:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2CF812880D for ; Tue, 9 Apr 2019 19:13:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2105428938; Tue, 9 Apr 2019 19:13:16 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D12A72880D for ; Tue, 9 Apr 2019 19:13:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=FG8ShV5vZ7rVfDMsC9BHVQYtvBZfhwjMng5UfZF7e/U=; b=XuosciDVBZxD6I rRrfFfYFiOJU5Gh//jXyvMpVVCcLYdAq+WDSRKMCRPKlkD9z3wfGQcxiWfOe4bMpMAakOvQpqef5X HKowYfpnnpZzRdb47oDOxkjSvop/CnPpyVFmPKaRnKaf/ZPDFD7K6ibws2Tx3fjgu+Y268v+DWhAV GW2zUsFg5Zu0oVt7M7DWEuAwEK3d26TS13m9Z0A1zyD8qSMFL4Cinr51KYfcKIuGJOugrBwIH95ix +Rc7ZCsnAab/8RJKkLPt9ObS8ttrBgddJ71ogwNl1sn1QYUXuL1GkRz7hHa4O9yZluUgcrl8l7dNj g43OTj9SGXNLIDXdVAng==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hDwBE-0001mJ-Lu; Tue, 09 Apr 2019 19:13:12 +0000 Received: from mail-lj1-x241.google.com ([2a00:1450:4864:20::241]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hDwBB-0001kk-Ia for ath10k@lists.infradead.org; Tue, 09 Apr 2019 19:13:10 +0000 Received: by mail-lj1-x241.google.com with SMTP id f23so15549920ljc.0 for ; Tue, 09 Apr 2019 12:13:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=0TzgM4Ss5cnuZmuSTqOyUmgMUpi0hPf77e3I52aslDg=; b=EajAsTBOZtILT3MbwKQ1fU5oC3NlWmsrXeNsQxXyLL3OcFr1YeWA3e72xPOpafvH89 P1HlyqNZs5EQG+QRJPjy0Ghf4wAZnxAcIJpmzbjgow4wkaYwIxu0arwfRJohnj4Aoja9 QK+TZrUgMPgGvhiJ1dUcTPGDK/9h6vmeokmfVPlhxVzhucIzsl1dnWnEOLH1uZIzKLHu AFTKZ9jT0IYa6QBRgCMWrGwjsJZOip1DTNl4kFTZn+yEIm+cLTFbmRUcTQufN5JqyxRx vNFrrPjV80Rt02k/Z9bUHVoDPd3faK8zeivMA7giqGrW/i8aHVH9PPhDlVZ2DQwcBlH+ JPkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=0TzgM4Ss5cnuZmuSTqOyUmgMUpi0hPf77e3I52aslDg=; b=nNE3fNAPc458wSqEFbt8TqG13zgXYcuB2/oB55utLzM/Te6VFaqSNlw1I02Jvadp7P wZ/RSvjc+g8Y3qy7k+VGts82cO3lrZ38nq7Asm3JOdwlBfGBiEjQA9gCNe76aoGK0aOp 0wDOMjK6FQdy3iH7dIi9ofKUnAzqquXZkXQN+1nFMzw9l3YRw4DPVGzlfolHE3rvFS7k tWjrR+8NqiuNBe0GYFZZb/WaAslvR5BhqBbZhgypmeMqd18F4FeDQSNDKqHMI5HD2Ft6 +xTsuF15uUsDnKvOsv/p7YoyQP4ymdq+EyPnRHs5GBrJ+MlWEMnEfBe/ch14EZgoLICy yOXg== X-Gm-Message-State: APjAAAU5rtbw2Aov3owtG8XTwXLNaBU/EeY4ZvV92G8XqmBc6Y6/hNmt aGNYbiwMWzvpvjbNXlBhnbQ= X-Google-Smtp-Source: APXvYqwkmhoHuVehMV6P95D96HLmNLmuWz0IjrH7UXqrOVGrm4ufBd/tcMeU9/MtkeX1RmSGFcxZZg== X-Received: by 2002:a2e:9194:: with SMTP id f20mr20547146ljg.10.1554837187108; Tue, 09 Apr 2019 12:13:07 -0700 (PDT) Received: from localhost.localdomain (81-233-89-221-no75.tbcn.telia.com. [81.233.89.221]) by smtp.gmail.com with ESMTPSA id q64sm6807848ljq.76.2019.04.09.12.13.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Apr 2019 12:13:06 -0700 (PDT) From: Erik Stromdahl To: kvalo@qca.qualcomm.com, linux-wireless@vger.kernel.org, ath10k@lists.infradead.org Subject: [PATCH 0/6] ath10k: SDIO and high latency patches from Silex Date: Tue, 9 Apr 2019 21:08:45 +0200 Message-Id: <20190409190851.4557-1-erik.stromdahl@gmail.com> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190409_121309_634841_101F8D30 X-CRM114-Status: UNSURE ( 9.47 ) X-CRM114-Notice: Please train this message. X-BeenThere: ath10k@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Erik Stromdahl Sender: "ath10k" Errors-To: ath10k-bounces+patchwork-ath10k=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This series adds a few more fixes for SDIO and high latency devices. I have had these on my private tree for quite some time now so they should be considered fairly well tested. 4 out of 6 patches are from Alagu Sankar at Silex. I have made some adjustments to some of them in order to make them smaller and easier to review. Alagu Sankar (4): ath10k: use clean packet headers ath10k: high latency fixes for beacon buffer ath10k: sdio: read RX packets in bundles ath10k: sdio: add MSDU ID allocation in HTT TX path Erik Stromdahl (2): ath10k: sdio: add missing error check ath10k: sdio: replace skb_trim with explicit set of skb->len drivers/net/wireless/ath/ath10k/htc.c | 1 + drivers/net/wireless/ath/ath10k/htt_rx.c | 4 +- drivers/net/wireless/ath/ath10k/htt_tx.c | 16 ++++- drivers/net/wireless/ath/ath10k/hw.c | 2 + drivers/net/wireless/ath/ath10k/mac.c | 31 +++++++--- drivers/net/wireless/ath/ath10k/sdio.c | 78 +++++++++++++++++++----- drivers/net/wireless/ath/ath10k/sdio.h | 2 + 7 files changed, 109 insertions(+), 25 deletions(-)