From: Maharaja Kennadyrajan <mkenna@codeaurora.org>
To: ath11k@lists.infradead.org
Cc: linux-wireless@vger.kernel.org,
Maharaja Kennadyrajan <mkenna@codeaurora.org>
Subject: [PATCH 0/3] ath11k: vdev and peer delete synchronization with firmware
Date: Thu, 21 May 2020 19:00:26 +0530 [thread overview]
Message-ID: <1590067829-26109-1-git-send-email-mkenna@codeaurora.org> (raw)
When add an interface immediately after removing the interface,
vdev deletion in firmware might not have been completed.
add vdev_delete_resp_event and wait_event_timeout to synchronize
with firmware.
Peer creation in firmware fails if last peer deletion is still in
progress, add wait for the event after deleting every peer from host
driver to synchronize with firmware.
1) add vdev delete resp event and wait event to get ack from firmware
2) add wait event timeout for peer delete to get ack from firmware
3) code clean up and replace the api 'ath11k_mac_get_ar_vdev_stop_status'
with 'ath11k_mac_get_ar_by_vdev_id'
Ritesh Singh (3):
ath11k: vdev delete synchronization with firmware
ath11k: peer delete synchronization with firmware
ath11k: remove "ath11k_mac_get_ar_vdev_stop_status" references
drivers/net/wireless/ath/ath11k/core.c | 2 +
drivers/net/wireless/ath/ath11k/core.h | 9 ++--
drivers/net/wireless/ath/ath11k/mac.c | 80 +++++++++++++++------------------
drivers/net/wireless/ath/ath11k/mac.h | 2 -
drivers/net/wireless/ath/ath11k/peer.c | 44 ++++++++++++++++--
drivers/net/wireless/ath/ath11k/peer.h | 2 +
drivers/net/wireless/ath/ath11k/wmi.c | 81 +++++++++++++++++++++++++++++++---
drivers/net/wireless/ath/ath11k/wmi.h | 4 ++
8 files changed, 164 insertions(+), 60 deletions(-)
--
1.9.1
next reply other threads:[~2020-05-21 13:31 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-21 13:30 Maharaja Kennadyrajan [this message]
2020-05-21 13:30 ` [PATCH 1/3] ath11k: vdev delete synchronization with firmware Maharaja Kennadyrajan
2020-11-10 18:28 ` Kalle Valo
[not found] ` <20201110182825.3D1C6C433FE@smtp.codeaurora.org>
2020-11-11 5:29 ` Maharaja Kennadyrajan
2020-05-21 13:30 ` [PATCH 2/3] ath11k: peer " Maharaja Kennadyrajan
2020-05-21 13:30 ` [PATCH 3/3] ath11k: remove "ath11k_mac_get_ar_vdev_stop_status" references Maharaja Kennadyrajan
2020-05-28 7:30 ` Kalle Valo
[not found] ` <20200528073034.F14B9C43387@smtp.codeaurora.org>
2020-06-09 11:54 ` Maharaja Kennadyrajan
2020-06-09 12:01 ` Kalle Valo
2020-06-09 12:16 ` Maharaja Kennadyrajan
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=1590067829-26109-1-git-send-email-mkenna@codeaurora.org \
--to=mkenna@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;
as well as URLs for NNTP newsgroup(s).