Grafico dei commit

20736 Commit

Autore SHA1 Messaggio Data
Gururaj Pandurangi
c199935f4b qcacld-3.0: Add checks to handle return value from crypto APIs
Add checks in caller APIs to handle negative return value from
crypto get param and crypto get peer param APIs.

Change-Id: Ibb138971f347c7ccdacbc93aa38521d5d9536759
CRs-Fixed: 2775328
2020-09-12 08:17:11 -07:00
snandini
9a760e30d3 Release 5.2.0.202I
Release 5.2.0.202I

Change-Id: I5f4cac0701a96b114a12ae3ff771b5ed85b6c278
CRs-Fixed: 774533
2020-09-12 06:13:08 -07:00
Subrat Dash
ec2d8ab7ff qcacld-3.0: Enable UAPSD when TWT requster mode is disabled
The csr_enable_twt() returns true when the fw is 802.11ax
capable. This lead to failure of UAPSD even though the twt
requested mode is disabled throgh ini.

Fix the logic in the csr_enable_twt() to enable UAPSD when
the twt requester mode is disabled.

Change-Id: I5338b95b66312337d6b8befe700f31f3e214b7b1
CRs-Fixed: 2765999
2020-09-12 06:13:07 -07:00
snandini
99017b0cfe Release 5.2.0.202H
Release 5.2.0.202H

Change-Id: Idc406fb51bb8d426283a0b57cd8974cc0f2d4dc7
CRs-Fixed: 774533
2020-09-12 01:59:43 -07:00
Lincoln Tran
53f7903389 qcacld-3.0: Add candidate validation to the if_mgr
Add the API to validate the BSS before roaming to it. This API will check
if other vdevs are already connected to the BSS, if concurrency is allowed,
and if channel is allowed for the current HW mode.
Keep the new changes under the interface_mgr feature flag.

Change-Id: I280e95b0a30c08fe4037295330628b79d22acf5f
CRs-fixed: 2774543
2020-09-12 01:59:43 -07:00
Amar Singhal
c89446a515 qcacld-3.0: Use correct size for frequency list
Frequency list elements should be 2 octets, not one octet. Fix this.

Change-Id: I981d3bd23464fc83506c512338e5fb22637272cd
CRs-Fixed: 2775226
2020-09-12 01:59:38 -07:00
Abhishek Ambure
8c579f5a5b qcacld-3.0: Add support to get pmf bcn protect stats
Host sets WMI_REQUEST_PMF_BCN_PROTECT_STAT bit in stats_id param of
WMI_REQUEST_STATS_CMDID command. Firmware supporting pmf beacon
protection stats responds host with stats in wmi_update_stats_id
event. Host extracts PMF beacon protection stats from wmi_update_stats_id
event. Host adds PMF beacon protection stats in the response of vendor
command QCA_NL80211_VENDOR_SUBCMD_GET_STA_INFO for STA mode.

Change-Id: Ib3cb06e03dbccdb9fa1782d414ed734bd97aa309
CRs-Fixed: 2705236
2020-09-12 01:59:34 -07:00
snandini
7f2bf137e9 Release 5.2.0.202G
Release 5.2.0.202G

Change-Id: Ie405825e1300b1ba7c94d29fb934bdca9b7735de
CRs-Fixed: 774533
2020-09-11 23:39:34 -07:00
Lincoln Tran
22301fc573 qcacld-3.0: Migrate PCL API to policy manager
Currently, the APIs related to setting the preferred channel list is
in the SME module. Move these APIs to the policy manager so they can
be accessed from non-legacy modules.

Change-Id: Icc487dd2a0014e59db9c2df729b875f58e3e975e
CRs-fixed: 2766863
2020-09-11 23:39:34 -07:00
hqu
193727e455 qcacld-3.0: Add additional debug logs for rso commands
Add debug logs on the sending WMI_ROAM_SCAN_RSSI_THRESHOLD
/WMI_ROAM_FILTER_CMDID/WMI_ROAM_BTM_CONFIG_CMDID
/WMI_11K_OFFLOAD_REPORT_CMDID commands path.

If mawc roaming is not supported by firmware, don't send
WMI_ROAM_CONFIGURE_MAWC_CMDID command.

Add rssi reject AP list to the roam params process in function
csr_cm_roam_scan_filter().

Change-Id: I89e6dcac801e552877f7e918d1179dfa3466857a
CRs-Fixed: 2775101
2020-09-11 23:39:30 -07:00
snandini
87e9e5c2e4 Release 5.2.0.202F
Release 5.2.0.202F

Change-Id: Iaf755211fa50e400bba7e5954b454c6b9be06f2b
CRs-Fixed: 774533
2020-09-11 21:15:56 -07:00
Rakesh Pillai
7ffb80cd98 qcacld-3.0: Enable Software latency manager
Enable the Software Latency Manager in the Kbuild

Change-Id: Icc4b8ef4014508a99d155fc7a2807b99c2de11cc
CRs-Fixed: 2769031
2020-09-11 21:15:56 -07:00
Rakesh Pillai
447b9395ff qcacld-3.0: Add sysfs entry to control SWLM
Add sysfs entry to enable or disable the
Software latency manager runtime.

Change-Id: Iaa920c7c71586b3200322a704003abcf95840edc
CRs-Fixed: 2769035
2020-09-11 21:15:52 -07:00
Rakesh Pillai
98534ecf60 qcacld-3.0: Add INI support for SWLM
Add support to enable or disable the
Software latency manager via INI

Change-Id: I7e0323a0e84c0b6bddaf646dbd0b968d2c6b3f8d
CRs-fixed: 2769033
2020-09-11 21:15:48 -07:00
Gururaj Pandurangi
dc3821cefd qcacld-3.0: Add connect complete changes to if mgr
Add connect complete event handling API as part
of connection manager effort.

Change-Id: Ie1edfb1383ffdef97c7740d936256f7b89649e65
CRs-Fixed: 2760218
2020-09-11 21:15:44 -07:00
snandini
342576c5c3 Release 5.2.0.202E
Release 5.2.0.202E

Change-Id: I041e7ecbd63dbe7f1623b804138cf968154cdd4c
CRs-Fixed: 774533
2020-09-11 19:08:09 -07:00
Jia Ding
7f57d1c40f qcacld-3.0: Support pld_smmu_unmap for PCIe platform
Add pld_pcie_smmu_unmap API to support SMMU unmap of
addresses mapped in smmu_iova_ipa bank.

Change-Id: Idcb76a4f9d6573fb3f2c1fe22f6fbbe1728fa079
CRs-Fixed: 2768112
2020-09-11 19:08:09 -07:00
Srinivas Girigowda
375cf9be91 qcacld-3.0: Remove logs for wlan_hdd_validate_context() checks
wlan_hdd_validate_context() 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: Ia1f4a1a413249e10c40d7644e9ffb314e991b237
CRs-Fixed: 2769591
2020-09-11 19:08:05 -07:00
snandini
7ccccb00a6 Release 5.2.0.202D
Release 5.2.0.202D

Change-Id: Ifb71740a88e9943cbe12296dfe6face60004b25e
CRs-Fixed: 774533
2020-09-11 16:17:34 -07:00
Nisha Menon
bd6e2805bf qcacld-3.0: Update the gold core latency on clearing cpu_mask
Set the latency of gold cores to default on clearing the
cpu_mask for gold cores. This ensures that power drain on
gold cores is minimal after gold core affinity is removed
after traffic reduces.

Change-Id: I4f17e9b9e36c57ac22a12e3abbc0155eef238a04
CRs-Fixed: 2764803
2020-09-11 16:17:34 -07:00
Rakesh Pillai
0bc6e1b24f qcacld-3.0: Dump SWLM stats periodically
Add the support to dump software latency
manager statistics as a part of periodic
stats.

Change-Id: I22169979ecf3f78840086284432b94c5756edcf1
CRs-Fixed: 2769018
2020-09-11 16:17:30 -07:00
Rakesh Pillai
d250c88d4c qcacld-3.0: Handle TX register write coalesces
Currently for every packet transmission, the head
pointer register is updated. Each write corresponds
to one PCIe write.

Add the logic to coalesce the head pointer
register writes to reduce the PCIe writes. This
also helps in PCIe bus staying in low power states
for some more time and thereby reducing power
usage.

Change-Id: I10fe0499222fbcf94305c681008d12449cda5359
CRs-Fixed: 2769013
2020-09-11 16:17:26 -07:00
Rakesh Pillai
d74aee1730 qcacld-3.0: Save low latency connection count in DP vdev
The 11g and 11a connections are latency critical and
hence tx coalescing cannot be applied on traffic
running for these connections.

Detect the latency critical connections and save the
number of latency critical connections in DP vdev.
This information can be used by the Software latency
manager to skip tx register write coalescing when there
is a packet transmission for low latency connections.

Change-Id: I2ebf40e670cc3139b2bc41a690c79ebb31c7b9c7
CRs-Fixed: 2769026
2020-09-11 16:17:22 -07:00
Abhishek Ambure
e23d02544e qcacld-3.0: Remove DFS_CAC_IN_PROGRESS check in HDD for STA DEL request
For users delete station request, host checks DFS CAC progress flag in HDD.
If DFS CAC progress is set, host doesn't send disassoc/deauth request to
LIM. Due to this peer instance in FW remains undeleted and host returns
success. On SAP vdev delete this peer instance in FW remains undeleted and
FW crashes. In LIM host already handles deauth/disassoc request if DFS CAC
is in progress. Hence remove DFS CAC in progress check from HDD.

Change-Id: I27953eac86fc4258ff764fb0ac8e6b95cb7ae99b
CRs-Fixed: 2773050
2020-09-11 16:17:18 -07:00
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