ath11k: vdev and peer delete synchronization with firmware
cover ath11k: vdev and peer delete synchronization with firmware
When add an interface immediately after removing the interface, vdev deletion in firmware might not have been completed. add vdev_delete_resp_event and wait_event_timeout to synchronize with firmware.
Peer creation in firmware fails if last peer deletion is still in progress, add wait for the event after deleting every peer from host driver to synchronize with firmware.
1) add vdev delete resp event and wait event to get ack from firmware
2) add wait event timeout for peer delete to get ack from firmware
3) code clean up and replace the api 'ath11k_mac_get_ar_vdev_stop_status' with 'ath11k_mac_get_ar_by_vdev_id'
Ritesh Singh (3):
ath11k: vdev delete synchronization with firmware
ath11k: peer delete synchronization with firmware
ath11k: remove "ath11k_mac_get_ar_vdev_stop_status" references
drivers/net/wireless/ath/ath11k/core.c | 2 + drivers/net/wireless/ath/ath11k/core.h | 9 ++-- drivers/net/wireless/ath/ath11k/mac.c | 80 +++++++++++++++------------------ drivers/net/wireless/ath/ath11k/mac.h | 2 - drivers/net/wireless/ath/ath11k/peer.c | 44 ++++++++++++++++-- drivers/net/wireless/ath/ath11k/peer.h | 2 + drivers/net/wireless/ath/ath11k/wmi.c | 81 +++++++++++++++++++++++++++++++--- drivers/net/wireless/ath/ath11k/wmi.h | 4 ++ 8 files changed, 164 insertions(+), 60 deletions(-)
Signature · 7 lines
1.9.1 _______________________________________________ ath11k mailing list [email protected] http://lists.infradead.org/mailman/listinfo/ath11k
PATCH 1/3 ath11k: vdev delete synchronization with firmware
From: Ritesh Singh <[email protected]>
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.
Tested-on: IPQ8074 WLAN.HK.2.4.0.1-00009-QCAHKSWPL_SILICONZ-1
--- drivers/net/wireless/ath/ath11k/core.c | 1 + drivers/net/wireless/ath/ath11k/core.h | 2 ++ drivers/net/wireless/ath/ath11k/mac.c | 29 ++++++++++++---- drivers/net/wireless/ath/ath11k/wmi.c | 62 +++++++++++++++++++++++++++++++++- drivers/net/wireless/ath/ath11k/wmi.h | 4 +++ 5 files changed, 90 insertions(+), 8 deletions(-)
drivers/net/wireless/ath/ath11k/core.c +1 -0
@@ -655,6 +655,7 @@ static void ath11k_core_restart(struct work_struct *work)complete (&ar->peer_assoc_done);complete (&ar->install_key_done);complete (&ar->vdev_setup_done); +complete (&ar->vdev_delete_done);complete (&ar->bss_survey_done);complete (&ar->thermal.wmi_sync);
drivers/net/wireless/ath/ath11k/core.h +2 -0
@@ -413,6 +413,7 @@ struct ath11k_per_peer_tx_stats { };#define ATH11K_FLUSH_TIMEOUT (5 * HZ) +#define ATH11K_VDEV_DELETE_TIMEOUT_HZ (5 * HZ)struct ath11k_vdev_stop_status {bool stop_in_progress;
@@ -494,6 +495,7 @@ struct ath11k {int last_wmi_vdev_start_status;struct ath11k_vdev_stop_status vdev_stop_status;struct completion vdev_setup_done; +struct completion vdev_delete_done;int num_peers;int max_num_peers;
drivers/net/wireless/ath/ath11k/mac.c +22 -7
@@ -4404,6 +4404,7 @@ static void ath11k_mac_op_remove_interface(struct ieee80211_hw *hw,struct ath11k *ar = hw->priv;struct ath11k_vif *arvif =ath11k_vif_to_arvif (vif);struct ath11k_base *ab = ar->ab; +unsigned long time_left;int ret;int i;
@@ -4412,10 +4413,6 @@ 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); -spin_lock_bh (&ar->data_lock); -list_del (&arvif->list); -spin_unlock_bh (&ar->data_lock); -if (arvif->vdev_type ==WMI_VDEV_TYPE_AP ) { ret =ath11k_peer_delete (ar, arvif->vdev_id, vif->addr);if (ret)
@@ -4423,16 +4420,33 @@ static void ath11k_mac_op_remove_interface(struct ieee80211_hw *hw, arvif->vdev_id, ret); } +reinit_completion (&ar->vdev_delete_done); + ret =ath11k_wmi_vdev_delete (ar, arvif->vdev_id); -if (ret) +if (ret) {ath11k_warn (ab,"failed to delete WMI vdev %d: %d\n" , arvif->vdev_id, ret); + goto err_vdev_del; + } + + time_left =wait_for_completion_timeout (&ar->vdev_delete_done, +ATH11K_VDEV_DELETE_TIMEOUT_HZ ); +if (time_left ==0 ) { +ath11k_warn (ab,"Timeout in receiving vdev delete response\n" ); + goto err_vdev_del; + } + ab->free_vdev_map |=1LL << (arvif->vdev_id); + ar->allocated_vdev_map &= ~(1LL << arvif->vdev_id); ar->num_created_vdevs--; +ath11k_dbg (ab,ATH11K_DBG_MAC ,"vdev %pM deleted, vdev_id %d\n" , vif->addr, arvif->vdev_id); - ar->allocated_vdev_map &= ~(1LL << arvif->vdev_id); - ab->free_vdev_map |=1LL << (arvif->vdev_id); + +err_vdev_del: +spin_lock_bh (&ar->data_lock); +list_del (&arvif->list); +spin_unlock_bh (&ar->data_lock);ath11k_peer_cleanup (ar, arvif->vdev_id);
@@ -6029,6 +6043,7 @@ int ath11k_mac_allocate(struct ath11k_base *ab)INIT_LIST_HEAD (&ar->ppdu_stats_info);mutex_init (&ar->conf_mutex);init_completion (&ar->vdev_setup_done); +init_completion (&ar->vdev_delete_done);init_completion (&ar->peer_assoc_done);init_completion (&ar->install_key_done);init_completion (&ar->bss_survey_done);
drivers/net/wireless/ath/ath11k/wmi.c +61 -1
92 lines not on this page · raw message
drivers/net/wireless/ath/ath11k/wmi.h +4 -0
@@ -3952,6 +3952,10 @@ struct wmi_regulatory_rule_struct {u32 flag_info; }; +struct wmi_vdev_delete_resp_event { +u32 vdev_id; +} __packed; +struct wmi_peer_delete_resp_event {u32 vdev_id;struct wmi_mac_addr peer_macaddr;
Signature · 7 lines
1.9.1 _______________________________________________ ath11k mailing list [email protected] http://lists.infradead.org/mailman/listinfo/ath11k
PATCH 2/3 ath11k: peer delete synchronization with firmware
In reply to Maharaja KennadyrajanFrom: Ritesh Singh <[email protected]>
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.
Tested-on: IPQ8074 WLAN.HK.2.4.0.1-00009-QCAHKSWPL_SILICONZ-1
--- drivers/net/wireless/ath/ath11k/core.c | 1 + drivers/net/wireless/ath/ath11k/core.h | 1 + drivers/net/wireless/ath/ath11k/mac.c | 17 ++++++++++++- drivers/net/wireless/ath/ath11k/peer.c | 44 +++++++++++++++++++++++++++++++--- drivers/net/wireless/ath/ath11k/peer.h | 2 ++ drivers/net/wireless/ath/ath11k/wmi.c | 17 ++++++++++--- 6 files changed, 75 insertions(+), 7 deletions(-)
drivers/net/wireless/ath/ath11k/core.c +1 -0
@@ -653,6 +653,7 @@ static void ath11k_core_restart(struct work_struct *work)complete (&ar->scan.started);complete (&ar->scan.completed);complete (&ar->peer_assoc_done); +complete (&ar->peer_delete_done);complete (&ar->install_key_done);complete (&ar->vdev_setup_done);complete (&ar->vdev_delete_done);
drivers/net/wireless/ath/ath11k/core.h +1 -0
@@ -488,6 +488,7 @@ struct ath11k {u8 lmac_id;struct completion peer_assoc_done; +struct completion peer_delete_done;int install_key_status;struct completion install_key_done;
drivers/net/wireless/ath/ath11k/mac.c +16 -1
@@ -4368,8 +4368,22 @@ static int ath11k_mac_op_add_interface(struct ieee80211_hw *hw, err_peer_del:if (arvif->vdev_type ==WMI_VDEV_TYPE_AP ) { +reinit_completion (&ar->peer_delete_done); + + ret =ath11k_wmi_send_peer_delete_cmd (ar, vif->addr, + arvif->vdev_id); +if (ret) { +ath11k_warn (ar->ab,"failed to delete peer vdev_id %d addr %pM\n" , + arvif->vdev_id, vif->addr); +return ret; + } + + ret =ath11k_wait_for_peer_delete_done (ar, arvif->vdev_id, + vif->addr); +if (ret) +return ret; + ar->num_peers--; -ath11k_wmi_send_peer_delete_cmd (ar, vif->addr, arvif->vdev_id); } err_vdev_del:
@@ -6045,6 +6059,7 @@ int ath11k_mac_allocate(struct ath11k_base *ab)init_completion (&ar->vdev_setup_done);init_completion (&ar->vdev_delete_done);init_completion (&ar->peer_assoc_done); +init_completion (&ar->peer_delete_done);init_completion (&ar->install_key_done);init_completion (&ar->bss_survey_done);init_completion (&ar->scan.started);
drivers/net/wireless/ath/ath11k/peer.c +41 -3
68 lines not on this page · raw message
drivers/net/wireless/ath/ath11k/peer.h +2 -0
@@ -41,5 +41,7 @@ struct ath11k_peer *ath11k_peer_find_by_addr(struct ath11k_base *ab,int ath11k_peer_delete (struct ath11k *ar,u32 vdev_id,u8 *addr);int ath11k_peer_create (struct ath11k *ar,struct ath11k_vif *arvif,struct ieee80211_sta *sta,struct peer_create_params *param); +int ath11k_wait_for_peer_delete_done (struct ath11k *ar,u32 vdev_id, +const u8 *addr);#endif /* _PEER_H_ */
drivers/net/wireless/ath/ath11k/wmi.c +14 -3
@@ -5081,15 +5081,26 @@ static int ath11k_ready_event(struct ath11k_base *ab, struct sk_buff *skb)static void ath11k_peer_delete_resp_event (struct ath11k_base *ab,struct sk_buff *skb) {struct wmi_peer_delete_resp_event peer_del_resp; +struct ath11k *ar;if (ath11k_pull_peer_del_resp_ev (ab, skb, &peer_del_resp) !=0 ) {ath11k_warn (ab,"failed to extract peer delete resp" );return ; } -/* TODO: Do we need to validate whether ath11k_peer_find() return NULL -* Why this is needed when there is HTT event for peer delete -*/ +rcu_read_lock (); + ar =ath11k_mac_get_ar_by_vdev_id (ab, peer_del_resp.vdev_id); +if (!ar) { +ath11k_warn (ab,"invalid vdev id in peer delete resp ev %d" , + peer_del_resp.vdev_id); +rcu_read_unlock (); +return ; + } + +complete (&ar->peer_delete_done); +rcu_read_unlock (); +ath11k_dbg (ab,ATH11K_DBG_WMI ,"peer delete resp for vdev id %d addr %pM\n" , + peer_del_resp.vdev_id, peer_del_resp.peer_macaddr.addr); } static void ath11k_vdev_delete_resp_event(struct ath11k_base *ab,
Signature · 1 line
1.9.1
PATCH 3/3 ath11k: remove "ath11k_mac_get_ar_vdev_stop_status" references
In reply to Maharaja KennadyrajanFrom: Ritesh Singh <[email protected]>
Unused structure ath11k_vdev_stop_status is removed. 'ath11k_mac_get_ar_vdev_stop_status' api has been replaced with 'ath11k_mac_get_ar_by_vdev_id' inside vdev_stopped_event.
Tested-on: IPQ8074 WLAN.HK.2.4.0.1-00009-QCAHKSWPL_SILICONZ-1
--- drivers/net/wireless/ath/ath11k/core.h | 6 ------ drivers/net/wireless/ath/ath11k/mac.c | 36 ---------------------------------- drivers/net/wireless/ath/ath11k/mac.h | 2 -- drivers/net/wireless/ath/ath11k/wmi.c | 2 +- 4 files changed, 1 insertion(+), 45 deletions(-)
drivers/net/wireless/ath/ath11k/core.h +0 -6
@@ -415,11 +415,6 @@ struct ath11k_per_peer_tx_stats {#define ATH11K_FLUSH_TIMEOUT (5 * HZ)#define ATH11K_VDEV_DELETE_TIMEOUT_HZ (5 * HZ) -struct ath11k_vdev_stop_status { -bool stop_in_progress; -u32 vdev_id; -}; -struct ath11k {struct ath11k_base *ab;struct ath11k_pdev *pdev;
@@ -494,7 +489,6 @@ struct ath11k {struct completion install_key_done;int last_wmi_vdev_start_status; -struct ath11k_vdev_stop_status vdev_stop_status;struct completion vdev_setup_done;struct completion vdev_delete_done;
drivers/net/wireless/ath/ath11k/mac.c +0 -36
@@ -452,31 +452,6 @@ struct ath11k *ath11k_mac_get_ar_by_pdev_id(struct ath11k_base *ab, u32 pdev_id)return NULL ; } -struct ath11k *ath11k_mac_get_ar_vdev_stop_status (struct ath11k_base *ab, -u32 vdev_id) -{ -int i; -struct ath11k_pdev *pdev; -struct ath11k *ar; - -for (i =0 ; i < ab->num_radios; i++) { - pdev =rcu_dereference (ab->pdevs_active[i]); -if (pdev && pdev->ar) { - ar = pdev->ar; - -spin_lock_bh (&ar->data_lock); -if (ar->vdev_stop_status.stop_in_progress && - ar->vdev_stop_status.vdev_id == vdev_id) { - ar->vdev_stop_status.stop_in_progress = false; -spin_unlock_bh (&ar->data_lock); -return ar; - } -spin_unlock_bh (&ar->data_lock); - } - } -return NULL ; -} -static void ath11k_pdev_caps_update (struct ath11k *ar) {struct ath11k_base *ab = ar->ab;
@@ -4760,13 +4735,6 @@ static int ath11k_mac_vdev_stop(struct ath11k_vif *arvif)reinit_completion (&ar->vdev_setup_done); -spin_lock_bh (&ar->data_lock); - - ar->vdev_stop_status.stop_in_progress = true; - ar->vdev_stop_status.vdev_id = arvif->vdev_id; - -spin_unlock_bh (&ar->data_lock); - ret =ath11k_wmi_vdev_stop (ar, arvif->vdev_id);if (ret) { ath11k_warn(ar->ab, "failed to stop WMI vdev %i: %d\n",
@@ -4795,10 +4763,6 @@ static int ath11k_mac_vdev_stop(struct ath11k_vif *arvif)return 0 ; err: -spin_lock_bh (&ar->data_lock); - ar->vdev_stop_status.stop_in_progress = false; -spin_unlock_bh (&ar->data_lock); -return ret; }
drivers/net/wireless/ath/ath11k/mac.h +0 -2
@@ -137,8 +137,6 @@ struct ath11k_vif *ath11k_mac_get_arvif_by_vdev_id(struct ath11k_base *ab, u32 vdev_id);struct ath11k *ath11k_mac_get_ar_by_vdev_id (struct ath11k_base *ab,u32 vdev_id);struct ath11k *ath11k_mac_get_ar_by_pdev_id (struct ath11k_base *ab,u32 pdev_id); -struct ath11k *ath11k_mac_get_ar_vdev_stop_status (struct ath11k_base *ab, -u32 vdev_id);void ath11k_mac_drain_tx (struct ath11k *ar);void ath11k_mac_peer_cleanup_all (struct ath11k *ar);
drivers/net/wireless/ath/ath11k/wmi.c +1 -1
@@ -5207,7 +5207,7 @@ static void ath11k_vdev_stopped_event(struct ath11k_base *ab, struct sk_buff *sk }rcu_read_lock (); - ar =ath11k_mac_get_ar_vdev_stop_status (ab, vdev_id); + ar =ath11k_mac_get_ar_by_vdev_id (ab, vdev_id);if (!ar) {ath11k_warn (ab,"invalid vdev id in vdev stopped ev %d" , vdev_id);
Signature · 7 lines
1.9.1 _______________________________________________ ath11k mailing list [email protected] http://lists.infradead.org/mailman/listinfo/ath11k
Re: [PATCH 3/3] ath11k: remove "ath11k_mac_get_ar_vdev_stop_status" references
Quoted 9 lines · Maharaja Kennadyrajan
Unused structure
ath11k_vdev_stop_statusis removed. 'ath11k_mac_get_ar_vdev_stop_status' api has been replaced with 'ath11k_mac_get_ar_by_vdev_id' insidevdev_stopped_event.Tested-on: IPQ8074 WLAN.HK.2.4.0.1-00009-QCAHKSWPL_SILICONZ-1
Signed-off-by Ritesh Singh <[email protected]>Signed-off-by Maharaja Kennadyrajan <[email protected]>Signed-off-by Kalle Valo <[email protected]>
What about other firmware branches? For example, will this break 2.1.0.1 branch support?
Signature · 9 lines
https://patchwork.kernel.org/patch/11562971/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches _______________________________________________ ath11k mailing list [email protected] http://lists.infradead.org/mailman/listinfo/ath11k
Re: [PATCH 3/3] ath11k: remove "ath11k_mac_get_ar_vdev_stop_status" references
In reply to Maharaja KennadyrajanQuoted 9 lines · Maharaja Kennadyrajan
Unused structure
ath11k_vdev_stop_statusis removed. 'ath11k_mac_get_ar_vdev_stop_status' api has been replaced with 'ath11k_mac_get_ar_by_vdev_id' insidevdev_stopped_event.Tested-on: IPQ8074 WLAN.HK.2.4.0.1-00009-QCAHKSWPL_SILICONZ-1
Signed-off-by Ritesh Singh <[email protected]>Signed-off-by Maharaja Kennadyrajan <[email protected]>Signed-off-by Kalle Valo <[email protected]>
What about other firmware branches? For example, will this break 2.1.0.1 branch support?
Signature · 3 lines
https://patchwork.kernel.org/patch/11562971/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Re: [PATCH 3/3] ath11k: remove "ath11k_mac_get_ar_vdev_stop_status" references
In reply to a message not in the archiveQuoted 6 lines · Kalle Valo
Quoted 4 lines · Maharaja Kennadyrajan
Unused structure
ath11k_vdev_stop_statusis removed. 'ath11k_mac_get_ar_vdev_stop_status' api has been replaced with 'ath11k_mac_get_ar_by_vdev_id' insidevdev_stopped_event.
Quoted 8 lines
Quoted 5 lines
Tested-on: IPQ8074 WLAN.HK.2.4.0.1-00009-QCAHKSWPL_SILICONZ-1
Signed-off-by Ritesh Singh <[email protected]>Signed-off-by Maharaja Kennadyrajan <[email protected]>Signed-off-by Kalle Valo <[email protected]>What about other firmware branches? For example, will this break 2.1.0.1 branch support?
[Maha]: It won't break 2.1.0.1 branch as it is host related change.
Regards,
Maha
_______________________________________________
ath11k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath11k
Re: [PATCH 3/3] ath11k: remove "ath11k_mac_get_ar_vdev_stop_status" references
Quoted 9 lines · Maharaja Kennadyrajan
Quoted 8 lines · Kalle Valo
Quoted 6 lines · Maharaja Kennadyrajan
Unused structure
ath11k_vdev_stop_statusis removed. 'ath11k_mac_get_ar_vdev_stop_status' api has been replaced with 'ath11k_mac_get_ar_by_vdev_id' insidevdev_stopped_event.Tested-on: IPQ8074 WLAN.HK.2.4.0.1-00009-QCAHKSWPL_SILICONZ-1
Quoted 8 lines
Quoted 6 lines
Quoted 3 lines
Signed-off-by Ritesh Singh <[email protected]>Signed-off-by Maharaja Kennadyrajan <[email protected]>Signed-off-by Kalle Valo <[email protected]>What about other firmware branches? For example, will this break 2.1.0.1 branch support?
[Maha]: It won't break 2.1.0.1 branch as it is host related change.
What do you mean with "host related changed" exactly? In patch 1 I see that you add a new handler for WMI_VDEV_DELETE_RESP_EVENTID event. So firmware functionality is very much involved here, right? For example, do all branches send that event to the host?
Signature · 6 lines
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches _______________________________________________ ath11k mailing list [email protected] http://lists.infradead.org/mailman/listinfo/ath11k
Re: [PATCH 3/3] ath11k: remove "ath11k_mac_get_ar_vdev_stop_status" references
Quoted 18 lines · Kalle Valo
Quoted 16 lines · Maharaja Kennadyrajan
Quoted 14 lines · Kalle Valo
Quoted 9 lines · Maharaja Kennadyrajan
Unused structure
ath11k_vdev_stop_statusis removed. 'ath11k_mac_get_ar_vdev_stop_status' api has been replaced with 'ath11k_mac_get_ar_by_vdev_id' insidevdev_stopped_event.Tested-on: IPQ8074 WLAN.HK.2.4.0.1-00009-QCAHKSWPL_SILICONZ-1
Signed-off-by Ritesh Singh <[email protected]>Signed-off-by Maharaja Kennadyrajan <[email protected]>Signed-off-by Kalle Valo <[email protected]>What about other firmware branches? For example, will this break 2.1.0.1 branch support?
Quoted 6 lines
Quoted 1 line
[Maha]: It won't break 2.1.0.1 branch as it is host related change.
What do you mean with "host related changed" exactly? In patch 1 I see that you add a new handler for
WMI_VDEV_DELETE_RESP_EVENTIDevent. So firmware functionality is very much involved here, right? For example, do all branches send that event to the host?
[Maha]: You are right, Stop event will come for all the firmware.
So, it won't break with other firmware branches.
we just replaced the ath11k_mac_get_ar_vdev_stop_status by ath11k_mac_get_ar_by_vdev_id.
Regards,
Maha
_______________________________________________
ath11k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath11k
Re: [PATCH 1/3] ath11k: vdev delete synchronization with firmware
In reply to Maharaja KennadyrajanQuoted 6 lines · Maharaja Kennadyrajan
From: Ritesh Singh <[email protected]>
When the interface is added immediately after removing the interface, vdev deletion in firmware might not have been completed.
Quoted 7 lines
Hence, add
vdev_delete_resp_eventandwait_event_timeoutto synchronize with firmware.Tested-on: IPQ8074 WLAN.HK.2.4.0.1-00009-QCAHKSWPL_SILICONZ-1
Signed-off-by Ritesh Singh <[email protected]>Signed-off-by Maharaja Kennadyrajan <[email protected]>
Does not apply anymore, please rebase.
error: patch failed: drivers/net/wireless/ath/ath11k/wmi.c:97
error: drivers/net/wireless/ath/ath11k/wmi.c: patch does not apply stg import: Diff does not apply cleanly
3 patches set to Changes Requested.
11562969 [1/3] ath11k: vdev delete synchronization with firmware 11562967 [2/3] ath11k: peer delete synchronization with firmware 11562971 [3/3] ath11k: remove "ath11k_mac_get_ar_vdev_stop_status" references
Signature · 9 lines
https://patchwork.kernel.org/project/linux-wireless/patch/[email protected]/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches -- ath11k mailing list [email protected] http://lists.infradead.org/mailman/listinfo/ath11k
Re: [PATCH 1/3] ath11k: vdev delete synchronization with firmware
In reply to Maharaja KennadyrajanQuoted 6 lines · Maharaja Kennadyrajan
From: Ritesh Singh <[email protected]>
When the interface is added immediately after removing the interface, vdev deletion in firmware might not have been completed.
Quoted 7 lines
Hence, add
vdev_delete_resp_eventandwait_event_timeoutto synchronize with firmware.Tested-on: IPQ8074 WLAN.HK.2.4.0.1-00009-QCAHKSWPL_SILICONZ-1
Signed-off-by Ritesh Singh <[email protected]>Signed-off-by Maharaja Kennadyrajan <[email protected]>
Does not apply anymore, please rebase.
error: patch failed: drivers/net/wireless/ath/ath11k/wmi.c:97
error: drivers/net/wireless/ath/ath11k/wmi.c: patch does not apply stg import: Diff does not apply cleanly
3 patches set to Changes Requested.
11562969 [1/3] ath11k: vdev delete synchronization with firmware 11562967 [2/3] ath11k: peer delete synchronization with firmware 11562971 [3/3] ath11k: remove "ath11k_mac_get_ar_vdev_stop_status" references
Signature · 3 lines
https://patchwork.kernel.org/project/linux-wireless/patch/[email protected]/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Re: [PATCH 1/3] ath11k: vdev delete synchronization with firmware
In reply to a message not in the archiveQuoted 16 lines · Kalle Valo
Quoted 6 lines · Maharaja Kennadyrajan
From: Ritesh Singh <[email protected]>
When the interface is added immediately after removing the interface, vdev deletion in firmware might not have been completed.
Quoted 7 lines
Hence, add
vdev_delete_resp_eventandwait_event_timeoutto synchronize with firmware.Tested-on: IPQ8074 WLAN.HK.2.4.0.1-00009-QCAHKSWPL_SILICONZ-1
Signed-off-by Ritesh Singh <[email protected]>Signed-off-by Maharaja Kennadyrajan <[email protected]>
Quoted 7 lines
Does not apply anymore, please rebase.
error: patch failed:
drivers/net/wireless/ath/ath11k/wmi.c:97
error:drivers/net/wireless/ath/ath11k/wmi.c: patch does not apply stg import: Diff does not apply cleanly3 patches set to Changes Requested.
[Maha]: Sure, Kalle. I will rebase and send the next version of this patch.
Quoted 3 lines
11562969 [1/3] ath11k: vdev delete synchronization with firmware 11562967 [2/3] ath11k: peer delete synchronization with firmware 11562971 [3/3] ath11k: remove "
ath11k_mac_get_ar_vdev_stop_status" references
Regards,
Maha
Signature · 3 lines
ath11k mailing list [email protected] http://lists.infradead.org/mailman/listinfo/ath11k