Peer creation in firmware fails, if last peer deletion
is still in progress.
Hence, add wait for the event after deleting every peer
from host driver to synchronize with firmware.
Signed-off-by: Ritesh Singh <email address hidden>
Signed-off-by: Maharaja Kennadyrajan <email address hidden>
Signed-off-by: Kalle Valo <email address hidden>
Link: https://<email address hidden>
(cherry picked from commit 690ace20ff790f443c3cbaf12e1769e4eb0072db)
Signed-off-by: You-Sheng Yang <email address hidden>
aa61b12...
by
Pradeep Kumar Chitrapu <email address hidden>
ath11k: Fix incorrect tlvs in scan start command
Currently 6G specific tlvs have duplicate entries which is causing
scan failures. Fix this by removing the duplicate entries of the same
tlv. This also fixes out-of-bound memory writes caused due to
adding tlvs when num_hint_bssid and num_hint_s_ssid are ZEROs.
UBUNTU: SAUCE: ath11k: put target to wow state when suspend happens
This change is to put QCA6390 to wow state instead of suspend state
when system suspend happens. It also disables CE irq and DP irq, and
then put MHI to suspend state.
When system resumes, driver resumes MHI firstly, then enables CE irq
and dp IRQ, and sends wow wakeup command to firmware.
Signed-off-by: Carl Huang <email address hidden>
Signed-off-by: Kalle Valo <email address hidden>
(backported from commit 0c214f7ebce5eadb589554611bb927517c7aa7ea https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git)
Signed-off-by: You-Sheng Yang <email address hidden>
Signed-off-by: Carl Huang <email address hidden>
Signed-off-by: Kalle Valo <email address hidden>
(cherry picked from commit cfca935c92d8f2b31c95e7fd074645245f54492a https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git)
Signed-off-by: You-Sheng Yang <email address hidden>
ath11k: set credit_update flag for flow controlled ep only
Firmware will check all the pipes before entering WoW mode during suspend. If
ATH11K_HTC_FLAG_NEED_CREDIT_UPDATE is set, firmware treats this pipe needed to
return credit even though it's actually not required. If any pipe needs to
return credit, the suspend_complete message doesn't send to host but is
dropped. So host gets time out and WoW suspend failed.
UBUNTU: SAUCE: ath11k: purge rx pktlog when entering suspend
This change is to purge rx pktlog when entering suspend and reap
the mon_status buffer to keep it empty. When leaving suspend, host
restarts the reap timer.
Host also stops CE timer and shadow timer before suspend.
Signed-off-by: Carl Huang <email address hidden>
Signed-off-by: Kalle Valo <email address hidden>
(cherry picked from commit 6f481de563dd108bd3df616c80e60f308b7a48e3 https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git)
Signed-off-by: You-Sheng Yang <email address hidden>