diff --git a/drivers/staging/qcacld-3.0/core/dp/txrx/ol_txrx.c b/drivers/staging/qcacld-3.0/core/dp/txrx/ol_txrx.c index c2e099496da5..155e3a2e0873 100644 --- a/drivers/staging/qcacld-3.0/core/dp/txrx/ol_txrx.c +++ b/drivers/staging/qcacld-3.0/core/dp/txrx/ol_txrx.c @@ -3814,11 +3814,8 @@ ol_txrx_clear_peer_internal(struct ol_txrx_peer_t *peer) { p_cds_sched_context sched_ctx = get_cds_sched_ctxt(); /* Drop pending Rx frames in CDS */ - if (sched_ctx) { + if (sched_ctx) cds_drop_rxpkt_by_staid(sched_ctx, peer->local_id); - if (cds_get_pktcap_mode_enable()) - cds_drop_monpkt(sched_ctx); - } /* Purge the cached rx frame queue */ ol_txrx_flush_rx_frames(peer, 1); diff --git a/drivers/staging/qcacld-3.0/core/hdd/src/wlan_hdd_hostapd.c b/drivers/staging/qcacld-3.0/core/hdd/src/wlan_hdd_hostapd.c index e7b33031fdc1..2ecf57684c63 100644 --- a/drivers/staging/qcacld-3.0/core/hdd/src/wlan_hdd_hostapd.c +++ b/drivers/staging/qcacld-3.0/core/hdd/src/wlan_hdd_hostapd.c @@ -8919,7 +8919,6 @@ static int __wlan_hdd_cfg80211_stop_ap(struct wiphy *wiphy, global_p2p_connection_status = P2P_NOT_ACTIVE; } #endif - pAdapter->sessionId = HDD_SESSION_ID_INVALID; wlan_hdd_check_conc_and_update_tdls_state(pHddCtx, false); EXIT(); return ret; diff --git a/drivers/staging/qcacld-3.0/core/mac/inc/qwlan_version.h b/drivers/staging/qcacld-3.0/core/mac/inc/qwlan_version.h index c6ec03ca7f23..d1cb7e4a54d5 100644 --- a/drivers/staging/qcacld-3.0/core/mac/inc/qwlan_version.h +++ b/drivers/staging/qcacld-3.0/core/mac/inc/qwlan_version.h @@ -32,9 +32,9 @@ #define QWLAN_VERSION_MAJOR 5 #define QWLAN_VERSION_MINOR 1 #define QWLAN_VERSION_PATCH 1 -#define QWLAN_VERSION_EXTRA "R" +#define QWLAN_VERSION_EXTRA "W" #define QWLAN_VERSION_BUILD 73 -#define QWLAN_VERSIONSTR "5.1.1.73R" +#define QWLAN_VERSIONSTR "5.1.1.73W" #endif /* QWLAN_VERSION_H */ diff --git a/drivers/staging/qcacld-3.0/core/sme/src/csr/csr_api_roam.c b/drivers/staging/qcacld-3.0/core/sme/src/csr/csr_api_roam.c index db599bea7516..86cb45b29ec9 100644 --- a/drivers/staging/qcacld-3.0/core/sme/src/csr/csr_api_roam.c +++ b/drivers/staging/qcacld-3.0/core/sme/src/csr/csr_api_roam.c @@ -4315,7 +4315,7 @@ QDF_STATUS csr_roam_issue_disassociate_sta_cmd(tpAniSirGlobal pMac, sizeof(pCommand->u.roamCmd.peerMac)); pCommand->u.roamCmd.reason = (tSirMacReasonCodes)p_del_sta_params->reason_code; - status = csr_queue_sme_command(pMac, pCommand, false); + status = csr_queue_sme_command(pMac, pCommand, true); if (!QDF_IS_STATUS_SUCCESS(status)) { sme_err("fail to send message status: %d", status); csr_release_command_roam(pMac, pCommand); @@ -4356,7 +4356,7 @@ QDF_STATUS csr_roam_issue_deauth_sta_cmd(tpAniSirGlobal pMac, sizeof(tSirMacAddr)); pCommand->u.roamCmd.reason = (tSirMacReasonCodes)pDelStaParams->reason_code; - status = csr_queue_sme_command(pMac, pCommand, false); + status = csr_queue_sme_command(pMac, pCommand, true); if (!QDF_IS_STATUS_SUCCESS(status)) { sme_err("fail to send message status: %d", status); csr_release_command_roam(pMac, pCommand); diff --git a/drivers/staging/qcacld-3.0/core/wma/src/wma_features.c b/drivers/staging/qcacld-3.0/core/wma/src/wma_features.c index 5ca0ec66cb2e..a3a042689b6b 100644 --- a/drivers/staging/qcacld-3.0/core/wma/src/wma_features.c +++ b/drivers/staging/qcacld-3.0/core/wma/src/wma_features.c @@ -9743,8 +9743,9 @@ int wma_dfs_indicate_radar(struct ieee80211com *ic, if (!pmac->sap.SapDfsInfo.disable_dfs_ch_switch) wma->dfs_ic->disable_phy_err_processing = true; - if ((ichan->ic_ieee != (wma->dfs_ic->last_radar_found_chan)) || - (pmac->sap.SapDfsInfo.disable_dfs_ch_switch == true)) { + if (!cds_is_sta_sap_scc_allowed_on_dfs_channel() && + ((ichan->ic_ieee != (wma->dfs_ic->last_radar_found_chan)) || + (pmac->sap.SapDfsInfo.disable_dfs_ch_switch == true))) { radar_event = (struct wma_dfs_radar_indication *) qdf_mem_malloc(sizeof(struct wma_dfs_radar_indication)); if (radar_event == NULL) { diff --git a/drivers/staging/qcacld-3.0/core/wma/src/wma_utils.c b/drivers/staging/qcacld-3.0/core/wma/src/wma_utils.c index 0cc36be3349b..87898c76a011 100644 --- a/drivers/staging/qcacld-3.0/core/wma/src/wma_utils.c +++ b/drivers/staging/qcacld-3.0/core/wma/src/wma_utils.c @@ -3270,20 +3270,6 @@ int wma_stats_event_handler(void *handle, uint8_t *cmd_param_info, event = param_buf->fixed_param; temp = (uint8_t *) param_buf->data; - buf_len = event->num_pdev_stats * sizeof(wmi_pdev_stats) + - event->num_vdev_stats * sizeof(wmi_vdev_stats) + - event->num_peer_stats * sizeof(wmi_peer_stats) + - event->num_bcnflt_stats * sizeof(wmi_bcnfilter_stats_t) + - event->num_chan_stats * sizeof(wmi_chan_stats) + - event->num_mib_stats * sizeof(wmi_mib_stats) + - event->num_bcn_stats * sizeof(wmi_bcn_stats) + - event->num_peer_extd_stats * sizeof(wmi_peer_extd_stats); - - if (buf_len != param_buf->num_data) { - WMA_LOGE("Invalid Buffer len %d received, Expected %d", - buf_len, param_buf->num_data); - return -EINVAL; - } do { if (event->num_pdev_stats > ((WMI_SVC_MSG_MAX_SIZE -