Skip to content
This repository has been archived by the owner on Oct 4, 2019. It is now read-only.

Commit

Permalink
Merge branch 'qcacld-3.0/LA.UM.7.2.r1-07500-sdm660.0' into pie
Browse files Browse the repository at this point in the history
* qcacld-3.0/LA.UM.7.2.r1-07500-sdm660.0:
  Release 5.1.1.73W
  qcacld-3.0: close session for P2P GO properly
  Release 5.1.1.73V
  qcacld-3.0: Remove duplicated data length calc
  Release 5.1.1.73U
  qcacld-3.0: Change the priority of the deauth and disassoc commands
  Release 5.1.1.73T
  qcacld-3.0: FW offload packets not captured while roaming
  Release 5.1.1.73S
  qcacld-3.0: Ignore radar detection when g_sta_sap_scc_on_dfs_chan=1
  • Loading branch information
akhilnarang committed Sep 11, 2019
2 parents a57e254 + 03320a9 commit ab2434c
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 25 deletions.
5 changes: 1 addition & 4 deletions drivers/staging/qcacld-3.0/core/dp/txrx/ol_txrx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/qcacld-3.0/core/hdd/src/wlan_hdd_hostapd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions drivers/staging/qcacld-3.0/core/mac/inc/qwlan_version.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
4 changes: 2 additions & 2 deletions drivers/staging/qcacld-3.0/core/sme/src/csr/csr_api_roam.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down
5 changes: 3 additions & 2 deletions drivers/staging/qcacld-3.0/core/wma/src/wma_features.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
14 changes: 0 additions & 14 deletions drivers/staging/qcacld-3.0/core/wma/src/wma_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 -
Expand Down

0 comments on commit ab2434c

Please sign in to comment.