mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-12-24 04:42:20 +00:00
72 lines
2.1 KiB
Diff
72 lines
2.1 KiB
Diff
From 64eaf9433dd0e689ea84f10d49ebf438d7765dff Mon Sep 17 00:00:00 2001
|
|
From: P Praneesh <quic_ppranees@quicinc.com>
|
|
Date: Mon, 3 Jan 2022 12:03:07 +0530
|
|
Subject: [PATCH 04/14] ath12k: fix qmi server arrive callback by correcting
|
|
mhi channel configs
|
|
|
|
Channel execution environment mask expected by mhi driver differs from host
|
|
mhi config causes event stall after qmi init. Fix ee_mask value in mhi channel config.
|
|
|
|
Signed-off-by: P Praneesh <quic_ppranees@quicinc.com>
|
|
---
|
|
drivers/net/wireless/ath/ath12k/mhi.c | 10 ++++++----
|
|
1 file changed, 6 insertions(+), 4 deletions(-)
|
|
|
|
diff --git a/drivers/net/wireless/ath/ath12k/mhi.c b/drivers/net/wireless/ath/ath12k/mhi.c
|
|
index f60bb7f..a36620c 100644
|
|
--- a/drivers/net/wireless/ath/ath12k/mhi.c
|
|
+++ b/drivers/net/wireless/ath/ath12k/mhi.c
|
|
@@ -21,7 +21,7 @@ static struct mhi_channel_config ath12k_mhi_channels_qcn92xx[] = {
|
|
.num_elements = 32,
|
|
.event_ring = 1,
|
|
.dir = DMA_TO_DEVICE,
|
|
- .ee_mask = 0x14,
|
|
+ .ee_mask = 0x4,
|
|
.pollcfg = 0,
|
|
.doorbell = MHI_DB_BRST_DISABLE,
|
|
.lpm_notify = false,
|
|
@@ -35,7 +35,7 @@ static struct mhi_channel_config ath12k_mhi_channels_qcn92xx[] = {
|
|
.num_elements = 32,
|
|
.event_ring = 1,
|
|
.dir = DMA_FROM_DEVICE,
|
|
- .ee_mask = 0x14,
|
|
+ .ee_mask = 0x4,
|
|
.pollcfg = 0,
|
|
.doorbell = MHI_DB_BRST_DISABLE,
|
|
.lpm_notify = false,
|
|
@@ -49,13 +49,14 @@ static struct mhi_channel_config ath12k_mhi_channels_qcn92xx[] = {
|
|
.num_elements = 32,
|
|
.event_ring = 1,
|
|
.dir = DMA_TO_DEVICE,
|
|
- .ee_mask = 0x14,
|
|
+ .ee_mask = 0x4,
|
|
.pollcfg = 0,
|
|
.doorbell = MHI_DB_BRST_DISABLE,
|
|
.lpm_notify = false,
|
|
.offload_channel = false,
|
|
.doorbell_mode_switch = false,
|
|
.auto_queue = false,
|
|
+ .auto_start = true,
|
|
},
|
|
{
|
|
.num = 21,
|
|
@@ -63,13 +64,14 @@ static struct mhi_channel_config ath12k_mhi_channels_qcn92xx[] = {
|
|
.num_elements = 32,
|
|
.event_ring = 1,
|
|
.dir = DMA_FROM_DEVICE,
|
|
- .ee_mask = 0x14,
|
|
+ .ee_mask = 0x4,
|
|
.pollcfg = 0,
|
|
.doorbell = MHI_DB_BRST_DISABLE,
|
|
.lpm_notify = false,
|
|
.offload_channel = false,
|
|
.doorbell_mode_switch = false,
|
|
.auto_queue = true,
|
|
+ .auto_start = true,
|
|
},
|
|
};
|
|
|
|
--
|
|
2.7.4
|
|
|