From patchwork Sat Jul 4 15:13:30 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tamizh chelvam X-Patchwork-Id: 11643797 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 6B8096C1 for ; Sat, 4 Jul 2020 15:15:15 +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 436D82068F for ; Sat, 4 Jul 2020 15:15:15 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="UBytSV7L"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=mg.codeaurora.org header.i=@mg.codeaurora.org header.b="xDbuxj0z" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 436D82068F 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=CPImEEzCuWMyyJqlWbasDuiw47LOvFM7YedlyxxXnLo=; b=UBytSV7LjW8ReqdTRCzbNqF7qW wh5KmSZooV6GoPz1OttuwGuM2YiuXgqXB88U+DF7SbePR1ffCc1wSzqG3FXQpNLzXnhgjakzEBqEx 0OCKR7V+vG/4RNewaUoO+XCfMagVPqGgjwM0DyF095HTNlUdJzMlDE0rKVAjTJc3zoDbdCRY1P7jy NPM80QXowBWOQcx+m7WbvY7qcx8/bY8cSyNq1dxUaPCCAPNMVEWV6iBFT/uceczo7LiErgN6YHjxy 3GeMidfM+Q1hPo8xsCCu8U6H0o/f6kxV8+crhUQh6LQjWGtrioB4jSQ1y24hdKP4PYPNALTUx19k7 4InxxN3w==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jrjs4-0004vi-Nu; Sat, 04 Jul 2020 15:14:28 +0000 Received: from m43-7.mailgun.net ([69.72.43.7]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jrjs1-0004v1-2s for ath10k@lists.infradead.org; Sat, 04 Jul 2020 15:14:27 +0000 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1593875666; h=Message-Id: Date: Subject: Cc: To: From: Sender; bh=MLKMTZNyc3QFHJy/rR1+1Qc+DtRKuBB4ufkkcfobh0E=; b=xDbuxj0zFHbtpA3c+cLkgJ8LORKli/j8r8SkHonk8v/dhXmHcOC46nx1nO8ZUFFlorRYXrU9 zCQEdyzvXMy/yleYJi102rkmfpMITT0KdRhvqY91NDn1YAzzBiFNhOX5SiFGeti1DELvKxPY hLl96rqZ6mlcPD7D0sJuH+WmpIo= X-Mailgun-Sending-Ip: 69.72.43.7 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-n08.prod.us-west-2.postgun.com with SMTP id 5f009cc34c9690533adc4c37 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Sat, 04 Jul 2020 15:14:11 GMT Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 5F94AC433C8; Sat, 4 Jul 2020 15:14:11 +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 DF3C2C433C6; Sat, 4 Jul 2020 15:14:09 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org DF3C2C433C6 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: [PATCHv2 0/4] ath10k: Add support for TID specific configuration Date: Sat, 4 Jul 2020 20:43:30 +0530 Message-Id: <1593875614-5683-1-git-send-email-tamizhr@codeaurora.org> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200704_111427_057970_C8BF510A X-CRM114-Status: UNSURE ( 9.55 ) X-CRM114-Notice: Please train this message. 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_MSPIKE_H3 RBL: Good reputation (+3) [69.72.43.7 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [69.72.43.7 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 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 v2: * Fixed warnings reported by kernel test robot drivers/net/wireless/ath/ath10k/core.c | 4 + drivers/net/wireless/ath/ath10k/core.h | 20 + drivers/net/wireless/ath/ath10k/mac.c | 837 ++++++++++++++++++++++++++---- 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, 905 insertions(+), 93 deletions(-)