mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 01:01:56 -04:00
qcacld-3.0: Update params to PE session entry on roam
On roam, obss scan params, sta ext capabilites and qos map set are not updated to pe session entry before returning from lim_process_assoc_rsp_frame. Fix is to copy QoS map set, update obss scan params and sta ext capabilities in PE session entry before return. Change-Id: Iad35491c04452b6d459dde94713fc9c627c098e1 CRs-Fixed: 2007784
This commit is contained in:
parent
5bba956985
commit
58bbcf8d91
1 changed files with 14 additions and 11 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2011-2016 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2011-2017 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
|
||||
*
|
||||
|
|
@ -853,6 +853,17 @@ lim_process_assoc_rsp_frame(tpAniSirGlobal mac_ctx,
|
|||
return;
|
||||
}
|
||||
}
|
||||
|
||||
if (assoc_rsp->QosMapSet.present)
|
||||
qdf_mem_copy(&session_entry->QosMapSet,
|
||||
&assoc_rsp->QosMapSet, sizeof(tSirQosMapSet));
|
||||
else
|
||||
qdf_mem_zero(&session_entry->QosMapSet, sizeof(tSirQosMapSet));
|
||||
|
||||
if (assoc_rsp->obss_scanparams.present)
|
||||
lim_update_obss_scanparams(session_entry,
|
||||
&assoc_rsp->obss_scanparams);
|
||||
|
||||
if (subtype == LIM_REASSOC) {
|
||||
lim_log
|
||||
(mac_ctx, LOG1, FL("Successfully Reassociated with BSS"));
|
||||
|
|
@ -900,6 +911,8 @@ lim_process_assoc_rsp_frame(tpAniSirGlobal mac_ctx,
|
|||
lim_log(mac_ctx, LOG1, FL("Sending self sta"));
|
||||
lim_update_assoc_sta_datas(mac_ctx, sta_ds, assoc_rsp,
|
||||
session_entry);
|
||||
lim_update_stads_ext_cap(mac_ctx, session_entry,
|
||||
assoc_rsp, sta_ds);
|
||||
/* Store assigned AID for TIM processing */
|
||||
session_entry->limAID = assoc_rsp->aid & 0x3FFF;
|
||||
/* Downgrade the EDCA parameters if needed */
|
||||
|
|
@ -1019,16 +1032,6 @@ lim_process_assoc_rsp_frame(tpAniSirGlobal mac_ctx,
|
|||
lim_diag_event_report(mac_ctx, WLAN_PE_DIAG_CONNECTED, session_entry,
|
||||
eSIR_SUCCESS, eSIR_SUCCESS);
|
||||
#endif
|
||||
if (assoc_rsp->obss_scanparams.present)
|
||||
lim_update_obss_scanparams(session_entry,
|
||||
&assoc_rsp->obss_scanparams);
|
||||
|
||||
if (assoc_rsp->QosMapSet.present)
|
||||
qdf_mem_copy(&session_entry->QosMapSet,
|
||||
&assoc_rsp->QosMapSet, sizeof(tSirQosMapSet));
|
||||
else
|
||||
qdf_mem_zero(&session_entry->QosMapSet, sizeof(tSirQosMapSet));
|
||||
|
||||
lim_update_stads_ext_cap(mac_ctx, session_entry, assoc_rsp, sta_ds);
|
||||
/* Update the BSS Entry, this entry was added during preassoc. */
|
||||
if (eSIR_SUCCESS == lim_sta_send_add_bss(mac_ctx, assoc_rsp,
|
||||
|
|
|
|||
Loading…
Reference in a new issue