android_kernel_xiaomi_sm8350/core/hdd/inc
Ashish Kumar Dhanotiya 2ef479048d qcacld-3.0: Clear oldest cached sta information
Currently host is caching all the connected sta info
in case of SAP, once the sta count reaches to MAX, below
mentioned issues occurs:
1. Driver can not cache the information of newly connected
   stations.
2. Some of the info is cached at the time of connection while
   remaining info is cached during disconnection. In the
   disconnect path driver tries to cache some of the info
   such mc_bc count, disconnect reason code, since driver can't
   cache anymore info, it does not find the current station which
   is getting disconnected in cache sta info structure leading to
   an error, and driver is returning an error without completing
   the wait for disconnect event which is resulting in timeout.
Since sta_disconnect comes with rtnl_held, any other process
is not able to get the rtnl_lock until this timeout occurs.

To address this issue below mentioned two measures taken care:
Clear the oldest cached sta information and save the newly connected
station's information.
In the disconnect path, do not return any error and simply proceed
with disconnection as failure to cache the information of sta
should not stop the disconnection process.

Change-Id: Ia955a6774033fdfa91ff1fa7c8832b3ec7e8e1a0
CRs-Fixed: 2333075
2018-10-24 08:17:33 -07:00
..
hdd_config.h qcacld-3.0: Relocate HDD ini items 2018-10-04 22:52:43 -07:00
hdd_dp_cfg.h qcacld-3.0: Relocate HDD DP ini items 2018-10-05 19:57:56 -07:00
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: Move gEnableStaConnectionIn5Ghz from HDD to Plcy manager 2018-10-17 14:28:02 -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 qcacld-3.0: Add new data stall detection module in hdd 2017-10-06 12:27:29 -07:00
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: Clear oldest cached sta information 2018-10-24 08:17:33 -07:00
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 qcacld-3.0: Fix wlan module loading issue 2017-10-17 05:05:26 -07:00
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: expose TSF to user space by file system on Vipertooth 2018-10-13 15:23:10 -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: Relocate HDD DP ini items 2018-10-05 19:57:56 -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