Commit-Graf

21510 Incheckningar

Upphovsman SHA1 Meddelande Datum
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
snandini
9822e7d188 Release 5.2.0.212X
Release 5.2.0.212X

Change-Id: Ic70fe0996b114a8509111c85e911770341c2e436
CRs-Fixed: 774533
2020-12-03 21:38:36 -08:00
Lin Bai
c6c9bed41c qcacld-3.0: Alloc sap_event structure dynamically
Allocate sap_ap_event instead of using stack variable
in function sap_signal_hdd_event.

Change-Id: I9716479ab35b0ba76844c6fae4886acb205902cc
CRs-Fixed: 2830469
2020-12-03 21:38:35 -08:00
snandini
9477bb0ee3 Release 5.2.0.212W
Release 5.2.0.212W

Change-Id: I9426def204d6f87b06361d549af484e1b3a42203
CRs-Fixed: 774533
2020-12-03 19:40:40 -08:00
Bapiraju Alla
391069367a qcacld-3.0: Add debug infra to detect reference leaks for dev_hold
Currently there is no debug infra to detect the API that caused the
reference leak for dev_hold. So, It very hard to debug/fix the
reference leak issues.

To address this, add debug_infra for dev_hold and dev_put calls in
the driver. This change also fixes the few reference leaks with
hdd_for_each_adapter_dev_held_safe.

Change-Id: Icf1adf53c3bd11c715111494bac958c541ef87ea
CRs-Fixed: 2825558
2020-12-03 19:40:39 -08:00
snandini
811d7ecf54 Release 5.2.0.212V
Release 5.2.0.212V

Change-Id: I0552b5a03bcbe77c54aba5d1f40e328c1fe366fa
CRs-Fixed: 774533
2020-12-03 15:37:27 -08:00
Karthik Kantamneni
091e5e65bc qcacld-3.0: Enable TCP Del ACK for NAN interface
In platforms NAN DBS is not supported enable TCP Del ACK
from hdd ndp new peer handler.

Change-Id: I22141728dc4b8c4cd8c871259d3ba9faeda096b2
CRs-Fixed: 2831517
2020-12-03 15:37:27 -08:00
snandini
35c6460dbe Release 5.2.0.212U
Release 5.2.0.212U

Change-Id: I83bcd5799502714be4a6b7b0ce27cbbc25edae96
CRs-Fixed: 774533
2020-12-03 10:51:55 -08:00
Paul Zhang
9228504068 qcacld-3.0: Process deauth frame for PMF session
Currently, for PMF session, when it receives an unprotected deauth
frame from AP and 11w offload is enabled at same time, it drops
the deauth frame. This causes issue during auth/assoc process,
because the connection has not created yet.

Change-Id: I2d51b120fdf5ab90471bf1958071e55d2e23da28
CRs-Fixed: 2818626
2020-12-03 10:51:54 -08:00
Ashish Kumar Dhanotiya
e3c6f0ddf6 qcacld-3.0: Handle connect success for connection manager
Currently connect success response is not handled for connection
manager, add support to handle connect success for connection
manager.

Change-Id: Ib8898bdf4e81440125271b64ccf793eea35d082a
CRs-Fixed: 2830698
2020-12-03 10:51:51 -08:00
snandini
966a75f021 Release 5.2.0.212T
Release 5.2.0.212T

Change-Id: I3c7badc6f2fe6d5c873bb278f6ddfba55a82a059
CRs-Fixed: 774533
2020-12-03 07:38:09 -08:00
Yeshwanth Sriram Guntuka
1cbef73e16 qcacld-3.0: Add base code for Bus Bandwidth Manager
Add the init and de-init APIs for Bus Bandwidth
Manager.

Change-Id: I63c9bf0dbcbac458dd6467e5b073a5cb569ce502
CRs-Fixed: 2810496
2020-12-03 07:38:09 -08:00
snandini
c8aa5aef97 Release 5.2.0.212S
Release 5.2.0.212S

Change-Id: I3d76206ffea2a8ba42e87d265bf911728ee06a17
CRs-Fixed: 774533
2020-12-03 02:40:50 -08:00
Lincoln Tran
4e841495eb qcacld-3.0: Fix NULL pointer dereference
When sending an MSCS action frame to from SME to PE module, there is a
potential NULL pointer dereference. Add check to ensure BSS descriptor
is valid before copying it into the message.

Change-Id: If6d114cb923e5bd283a342ba2b136ce75c9a26b4
CRs-fixed: 2830747
2020-12-03 02:40:50 -08:00
snandini
b11f7447ad Release 5.2.0.212R
Release 5.2.0.212R

Change-Id: I361bbd2d28cb72ce6b5132c2204a4452778b7c2c
CRs-Fixed: 774533
2020-12-02 20:49:25 -08:00
Chaoli Zhou
982b98c6e3 qcacld-3.0: Add bootup kpi marker for some wlan events
Add the API to record some key wlan events
to "/sys/kernel/debug/bootkpi/kpi_values" from
HDD layer.
Examples:
108 KPI_MARKER 860s389434814ns qca6696 START LOADING
108 KPI_MARKER 860s634063720ns qca6696 DRIVER LOADED
108 KPI_MARKER 869s427276611ns qca6696 wlan0:SAP TRY
TO START
108 KPI_MARKER 869s576171875ns qca6696 wlan0:SAP START
with SUCCESS

Change-Id: I2e40305ee4100248348e9a284df71d1ee340e1e4
CRs-Fixed: 2816054
2020-12-02 20:49:25 -08:00
snandini
4c563c79ea Release 5.2.0.212Q
Release 5.2.0.212Q

Change-Id: Ib8d547aa8b54699a0fec82046ff07f76009fa4c3
CRs-Fixed: 774533
2020-12-02 18:49:51 -08:00
Ashish Kumar Dhanotiya
9ba7e98f26 qcacld-3.0: Handle connect failure for connection manager
Currently connect failure is not handled for connection
manager, add logic to handle connect failure path for
connection manager.

CRs-Fixed: 2829679
Change-Id: Ie60090fb0d469850ab9e1ab422d7713a4bfa6acf
2020-12-02 18:49:51 -08:00
snandini
d5b51b449c Release 5.2.0.212P
Release 5.2.0.212P

Change-Id: I72fb14870dee34aedc6d8b27c5824b2852a640b1
CRs-Fixed: 774533
2020-12-02 16:49:34 -08:00
Utkarsh Bhatnagar
fdae617bef qcacld-3.0: Remove csr_roam_save_security_rsp_ie()
Remove csr_roam_save_security_rsp_ie() which is using
unused variables pWapiRspIE, nWapiRspIeLength,
nWpaRsnRspIeLength, pWpaRsnRspIE. Also remove
the functions which are used to get the value of
these variables.

Change-Id: I526fd492e98c119c51f760f7bfb58f454e5bebdf
CRs-Fixed: 2829557
2020-12-02 16:49:33 -08:00
snandini
b89ca22f55 Release 5.2.0.212O
Release 5.2.0.212O

Change-Id: I6b45b8cf5b2a656b2430871a7c248c0803fcff27
CRs-Fixed: 774533
2020-12-02 12:49:06 -08:00
Ashish Kumar Dhanotiya
eb23480b4e qcacld-3.0: Update max value of gEnableModulatedDTIM ini
Currently max value of gEnableModulatedDTIM is 5 which is
incorrect as FW supports maximum no. of modulated DTIM as 10.

To address above issue update max value of gEnableModulatedDTIM
ini.

CRs-Fixed: 2830240
Change-Id: I7f1cab6f0cb2b2a60e7cc1bb37a9971c1752a1bb
2020-12-02 12:49:06 -08:00
snandini
baa6fe85da Release 5.2.0.212N
Release 5.2.0.212N

Change-Id: I89d6440fdc5f622d6e0dc4ab29d56dd94a951d9c
CRs-Fixed: 774533
2020-12-02 03:29:14 -08:00
wadesong
bb5ebe7dd0 qcacld-3.0: Enable ll stat support on Genoa
Enable ll stat support on Genoa to satisfy the kernel/driver
interfacing requirement imposed by msm-5.4.

Change-Id: I7a1e52908cd8a6d818070c51234ad3c8f1f54c55
CRs-Fixed: 2830079
2020-12-02 03:29:13 -08:00
Liangwei Dong
451d1aa2b6 qcacld-3.0: Take ref count with dbg id API in cfg80211 layer
Replace hdd_objmgr_get/put_vdev by new API hdd_objmgr_get
and put_vdev_by_user to specify functionality dbg id.

Change-Id: I217d503b30fb26d07644678fff4045fee22a849c
CRs-Fixed: 2830030
2020-12-02 03:29:09 -08:00
snandini
9e561c01d6 Release 5.2.0.212M
Release 5.2.0.212M

Change-Id: I6965edfd23a2fed7a3b03987e036409bc206aede
CRs-Fixed: 774533
2020-12-02 01:29:51 -08:00
Liangwei Dong
9c5590991d qcacld-3.0: Use FTM_TIME_SYNC_ID dbg id for ftm time sync
Use FTM_TIME_SYNC_ID for ftm time request instead of
generic WLAN_OS_IF_ID.

Change-Id: I85ed15db118d60c0abda98637f473b522b0bfa95
CRs-Fixed: 2827476
2020-12-02 01:29:50 -08:00
Srinivas Dasari
ba89470ad9 qcacld-3.0: Don't check for EXT_AUTH_AP_SUPPORT flag on new kernels
Backport flag CFG80211_EXTERNAL_AUTH_AP_SUPPORT is used to support
external auth in AP mode with older kernels. As the changes are
present in latest kernels, there is no need of this backport flag.

SAE PMK caching doesn't work on new kernels(e.g.: kernel-5.4) as
this backport flag is missing in latest kernels. So, avoid
checking for the same on new kernels.

Change-Id: Idc8858e7cff383e47196e2c94c66db40b5b98a3d
CRs-Fixed: 2807664
2020-12-02 01:29:47 -08:00
snandini
b2ff755040 Release 5.2.0.212L
Release 5.2.0.212L

Change-Id: I815960aa0b92f69670c2151e3a10fa1b6ee9e63d
CRs-Fixed: 774533
2020-12-01 23:28:40 -08:00
Amruta Kulkarni
4aa99209f9 qcacld-3.0: Change RRM Beacon Reporting logic
Previous logic:
While reporting beacon reports a maxmium of
7 Dot11fIEMeasurementReports are sent in one
mgmt frame.

New logic:
Calculate the max number of frames that can fit
in one mgmt frame and add them to the report.

Change-Id: Ic413c94ea1f012a647dfd7cd21b13bc123ebfd97
CRs-Fixed: 2809395
2020-12-01 23:28:40 -08:00
snandini
c8e9c68f6b Release 5.2.0.212K
Release 5.2.0.212K

Change-Id: Ib2c67af8d34740c1cd70f211b909588b0b9a5491
CRs-Fixed: 774533
2020-12-01 20:51:12 -08:00
Chaoli Zhou
324d7d4c1e qcacld-3.0: Fix mib stats feature compile error on perf image
With perf kernel config file, it usually will not
set CONFIG_DEBUG_FS=y, which will cause implicit
declaration of function 'hdd_debugfs_process_mib_stats'
such compile error. And MIB STATS feature also depend
on debug fs, so enable it as long as CONFIG_DEBUG_FS=y

Change-Id: Ice1ddce07eb5eb251e766d3952ca15b00321b3b2
CRs-Fixed: 2829413
2020-12-01 20:51:12 -08:00