Commit Graph

27796 Commits

Author SHA1 Message Date
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
Will Huang
58ce19c7e0 qcacld-3.0: Add static cfg items and APIs for AFC feature
Add 4 static cfg items for AFC feature:
CFG_AFC_REG_NO_ACTION, CFG_6GHZ_SP_POWER_MODE_SUPP,
CFG_AFC_TIMER_CHECK_DIS, CFG_AFC_REQ_ID_CHECK_DIS.

Add APIs to pass these settings to psoc private of regulatory
component.

Change-Id: I61114fb7bf7d84f939265629bde78813b6295e39
CRs-Fixed: 3153987
2022-11-19 07:43:48 -08:00
Madan Koyyalamudi
c648b4bd1d Release 5.2.1.45Y
Release 5.2.1.45Y

Change-Id: I3e39432d7403ae5eda07b173a40dbaabfa03abee
CRs-Fixed: 774533
2022-11-19 05:47:45 -08:00
Amruta Kulkarni
ad7dfc2ab6 qcacld-3.0: Add cfg for t2lm negotiation supported
Changes to add cfg item for t2lm negotiation support

Change-Id: I94992f5bc8142325434223c59ebbcedd86aa0ff9
CRs-Fixed: 3236628
2022-11-19 05:47:45 -08:00
Madan Koyyalamudi
1ef96b5fb6 Release 5.2.1.45X
Release 5.2.1.45X

Change-Id: Id3fa5ae1cce2f6806958c651ffd184f08fb17cdf
CRs-Fixed: 774533
2022-11-19 01:03:11 -08:00
Jeff Johnson
744f70e8db qcacld-3.0: Fix action_oui documentation
The kernel-doc script identified several documentation issues in
the action_oui component, so fix them.

Change-Id: I7fb63da7fbd7911b11e954bca824c2648e138679
CRs-Fixed: 3340062
2022-11-19 01:03:10 -08:00
Jeff Johnson
08bc9bb30a qcacld-3.0: Fix cp_stats documentation
The kernel-doc script identified several documentation issues in
the cp_stats component, so fix them.

Change-Id: I33e42894365048b75a23f1a2070de72a975d456f
CRs-Fixed: 3340094
2022-11-19 01:03:05 -08:00
Madan Koyyalamudi
1e3af6df38 Release 5.2.1.45W
Release 5.2.1.45W

Change-Id: I790fad908bf2aff30005f7b310fc36d7968047a8
CRs-Fixed: 774533
2022-11-18 21:10:27 -08:00
Jeff Johnson
83c05cd81c qcacld-3.0: Fix wlan_hdd_driver_ops.c documentation
The kernel-doc script identified multiple documentation issues in
wlan_hdd_driver_ops.c, so fix them.

Change-Id: I5e83398af5a8f86d676bab8b6ba67f9af52e9c7d
CRs-Fixed: 3340040
2022-11-18 21:10:26 -08:00
Sheenam Monga
528c16e5fa qcacld-3.0: Don't allow SR command for NON-SR AP
Don't allow SR (Spatial Reuse) command for NON-SR AP
i.e if NON-SRG disallowed and SRG info is not advertised
by connected AP.

Change-Id: Ida0ff3945adf1256f45f72af97a724bd0b91a96a
CRs-Fixed: 3336945
2022-11-18 21:10:22 -08:00