android_kernel_motorola_sm6375/components
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Srinivas Dasari b24bdd3f73 qcacld-3.0: Consider NAN enabling also as connection in progress
There is a race condition while handling the below scenario,
1. NAN enable request is received from framework.
2. Policy mgr opportunistic timer expired and set hw mode
   initiated to Single MAC mode in scheduler thread at
   the same time

As the opportunistic timer handler doesn't have any info if
NAN enable initiated in DBS mode, it's configuring the hw
mode to Single Mac Mode just before NAN enable request is sent
to firmware. So the NAN enable request is sent to firmware in
Single Mac Mode which is not allowed by firmware.

NAN enable/disable is also similar to connection in progress
status in case of STA. So provide NAN enable/disable status
through hdd_is_connection_in_progress() to the opportunistic
timer handler. Opportunistic timer handler restarts the timer as
connection(NAN enable/disable) is in progress.

Also set hw_mode_change_in_progress before checking the
connection progress status. This is to avoid a possible race in
the below scenario,
1. NAN-enable sets the state but scheduler thread had read the
   state just before that
2. NAN-enable read the hw_mode_change_in_progress just
   before it gets set by scheduler thread.

Change-Id: I1a184c84520deb3f6ad1ec010a0fdefda96a5364
CRs-Fixed: 2566841
2019-12-01 17:39:45 -08:00
..
action_oui qcacld-3.0: Set 5G band capability bit in gActionOUIConnect1x1 ini 2019-11-18 02:29:15 -08:00
blacklist_mgr
cfg
cmn_services/policy_mgr qcacld-3.0: Fix Memory leak sta_ap_intf_check_work_info 2019-11-27 04:16:41 -08:00
cp_stats/dispatcher/inc
disa
dsc
fw_offload qcacld-3.0: Rectify max values for TSF pin inis 2019-11-22 02:22:03 -08:00
interop_issues_ap
ipa qcacld-3.0: cdp: Converge cdp_ipa_ops 2019-11-21 06:12:04 -08:00
mlme qcacld-3.0: Refine wma_get_caps_for_phyidx_hwmode 2019-11-26 22:00:17 -08:00
nan qcacld-3.0: Consider NAN enabling also as connection in progress 2019-12-01 17:39:45 -08:00
ocb qcacld-3.0: cdp: Convergence of cdp_ocb_ops 2019-11-11 23:07:52 -08:00
p2p qcacld-3.0: Cleanup tx context if cancel mgmt tx 2019-11-19 01:45:36 -08:00
pmo qcacld-3.0: Add checks to NS and ARP offload requests 2019-11-22 05:35:35 -08:00
target_if
tdls qcacld-3.0: Replace sme_session_id with vdev_id 2019-11-22 07:12:45 -08:00