* [PATCH] wifi: ath11k: Disable Spectral scan upon removing interface
@ 2023-03-28 7:11 ` Tamizh Chelvam Raja
0 siblings, 0 replies; 4+ messages in thread
From: Tamizh Chelvam Raja @ 2023-03-28 7:11 UTC (permalink / raw)
To: ath11k; +Cc: linux-wireless, Tamizh Chelvam Raja
Host might receive spectral events during interface
down sequence and this might create below errors.
failed to handle dma buf release event -22
failed to handle dma buf release event -22
Fix this by disabling spectral config during remove interface.
Tested-on: IPQ5018 hw1.0 AHB WLAN.HK.2.6.0.1-00861-QCAHKSWPL_SILICONZ-1
Signed-off-by: Tamizh Chelvam Raja <quic_tamizhr@quicinc.com>
---
drivers/net/wireless/ath/ath11k/mac.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/drivers/net/wireless/ath/ath11k/mac.c b/drivers/net/wireless/ath/ath11k/mac.c
index cad832e0e6b8..3ce6075af5dd 100644
--- a/drivers/net/wireless/ath/ath11k/mac.c
+++ b/drivers/net/wireless/ath/ath11k/mac.c
@@ -6652,6 +6652,11 @@ static void ath11k_mac_op_remove_interface(struct ieee80211_hw *hw,
ath11k_dbg(ab, ATH11K_DBG_MAC, "mac remove interface (vdev %d)\n",
arvif->vdev_id);
+ ret = ath11k_spectral_vif_stop(arvif);
+ if (ret)
+ ath11k_warn(ab, "failed to stop spectral for vdev %i: %d\n",
+ arvif->vdev_id, ret);
+
if (arvif->vdev_type == WMI_VDEV_TYPE_STA)
ath11k_mac_11d_scan_stop(ar);
base-commit: bea046575a2e6d7d1cf63cc7ab032647a3585de5
--
2.17.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH] wifi: ath11k: Disable Spectral scan upon removing interface
@ 2023-03-28 7:11 ` Tamizh Chelvam Raja
0 siblings, 0 replies; 4+ messages in thread
From: Tamizh Chelvam Raja @ 2023-03-28 7:11 UTC (permalink / raw)
To: ath11k; +Cc: linux-wireless, Tamizh Chelvam Raja
Host might receive spectral events during interface
down sequence and this might create below errors.
failed to handle dma buf release event -22
failed to handle dma buf release event -22
Fix this by disabling spectral config during remove interface.
Tested-on: IPQ5018 hw1.0 AHB WLAN.HK.2.6.0.1-00861-QCAHKSWPL_SILICONZ-1
Signed-off-by: Tamizh Chelvam Raja <quic_tamizhr@quicinc.com>
---
drivers/net/wireless/ath/ath11k/mac.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/drivers/net/wireless/ath/ath11k/mac.c b/drivers/net/wireless/ath/ath11k/mac.c
index cad832e0e6b8..3ce6075af5dd 100644
--- a/drivers/net/wireless/ath/ath11k/mac.c
+++ b/drivers/net/wireless/ath/ath11k/mac.c
@@ -6652,6 +6652,11 @@ static void ath11k_mac_op_remove_interface(struct ieee80211_hw *hw,
ath11k_dbg(ab, ATH11K_DBG_MAC, "mac remove interface (vdev %d)\n",
arvif->vdev_id);
+ ret = ath11k_spectral_vif_stop(arvif);
+ if (ret)
+ ath11k_warn(ab, "failed to stop spectral for vdev %i: %d\n",
+ arvif->vdev_id, ret);
+
if (arvif->vdev_type == WMI_VDEV_TYPE_STA)
ath11k_mac_11d_scan_stop(ar);
base-commit: bea046575a2e6d7d1cf63cc7ab032647a3585de5
--
2.17.1
--
ath11k mailing list
ath11k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath11k
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] wifi: ath11k: Disable Spectral scan upon removing interface
2023-03-28 7:11 ` Tamizh Chelvam Raja
@ 2023-04-17 10:14 ` Kalle Valo
-1 siblings, 0 replies; 4+ messages in thread
From: Kalle Valo @ 2023-04-17 10:14 UTC (permalink / raw)
To: Tamizh Chelvam Raja; +Cc: ath11k, linux-wireless, Tamizh Chelvam Raja
Tamizh Chelvam Raja <quic_tamizhr@quicinc.com> wrote:
> Host might receive spectral events during interface
> down sequence and this might create below errors.
>
> failed to handle dma buf release event -22
> failed to handle dma buf release event -22
>
> Fix this by disabling spectral config during remove interface.
>
> Tested-on: IPQ5018 hw1.0 AHB WLAN.HK.2.6.0.1-00861-QCAHKSWPL_SILICONZ-1
>
> Signed-off-by: Tamizh Chelvam Raja <quic_tamizhr@quicinc.com>
> Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Patch applied to ath-next branch of ath.git, thanks.
5c690db63b45 wifi: ath11k: Disable Spectral scan upon removing interface
--
https://patchwork.kernel.org/project/linux-wireless/patch/20230328071150.29645-1-quic_tamizhr@quicinc.com/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
--
ath11k mailing list
ath11k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath11k
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] wifi: ath11k: Disable Spectral scan upon removing interface
@ 2023-04-17 10:14 ` Kalle Valo
0 siblings, 0 replies; 4+ messages in thread
From: Kalle Valo @ 2023-04-17 10:14 UTC (permalink / raw)
To: Tamizh Chelvam Raja; +Cc: ath11k, linux-wireless, Tamizh Chelvam Raja
Tamizh Chelvam Raja <quic_tamizhr@quicinc.com> wrote:
> Host might receive spectral events during interface
> down sequence and this might create below errors.
>
> failed to handle dma buf release event -22
> failed to handle dma buf release event -22
>
> Fix this by disabling spectral config during remove interface.
>
> Tested-on: IPQ5018 hw1.0 AHB WLAN.HK.2.6.0.1-00861-QCAHKSWPL_SILICONZ-1
>
> Signed-off-by: Tamizh Chelvam Raja <quic_tamizhr@quicinc.com>
> Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Patch applied to ath-next branch of ath.git, thanks.
5c690db63b45 wifi: ath11k: Disable Spectral scan upon removing interface
--
https://patchwork.kernel.org/project/linux-wireless/patch/20230328071150.29645-1-quic_tamizhr@quicinc.com/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-04-17 10:16 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-28 7:11 [PATCH] wifi: ath11k: Disable Spectral scan upon removing interface Tamizh Chelvam Raja
2023-03-28 7:11 ` Tamizh Chelvam Raja
2023-04-17 10:14 ` Kalle Valo
2023-04-17 10:14 ` Kalle Valo
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.