android_kernel_xiaomi_sm8350/core
Abhinav Kumar 2b431b6376 qcacld-3.0: Fix false alarm scan reject issue
Currently, the scan is rejected if roaming in progress on STA or
if a client of SAP is in the middle of WPS/EAPOL exchange. And
it uses last_scan_reject_timestamp and reset scan_reject_cnt to
avoid scan stuck issue. last_scan_reject_timestamp and
scan_reject_cnt reset when the next scan issues successfully.

If:
1\ Scan happens and roaming is in progress on STA or client of SAP is
   in the middle of the WPS/EAPOL exchange. Initialized
   last_scan_reject_timestamp and reset scan_reject_cnt;
2\ Maybe no scan happens for a long time;
3\ scan happens but unfortunately, a connection is in progress again.
Then false alarm may happen because the time has already expired and
scan_reject_cnt >= 15.

Reset scan reject params after successful set key and successful roam.

Change-Id: I1197e66483e3bc8da38d6bcbc8b8c32b193ef6c9
CRs-Fixed: 2418658
2019-03-19 07:59:12 -07:00
..
bmi qcacld-3.0: Fix SSR failure on Rome 2019-03-03 22:24:50 -08:00
cds qcacld-3.0: Use converged qcacmn macros (part 2) 2019-03-19 02:24:27 -07:00
dp qcacld-3.0: Update Arp Stats for both Tx and Rx Arp Packets 2019-03-14 13:01:20 -07:00
hdd qcacld-3.0: Fix false alarm scan reject issue 2019-03-19 07:59:12 -07:00
mac Release 5.2.0.126L 2019-03-19 02:24:42 -07:00
pld qcacld-3.0: Collect ramdump before kernel panic 2019-03-18 23:55:43 -07:00
sap qcacld-3.0: Use converged qcacmn macros (part 1) 2019-03-19 02:24:23 -07:00
sme qcacld-3.0: Code refine for 4 ini items 2019-03-19 02:24:41 -07:00
wma qcacld-3.0: Move STA vdev to UP state after add sta is success 2019-03-19 02:24:32 -07:00