]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
ath11k: fix wmi init configuration
authorKarthikeyan Periyasamy <periyasa@codeaurora.org>
Wed, 4 Nov 2020 17:47:00 +0000 (23:17 +0530)
committerPaolo Pisati <paolo.pisati@canonical.com>
Mon, 4 Jan 2021 15:36:35 +0000 (16:36 +0100)
commitaa071aa3587a35ec296f45acd4f553b3f311ca0d
tree1d1c0a4afd849e59102f65a71f5d8b298ee36f2d
parentf1888417401c96d84bbba57306f589b5e1eafaed
ath11k: fix wmi init configuration

BugLink: https://bugs.launchpad.net/bugs/1910111
[ Upstream commit 36c7c640ffeb87168e5ff79b7a36ae3a020bd378 ]

Assign the correct hw_op ath11k_init_wmi_config_ipq8074 to
the hw IPQ8074. Also update the correct TWT radio count.
Incorrect TWT radio count cause TWT feature fails on radio2
because physical device count is hardcoded to 2. so set
the value dynamically.

Found this during code review.

Tested-on: IPQ8074 hw2.0 AHB WLAN.HK.2.1.0.1-01238-QCAHKSWPL_SILICONZ-2

Fixes: 2d4bcbed5b7d53e1 ("ath11k: initialize wmi config based on hw_params")
Signed-off-by: Karthikeyan Periyasamy <periyasa@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/1604512020-25197-1-git-send-email-periyasa@codeaurora.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
drivers/net/wireless/ath/ath11k/hw.c