android_kernel_samsung_sm86.../os_if
Srinivas Dasari ed3a67f8a9 qcacld-3.0: Stop opportunistic timer for NAN cmds in HL platforms
Opportunistic timer gets triggered as soon as a DBS use case
is completed and hw_mode would be set to SMM when the
timer(5 seconds) expires.
Below is an example scenario,
1. DBS is enabled to support STA on 5GHz + SAP on 2.4GHz on
   a Helium device.
2. SAP is disabled(to enable NAN as NAN+SAP is not supported on
   HL platforms)
3. Opportunistic timer gets triggered with a timeout of 5 seconds
   as DBS is not needed anymore.
4. Once the timer expires, WMI_PDEV_SET_HW_MODE_CMDID command
   would be sent to firmware to set the hw_mode to SMM.

But if framework enables NAN immediately after disabling SAP,
firmware can't allow it as NAN is not supported in DBS mode in
Helium platforms. Thereby firmware either rejects the NAN enable
or defer it till set_hw_mode command is received(which introduces
a delay of 5 seconds as host sends it after timer expiry).

So, stop the timer and complete corresponding action when a NAN
command is received from framework to avoid this failure/delay.

Change-Id: I50521c0dd5f2314034957a0f65898c737cfe7e2e
CRs-Fixed: 2937407
2021-05-06 10:44:09 -07:00
..
coex qcacld-3.0: move component 'coex' to qcacld project 2020-11-18 14:19:13 -08:00
cp_stats/src qcacld-3.0: Add support for big data stats 2021-03-11 09:48:12 -08:00
fw_offload qcacld-3.0: add support to customize dscp-to-up map table 2020-02-06 22:44:57 -08:00
interop_issues_ap qcacld-3.0: Use WLAN_INTEROP_ISSUES_AP_ID dbg id for interop AP 2020-11-25 08:48:23 -08:00
nan qcacld-3.0: Stop opportunistic timer for NAN cmds in HL platforms 2021-05-06 10:44:09 -07:00
p2p qcacld-3.0: Don't use wlan_freq_to_chan 2021-04-20 11:42:27 -07:00
sync qcacld-3.0: Add support to cache north bound commands during SSR 2021-03-17 22:35:27 -07:00
tdls qcacld-3.0: Fix TDLS ax throughput issue 2021-03-25 18:20:27 -07:00