From patchwork Fri Jul 24 10:20:46 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Loic Poulain X-Patchwork-Id: 247126 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp2307140ilg; Fri, 24 Jul 2020 03:15:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw2C80gh4Q5oKq4wuuGvkLqohMgFYYdvlFr05+9fRhaeHNt1elILWAXCLFNX0PDmRGMFakM X-Received: by 2002:a17:906:384a:: with SMTP id w10mr8919158ejc.235.1595585732654; Fri, 24 Jul 2020 03:15:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595585732; cv=none; d=google.com; s=arc-20160816; b=EWgP4R5dC14hPRvD/F0342LWts8eduqvBj+3pHBDzC8Q7A5DagKnMF0XT46UaWXsX/ lUj+Bn2pTYlal38sFIN5iMWozdgaVBur/Jp7qJMHkXLYRP66m7MhhQkucm3JbBOdYKiE OX7dHeGIYCFoJovtJ5cfYki9ap5CA7pst25dOy3w98CGY+PHpf+FiRW+x5x3v3gQKIeg /KAgUUGfxrmkae0SSJLPT2x6TbjGNKy/xvIPecLYx4PUCjw5hnLLFXs9aIZDPRLbKTpN nz1WIxrfODJ9/DQKCew9Nlcko+QGMrtx8EA+OfzScbBOr0yp3nuJr0qjDtBApQJE9Sp1 nIFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=qs6BR4el7anmcaF5o/42Yf/+zTlR0nDHk0hbGDcqlnQ=; b=m1ez+9UxFLSnUlcL8t7vn8GSDTzPpsHs8JmB1Him6pvoKA8rQsoE6fn4B5eIkTfaJz Pm6GVTxPeCyMmcuaPfZQzK4mPZW2e0fkhST35Ub78ZK0fsIeLrq2wPHmqNLqSCpTi+rA OF3cv0Vx/7Boe9I1b4FlPYG5L13QtNoO2B5vohIu24pCxkq1q9XUIbxwTt3c6iepDRYH XBLXXCO04NjHFZqLbeHZO1YYWBZaDMPxLCORvnDJW7w9ZYC3+A+C0c38VWwNwl6xM27u L1h1LYFOhpm2UgGEupqn4+mUFf7FxjNmFYyOv7m2SzExPNsIBbkgs4HCSqBEt+7wJzeN SACw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FLavtlC2; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p5si315778ejx.318.2020.07.24.03.15.32; Fri, 24 Jul 2020 03:15:32 -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=pass header.i=@linaro.org header.s=google header.b=FLavtlC2; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726915AbgGXKP3 (ORCPT + 2 others); Fri, 24 Jul 2020 06:15:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35544 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726810AbgGXKP3 (ORCPT ); Fri, 24 Jul 2020 06:15:29 -0400 Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 51579C0619D3 for ; Fri, 24 Jul 2020 03:15:28 -0700 (PDT) Received: by mail-wm1-x342.google.com with SMTP id f18so7773912wml.3 for ; Fri, 24 Jul 2020 03:15:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=qs6BR4el7anmcaF5o/42Yf/+zTlR0nDHk0hbGDcqlnQ=; b=FLavtlC2aauJwyxlYTlyy00sJQZV1ockGp2kNVapCorrzuss7tOgRhgySY4zWVS85L C4Upg626spKv3o2lQYJY/AhCnBNLi3vYo+xKvNOYLEK1qY6T1qYlzX9zAf5SHHIy0lLS bRHhMoHOyV1KwKoAGmVk1jQlB8QEvlLWno+75f19tfKkIqrD1ERUCxMQI8gwRQFjoiqy GzHDFcGBuO2BaIggjD6UP0D2toiH7cjIyjXrBI6DVbjsGwsMmQcdaRfEaY1/anPUcRw0 5TucrBOLv8OXZYCfIk2mZJ9xvFah/UcrGeC3Opb6lfLgZj7bv1Wv2czSsEB6sEotu/FG uN/g== 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; bh=qs6BR4el7anmcaF5o/42Yf/+zTlR0nDHk0hbGDcqlnQ=; b=ES661/eWlOu29FIuDQUVuC6OUXsx8a5A0UPTlQSEn1XvqnZFDOwwpIfntTJ1os/1aD ejSo+9FBSf9js/FK3tckmq/6wP6H5aS2AYEVJ6Za8ai4GueKZq1lxzQiTrjrJ1V3Ss9C YIxZWK+Mz6d4jL8x3vRlJTZJ5V7Cd2HeBLRr/LGVa8NP2EDyhq1TCmRpTJ5CVeaN8sIV Xn+YoAmCllCjHAOssIw4+599YrCv4YfUyi1SmvpRVIU+EaUDe66MeT59yJUqiRdOZs/r lq7tji2ZLEFTTsVz6YD9YKQ18et8L4iDdePkVcOXv8USKNHh5HkuPgdUexsxF4o0L/pp YqGw== X-Gm-Message-State: AOAM533yM8fPqG+acq0tcn8aKXlbkLPbt87VBPmLiuzJPdUU3e4qik/i vcXnr7HjCC0efsvCbbYTjv1VVw== X-Received: by 2002:a1c:9c0b:: with SMTP id f11mr7922775wme.0.1595585726986; Fri, 24 Jul 2020 03:15:26 -0700 (PDT) Received: from localhost.localdomain ([88.122.66.28]) by smtp.gmail.com with ESMTPSA id d18sm774714wrj.8.2020.07.24.03.15.26 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 24 Jul 2020 03:15:26 -0700 (PDT) From: Loic Poulain To: kvalo@codeaurora.org Cc: wcn36xx@lists.infradead.org, linux-wireless@vger.kernel.org, Loic Poulain Subject: [PATCH v2 0/6] wcn36xx misc fixes Date: Fri, 24 Jul 2020 12:20:46 +0200 Message-Id: <1595586052-16081-1-git-send-email-loic.poulain@linaro.org> X-Mailer: git-send-email 2.7.4 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org This series contains various fixes for the wcn36xx driver. This has been tested with wcn3620, wcn3660 and wcn3680. v2: - Move TX retries change into its own commit - Additional patch for sequence number assignment - Reword TX ack commit log (timeout detection) - Fix checkpatch issues reported by Bryan Loic Poulain (6): wcn36xx: Fix multiple AMPDU sessions support wcn36xx: Add TX ack support wcn36xx: Increase number of TX retries wcn36xx: Fix TX data path wcn36xx: Fix software-driven scan wcn36xx: Use sequence number allocated by mac80211 drivers/net/wireless/ath/wcn36xx/dxe.c | 57 +++++++++- drivers/net/wireless/ath/wcn36xx/main.c | 172 +++++++++++++++-------------- drivers/net/wireless/ath/wcn36xx/smd.c | 59 ++++++++-- drivers/net/wireless/ath/wcn36xx/smd.h | 12 +- drivers/net/wireless/ath/wcn36xx/txrx.c | 57 ++++++---- drivers/net/wireless/ath/wcn36xx/wcn36xx.h | 7 +- 6 files changed, 241 insertions(+), 123 deletions(-) -- 2.7.4 Acked-By: Ramon Fried