From patchwork Sun Jun 28 17:01:54 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tamizh chelvam X-Patchwork-Id: 11630223 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 953BF6C1 for ; Sun, 28 Jun 2020 17:02:54 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6EABC20674 for ; Sun, 28 Jun 2020 17:02:54 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="eOETecpb"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=mg.codeaurora.org header.i=@mg.codeaurora.org header.b="evInfTYo" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6EABC20674 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=ath10k-bounces+patchwork-ath10k=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id: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=vL67ONTPsgWG8tNDEMbPpui6PkVPTfDrAICN9/CeB0o=; b=eOETecpbqZ/Fg5x0JNugA1cmbS dn3Sc0pBeVMcYgxbXJW83Yyn46m+PajZyBqX8nCTXROgDb7GCrl8qqrGMkfCUFEnzy8DCcPVEg78r jN7JF3OndpU/bPA5Qqf8wq2y3jadqwaVxhLAxvcjHl4+91KkDzCPI/ABOLJp+p6c4mj0ltHvo6etW 4xQodrnKVEUtr+q+gVkfn7+6wW/BBR86JsY9CCxpmidD0KSJoqm+pImVIb6PMzPr6vld4Ayeu6eMN SaX8bscL/ccmaTo5j24YDZkp3Oudv7eD1IxwQ6iT71omhc3NNfpNpCFO6T+e9Po/WzUqIP9E3PGK7 nHlXI8sA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jpah8-00038a-AY; Sun, 28 Jun 2020 17:02:18 +0000 Received: from mail29.static.mailgun.info ([104.130.122.29]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jpah3-00037r-VW for ath10k@lists.infradead.org; Sun, 28 Jun 2020 17:02:16 +0000 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1593363735; h=Message-Id: Date: Subject: Cc: To: From: Sender; bh=7zLjqLoeGnEBuh4LDTbBmiP3YIu2iUduXQBK1dgClbs=; b=evInfTYogU64UkK5n3i3MSf0CNKN+WWo9fHbJQX7bpJdgaF5Eiy2mbvJ7G17ADAHCXCuCx6X N0qioaz7mp0L4nNovDNCRuWJqiucsPCXfU4pQKKz6eXCu0WY6bUvvt7W4kiEP52vJQuiil8f FRKhBbsklSJX7H2Afy0o2ucpEog= X-Mailgun-Sending-Ip: 104.130.122.29 X-Mailgun-Sid: WyJiZDQ3OSIsICJhdGgxMGtAbGlzdHMuaW5mcmFkZWFkLm9yZyIsICJiZTllNGEiXQ== Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n07.prod.us-east-1.postgun.com with SMTP id 5ef8cd10c76a4e7a2ae1faae (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Sun, 28 Jun 2020 17:02:08 GMT Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 70FBAC433CA; Sun, 28 Jun 2020 17:02:07 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=2.0 tests=ALL_TRUSTED,SPF_NONE autolearn=ham autolearn_force=no version=3.4.0 Received: from tamizhr-linux.qualcomm.com (blr-c-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: tamizhr) by smtp.codeaurora.org (Postfix) with ESMTPSA id 0A3B9C433C8; Sun, 28 Jun 2020 17:02:05 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 0A3B9C433C8 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=none smtp.mailfrom=tamizhr@codeaurora.org From: Tamizh Chelvam To: ath10k@lists.infradead.org Subject: [PATCH 0/4] ath10k: Add support for TID specific configuration Date: Sun, 28 Jun 2020 22:31:54 +0530 Message-Id: <1593363718-5148-1-git-send-email-tamizhr@codeaurora.org> X-Mailer: git-send-email 2.7.4 X-Spam-Note: CRM114 invocation failed X-Spam-Score: -0.0 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [104.130.122.29 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H4 RBL: Very Good reputation (+4) [104.130.122.29 listed in wl.mailspike.net] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-BeenThere: ath10k@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-wireless@vger.kernel.org, Tamizh Chelvam MIME-Version: 1.0 Sender: "ath10k" Errors-To: ath10k-bounces+patchwork-ath10k=patchwork.kernel.org@lists.infradead.org Add TID specific configuration for noack, retry count, aggregation, Tx rate and RTS_CTS control. Here if noack is enabled for the TID then aggregation should be disabled and Tx rate should be and retry count will be 0. Also add support for reset TID configuration. Tamizh Chelvam (4): ath10k: Add wmi command support for station specific TID config ath10k: Move rate mask validation function up in the file ath10k: Add new api to support TID specific configuration ath10k: Add new api to support reset TID config drivers/net/wireless/ath/ath10k/core.c | 4 + drivers/net/wireless/ath/ath10k/core.h | 20 + drivers/net/wireless/ath/ath10k/mac.c | 839 ++++++++++++++++++++++++++---- drivers/net/wireless/ath/ath10k/txrx.c | 11 +- drivers/net/wireless/ath/ath10k/wmi-ops.h | 19 + drivers/net/wireless/ath/ath10k/wmi.c | 35 ++ drivers/net/wireless/ath/ath10k/wmi.h | 72 +++ 7 files changed, 907 insertions(+), 93 deletions(-)