ath11k.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Kalle Valo <kvalo@codeaurora.org>
To: Jouni Malinen <jouni@codeaurora.org>
Cc: ath11k@lists.infradead.org, linux-wireless@vger.kernel.org,
	Sriram R <srirrama@codeaurora.org>,
	Manikanta Pubbisetty <mpubbise@codeaurora.org>,
	Jouni Malinen <jouni@codeaurora.org>
Subject: Re: [PATCH] ath11k: Add support for RX decapsulation offload
Date: Tue, 28 Sep 2021 10:56:42 +0000 (UTC)	[thread overview]
Message-ID: <20210928105642.5A616C4360C@smtp.codeaurora.org> (raw)
In-Reply-To: <20210721204217.120572-1-jouni@codeaurora.org>

Jouni Malinen <jouni@codeaurora.org> wrote:

> Add support for rx decapsulation offload by advertising
> the support to mac80211 during registration. Also ensure
> the frames have the RX_FLAG_8023 flag set in decap offload
> frames before passing to mac80211.
> 
> Since the packets delivered to the driver are in 802.3 format, these
> can be sent to the network core with minimal processing in mac80211.
> This helps in releasing some CPU cycles in the host processor and
> thereby improving the performance.
> 
> Two exceptions are made before passing decap frames, one is
> for EAPOL packets since mac80211 8023 fast rx for the sta
> is set only after authorization, other case is for multicast
> packets to validate PN in mac80211. In both the cases the
> decap frames are converted to 80211 frame and sent to mac80211.
> 
> Ethernet decap can be enabled by using frame_mode modparam:
> 
> insmod ath11k frame_mode=2
> 
> Tested-on: IPQ8074 hw2.0 AHB WLAN.HK.2.5.0.1-00844-QCAHKSWPL_SILICONZ-1 v2
> 
> Co-developed-by: Manikanta Pubbisetty <mpubbise@codeaurora.org>
> Signed-off-by: Manikanta Pubbisetty <mpubbise@codeaurora.org>
> Signed-off-by: Sriram R <srirrama@codeaurora.org>
> Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>

Patch applied to ath-next branch of ath.git, thanks.

2167fa606c0f ath11k: Add support for RX decapsulation offload

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/20210721204217.120572-1-jouni@codeaurora.org/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches


-- 
ath11k mailing list
ath11k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath11k

      reply	other threads:[~2021-09-28 10:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-21 20:42 [PATCH] ath11k: Add support for RX decapsulation offload Jouni Malinen
2021-09-28 10:56 ` Kalle Valo [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210928105642.5A616C4360C@smtp.codeaurora.org \
    --to=kvalo@codeaurora.org \
    --cc=ath11k@lists.infradead.org \
    --cc=jouni@codeaurora.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=mpubbise@codeaurora.org \
    --cc=srirrama@codeaurora.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).