android_kernel_xiaomi_sm8350/core/hdd/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
..
qc_sap_ioctl.h qcacld-3.0: Add iwpriv command to set and get BA aging timeout value 2018-08-28 14:46:24 -07:00
wlan_hdd_apf.h qcacld-3.0: Move APF context to per adapter 2018-07-06 20:31:16 -07:00
wlan_hdd_assoc.h qcacld-3.0: Add debugfs support for connect info 2018-09-06 08:54:34 -07:00
wlan_hdd_cfg.h qcacld-3.0: Add CFG/INI items to mlme component 2018-09-28 19:01:39 -07:00
wlan_hdd_conc_ut.h qcacld-3.0: hdd: Remove legacy markings 2018-04-24 14:48:31 -07:00
wlan_hdd_data_stall_detection.h
wlan_hdd_debugfs_csr.h qcacld-3.0: Add debugfs support for roam scan stats 2018-09-07 04:43:53 -07:00
wlan_hdd_debugfs_llstat.h qcacld-3.0: Increase ll_stats driver buffer size 2018-08-02 20:36:03 -07:00
wlan_hdd_debugfs.h qcacld-3.0: Add debugfs framework support for CSR 2018-09-06 08:54:31 -07:00
wlan_hdd_driver_ops.h qcacld-3.0: hdd: Remove legacy markings 2018-04-24 14:48:31 -07:00
wlan_hdd_ether.h qcacld-3.0: hdd: Remove legacy markings 2018-04-24 14:48:31 -07:00
wlan_hdd_ftm.h qcacld-3.0: hdd: Remove legacy markings 2018-04-24 14:48:31 -07:00
wlan_hdd_he.h qcacld-3.0: Remove hardcoded print message for ini parameters 2018-09-03 00:22:07 -07:00
wlan_hdd_host_offload.h qcacld-3.0: hdd: Remove legacy markings 2018-04-24 14:48:31 -07:00
wlan_hdd_includes.h qcacld-3.0: hdd: Remove legacy markings 2018-04-24 14:48:31 -07:00
wlan_hdd_ipa.h qcacld-3.0: hdd: Remove legacy markings 2018-04-24 14:48:31 -07:00
wlan_hdd_lro.h qcacld-3.0: Add support to check if LRO is enabled or not 2018-08-17 08:48:34 -07:00
wlan_hdd_main.h qcacld-3.0: Fix error handling in eWNI_SME_ADD_STA_SELF_RSP 2018-10-01 09:24:20 +05:30
wlan_hdd_misc.h qcacld-3.0: hdd: Remove legacy markings 2018-04-24 14:48:31 -07:00
wlan_hdd_nan.h qcacld-3.0: Advertise NAN support only if INI is enabled 2018-08-27 07:00:35 -07:00
wlan_hdd_napi.h qcacld-3.0: Set proper arch dependency for NAPI 2018-05-05 03:06:16 -07:00
wlan_hdd_oemdata.h qcacld-3.0: Deregister NL MSG handlers during hdd_wlan_exit 2018-06-18 16:33:16 -07:00
wlan_hdd_p2p.h qcacld-3.0: Featurize some vendor commands 2018-08-13 23:15:17 -07:00
wlan_hdd_packet_filter_api.h qcacld-3.0: Featurize WLAN_FEATURE_PACKET_FILTERING 2018-06-15 21:31:09 -07:00
wlan_hdd_packet_filter_rules.h
wlan_hdd_power.h qcacld-3.0: Featurize WLAN_NS_OFFLOAD 2018-07-13 10:36:11 -07:00
wlan_hdd_regulatory.h qcacld-3.0: Send regulatory sync event for self managed reg 2018-06-14 02:56:04 -07:00
wlan_hdd_softap_tx_rx.h qcacld-3.0: Support for DP RX Threads 2018-08-24 18:35:32 -07:00
wlan_hdd_spectralscan.h qcacld-3.0: Deregister NL MSG handlers during hdd_wlan_exit 2018-06-18 16:33:16 -07:00
wlan_hdd_sysfs.h qcacld-3.0: Define macro WLAN_SYSFS for feature sysfs interface 2018-08-22 07:46:43 -07:00
wlan_hdd_tdls.h qcacld-3.0: Configure the tdls offchannel params through IOCTL 2018-09-05 18:11:23 -07:00
wlan_hdd_trace.h qcacld-3.0: Add mtrace logging for P2P module 2018-09-11 12:01:40 -07:00
wlan_hdd_tsf.h qcacld-3.0: hdd: Remove legacy markings 2018-04-24 14:48:31 -07:00
wlan_hdd_twt.h qcacld-3.0: Remove hardcoded print message for ini parameters 2018-09-03 00:22:07 -07:00
wlan_hdd_tx_rx.h qcacld-3.0: Support for DP RX Threads 2018-08-24 18:35:32 -07:00
wlan_hdd_wext.h qcacld-3.0: Featurize WEXT support 2018-07-03 22:04:46 -07:00
wlan_hdd_wmm.h qcacld-3.0: hdd: Remove legacy markings 2018-04-24 14:48:31 -07:00
wlan_hdd_wowl.h qcacld-3.0: Use PMO macro from public head files 2018-05-31 22:30:49 -07:00