Commit Graph

20712 Commits

Author SHA1 Message Date
snandini
6c380cc932 Release 5.2.0.202C
Release 5.2.0.202C

Change-Id: I05b561629271bd9fc4df0c911a8e863a820210be
CRs-Fixed: 774533
2020-09-11 13:55:31 -07:00
Srinivas Dasari
6cc76d41ab qcacld-3.0: Cleanup all NDPs as part of NAN disable
NDPs can exist on an NDI only when the NAN discovery is active.
Currently, firmware sends NDP_END indication for all NDPs when NAN
is disabled. Host driver removes the NDI entry from the policy mgr
based on these NDP_END indications. But firmware might miss to send
the NDP_END indication in some cases though the NDPs are deleted
in firmware. This leads to stale NDI entries in the policy mgr and
it prevents STA connections as NDI+STA without NAN discovery is not
a valid concurrency.
Host driver can remove all NDPs before sending NAN disable request
to firmware to avoid this. This is a blocking call in driver and
wait for the NDP_HOST_UPDATE event from firmware. Cleanup the policy
mgr entries in timeout case as well to avoid further failures due
to unsupported concurrency.

Change-Id: I8df905b7ae4cfe5dfb5affe5b6a3fd478851a453
CRs-Fixed: 2774329
2020-09-11 13:55:31 -07:00
snandini
c7ab3145b8 Release 5.2.0.202B
Release 5.2.0.202B

Change-Id: I67574319800c706ae3a5f9a4390b668c69c07a93
CRs-Fixed: 774533
2020-09-10 23:19:18 -07:00
Manikanta Pubbisetty
7da5e88fc2 qcacld-3.0: add debug stats for REO ID mismatch
Add statistics if the packets of the flow are coming on
a different REO than the one configured. This would help
in debugging the race conditions where the packets of the
same flow arrive on different REO rings.

Change-Id: Ifc52dd595b7e308d8a0c233768015af45f485b15
CRs-Fixed: 2770886
2020-09-10 23:19:17 -07:00
nakul kachhwaha
af7e67eee5 qcacld-3.0: Schedule autobmps timer for open security
Auto BMPS timer is not running for STA, connected
using wpa_cli in open mode. This will lead STA not
entering in power save mode.
Running auto bmps timer for station connected via
CLI in Open mode after association completion.

Change-Id: I38ac5f89c3b9bddf6f25800be5979698f6a59de7
CRs-Fixed: 2765315
2020-09-10 23:19:12 -07:00
snandini
2e9d0897b9 Release 5.2.0.202A
Release 5.2.0.202A

Change-Id: I5f51463a40290f4073638d9f5946850a3d0095fd
CRs-Fixed: 774533
2020-09-10 21:00:42 -07:00
Mohit Khanna
8d17532e58 qcacld-3.0: Add more DP rings to prealloc
Add RXDMA_DST, SW2WBM_RELEASE and RXDMA_BUF rings to DP prealloc
infrastructure.

CRs-Fixed: 2747089
Change-Id: Ic744fde5b5ebccc6b344e60722d03a0da02c5cf6
2020-09-10 21:00:42 -07:00
Mohit Khanna
e3d78d5d9d qcacld-3.0: Enable DP_MEM_PRE_ALLOC flag
Add support for DP SRNG consistent memory pre-alloc.

Change-Id: I867ff901aa6d26f86b16167fb3955096d318d61c
CRs-Fixed: 2740424
2020-09-10 21:00:38 -07:00
Jinwei Chen
9406c02ec4 qcacld-3.0: Add support to pre-allocate DP SRNG mem
Add logic to pre-allocate DP consistent memory and reuse later.
Only SRNG memory is preallocated. This is useful to prevent memory
allocation failures due to fragmentation over cycles of WLAN ON/OFF.

Change-Id: I1f814f9f18d482eb5f55e0b157606d1792e665f8
CRs-Fixed: 2740424
2020-09-10 21:00:33 -07:00
CNSS_WLAN Service
db7393e971 Merge "Release 5.2.0.202" into wlan-cld3.driver.lnx.2.0 2020-09-09 23:45:21 -07:00
CNSS_WLAN Service
33ec8eeb00 Merge "qcacld-3.0: Send install key command response for open mode connection" into wlan-cld3.driver.lnx.2.0 2020-09-09 23:45:20 -07:00
CNSS_WLAN Service
004bbfdab0 Merge "qcacld-3.0: Fix memory leak for IPA config allocation" into wlan-cld3.driver.lnx.2.0 2020-09-09 23:45:19 -07:00
CNSS_WLAN Service
413650dc16 Merge "Release 5.2.0.201Z" into wlan-cld3.driver.lnx.2.0 2020-09-09 23:30:20 -07:00
CNSS_WLAN Service
deca2aa6c1 Merge "qcacld-3.0: Change ucfg tdls API as wrapper to wlan API" into wlan-cld3.driver.lnx.2.0 2020-09-09 23:30:09 -07:00
CNSS_WLAN Service
7c12b30567 Merge "Release 5.2.0.201Y" into wlan-cld3.driver.lnx.2.0 2020-09-09 23:30:08 -07:00
CNSS_WLAN Service
8007d3c91b Merge "qcacld-3.0: use ucfg api to get full channel list" into wlan-cld3.driver.lnx.2.0 2020-09-09 23:30:07 -07:00
snandini
64c13b94ef Release 5.2.0.202
Release 5.2.0.202

Change-Id: Idbba2210382a4dd6ab84f1ba18d9f527359547dc
CRs-Fixed: 774533
2020-09-09 22:59:22 -07:00
Pragaspathi Thilagaraj
b3fb8f8338 qcacld-3.0: Send install key command response for open mode connection
Currently for Open mode, the install key command is not allowed
but usually set key with 0 length is sent in open mode and in
set key response path the OBSS scan is configured to firmware.

So send dummy response for install key command to go for open
mode connection.

Change-Id: Ia3665ca018114bbf354b8c3138a7c4d81f7f9707
CRs-Fixed: 2769414
2020-09-09 22:59:22 -07:00
Yu Tian
4cc1f3808b qcacld-3.0: Fix memory leak for IPA config allocation
Memory allocated in ipa_config_mem_alloc during
wlan startup, but it is not freed in error handler
path. Add ipa config free in error handler path.

Change-Id: Icc86a9c65220f86897481107e8d81cfd87058fa2
CRs-Fixed: 2770385
2020-09-09 22:59:18 -07:00
snandini
3bbdcd04f2 Release 5.2.0.201Z
Release 5.2.0.201Z

Change-Id: I3cc552ca1ce5e8dbbb102d1c9af042440282511c
CRs-Fixed: 774533
2020-09-09 20:47:21 -07:00
Gururaj Pandurangi
5202fa8547 qcacld-3.0: Change ucfg tdls API as wrapper to wlan API
Change ucfg_tdls_notify_connect_failure() API as a
wrapper to a new API wlan_tdls_notify_connect_failure()
which in turn calls the core API.

Change-Id: I998669f9c829cb91e21b359ba794f396214854e2
CRs-Fixed: 2767682
2020-09-09 20:47:20 -07:00
CNSS_WLAN Service
eb061daa0c Merge "Release 5.2.0.201X" into wlan-cld3.driver.lnx.2.0 2020-09-09 18:53:24 -07:00
CNSS_WLAN Service
6242d6615f Merge "qcacld-3.0: Add disconnect changes to interface mgr" into wlan-cld3.driver.lnx.2.0 2020-09-09 18:53:22 -07:00
CNSS_WLAN Service
a754b31818 Merge "qcacld-3.0: Add start/stop bss changes in interface mgr" into wlan-cld3.driver.lnx.2.0 2020-09-09 18:53:21 -07:00
CNSS_WLAN Service
931ff345e8 Merge "qcacld-3.0: Register wma module to qdf trace" into wlan-cld3.driver.lnx.2.0 2020-09-09 18:53:20 -07:00
CNSS_WLAN Service
80085781f4 Merge "qcacld-3.0: Change legacy macro msg types to enum msg types" into wlan-cld3.driver.lnx.2.0 2020-09-09 18:53:19 -07:00
CNSS_WLAN Service
5989174de9 Merge "Release 5.2.0.201W" into wlan-cld3.driver.lnx.2.0 2020-09-09 18:53:17 -07:00
CNSS_WLAN Service
867f61360f Merge "qcacld-3.0: Use objmgr api to get the vdev for pmo" into wlan-cld3.driver.lnx.2.0 2020-09-09 18:53:16 -07:00
CNSS_WLAN Service
f79421f725 Merge "qcacld-3.0: Print periodic stats only if roaming not in progress" into wlan-cld3.driver.lnx.2.0 2020-09-09 18:53:15 -07:00
CNSS_WLAN Service
a6f51e777f Merge "qcacld-3.0: fix improper data rate in rtap header in monitor mode" into wlan-cld3.driver.lnx.2.0 2020-09-09 18:53:13 -07:00
snandini
d146edd331 Release 5.2.0.201Y
Release 5.2.0.201Y

Change-Id: Iefb25665956e1f7683dd7410bfc9b6c6dadc71cc
CRs-Fixed: 774533
2020-09-09 18:35:52 -07:00
Yu Wang
47326c4971 qcacld-3.0: use ucfg api to get full channel list
Remove band dependent code in iw_get_channel_list, use
existing ucfg api ucfg_reg_get_current_chan_list to get
the current channel list.

CRs-Fixed: 2773016
Change-Id: Ie650620476a35852456d91363cc7360cb1549f40
2020-09-09 18:35:52 -07:00
snandini
19db11fc17 Release 5.2.0.201X
Release 5.2.0.201X

Change-Id: I64bc57b6c0e208ec7d7f0de1e9a0a2273782e4df
CRs-Fixed: 774533
2020-09-09 16:19:50 -07:00
Lincoln Tran
49f4bf7e0d qcacld-3.0: Add disconnect changes to interface mgr
Add disconnect start and disconnect complete event handlers to
the interface manager.
Add disable roaming, enable roaming on connnected STA, and
enable roaming after P2P disconnect APIs.

This change is part of the connection manager effort.

Change-Id: Ib68b9ef9ff5b6541d7393bfbe6332a68b17bd587
CRs-fixed: 2760090
2020-09-09 16:19:49 -07:00
Amruta Kulkarni
a7c313b997 qcacld-3.0: Add start/stop bss changes in interface mgr
- Add start/stop bss event processing
- Add WLAN_INTERFACE_IF_MGR flag

Change-Id: I472a4534ee7bf95a10058595c85ec89eaf411670
CRs-Fixed: 2759981
2020-09-09 16:19:45 -07:00
Ashish Kumar Dhanotiya
cef57d4f47 qcacld-3.0: Register wma module to qdf trace
WMA module wants to insert recored in the global qdf trace
record table but qdf trace does not allow to insert the trace
record for a module if that module is not registered with the
qdf trace.

To address above issue, register WMA module with the qdf trace.

Change-Id: I5520beaacdb3aeb57c2f46a36766b4f9a73a4e0c
CRs-Fixed: 2719693
2020-09-09 16:19:41 -07:00
Ashish Kumar Dhanotiya
a245fd3dc4 qcacld-3.0: Change legacy macro msg types to enum msg types
Driver maintains a global list of messages (qdf trace) which
different modules posts to each other. If required, this list
can be processed with the help of post processing cmm script.

Currently some of the message types are defined as macros and
these macros can not be used directly in the post processing
cmm script. Enums are much more easy to process with the help
of the cmm script.

To address above issue below fixes are done with this change:
1. Assign enum name to pe message types, lim message types,
   sme message type.
2. Change MLM message type from macros to enum type.
3. Change WMA message type from macros to enum type.

Change-Id: Ibd91a5371457a542cd141f680dda44a48b6f7d98
CRs-Fixed: 2719698
2020-09-09 16:19:37 -07:00
snandini
a169aaffa9 Release 5.2.0.201W
Release 5.2.0.201W

Change-Id: Ic85189b78ade80c2bf894a1ae345298156f18e92
CRs-Fixed: 774533
2020-09-09 14:03:46 -07:00
Ashish Kumar Dhanotiya
95e385cfe1 qcacld-3.0: Use objmgr api to get the vdev for pmo
Currently pmo disable run time pm offload api gets the vdev
inside psoc obj lock but tries to take the reference of
vdev without any lock protection, in this case it is possible
that one thread gets the vdev and when it troes to get the vdev
reference some other thread deletes the vdev because if which
first thread will not be able to get the reference for the vdev
which it alreaady holds.
To address above issue use objmgr api to get the vdev.

Change-Id: I8f47515f39ace809cfe9e134fd704a2914ed3d9a
CRs-Fixed: 2769887
2020-09-09 14:03:46 -07:00
Ananya Gupta
822e4f01a2 qcacld-3.0: Print periodic stats only if roaming not in progress
Roaming is handled by scheduler thread which has lower priority
than kworker thread. Periodic stats are printed in kworker thread.
Since handling roaming is a higher priority job, skip printing
periodic stats so that scheduler thread can be given extra time
slot to process roaming.

Change-Id: I444bdf1df51da2f80111fabd84d19584bd715ae3
CRs-Fixed: 2768360
2020-09-09 14:03:43 -07:00
Vevek Venkatesan
4ad620b903 qcacld-3.0: fix improper data rate in rtap header in monitor mode
In ht monitor mode, mcs data rate is not correctly populated in
radiotap header, so if ht_flag is set, assign mcs value to ht_mcs
to fix it.

Change-Id: If428275671068b31ae1367244c62bc4cac25a2af
CRs-Fixed: 2772405
2020-09-09 14:03:39 -07:00
snandini
7e6847f4a2 Release 5.2.0.201W
Release 5.2.0.201W

Change-Id: Ibaae462b4393ea346450b315fe0a01bb748aeb9d
CRs-Fixed: 774533
2020-09-09 09:58:29 -07:00
Paul Zhang
c5c0bdb8cf qcacld-3.0: Add nla policy for PARAM_BSSID_PARAMS
Currently, the QCA_WLAN_VENDOR_ATTR_ROAMING_PARAM_SET_BSSID_PARAMS
attribute is not present in the nla policy structure.

Change-Id: Ibbbd8bb7cf9cb3a814564cb9022795e34a5a11b0
CRs-Fixed: 2755706
2020-09-09 09:58:29 -07:00
snandini
01efc766da Release 5.2.0.201V
Release 5.2.0.201V

Change-Id: If8c7032bff06d2e30b8e947c6ec08526eb8c37ef
CRs-Fixed: 774533
2020-09-09 07:51:45 -07:00
Yu Wang
e513fc5add qcacld-3.0: disallow STA_P2PGO MCC on 5G DFS channel
If STA is on 5G channel, starting P2P GO on a different 5G DFS channel
should be rejected, but it's not, due to it didn't check the P2P GO
specific configurations, but only check the one for SAP.

To fix it, use P2P GO specific API to check the force scc status
for P2P GO mode.

CRs-Fixed: 2769182
Change-Id: Ibb3bb5e6e7f8a64e4483bdef863ce1f4294da9eb
2020-09-09 07:51:45 -07:00
Rajeev Kumar
a3e85cc8b2 qcacld-3.0: Move HIF RTPM put before validate context check in cfg80211 resume
If FW asserts before cfg80211 resume, cfg80211 resume will skip calling RTPM
put, which finally results a usage count mismatch. To fix it move RTPM put call
at the beginning of cfg80211 resume to make sure its always called and RTPM usage
count is in sync.

Change-Id: If0c9fbe094de16d103cd58ed4db3b08b76adb3cf
CRs-Fixed: 2728742
2020-09-09 07:51:41 -07:00
snandini
d8fa7346e3 Release 5.2.0.201U
Release 5.2.0.201U

Change-Id: Ie3b992918994d4d39949cd2392291eee654c6672
CRs-Fixed: 774533
2020-09-08 15:05:44 -07:00
Pragaspathi Thilagaraj
b1c7b3113a qcacld-3.0: Fix scan start tlv in Roam Scan mode command
In wmi_fill_rso_start_scan_tlv(), the fixed param header is
overwritten with 0. So this causes roam scan mode command to
fail.

Don't overwrite scan start fixed param in
wmi_fill_rso_start_scan_tlv(). Also add some additional debugs.

Change-Id: I8ae7053e77d5694bade7e4a84fb4028d8224354c
CRs-Fixed: 2771951
2020-09-08 15:05:44 -07:00
Utkarsh Bhatnagar
3e83c955d9 qcacld-3.0: Change RRM Beacon Scan Processing/Reporting Logic
Previous Logic:
Once a beacon report req is received, dut sta scans one channel
at a time & report immediately, then move to next channel.This
logic adds some additional delay as scan request and beacon
reporting will be done every channel.

New Logic:
Once a beacon report req is received, dut sta issue sta including
all the valid frequencies in the scan filter so that only single
scan req should be sent to FW.
After the scan is completed for all the channels, populate the
results so that it can be transmitted via beacon report.
Further, in sme_rrm_scan_request_callback, the logic to compute
valid_result was removed as even if RRM scan response is
received after roaming to different AP, the message shall be
posted to PE for rrm cleanup.

Change-Id: I48cb3106e35fb9a441a44a160a6ee6f75f64b81b
CRs-Fixed: 2770859
2020-09-08 15:05:40 -07:00
snandini
a4f5db6749 Release 5.2.0.201T
Release 5.2.0.201T

Change-Id: Iaa90e39f1953cfc6edcf751700f12410fd55bd40
CRs-Fixed: 774533
2020-09-08 06:58:06 -07:00