Commit Graph

21541 Commits

Author SHA1 Message Date
Pragaspathi Thilagaraj
ce40cd5dd8 qcacld-3.0: Don't disable btm offload for open mode connection
Currently driver disables btm offload to firmware if connected AP
supports MBO-OCE and the connection is not PMF enabled. But the
pmf will always be disabled for open mode connection, so BTM
offload is disabled with open mode MBO-OCE enabled AP always.

Check if the connection is open mode connection and allow
BTM offload config.

Change-Id: I8fe9b43c07700dca02cf7bb874e1c5c509b120f7
CRs-Fixed: 2831463
2020-12-10 17:43:31 -08:00
Rajeev Kumar
21c27f3b2e qcacld-3.0: Avoid target wake up for multiple get stats req
If get stats request has been fetched recently then avoid target
wake up for next subsequent get stats req by returning cached
station stats.

Change-Id: I3aba4fdc7966a5e9e4ff38003bb80ebd7a3178f1
CRs-Fixed: 2833838
2020-12-10 17:43:25 -08:00
Sandeep Puligilla
4acb775140 qcacld-3.0: Duplicate peer create command
Host sent peer create command to firmware
before the previous peer delete response
is received for the same client.

In failure scenario, lim is not waiting for the peer
delete response and removing the sta ds entry from
the session. If new association request is received
from same client then host is trying to send peer
create command to firmware.

Change-Id: I63fa2b3290ffc0592d2c8c12ff3a144e513dc5f2
CRs-Fixed: 2829911
2020-12-10 17:43:20 -08:00
Arun Kumar Khandavalli
c9364b98d6 qcacld-3.0: register callbacks for bus failure register dump
Whenever there is a recovery triggered, if there is a
failure in reading the bus id collect the bus specific
registers to understand the reason for the failures.
Register the callbacks for updating the reason code and register
dump.

Change-Id: I4eb5327a806691737f605d3d3c83d2c28d1fe935
CRs-Fixed: 2835341
2020-12-10 17:43:15 -08:00
snandini
8e4d35f4c5 Release 5.2.0.213S
Release 5.2.0.213S

Change-Id: Ia57ee82ddd7e2e9512981675345fc3c539d8fd64
CRs-Fixed: 774533
2020-12-10 15:45:07 -08:00
Tiger Yu
8b3cd3b4b8 qcacld-3.0: Enable athdiag live debug mode in debug version
Enable the athdiag live debug mode when CNSS2_DEBUG or SLUB_DEBUG_ON
enabled to enhance host debug.

Change-Id: I5241d60ff7e4e02acc74db312640aa299e5a356b
CRs-Fixed: 2831288
2020-12-10 15:45:07 -08:00
snandini
3dfe6c6868 Release 5.2.0.213R
Release 5.2.0.213R

Change-Id: I4053610c6386bd072a659e295e72877fec2224c9
CRs-Fixed: 774533
2020-12-10 13:37:18 -08:00
Wu Gao
67d68a5872 qcacld-3.0: Enable SMMU for IPA on SDXLEMUR
Required to enable SMMU for IPA on SDXLEMUR.

Change-Id: I0149d3e68a521c97ba417019c9485ec01b55cc01
CRs-Fixed: 2835024
2020-12-10 13:37:18 -08:00
snandini
1f3241eb67 Release 5.2.0.213Q
Release 5.2.0.213Q

Change-Id: I8ec7fd7ec9b463d380f2dc8ded594ea4f2bea3a2
CRs-Fixed: 774533
2020-12-10 10:55:13 -08:00
Mohammed Siddiq
76ca8c9fc1 qcacld-3.0: Add pld api to get PCI reg dump on SSR
Add pld api to get PCI register dump on FW crash due
to PCI bus failure.

Change-Id: Ie30edbe2c60b0e71912667491c9fadbbe92373c4
2020-12-10 10:55:12 -08:00
snandini
0523a453c5 Release 5.2.0.213P
Release 5.2.0.213P

Change-Id: If6d940cbe17143930c653844f328b1105099c778
CRs-Fixed: 774533
2020-12-10 06:47:03 -08:00
Abhinav Kumar
0e0e63194e qcacld-3.0: Update mscs action frame as per spec
Currently, Host sends classifier type and classifier
mask part of TCLAS Mask OPIE only with tag length of
2 bytes.

As per spec tag length for TCLAS Mask OPIE should be 18.
Ext Tag: TCLAS Mask
   Ext Tag Number: TCLAS Mask (89)
   Ext Tag length: 18
   Classifier Type: 4
   Classifier Mask: 0x5f
   Reserved:00000000000000000000000000000000

Fix is to add a reserved parameter in TCLAS Mask OPIE
of length 16 bytes and set it to NULL.

Change-Id: I54cd896a4ffad16581c14fc254575bcec8e6f6d7
CRs-Fixed: 2822616
2020-12-10 06:47:03 -08:00
snandini
0895775b0b Release 5.2.0.213O
Release 5.2.0.213O

Change-Id: If071066f7ff738b927c523390c8fd1e57316c491
CRs-Fixed: 774533
2020-12-09 21:56:01 -08:00
gaurank kathpalia
5028327b50 qcacld-3.0: Overide blacklist and connect to AP
Currently the connection manager queries the
blacklist manager about the action to be taken
and if all the candidates of a certain SSID are
blacklisted then the connection would be rejected.
there are various types of blacklisting, some
can be overided and some have to be strictly
followed.

Fix is to overide the blacklist candidate and
connect to it if no other candidates are suitable
for connection.

Change-Id: Id47fd214130411179d9a53005841786d6d14ce81
CRs-Fixed: 2831535
2020-12-09 21:56:00 -08:00
snandini
b8b04f1ba2 Release 5.2.0.213N
Release 5.2.0.213N

Change-Id: I80c2d5f58a8b89d68736f62783d41899cca85363
CRs-Fixed: 774533
2020-12-09 15:29:11 -08:00
Yu Wang
a79e0ec623 qcacld-3.0: reset crypto params for vdev when disconnect from AP
Reset crypto params for vdev when disconnect from AP in STA mode,
otherwise, the params may be used in the next connection, which
may result in unexpected behaviors.

Change-Id: I144f360dc53f6717ad7a2b99ed3ae7c5574557df
CRs-Fixed: 2831488
2020-12-09 15:29:11 -08:00
snandini
2e3cce578b Release 5.2.0.213M
Release 5.2.0.213M

Change-Id: I1b585a6619d6879f6a7ec951f23f1ceffa15b7ae
CRs-Fixed: 774533
2020-12-09 13:28:27 -08:00
Deeksha Gupta
2a2bc94351 qcacld-3.0: Don't allow SAP to switch to DFS channel if master mode is disable
Previously, if force SCC is enabled and Standalone SAP starts
on non-DFS channel, it starts with master mode Disable. If it
is switched to DFS channel it will switch without CAC.

As a fix, if SAP is started on non-DFS channel with force SCC,
don't allow it to switch to DFS channel if master mode is disabled.

Change-Id: I1822f67a5480d6c16fa980c9c6b262341af7c2de
CRs-Fixed: 2827237
2020-12-09 13:28:26 -08:00
snandini
bc3976e231 Release 5.2.0.213L
Release 5.2.0.213L

Change-Id: Ibc4f9e5c9e68eeffc66d472f4bc1b5ca2400af3d
CRs-Fixed: 774533
2020-12-09 03:57:12 -08:00
Abhishek Singh
7a359f0215 qcacld-3.0: Fix duplicate disconnect detection logic for STA mode
In csr_peer_mac_match_cmd() the roam command reason for STA's north
bound disconnect is not checked, thus the duplicate detection of
disconnect command in case southbound disconnect is received after
northbound disconnect doesn't work and lead to state matching in
invalid state.

Fix this by checking the STA's disconnect reasons as well.

Change-Id: I48b507c69ecc1e41d7ab7bc95b409a4e0fa55185
CRs-Fixed: 2833417
2020-12-09 03:57:12 -08:00
snandini
483a1d5bc1 Release 5.2.0.213K
Release 5.2.0.213K

Change-Id: Ifab4b5229dd411a4080fcb54f9371ae4dadcba9c
CRs-Fixed: 774533
2020-12-08 19:28:28 -08:00
Srinivas Girigowda
50a57ae9f7 qcacld-3.0: wma: Remove logs for wma_handle checks
wma_validate_handle() function already takes care of logging the
caller function name in case of any error.
Hence there is no need to add the error log again.
Getting rid of these unnecessary logs reduces driver memory footprint.

Change-Id: I65f87eee08ad87579ea3cdeab0a6db2c2db02fb7
CRs-Fixed: 2833851
2020-12-08 19:28:28 -08:00
snandini
a0f2a88d76 Release 5.2.0.213J
Release 5.2.0.213J

Change-Id: I682ae4a3da44ec0b1e066806693bc0b19cad77b1
CRs-Fixed: 774533
2020-12-08 09:21:27 -08:00
sheenam monga
dc64913842 qcacld-3.0: CSA count offload to fw in case of AP/P2PGO
Currently, host decrements beacon switch count and sends
channel switch frame every time until count becomes 0 this
may introduce sync issue between fw and host in case fw has
not sent beacons but host decremented switch count due to
timeout and sent new channel switch frame or vdev restart in
case count beacomes 0.

Fix is to offload CSA to fw to avoid any sync issue.

Change-Id: Idb48d419ec4117ff39cb823ca8af75d7a0abc3c0
CRs-Fixed: 2828045
2020-12-08 09:21:26 -08:00
snandini
faadf1f720 Release 5.2.0.213I
Release 5.2.0.213I

Change-Id: I24a97034521b3716bb25b75f30a2d7563c25e8de
CRs-Fixed: 774533
2020-12-08 07:21:23 -08:00
Gururaj Pandurangi
3eede78333 qcacld-3.0: Add support to view peer RSSI value in auth/assoc req pkt
Add support to view station's peer RSSI value in auth and assoc request
packet by extracting rssi from probe request and passing it down to
FW in the auth request and assoc request mgmt frames.

Change-Id: I980427756ef542d054221d52693e3c89f307a658
CRs-Fixed: 2832977
2020-12-08 07:21:23 -08:00
snandini
c9f0b3bdac Release 5.2.0.213H
Release 5.2.0.213H

Change-Id: I9fa65c77862853a043a08b1e25e095e9d04e0fbb
CRs-Fixed: 774533
2020-12-08 05:22:28 -08:00
gaurank kathpalia
81465cfdd5 qcacld-3.0: Add logic to create bss peer from connection manager
Add logic to create bss peer from connection manager.

Change-Id: Ia150669b2bbc55ddf722a92617de2a13b7357cb5
CRs-Fixed: 2832727
2020-12-08 05:22:28 -08:00
snandini
2747a1523f Release 5.2.0.213G
Release 5.2.0.213G

Change-Id: Ia5cc38604a12d16f48d55fbadc8576c69f434eb4
CRs-Fixed: 774533
2020-12-08 03:20:50 -08:00
Jianmin Zhu
08c29ebcd3 qcacld-3.0: Avoid scan on interface of monitor mode
STA+Monitor mode concurrency is supported,  but scan is not permitted
on interface of monitor mode.

Change-Id: I2e15006e40f1fbab96bfa0a6af8e605b5736f761
CRs-Fixed: 2831828
2020-12-08 03:20:50 -08:00
snandini
46591f2786 Release 5.2.0.213F
Release 5.2.0.213F

Change-Id: I9613daf75ce606e04837edc9322f0ea688b80d94
CRs-Fixed: 774533
2020-12-08 01:12:19 -08:00
Ananya Gupta
d5395e3340 qcacld-3.0: Pre-allocate pdev context
Pre-allocate pdev context as size (53KB) exceeds threshold
of dynamic allocation (4KB).

Change-Id: Ib2adfc556ca1096ab7a800cd14a7da44ccd4f01a
CRs-Fixed: 2828243
2020-12-08 01:12:18 -08:00
snandini
64c14a43c3 Release 5.2.0.213E
Release 5.2.0.213E

Change-Id: Ib10e5a9a5aeec92414c6eb7ba4f6195a8e751673
CRs-Fixed: 774533
2020-12-07 22:58:40 -08:00
Srinivas Girigowda
328cdc189c qcacld-3.0: Introduce wma_validate_handle()
Introduce wma_validate_handle() with the caller function name
embedded in it to validate the WMA handle and log incase
of error. Calling functions can avoid logging in case
wma_validate_handle() returns -EINVAL. This reduces logging and
thereby memory foot print.

Change-Id: If38436a590d8b950509bde40468b9ddc3cf33e8d
CRs-Fixed: 2833040
2020-12-07 22:58:40 -08:00
snandini
006d2531ef Release 5.2.0.213D
Release 5.2.0.213D

Change-Id: I1954431f600da097fafd3a2b81f07efc0983baac
CRs-Fixed: 774533
2020-12-07 14:58:29 -08:00
gaurank kathpalia
94cdcf0ddb qcacld-3.0: Add logic to delete bss peer from connection manager
Add logic to delete bss peer from connection manager.

Change-Id: Ic0f53e87525af670f7a87d84d168276bbcd73efd
CRs-Fixed: 2832733
2020-12-07 14:58:29 -08:00
Guisen Yang
984527972c qcacld-3.0: Use new arch macro CONFIG_ARCH_SA515
Use the macro CONFIG_ARCH_SA515 instead of CONFIG_ARCH_SDXPRAIRIE
for SA515 projects.

Change-Id: If4d7d62a64c509fa69c2c59890ffaaf7b763e01c
CRs-Fixed: 2832357
2020-12-07 14:58:25 -08:00
snandini
190799fb5a Release 5.2.0.213C
Release 5.2.0.213C

Change-Id: Ic352bbc88b7b6604d4701fe7de2eca44a3bb9b5d
CRs-Fixed: 774533
2020-12-07 05:09:06 -08:00
Liangwei Dong
cd463cfd17 qcacld-3.0: Take vdev ref count with dbg id API
Replace hdd_objmgr_get/put_vdev by new API
hdd_objmgr_get/put_vdev_by_user to specify
functionality dbg id.

Change-Id: I51be1519edea8e4b35cf467bc9bde9c92c294d27
CRs-Fixed: 2832331
2020-12-07 05:09:05 -08:00
snandini
abede876be Release 5.2.0.213B
Release 5.2.0.213B

Change-Id: I177923cea6190fb1a8b24fa174f51f2b7206320a
CRs-Fixed: 774533
2020-12-06 23:49:49 -08:00
Abdul Muqtadeer Ahmed
910ffe1470 qcacld-3.0: Add a check for new feature capability
Advertize the DBS capability in the get feature vendor command
if device supports DBS.

Change-Id: Icd8e8de7e188e9c5a3041460e6316cdf2b8ebff1
CRs-Fixed: 2820800
2020-12-06 23:49:49 -08:00
Abhinav Kumar
482acb4555 qcacld-3.0: Print roam message info in kmsg
The event WMI_ROAM_STATS_EVENTID is received after
every roam, once the roam synch complete is sent by the host.
This event contains details regarding the roam RSSI TH reset.
This helps in debugging/understanding the scenario when roam
failure happens.
Print the info received related to roam RSSI TH reset into kmsg.

Change-Id: Ibee9fc6e9220511d6679efb24080c79bcd807ab8
CRs-Fixed: 2826321
2020-12-06 23:49:45 -08:00
snandini
b0805e6468 Release 5.2.0.213A
Release 5.2.0.213A

Change-Id: Iff34e7d220f1a02de998f1a6604f57dca683cd38
CRs-Fixed: 774533
2020-12-05 01:39:47 -08:00
Utkarsh Bhatnagar
87119c5847 qcacld-3.0: Get Tx and Rx nss for vendor attribute
Get Tx nss for QCA_WLAN_VENDOR_ATTR_CONFIG_TX_NSS
vendor attribute. Get Rx nss for
QCA_WLAN_VENDOR_ATTR_CONFIG_RX_NSS vendor attribute.
These value will only be fetched if adapter is in
connected state.

Change-Id: I673d0a68fa0b9cb87736664d2058473fe0f5f7ed
CRs-Fixed: 2831427
2020-12-05 01:39:46 -08:00
snandini
52b9e6b643 Release 5.2.0.213
Release 5.2.0.213

Change-Id: I93558b2e0c6e868516c01aca26fa3d66923d0177
CRs-Fixed: 774533
2020-12-04 13:38:29 -08:00
Utkarsh Bhatnagar
7118d2fbb1 qcacld-3.0: Set TX & RX NSS separately using vendor_attr
The vendor command QCA_WLAN_VENDOR_ATTR_CONFIG_NSS can
only be used to symmetricly set NSS configuration such
as 1x1 or 2x2.
So, use QCA_WLAN_VENDOR_ATTR_CONFIG_TX_NSS and
QCA_WLAN_VENDOR_ATTR_CONFIG_RX_NSS attributes to
configure the asymmetric NSS configuration (such as 1X2).

These attributes are used to dynamically configure the
number of spatial streams used for transmitting and
receiving the data. When configured in the disconnected
state, the configured value will be considered for
the following connection attempt.
If the NSS is updated after the connection, the updated
NSS value is notified to the peer using the Operating
Mode Notification/Spatial Multiplexing Power Save frame.

The value configured after the connection shall not be
greater than the value negotiated during the connection.
Any such higher value configuration shall be treated as
invalid configuration by the driver. These attribute
shall be configured together to define the symmetric
configuration (such as 2X2 or 1X1) or the asymmetric
configuration (such as 1X2).
If QCA_WLAN_VENDOR_ATTR_CONFIG_NSS attribute is also
provided along with these attributes then the driver
will update the TX and RX NSS based on
QCA_WLAN_VENDOR_ATTR_CONFIG_TX_NSS and
QCA_WLAN_VENDOR_ATTR_CONFIG_RX_NSS.

Change-Id: I85adb1fcfb2df5cf42eabd4f18b403b698767f42
CRs-Fixed: 2831416
2020-12-04 13:38:29 -08:00
snandini
92b7ee1b34 Release 5.2.0.212Z
Release 5.2.0.212Z

Change-Id: I5fb54577335429aa1c7992bdfd04e5910a1fa42d
CRs-Fixed: 774533
2020-12-04 02:50:31 -08:00
Rakesh Pillai
83f27ea80d qcacld-3.0: Dump txrx hw ring info during disconnection
Dump the txrx hw ring after a disconnection in STA mode.
This will help in debugging back-pressure issues.

Change-Id: Id4c9a391d6804e5a24a38a77b4cbee9ace0fd999
CRs-Fixed: 2831358
2020-12-04 02:50:31 -08:00
snandini
f678cd3477 Release 5.2.0.212Y
Release 5.2.0.212Y

Change-Id: Ibaa4b819703b759dc32b3d3e027f47dd7db298c4
CRs-Fixed: 774533
2020-12-04 00:49:04 -08:00
Liangwei Dong
b5c2ed28db qcacld-3.0: Check AP support OCV before enable it
If AP doesn't support OCV, disable OCV in STA RSN capability.

Change-Id: I4ab3c956c3169b50a69c05d9ed1c36e055aeb586
CRs-Fixed: 2831619
2020-12-04 00:49:04 -08:00