Graphe des révisions

21602 Révisions

Auteur SHA1 Message Date
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
Liangwei Dong
e00ffbd00c qcacld-3.0: Fix invoke roam race condition
There is race condition is in-between "nud failure
sme_roam_invoke_nud_fail" and "bmiss disconnecting process".
Thread 1: Nud failure will check the roam state -
    "MLME_IS_ROAM_INITIALIZED"
Thread 2: bmiss disconnecting will set roam offload state to
    "deinit" and set the "roam_invoke_in_progress" false.
Thread 1: trigger roaming cmd to fw and set
    "roam_invoke_in_progress" = true
Then drv couldn’t get "roam_invoke_in_progress" cleared and
get all the scan blocked.

The thread 2 (scheduler thread) has acquired the sme lock
during handling BMISS.
Fix by add sme lock in sme_roam_invoke_nud_fail to protect
the roam state check and set roam_invoke_in_progress = true.

Change-Id: Ibb73c19e06e248b63795c9bfc6db0d99bc702b44
CRs-Fixed: 2829101
2020-12-01 20:51:07 -08:00
snandini
cef68f04ce Release 5.2.0.212J
Release 5.2.0.212J

Change-Id: I0f29c1a91bd573e299b685eafd80e7dd4d53ac03
CRs-Fixed: 774533
2020-12-01 09:19:10 -08:00
Jyoti Kumari
07193067c8 qcacld-3.0: Fix mem leak in wma_data_tx_ack_work_handler()
Mem leak in tx ack work handler.

Free allocated memory in wma_data_tx_ack_work_handler()

Change-Id: Id79072902ac43a60998624429872a2a489cecbf1
CRs-Fixed: 2828030
2020-12-01 09:19:10 -08:00
snandini
cd281fae69 Release 5.2.0.212I
Release 5.2.0.212I

Change-Id: Iada07e99afa4c163b6d32cd10b8dd3d700ebd680
CRs-Fixed: 774533
2020-12-01 06:50:18 -08:00
Jyoti Kumari
47316d9679 qcacld-3.0: Avoid excessive kmsg log in roam stats event handler
Sometimes firmware sends WMI_ROAM_STATS_EVENTID repeatedly with
wrong TLV. This causes event extraction failure at the event
handler and continuous error logs are written to kmsg.

Rate limit debug level prints in wma_roam_stats_event_handler()

Change-Id: I03c1a50198d26096333d9b42190b34204453155a
CRs-Fixed: 2829293
2020-12-01 12:46:25 +05:30
snandini
688b5d45a7 Release 5.2.0.212H
Release 5.2.0.212H

Change-Id: Ic07c175d7711f09d484a6742569701c96374f4a0
CRs-Fixed: 774533
2020-11-30 12:49:20 -08:00
Ajit Vaishya
b4021c73b5 qcacld-3.0: Advertise Adaptive 11R supported feature to user space
Currently when Adaptive 11R feature is disable via ini
then user space parse Vendor Specific IE and trigger
connection in FT-PSK/EAP based on STA configured key
mgmt, but due to feature disabled via ini it failed
to connect AP and trigger Assoc reject to user space.
To overcome this advertise Adaptive 11R supported feature
bit to user space and based on this feature bit user space
parse, trigger connection in FT-PSK/EAP other wise fallback to
PSK/EAP.

Change-Id: I5d67a0cb77c3f39328467a6313a7a795e6a7a4d8
CRs-Fixed: 2785878
2020-11-30 12:49:20 -08:00
snandini
3f8dbf9af9 Release 5.2.0.212G
Release 5.2.0.212G

Change-Id: Id3f2bcd9b5705588fd4e8f48a8f2bde921d2883f
CRs-Fixed: 774533
2020-11-30 10:49:04 -08:00