~vicamo/+git/ubuntu-kernel:bug-1879633/ath11k-qca6390-bringup/202011301608/Ubuntu-oem-5.6-5.6.0-1038.42

Last commit made on 2020-12-23
Get this branch:
git clone -b bug-1879633/ath11k-qca6390-bringup/202011301608/Ubuntu-oem-5.6-5.6.0-1038.42 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-oem-5.6-5.6.0-1038.42
Repository:
lp:~vicamo/+git/ubuntu-kernel

Recent commits

28d1a44... by You-Sheng Yang

Bug 1879633: Support Qualcomm Killer 500s (QCA6390)

1abdf5d... by You-Sheng Yang

UBUNTU: [Config] enable ath11k WiFi driver

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

9d00b24... by Ritesh Singh <email address hidden>

ath11k: peer delete synchronization with firmware

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>

1582522... by Ritesh Singh <email address hidden>

UBUNTU: SAUCE: ath11k: vdev delete synchronization with firmware

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>

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.

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>
Link: https://<email address hidden>
(cherry picked from commit f57ad6a9885e8399897daee3249cabccf9c972f8)
Signed-off-by: You-Sheng Yang <email address hidden>

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

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.

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>
(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>

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

ath11k: hif: add ce irq enable and disable functions

Add ce irq enable and disable hif layer functions, so core module can enable
enable them without cleaning pipe and refilling pipe. Needed for 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>
Link: https://<email address hidden>
(backported from commit d578ec2a0d5cd2859ff6a1347f4429d6c7f730a3)
Signed-off-by: You-Sheng Yang <email address hidden>

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

UBUNTU: SAUCE: ath11k: implement wow enable and wow wakeup command

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>

ecce070... by Carl Huang <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.

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>
Link: https://<email address hidden>
(cherry picked from commit 2151ffde188a58d7de8fc92ed5ccf38d73ffdb68)
Signed-off-by: You-Sheng Yang <email address hidden>

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

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.

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>