Graf commitů

27505 Commity

Autor SHA1 Zpráva Datum
Srikanth Marepalli
8ef0316626 qcacld-3.0: Add vendor command attribute for roam hand-off delay
User can configure roam hand-off delay value using the new vendor
attribute introduced as part roam vendor command.
This change gets the configured value and sends it to firmware.
And firmware delays the roam Hand-off (in msec) by the specified
duration to receive pending RX frames from the current BSS.

Change-Id: Ic328c077cba06532ee8ffed12cde072c816b92e0
CRs-Fixed: 3329964
2022-11-26 10:34:44 -08:00
Madan Koyyalamudi
59e76c45a5 Release 5.2.1.46Q
Release 5.2.1.46Q

Change-Id: I8c9e5609913668bb8fe345e28beeac49fc299009
CRs-Fixed: 774533
2022-11-26 02:37:12 -08:00
Jyoti Kumari
9314e7fc54 qcacld-3.0: Do not return pcl len as 0 if LL SAP not present
Pcl len is always 0 if existing interface is not LL SAP.

As part of fix, return original pcl len if LL SAP is not present.

Change-Id: I51b308483364f40da03f6f9f4daea1a1f3b72019
CRs-Fixed: 3342540
2022-11-26 02:37:12 -08:00
Naman Padhiar
c5fe12891f qcacld-3.0: Add PLD API to check direct_link support
Add PLD API to check whether direct_link is supported
by FW or not. Call platform driver API to get direct_link
support from FW capability.

Change-Id: Iac16427a853a3548dd49ece7a2839792e7c87e84
CRs-Fixed: 3335266
2022-11-26 02:37:07 -08:00
Madan Koyyalamudi
bf02cb1830 Release 5.2.1.46P
Release 5.2.1.46P

Change-Id: Ia9b8cf1d7f4ab8d1884bb2255b9c2638e79f9ef6
CRs-Fixed: 774533
2022-11-25 20:30:16 -08:00
Liangwei Dong
aaf9effcfe qcacld-3.0: Cancel scan before set mac address
If scan is on going the target will delay the set mac address
until the scan is finished. That delay the set mac address
significantly if ROC request is on going and ROC duration is big.
Fix by cancel the scan before set mac address

Change-Id: I440bcfbc3b9699ab42d4304535cc2d86d702d21d
CRs-Fixed: 3332824
2022-11-25 20:30:15 -08:00
Madan Koyyalamudi
e645fd9c71 Release 5.2.1.46O
Release 5.2.1.46O

Change-Id: I3e213f47833d7334a5e214d19e6d23ab4295d3e8
CRs-Fixed: 774533
2022-11-25 18:35:20 -08:00
Jyoti Kumari
0ff4e53681 qcacld-3.0: Add edca_pifs_param attribute in QCN ie
Add edca_pifs_param attribute in QCN ie. This attribute will
be use to configure edca and pifs param for XPAN.

Change-Id: Iab16c36fbdb2f66afb6c1cebee10b43d64aec4a6
CRs-Fixed: 3334861
2022-11-25 18:35:19 -08:00
Madan Koyyalamudi
dfc6dc8316 Release 5.2.1.46N
Release 5.2.1.46N

Change-Id: I6ed6ec82e501d4d4daf2c1cb29b67b19045324c6
CRs-Fixed: 774533
2022-11-25 16:32:23 -08:00
Will Huang
080f107521 qcacld-3.0: Set ssid len correct when to get scan entry
In wlan_hdd_cm_handle_sap_sta_dfs_conc() the filter ssid length compares
against QDF_MAC_ADDR_SIZE(6), should be WLAN_SSID_MAX_LEN(32).

And if requested ssid length is greater than WLAN_SSID_MAX_LEN, filter
of ssid should clear.

Change-Id: Id4667ec7098f1f6b2ef662cab77e06b8eefecfcb
CRs-Fixed: 3324453
2022-11-25 16:32:23 -08:00
Madan Koyyalamudi
c0cb097a5b Release 5.2.1.46M
Release 5.2.1.46M

Change-Id: Iac7b71a8d6cad2f43a1641b7c2b5f5b1b6e41b2f
CRs-Fixed: 774533
2022-11-25 14:32:48 -08:00
Gururaj Pandurangi
a31228306e Revert "qcacld-3.0: Ignore EHT op ccfs0 field if BW is 160/320 MHz"
This reverts Change-Id Ia8f988ac28349be7bce47388d9f8b844fa52a90e.

Change-Id: I02747301d11faf969286cccee5cf879ff3f59886
CRs-Fixed: 3341265
2022-11-25 14:32:48 -08:00
Madan Koyyalamudi
2098fb2adb Release 5.2.1.46L
Release 5.2.1.46L

Change-Id: I4a6fee71bc78f0d837aaa54a5d708d2d656e17f0
CRs-Fixed: 774533
2022-11-25 12:35:22 -08:00
Jeff Johnson
1fdfe7456a qcacld-3.0: Fix interop_issues_ap documentation
The kernel-doc script identified several documentation issues in
the interop_issues_ap component, so fix them.

Change-Id: Ic603071529ead8b6e884b6d7e43eb98186136162
CRs-Fixed: 3340470
2022-11-25 12:35:21 -08:00
Madan Koyyalamudi
167024240f Release 5.2.1.46K
Release 5.2.1.46K

Change-Id: I552a74a5e0a33343dbdc8d13f7a4f0092bcea76b
CRs-Fixed: 774533
2022-11-25 10:24:55 -08:00
David Oladunjoye
a52aee08b1 qcacld-3.0: Wrong value set for vendor command
vendor command is sending cfg_val to fw. This is the wrong value.
Send set_val to fw.

Change-Id: I99ed706ad270cbd55c6846b47ce88a4b4c333f51
CRs-Fixed: 3343543
2022-11-25 10:24:55 -08:00
Srinivas Dasari
7324535b01 qcacld-3.0: Copy link beacon from sync frame event to roam_sync_ind
When firmware attempts roaming to an MLO AP, it tries to find
the complete ML info(all links info) either through ML probe
response or beacons from all the links. It forwards all link
beacons(or ML probe response) to host as part of roam sync
indication through roam sync frame event.
Add support to fetch both link beacons and add them to scan db.
If firmware sends ML probe response, generate link probe response
as well and add it to the scan db.
The link scan result can be used in link connect in case of
hybrid roaming like OWE, 1x,..

Change-Id: Ic8457a5630441d6fd3faeb4791c79422db787f94
CRs-Fixed: 3335225
2022-11-25 10:24:49 -08:00
Madan Koyyalamudi
833afe5c71 Release 5.2.1.46J
Release 5.2.1.46J

Change-Id: If184ad7b34afba13b66ab2f4a5102b7c3f874a4c
CRs-Fixed: 774533
2022-11-25 08:17:45 -08:00
Vinod Kumar Pirla
1bdb20d229 qcacld-3.0: Don't fill MLO IEs on association reject
Driver will reject the association request from a peer
which is already in connected state, in this case
to fill MLO IEs in the assoc response frame, access to
already freed assoc request pointer of the peer results
in NULL pointer dereference.

If association is rejected with reason code
STATUS_ASSOC_REJECTED_TEMPORARILY, don't fill
MLO IEs in the assoc response frame.

Change-Id: I10a71d9fe7cc1bb025a6d004b29ee5236f546ec7
CRs-Fixed: 3337520
2022-11-25 08:17:44 -08:00
Vinod Kumar Pirla
e0a52aadcd qcacld-3.0: Initialize stack variable before use
A possible case of accessing @peer variable
uninitialized in wlan_hdd_add_key_all_mlo_vdev() API
when the device mode is SAP but the VDEV is not MLO type.

Initialize the variable to default value to fix the issue.

Change-Id: Ie35333e581cadb7d5e269bc12a52ecbf7260aece
CRs-Fixed: 3341891
2022-11-25 08:17:32 -08:00
Madan Koyyalamudi
228a4303c4 Release 5.2.1.46I
Release 5.2.1.46I

Change-Id: Idf158dac9b7659c916b86d975696116b51085008
CRs-Fixed: 774533
2022-11-24 06:49:41 -08:00
Yu Wang
3e2d8bbb7d qcacld-3.0: reduce stack frame size for __wlan_hdd_cfg80211_get_wifi_info
Encountered build failure as below:
error: stack frame size (2480) exceeds limit (2048) in
'wlan_hdd_cfg80211_get_wifi_info' [-Werror,-Wframe-larger-than]

To fix it, allocate the buffer for firmware version dynamically.

Change-Id: If768d4eccf5c6e85735c3bf3afaaf47759f0d40e
CRs-Fixed: 3343984
2022-11-24 06:49:40 -08:00
Madan Koyyalamudi
07dcce718b Release 5.2.1.46H
Release 5.2.1.46H

Change-Id: I234303ae0d36a798e45d1b527d25d1658aea3a3b
CRs-Fixed: 774533
2022-11-23 21:51:40 -08:00
Asutosh Mohapatra
d434079ea3 qcacld-3.0: Optimize log prints
Optimize log prints in link_radio_stats_event_handler.

Change-Id: Ic5ea59de7c11596c0629961947a2d65ffdc6adf6
CRs-Fixed: 3338264
2022-11-23 21:51:40 -08:00
Madan Koyyalamudi
2649d0ebb8 Release 5.2.1.46G
Release 5.2.1.46G

Change-Id: Ie4cffbd84bb4c2c81712df51cc0f29b8cbecd694
CRs-Fixed: 774533
2022-11-23 13:54:45 -08:00
Ananya Gupta
4661b79b32 qcacld-3.0: Enable direct link config when its vdev is up
Set Direct link configuration if AP policy is applied.
If GAMING profile is set, disable link low power states to
reduce latency.

Change-Id: I3f8fa62542c88b293cd8442bc8266576666e05ac
CRs-Fixed: 3337252
2022-11-23 13:54:44 -08:00
Ananya Gupta
a3e72a6e91 qcacld-3.0: Set direct link when its vdev is up
When Vdev for direct link is up, set packets for this vdev to
route to firmware and only enter d0 WOW.
If the AP profile is HOST_CONCURRENT_AP_POLICY_GAMING_AUDIO,
prevent link to go to low power states to reduce latency.

Change-Id: I9fa2ab06983db8767d8b48b74e30602e07294fe2
CRs-Fixed: 3330207
2022-11-23 13:54:39 -08:00
Yeshwanth Sriram Guntuka
bff1e3aa36 qcacld-3.0: Add support for DP QMI WFDS client
Add support for QMI client for WiFi Driver
Service (WFDS) in DP component.

Change-Id: Id0a8a51c32aa9f058e57e622b3ad65d405806148
CRs-Fixed: 3328386
2022-11-23 13:54:33 -08:00
Madan Koyyalamudi
7607e4bc4d Release 5.2.1.46F
Release 5.2.1.46F

Change-Id: If7708743844b92d4d98052d36ff0e88ebf5e66a4
CRs-Fixed: 774533
2022-11-23 10:52:27 -08:00
Sachin Ahuja
6b6b2f4fde qcacld-3.0: Initialize sap max number of peers
Currently callers are calling the wlan_mlme_get_sap_max_peers() API
to get the max number of peers without initializing the output
parameter.
In case of failure in wlan_mlme_get_sap_max_peers() API,
sap_max_num_peers can have uninitialized value which can lead to
undefined behavior.

To fix this issue, initialize the output parameter before calling
wlan_mlme_get_sap_max_peers()

CRs-Fixed: 3337315
Change-Id: I83ecaf80ccee7d92a66fe561c0a1a7bd409fd64c
2022-11-23 10:52:26 -08:00
Amit Mehta
c3b6c10ab4 qcacld-3.0: Add vendor cmd attribute to upgrade UDP QoS
Introduce a new attribute to configure access category override
for UDP frames of BE/BK category. Unlike, the earlier attribute
QCA_WLAN_VENDOR_ATTR_CONFIG_UDP_QOS_UPGRADE which will override
for all UDP frames, this attribute is for overriding only for
BE/BK based UDP frames.

CRs-Fixed: 3169564
Change-Id: I7c345c3dc7912dbfb68407e654c2c2b79bc20964
2022-11-23 10:52:21 -08:00
Guisen Yang
10d89a0494 qcacld-3.0: Define mobile_router for SA515M arch
Enable MOBILE_ROUTER for qca6174 and qca6595 when
CONFIG_ARCH_SA515M is enabled.

Change-Id: I26147521d9ad4c180a10589ec82319620d68435b
CRs-Fixed: 3339312
2022-11-23 10:52:15 -08:00
Madan Koyyalamudi
ed4dcfdeb3 Release 5.2.1.46E
Release 5.2.1.46E

Change-Id: Ifdb4ad14a58f34574b1c4547af011e4f1f1c245b
CRs-Fixed: 774533
2022-11-23 00:30:07 -08:00
Yeshwanth Sriram Guntuka
c589e67a42 qcacld-3.0: Add QMI files for WFDS service
Add initial version of QMI files that are used for
communication between WLAN host driver on APSS and
WiFi driver on LPASS.

Change-Id: If7352490d73457479e85958b90066f9c397bb310
CRs-Fixed: 3328378
2022-11-23 00:30:07 -08:00
Yeshwanth Sriram Guntuka
d2cc52d5ae qcacld-3.0: Add support for QMI component
Add support for QMI component.

Change-Id: I63735800ea1166e875ff12bfd22df3c3d9c6312f
CRs-Fixed: 3337043
2022-11-23 00:30:01 -08:00
bings
ec079fcb49 qcacld-3.0: Fix dead loop when access per CPU TX/RX stats
NR_CPUS may be configured as 512 by CONFIG_NR_CPUS. Then uint8_t
is not a proper variable type to do for operation.

Change uint8_t to unsigned int to avoid dead loop.

Change-Id: Ie159bcf09e190c635c1105ccd551fb3c601cc5a2
CRs-Fixed: 3338268
2022-11-23 00:29:56 -08:00
Madan Koyyalamudi
30326ba6f2 Release 5.2.1.46D
Release 5.2.1.46D

Change-Id: Iea509697896f5d3ec0a12afb35e4ad4cbee74d5d
CRs-Fixed: 774533
2022-11-22 15:50:36 -08:00
Abhishek Singh
eee0c37e9d qcacld-3.0: Limit unicast probe req during join timeout in MCC
Currently probe request is sent every 200ms during join timeout
this can lead to 16+ probe req, send during join time.

Change logic to send max 5 probe req during join time,
if candidate freq can lead to MCC concurrency scenario.

Change-Id: I7956771e2cf6724754f59c6db5b07fb45426ae41
CRs-Fixed: 3338329
2022-11-22 15:50:35 -08:00
Madan Koyyalamudi
6b3dee0b65 Release 5.2.1.46C
Release 5.2.1.46C

Change-Id: Ib43f5d58a8954db24f8e3e370f7fbaf4fd75c699
CRs-Fixed: 774533
2022-11-22 07:49:27 -08:00
Chaoli Zhou
2c3110a123 qcacld-3.0: Fix no previous prototype for 'dp_set_rps'
Fix no prototype for 'dp_set_rps' if QCA_CONFIG_RPS
not defined.

Change-Id: I368ef21c29a2cd37073b193ba3102db466b45aff
CRs-Fixed: 3339014
2022-11-22 07:49:26 -08:00
Madan Koyyalamudi
860019e4a6 Release 5.2.1.46B
Release 5.2.1.46B

Change-Id: Ibbc9ab4fb4d8c9b31919b88a8753185797a3a101
CRs-Fixed: 774533
2022-11-22 04:12:44 -08:00
Vinod Kumar Myadam
dc14959195 qcacld-3.0: Fix NULL pointer dereference
In lim_process_pasn_delete_all_peers, wma handler and vdev pointer
are dereferencing without check, may be points to NULL.

Add check to avoid NULL dereferencing.

Change-Id: I9bd047051d05ccd9709e228c37003079ec7e2732
CRs-Fixed: 3327338
2022-11-22 04:12:43 -08:00
Madan Koyyalamudi
f67249019b Release 5.2.1.46A
Release 5.2.1.46A

Change-Id: I6f7aee5ae009f38e965624f8b9e183360c9bbb3c
CRs-Fixed: 774533
2022-11-22 00:40:49 -08:00
Rachit Kankane
f1b89355e0 qcacld-3.0: Add NULL pointer check
Check for NULL pointer when accessing STA node from Hash Table
struct sDphHashNode.

Change-Id: Icec382526f0397c3ccb048120967aee0a8285d7e
CRs-Fixed: 3337661
2022-11-22 00:40:49 -08:00
Madan Koyyalamudi
347d544035 Release 5.2.1.46
Release 5.2.1.46

Change-Id: Iceb6d46e707bfc5c0fb3d008fb9e1bc29234ee9e
CRs-Fixed: 774533
2022-11-20 22:03:02 -08:00
Karthik Kantamneni
f298317281 qcacld-3.0: Display Runtime PM stats periodically
Display Runtime PM last busy stats periodically, this helps
to debug runtimepm issues even without dump availability.

Change-Id: Iae9b70ed49b94a4e098d87a0a00e539178f3c35d
CRs-Fixed: 3337901
2022-11-20 22:03:01 -08:00
Ashish Kumar Dhanotiya
c169934c65 qcacld-3.0: Update feature set version
With the recent change in feature set information related
to 11kv version info, host driver needs to update the
feature set version info as well.
With this change, update the feature set version info.

Change-Id: I50a4df5769cd702eda5d1bc69ac9aad07d87269a
CRs-Fixed: 3334882
2022-11-20 22:02:56 -08:00
Chaoli Zhou
58343df0e4 qcacld-3.0: Fix compile error for CFR
Fix two compile issues:
1. wlan_hdd_transport_mode_cfg defined not used if
enhance CFR not enabled.
2. incompatible types for hdd_objmgr_get_vdev_by_user
function.

Change-Id: If52fe33f9181f6e66d0c1af3c02a71a9df175281
CRs-Fixed: 3338995
2022-11-20 22:02:51 -08:00
Madan Koyyalamudi
8d9d872f28 Release 5.2.1.45Z
Release 5.2.1.45Z

Change-Id: Ia8414598ed875e50078d6121388a7ea6d3be732b
CRs-Fixed: 774533
2022-11-19 07:43:53 -08:00
Vinod Kumar Pirla
4f491c277c qcacld-3.0: Increase the max MLD dev context for kiwi_v2
For kiwi_v2 target increase the value of max MLD dev contexts
to three. Define WLAN_UMAC_MLO_MAX_DEV with the new value in
kiwi_v2 defconfig file.

Change-Id: If9f86cbf5c98f69b9f56b0e4226fcf26f2b663c3
CRs-Fixed: 3337651
2022-11-19 07:43:53 -08:00