|
@@ -19519,6 +19519,8 @@ csr_check_and_set_sae_single_pmk_cap(struct mac_context *mac_ctx,
|
|
|
|
|
|
#define IS_ROAM_REASON_STA_KICKOUT(reason) ((reason & 0xF) == \
|
|
|
WMI_ROAM_TRIGGER_REASON_STA_KICKOUT)
|
|
|
+#define IS_ROAM_REASON_DISCONNECTION(reason) ((reason & 0xF) == \
|
|
|
+ WMI_ROAM_TRIGGER_REASON_DEAUTH)
|
|
|
|
|
|
/**
|
|
|
* csr_roam_update_wait_for_key_timer_info() - API to update timer info
|
|
@@ -20037,9 +20039,8 @@ csr_process_roam_sync_callback(struct mac_context *mac_ctx,
|
|
|
roam_synch_data->join_rsp->tspecIeLen);
|
|
|
#endif
|
|
|
|
|
|
- QDF_TRACE(QDF_MODULE_ID_SME, QDF_TRACE_LEVEL_DEBUG,
|
|
|
- FL("LFR3: RIC length - %d"),
|
|
|
- roam_synch_data->join_rsp->parsedRicRspLen);
|
|
|
+ sme_debug("LFR3: RIC length - %d",
|
|
|
+ roam_synch_data->join_rsp->parsedRicRspLen);
|
|
|
if (len) {
|
|
|
session->connectedInfo.pbFrames =
|
|
|
qdf_mem_malloc(len);
|
|
@@ -20146,6 +20147,12 @@ csr_process_roam_sync_callback(struct mac_context *mac_ctx,
|
|
|
|
|
|
csr_roam_call_callback(mac_ctx, session_id, roam_info, 0,
|
|
|
eCSR_ROAM_ASSOCIATION_COMPLETION, eCSR_ROAM_RESULT_ASSOCIATED);
|
|
|
+
|
|
|
+ if (IS_ROAM_REASON_DISCONNECTION(roam_synch_data->roamReason))
|
|
|
+ sme_qos_csr_event_ind(mac_ctx, session_id,
|
|
|
+ SME_QOS_CSR_DISCONNECT_ROAM_COMPLETE,
|
|
|
+ NULL);
|
|
|
+
|
|
|
if (!CSR_IS_WAIT_FOR_KEY(mac_ctx, session_id)) {
|
|
|
QDF_TRACE(QDF_MODULE_ID_SME,
|
|
|
QDF_TRACE_LEVEL_DEBUG,
|