android_kernel_xiaomi_sm8350/core/sme/inc
Pragaspathi Thilagaraj 3551caa95b qcacld-3.0: Fix error handling in eWNI_SME_ADD_STA_SELF_RSP
When peer creation fails in wma_create_peer, vdev delete is sent
to the fw and then eWNI_SME_ADD_STA_SELF_RSP is sent to sme.
Here three error cases needs to be handled:
1. The vdev deletion has happened, but the cdp_detach_peer is
not done. So the data path peer remains. Also the vdev_active
flag that was set after vdev creation was not unset.
2. The eWNI_SME_ADD_STA_SELF_RSP msg handler
csr_process_add_sta_session_rsp invokes csr_roam_session_opened
which signals HDD that vdev is created successfully and hdd
calls hdd_vdev_ready and vdev related parameter set commands are
sent to FW for the deleted vdev.
3. Vdev delete is not sent for objmgr peer creation failure in
case of VDEV_TYPE_STA and release vdev object ref count.

Add cdp_vdev_detach() calls during error case and set the
vdev_active flag to false. Handle releasing vdev object ref
count in all needed error case flows.
Propagate the error in wma_vdev_attach() through
csr_roam_session_opened() to HDD and abort the vdev create.

Change-Id: Iec97122d011098fae7ae2a59864fbe8ca8a0980e
CRs-Fixed: 2322212
2018-10-01 09:24:20 +05:30
..
csr_api.h qcacld-3.0: Fix error handling in eWNI_SME_ADD_STA_SELF_RSP 2018-10-01 09:24:20 +05:30
csr_internal.h qcacld-3.0: Add CFG/INI items to mlme component 2018-09-28 19:01:39 -07:00
csr_link_list.h qcacld-3.0: Remove command debug support from tDblLinkList 2018-06-28 16:38:20 -07:00
csr_neighbor_roam.h qcacld-3.0: Apply mlme lfr configuraions 2018-09-18 12:49:00 -07:00
csr_support.h qcacld-3.0: Fix csr_get_parsed_bss_description_ies() context param 2018-06-08 14:26:28 -07:00
nan_api.h qcacld-3.0: Refine the NAN Event callback API 2018-07-14 03:34:00 -07:00
sme_api.h qcacld-3.0: Check SME connection status before issuing reassoc 2018-09-28 01:21:15 -07:00
sme_ft_api.h qcacld-3.0: sme: Remove legacy markings 2018-04-24 14:48:34 -07:00
sme_inside.h qcacld-3.0: Serialize the command eSmeCommandDelStaSession 2018-07-26 15:36:53 -07:00
sme_internal.h qcacld-3.0: Featurize P2P Listen Offload 2018-09-06 01:41:49 -07:00
sme_nan_datapath.h qcacld-3.0: sme: Remove legacy markings 2018-04-24 14:48:34 -07:00
sme_power_save_api.h qcacld-3.0: Remove obsolete code in SME QOS module 2018-06-28 22:28:10 -07:00
sme_power_save.h qcacld-3.0: Replace MAX_SME_SESSIONS macro to SIR_MAX_SUPPORTED_BSS 2018-08-07 02:19:15 -07:00
sme_qos_api.h qcacld-3.0: Fix sme_qos_is_ts_info_ack_policy_valid() param 2018-06-29 09:25:28 -07:00
sme_qos_internal.h qcacld-3.0: Remove obsolete SME QOS event 2018-06-28 22:28:05 -07:00
sme_rrm_api.h qcacld-3.0: sme: Remove legacy markings 2018-04-24 14:48:34 -07:00
sme_rrm_internal.h qcacld-3.0: sme: Remove legacy markings 2018-04-24 14:48:34 -07:00
sme_trace.h qcacld-3.0: sme: Remove legacy markings 2018-04-24 14:48:34 -07:00
wlan_ps_wow_diag.h qcacld-3.0: sme: Remove legacy markings 2018-04-24 14:48:34 -07:00