~vicamo/+git/ubuntu-kernel:bug-1879633/ath11k-qca6390-bringup/202011301608/Ubuntu-5.10-5.10.0-6.7

Last commit made on 2020-12-04
Get this branch:
git clone -b bug-1879633/ath11k-qca6390-bringup/202011301608/Ubuntu-5.10-5.10.0-6.7 https://git.launchpad.net/~vicamo/+git/ubuntu-kernel
Only You-Sheng Yang can upload to this branch. If you are You-Sheng Yang please log in for upload directions.

Branch merges

Branch information

Name:
bug-1879633/ath11k-qca6390-bringup/202011301608/Ubuntu-5.10-5.10.0-6.7
Repository:
lp:~vicamo/+git/ubuntu-kernel

Recent commits

0e1d23a... by You-Sheng Yang

Bug 1879633: Support Qualcomm Killer 500s (QCA6390)

bd73786... by You-Sheng Yang

UBUNTU: [Config] enable ath11k debugfs/tracing

BugLink: https://bugs.launchpad.net/bugs/1879633

Signed-off-by: You-Sheng Yang <email address hidden>

62a8206... by Ritesh Singh <email address hidden>

ath11k: peer delete synchronization with firmware

BugLink: https://bugs.launchpad.net/bugs/1879633

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>

(imported from commit 690ace20ff790f443c3cbaf12e1769e4eb0072db)

(cherry picked from commit 6244933ddba318b36bb00c48eeb8d63a24a901c2
https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git)
Signed-off-by: You-Sheng Yang <email address hidden>

927a594... by Ritesh Singh <email address hidden>

ath11k: vdev delete synchronization with firmware

BugLink: https://bugs.launchpad.net/bugs/1879633

When the interface is added immediately after removing the
interface, vdev deletion in firmware might not have been
completed.

Hence, add vdev_delete_resp_event and wait_event_timeout
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>

(imported from commit 3cbbdfbed1408ba55e2deeaf913c0e735086589b)

(cherry picked from commit c1d3ee50859a2d2c132a8461fdabde568df5ee20
https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git)
Signed-off-by: You-Sheng Yang <email address hidden>

c403c13... by Pradeep Kumar Chitrapu <email address hidden>

ath11k: Fix incorrect tlvs in scan start command

BugLink: https://bugs.launchpad.net/bugs/1879633

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.

Tested-on: QCN9074 hw1.0 PCI WLAN.HK.2.4.0.1-01386-QCAHKSWPL_SILICONZ-1

Fixes: 74601ecfef6e ("ath11k: Add support for 6g scan hint")
Reported-by: Carl Huang <email address hidden>
Signed-off-by: Pradeep Kumar Chitrapu <email address hidden>
Signed-off-by: Kalle Valo <email address hidden>
(cherry picked from commit bfa226b7e2e988609631e7f6cd0d4e9ede423f6b
https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git)
Signed-off-by: You-Sheng Yang <email address hidden>

923cb8a... by Carl Huang <email address hidden>

ath11k: put target to wow state when suspend happens

BugLink: https://bugs.launchpad.net/bugs/1879633

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.

Tested-on: QCA6390 hw2.0 PCI WLAN.HST.1.0.1-01740-QCAHSTSWPLZ_V2_TO_X86-1

Signed-off-by: Carl Huang <email address hidden>
Signed-off-by: Kalle Valo <email address hidden>
(cherry picked from commit 0c214f7ebce5eadb589554611bb927517c7aa7ea
https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git)
Signed-off-by: You-Sheng Yang <email address hidden>

809b11f... by Carl Huang <email address hidden>

ath11k: add ce irq enable and disable hif layer functions

BugLink: https://bugs.launchpad.net/bugs/1879633

This change adds ce irq enable and disable hif layer functions, so
core module can enable ce irqs and disable ce irqs without cleaning
pipe and refilling pipe.

Tested-on: QCA6390 hw2.0 PCI WLAN.HST.1.0.1-01740-QCAHSTSWPLZ_V2_TO_X86-1

Signed-off-by: Carl Huang <email address hidden>
Signed-off-by: Kalle Valo <email address hidden>
(cherry picked from commit 9297794a5d5af5e82b9554677f959add281a5b76
https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git)
Signed-off-by: You-Sheng Yang <email address hidden>

4f3268b... by Carl Huang <email address hidden>

ath11k: implement wow enable and wow wakeup command

BugLink: https://bugs.launchpad.net/bugs/1879633

This change is to implement wow enable ane wow wakeup command.

Tested-on: QCA6390 hw2.0 PCI WLAN.HST.1.0.1-01740-QCAHSTSWPLZ_V2_TO_X86-1

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>

bb5bc1c... by Carl Huang <email address hidden>

ath11k: set credit_update flag for flow controlled ep only

BugLink: https://bugs.launchpad.net/bugs/1879633

This change is required because firmware will check all the pipes
before entering WoW. 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.

Tested-on: QCA6390 hw2.0 PCI WLAN.HST.1.0.1-01740-QCAHSTSWPLZ_V2_TO_X86-1

Signed-off-by: Carl Huang <email address hidden>
Signed-off-by: Kalle Valo <email address hidden>
(cherry picked from commit 6e0fba395a054cd58d87b3749f1f4ff2f3fef92e
https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git)
Signed-off-by: You-Sheng Yang <email address hidden>

1e8d0e8... by Carl Huang <email address hidden>

ath11k: purge rx pktlog when entering suspend

BugLink: https://bugs.launchpad.net/bugs/1879633

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.

Tested-on: QCA6390 hw2.0 PCI WLAN.HST.1.0.1-01740-QCAHSTSWPLZ_V2_TO_X86-1

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>