qcacld-3.0: Fix SAP VDEV state machine for dfs cac offload
If DFS CAC is offloaded the SAP VDEV state machine does not move to CAC wait state and thus stop AP and radar indications are dropped. This leads to del_self_sta without del_bss. To fix this move the SAP VDEV state machine to cac wait state when dfs cac offload is set. Change-Id: I0b526974a4586b41f5a4b1ea5968721f444c610b CRs-Fixed: 2332087
Cette révision appartient à :
@@ -3676,6 +3676,16 @@ static int sap_start_dfs_cac_timer(struct sap_context *sap_ctx)
|
||||
QDF_TRACE(QDF_MODULE_ID_SAP, QDF_TRACE_LEVEL_DEBUG,
|
||||
"%s: cac timer offloaded to firmware", __func__);
|
||||
mac->sap.SapDfsInfo.is_dfs_cac_timer_running = true;
|
||||
#ifdef CONFIG_VDEV_SM
|
||||
status =
|
||||
wlan_vdev_mlme_sm_deliver_evt(sap_ctx->vdev,
|
||||
WLAN_VDEV_SM_EV_DFS_CAC_WAIT,
|
||||
0, NULL);
|
||||
if (QDF_IS_STATUS_ERROR(status))
|
||||
QDF_TRACE(QDF_MODULE_ID_SAP, QDF_TRACE_LEVEL_ERROR,
|
||||
"%s: failed to post WLAN_VDEV_SM_EV_DFS_CAC_WAIT",
|
||||
__func__);
|
||||
#endif
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Référencer dans un nouveau ticket
Bloquer un utilisateur