Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1527976ybv; Fri, 14 Feb 2020 01:14:54 -0800 (PST) X-Google-Smtp-Source: APXvYqxm3BAFAIW+xftkbn5za+v0jnfi4IxWdvuLC7d+WWE5eM80GN384vqDU5Ctmw2Zvd/17wje X-Received: by 2002:a9d:7c9a:: with SMTP id q26mr1561343otn.206.1581671694439; Fri, 14 Feb 2020 01:14:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581671694; cv=none; d=google.com; s=arc-20160816; b=WHHeAAZubcWXo9tsN3eD37NvO6y4KqOHxpLfbSU2tNnSJLzCCWPnIz/ZvZoNAw1XfD y6PNpkDqWp1Kl9BRg3kpIy0D/dTzTJOJ0Byq8qc1g96xxN8loaL07clrEEZZGGM7xokx ORt17QyvlPg5WRegA5BUsDnzQJvoj8qj/p+eJ15zd8fivT7GRuKb/5FMFMxYqpvDK2Vu EHp3VbpnJsQ8/Htyqhvn3JSSAGeZ/bBCDZFaSBImB3Ep7BVhnHUyuviZp9bSkYdhJrWH kMRd5j+OIYnjrOpl3rJrtxg1ilo4SMvtYxLDSydai12DOGud68lAA6bqx850t2qUNDIp umug== 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 :dmarc-filter:dkim-signature; bh=AsDt1N/J1En5U8PS2kP07ps4Z84XLY3P+4N/lQq6UF8=; b=B0rD4VPScg+SX4p7H+5M1rjT7LLY6SNh/8zzVFHcjsfRN7F+M/ilm4w7czVIZkGzn7 So3A3lIRc7po+YU2gIcrggIZA6gCM9YmGiVx7k9jUx0ddIE3GbTcH8WYONMjchNR9+HM mgZE7HkgITlc564Ee69xwQaryOcK7+5xbL74pvGnlulDqDw+beSJXAdKEfTI0/tmv5pZ PhEW9BFJx7FCdC0l2Cxe/6679x4eLx5bWKTD5faTeXhSyWn2PADTep0+CwKONZ/7488z 8x/wXKfmAD4N9CDbblAxJPOzR6mkxJeQ4srBpmL362F6uH1nHbYRCFtqtd1MAuKswEwY KF1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=LRRqaaA3; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b10si2228176oic.153.2020.02.14.01.14.42; Fri, 14 Feb 2020 01:14:54 -0800 (PST) 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=fail header.i=@mg.codeaurora.org header.s=smtp header.b=LRRqaaA3; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728522AbgBNJOg (ORCPT + 99 others); Fri, 14 Feb 2020 04:14:36 -0500 Received: from mail27.static.mailgun.info ([104.130.122.27]:49290 "EHLO mail27.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728422AbgBNJOg (ORCPT ); Fri, 14 Feb 2020 04:14:36 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1581671675; h=Message-Id: Date: Subject: Cc: To: From: Sender; bh=AsDt1N/J1En5U8PS2kP07ps4Z84XLY3P+4N/lQq6UF8=; b=LRRqaaA30TTBPJeWigYwafuEl7MugZYHZJV0f7i/CF5X25DKA/J9K9YiFXNjYcLwKTd0Sva6 YwADjxIGSVGnuIZ54oXhmhFKzMKwYAeqNx8wN6SDSC4gT9cj7os3q8UejdjQoAu1McD2Y8hk +kl21bR0ovflNREr638qkXe6sdk= X-Mailgun-Sending-Ip: 104.130.122.27 X-Mailgun-Sid: WyI3YTAwOSIsICJsaW51eC13aXJlbGVzc0B2Z2VyLmtlcm5lbC5vcmciLCAiYmU5ZTRhIl0= Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by mxa.mailgun.org with ESMTP id 5e4664f4.7f54d1372c70-smtp-out-n01; Fri, 14 Feb 2020 09:14:28 -0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1001) id BC0FCC433A2; Fri, 14 Feb 2020 09:14:28 +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=unavailable autolearn_force=no version=3.4.0 Received: from vnaralas-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: mpubbise) by smtp.codeaurora.org (Postfix) with ESMTPSA id 08D89C43383; Fri, 14 Feb 2020 09:14:26 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 08D89C43383 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=mpubbise@codeaurora.org From: Manikanta Pubbisetty To: ath11k@lists.infradead.org Cc: linux-wireless@vger.kernel.org, Manikanta Pubbisetty Subject: [PATCH 0/2] ath11k: offload PN verification to the HW Date: Fri, 14 Feb 2020 14:44:10 +0530 Message-Id: <1581671652-8115-1-git-send-email-mpubbise@codeaurora.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 patch series enables PN validation in the HW thereby reducing CPU cycles spent in the host CPU. It also is the basis for other performance improvement patches that follow this series. TSC (TKIP sequence counter) validation is also offloaded. Hardware validates PN/TSC only for unicast packets; for group addressed packets, PN validation is done in mac80211. This patchset is dependent on the following patch: "ath11k: config reorder queue for all tids during peer setup" Manikanta Pubbisetty (2): ath11k: handle RX fragments ath11k: enable PN offload drivers/net/wireless/ath/ath11k/Kconfig | 1 + drivers/net/wireless/ath/ath11k/core.h | 2 + drivers/net/wireless/ath/ath11k/dp.c | 12 +- drivers/net/wireless/ath/ath11k/dp.h | 12 + drivers/net/wireless/ath/ath11k/dp_rx.c | 870 ++++++++++++++++++++++++++---- drivers/net/wireless/ath/ath11k/dp_rx.h | 8 +- drivers/net/wireless/ath/ath11k/hal.h | 2 +- drivers/net/wireless/ath/ath11k/hal_rx.c | 14 +- drivers/net/wireless/ath/ath11k/mac.c | 41 +- drivers/net/wireless/ath/ath11k/peer.h | 7 + drivers/net/wireless/ath/ath11k/rx_desc.h | 2 +- 11 files changed, 865 insertions(+), 106 deletions(-) -- 2.7.4