From: Anilkumar Kolli <akolli@codeaurora.org>
To: ath11k@lists.infradead.org
Cc: linux-wireless@vger.kernel.org, Anilkumar Kolli <akolli@codeaurora.org>
Subject: [PATCH v2 0/3] ath11k: add full monitor mode support for QCN9074
Date: Tue, 7 Dec 2021 18:24:52 +0530 [thread overview]
Message-ID: <1638881695-22155-1-git-send-email-akolli@codeaurora.org> (raw)
QCN9074 HW supports full monitor mode. The advantage with
full monitor mode is HW has status buffers available for
all the MPDUs in mon_dst_ring.
HTT_H2T_MSG_TYPE_RX_FULL_MONITOR_MODE cmd is sent to FW
to enable the full monitor mode.
A new hw_param full_monitor_mode is added to enable full
monitor support for QCN9074.
In full monitor mode, monitor destination ring is read in
software monitor ring descriptor format instead of
reo_entrance_ring format. Add new sw_mon_ring descriptor.
In full monitor mode, monitor destination ring is read before
monitor status ring. mon_dst_ring has ppdu id, reap till the
end of ppdu. Add all the MPDUs to a list. Start processing the
status ring, if PPDU id in status ring is lagging behind, reap
the status ring, once the PPDU ID matches, deliver the msdu to
upper layer. If status PPDU id leading, reap the mon_dst_ring.
Anilkumar Kolli (3):
ath11k: Add htt cmd to enable full monitor mode
ath11k: add software monitor ring descriptor for full monitor
ath11k: Process full monitor mode rx support
---
V2:
- Rebased on ToT
- Update commit log (kalle)
- Tested on qca6390
drivers/net/wireless/ath/ath11k/core.c | 5 +
drivers/net/wireless/ath/ath11k/dp.c | 1 +
drivers/net/wireless/ath/ath11k/dp.h | 54 +++-
drivers/net/wireless/ath/ath11k/dp_rx.c | 409 ++++++++++++++++++++++++++++-
drivers/net/wireless/ath/ath11k/dp_tx.c | 48 ++++
drivers/net/wireless/ath/ath11k/dp_tx.h | 2 +
drivers/net/wireless/ath/ath11k/hal_desc.h | 19 ++
drivers/net/wireless/ath/ath11k/hal_rx.c | 44 ++++
drivers/net/wireless/ath/ath11k/hal_rx.h | 17 ++
drivers/net/wireless/ath/ath11k/hw.h | 1 +
10 files changed, 597 insertions(+), 3 deletions(-)
--
2.7.4
--
ath11k mailing list
ath11k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath11k
next reply other threads:[~2021-12-07 12:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-07 12:54 Anilkumar Kolli [this message]
2021-12-07 12:54 ` [PATCH v2 1/3] ath11k: Add htt cmd to enable full monitor mode Anilkumar Kolli
2021-12-09 8:10 ` Kalle Valo
2021-12-07 12:54 ` [PATCH v2 2/3] ath11k: add software monitor ring descriptor for full monitor Anilkumar Kolli
2021-12-07 12:54 ` [PATCH v2 3/3] ath11k: Process full monitor mode rx support Anilkumar Kolli
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=1638881695-22155-1-git-send-email-akolli@codeaurora.org \
--to=akolli@codeaurora.org \
--cc=ath11k@lists.infradead.org \
--cc=linux-wireless@vger.kernel.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