android_kernel_xiaomi_sm8350/core
kaliu 154d789744 qcacld-3.0: eSmeCommandDelStaSession stuck in smeCmdActiveList
qcacld-2.0 to qcacld-3.0 propagation.

1.Use iw tool to let dut connect to remote ap, dut is working
on wlan0.
2.At same time, use hostapd to start sap also on interface
wlan0.

In item1, before connect to ap, dut will do an internal scan
to search ap, if scan result matched configured ap profile,
dut trys to connect to ap.

In item2, when starting sap, found it's sta mode it will try
to disconnect dut with remote ap and close sta session.

  #1 If ap start action happened in item1's scan period, trying
  disconnecting won't take effect as currently sta has not yet
  connected with remote ap.
  So after item1's scan finished, dut continues to do connection.

  #2 During closing sta session, sme issued eSmeCommandDelStaSession,
  as currently sta is doing connection, so session is in started
  status, this cause closure failed, so there is no chance to remove
  cmd in smeCmdActiveList.
  While cmd pending in smeCmdActiveList for 120s, driver issued crash.

The solution is in item1 after scan complete to check whether it's
needed to start following connection. If stop action has been issued
during scan period, then don't do the connection.

Change-Id: If632e21cb13277fba371ff1bf8df97febf856d09
CRs-Fixed: 923375
2016-02-08 15:50:38 -08:00
..
bmi qcacld-3.0: Maintain driver state in CDS 2016-02-08 15:50:38 -08:00
cdf qcacld-3.0: Clean up usage of con_mode 2016-02-08 15:50:37 -08:00
cds qcacld-3.0: Maintain driver state in CDS 2016-02-08 15:50:38 -08:00
dp qcacld-3.0: Maintain driver state in CDS 2016-02-08 15:50:38 -08:00
hdd qcacld-3.0: Convert wlan_hdd_driver_ops.c to unified logging 2016-02-08 15:50:38 -08:00
hif qcacld-3.0: Maintain driver state in CDS 2016-02-08 15:50:38 -08:00
htc qcacld-3.0: Enable emergency reaping for wmi pipe. 2015-12-28 14:20:47 -08:00
mac Release 5.0.0.156 2016-02-08 15:50:38 -08:00
sap qcacld-3.0: Clean up usage of con_mode 2016-02-08 15:50:37 -08:00
sme qcacld-3.0: eSmeCommandDelStaSession stuck in smeCmdActiveList 2016-02-08 15:50:38 -08:00
utils qcacld-3.0: Clean up usage of con_mode 2016-02-08 15:50:37 -08:00
wma qcacld-3.0: Maintain driver state in CDS 2016-02-08 15:50:38 -08:00
wmi qcacld-3.0: CL 1431762 update fw common interface files 2016-02-08 15:50:37 -08:00