summaryrefslogtreecommitdiff
path: root/core/wma/src/wma_mgmt.c
diff options
context:
space:
mode:
authorSrinivas Girigowda <sgirigow@codeaurora.org>2018-04-05 17:12:47 -0700
committerAhmed ElArabawy <arabawy@google.com>2018-04-11 23:11:18 +0000
commit2738789f08bc6bc69f2314b1535dbde2b15e779f (patch)
treebd86c28779e856aa03b9565a5a565798c165f761 /core/wma/src/wma_mgmt.c
parent22c7df72770e74eb860b7a4c547cc77af3c80c95 (diff)
downloadqcacld-2738789f08bc6bc69f2314b1535dbde2b15e779f.tar.gz
qcacld-3.0: WLAN upgrade to 5.3.1.1D
f055636 qcacld-3.0: Fix issue while handling ndp response without iface name a838a27 qcacld-3.0: Add SAR V2 support 594b96b qcacld-3.0: Add ini param to control RTT mac randomization 8ee11a2 Release 5.3.1.1D 05269e2 qcacld-3.0: Set bcast probe req flag for invalid bssid and ssid d1144e8 qcacld-3.0: Fix potential buffer overflow in radio stats event handler c228d66 qcacld-3.0: Send 11k offload disable to FW during RSO Stop 070054e qcacld-3.0: Dereference adapter after NULL check 1305e86 qcacld-3.0: Resolve possible OOB while posting SET PASSPOINT WMA event 54d7eea qcacld-3.0: Flush message queues before sending suspend event to firmware 0f3db67 qcacld-3.0: Complete all wait events before shutdown 949550c qcacld-3.0: Do not stop TDLS timers before restart f0df927 qcacld-3.0: Assign center_freq1 and center_freq2 before use 7fb20d6 qcacld-3.0: Do not program phymode for opmode update 6567910 qcacld-3.0: Drop duplicate Beacon Report request bc62a84 qcacld-3.0: rate limit scan failure logs 0196899 qcacld-3.0: Check for NULL after taking lock 6e97b18 qcacld-3.0: Add debugfs support for roam scan stats .................... Bug: 77606671 Test: Passed Regression Test Change-Id: I06757c61e4163513d4ab46f786b85a966b15aba3 Signed-off-by: Srinivas Girigowda <sgirigow@codeaurora.org>
Diffstat (limited to 'core/wma/src/wma_mgmt.c')
-rw-r--r--core/wma/src/wma_mgmt.c27
1 files changed, 7 insertions, 20 deletions
diff --git a/core/wma/src/wma_mgmt.c b/core/wma/src/wma_mgmt.c
index a9b35c881f..ea1b718d35 100644
--- a/core/wma/src/wma_mgmt.c
+++ b/core/wma/src/wma_mgmt.c
@@ -1325,12 +1325,12 @@ QDF_STATUS wma_send_peer_assoc(tp_wma_handle wma,
intr->nss = cmd->peer_nss;
cmd->peer_phymode = phymode;
- WMA_LOGD("%s: vdev_id %d associd %d peer_flags %x rate_caps %x peer_caps %x",
- __func__, cmd->vdev_id, cmd->peer_associd, cmd->peer_flags,
+ WMA_LOGI("%s: vdev_id %d associd %d peer_flags %x nss %d phymode %d ht_caps %x",
+ __func__, cmd->vdev_id, cmd->peer_associd, cmd->peer_flags,
+ cmd->peer_nss, cmd->peer_phymode, cmd->peer_ht_caps);
+ WMA_LOGD("%s:listen_intval %d max_mpdu %d rate_caps %x peer_caps %x",
+ __func__, cmd->peer_listen_intval, cmd->peer_max_mpdu,
cmd->peer_rate_caps, cmd->peer_caps);
- WMA_LOGD("%s:listen_intval %d ht_caps %x max_mpdu %d nss %d phymode %d",
- __func__, cmd->peer_listen_intval, cmd->peer_ht_caps,
- cmd->peer_max_mpdu, cmd->peer_nss, cmd->peer_phymode);
WMA_LOGD("%s: peer_mpdu_density %d encr_type %d cmd->peer_vht_caps %x",
__func__, cmd->peer_mpdu_density, params->encryptType,
cmd->peer_vht_caps);
@@ -2898,7 +2898,6 @@ void wma_process_update_opmode(tp_wma_handle wma_handle,
tUpdateVHTOpMode *update_vht_opmode)
{
struct wma_txrx_node *iface;
- uint16_t chan_mode;
wmi_channel_width ch_width;
@@ -2914,24 +2913,12 @@ void wma_process_update_opmode(tp_wma_handle wma_handle,
return;
}
- chan_mode = wma_chan_phy_mode(cds_freq_to_chan(iface->mhz),
- update_vht_opmode->opMode,
- update_vht_opmode->dot11_mode);
- if (MODE_UNKNOWN == chan_mode)
- return;
-
- WMA_LOGD("%s: opMode = %d, chanMode = %d, dot11mode = %d ",
- __func__,
- update_vht_opmode->opMode, chan_mode,
- update_vht_opmode->dot11_mode);
+ WMA_LOGD("%s: opMode = %d, current_ch_width: %d", __func__,
+ update_vht_opmode->opMode, ch_width);
wma_set_peer_param(wma_handle, update_vht_opmode->peer_mac,
WMI_PEER_CHWIDTH, update_vht_opmode->opMode,
update_vht_opmode->smesessionId);
-
- wma_set_peer_param(wma_handle, update_vht_opmode->peer_mac,
- WMI_PEER_PHYMODE, chan_mode,
- update_vht_opmode->smesessionId);
}
/**