Commit Graph

28831 Commits

Author SHA1 Message Date
Madan Koyyalamudi
1363fdad3e Release 5.2.1.65K
Release 5.2.1.65K

Change-Id: I309e0cd93a7847cfbf06a23a6d6dfbd4b67f2716
CRs-Fixed: 774533
2023-05-08 14:25:16 -07:00
Surya Prakash Sivaraj
d6466e54c0 qcacld-3.0: Do not send PASN status if peer not found
PASN peer do not get deleted unless the peer is same
as roaming bss peer. Therefore, if peer is not found
during configuration of the ltf key seed, then either
the BSS peer is not yet created or the PASN peer got
deleted because of connection with that BSS.

Either way, PASN auth status need not be sent, therefore
return success if PASN peer is not found during ltf key
seed configuration.

Change-Id: Icb663dd32d3d109a4387dad2ea0c98faf23bebd7
CRs-Fixed: 3475648
2023-05-08 14:25:15 -07:00
Madan Koyyalamudi
9116ea9eab Release 5.2.1.65J
Release 5.2.1.65J

Change-Id: Ib70e3dcce7482643e0ac0db24b631a96017a0b16
CRs-Fixed: 774533
2023-05-08 09:56:14 -07:00
Amit Mehta
434b0fbabe qcacld-3.0: Add UCFG API to get per link peer stats
Add new UCFG API to get per link peer stats.

Change-Id: I343b9a96610f64df33f8cc56e7a08c3282043fac
CRs-Fixed: 3442905
2023-05-08 09:56:14 -07:00
Madan Koyyalamudi
11d73706a0 Release 5.2.1.65I
Release 5.2.1.65I

Change-Id: I4c01128d6f6a3c9b50b6b31019dbb8ae6c99e0f6
CRs-Fixed: 774533
2023-05-08 06:42:58 -07:00
Amruta Kulkarni
8e9674f1a0 qcacld-3.0: Send roam invoke request if no scan candidate found
For ML-AP, if fastreassoc command is received and scan
candidate is not found in host scan db.
Host will still send roam invoke request to FW, FW will
perform scan.

Change-Id: I8157cf396e3e0c19607d990307e07d31e879a2d4
CRs-Fixed: 3474257
2023-05-08 06:42:58 -07:00
Madan Koyyalamudi
c7de6fcbe0 Release 5.2.1.65H
Release 5.2.1.65H

Change-Id: I981c507d64b3159b2d15ae493fa271433ec228c1
CRs-Fixed: 774533
2023-05-08 04:07:26 -07:00
Amruta Kulkarni
24a9f574fb qcacld-3.0: Clear previous peer level t2lm negotiation
When handling T2LM action request frame, clear the previous
ml peer level t2lm negotiation before applying new tid mapping
to FW.

Change-Id: Ie7f7a28fb7cf886778cd697605352c4ff47d18fd
CRs-Fixed: 3487089
2023-05-08 04:07:26 -07:00
Madan Koyyalamudi
976ab0ed3e Release 5.2.1.65G
Release 5.2.1.65G

Change-Id: I7bd54218a4f9dd1f4ab64dafefe5d8bfbea2b1b4
CRs-Fixed: 774533
2023-05-07 23:22:18 -07:00
Jeff Johnson
4995f51fb0 qcacld-3.0: Sort Kconfig
Since the qcacld-3.0 driver is not part of the upstream kernel, the
Kconfig has not been used for driver configuration. As a result, it is
missing hundreds of configuration options that are now supported by
the driver.

The upcoming Bazel DDK build infrastructure *will* use the Kconfig
file. In preparation for populating the Kconfig, sort the existing
options in alphabetic order to facilitate the addition of the missing
options in a subsequent patch.

Change-Id: I7a714d373ae601b8c6642c224aca6b64da618ecd
CRs-Fixed: 3487378
2023-05-07 23:22:18 -07:00
Jeff Johnson
d9c61c8a88 qcacld-3.0: Kconfig: Rename BUILD_TIMESTAMP
Change I66d159a1594f71fdf33f3e4b4e6be4840d7e140a ("qcacld-3.0: Include
change Ids in build tag") replaced the usage of CONFIG_BUILD_TIMESTAMP
with CONFIG_BUILD_TAG. However, that change did not actually modify
the Kconfig item, so do it now.

Change-Id: Id69a339a8d539b3cd5b455c411ae10652f6aa897
CRs-Fixed: 3487377
2023-05-07 23:22:07 -07:00
Jeff Johnson
c891c35282 qcacld-3.0: Finish removing WLAN_FEATURE_NAN_CONVERGENCE
Changes I0045dcccd36524cbcd4253347c9e0a5704193c2b ("qcacmn: Combine
all NAN related flags with WLAN_FEATURE_NAN") and
If98ecaace17f8724e9c28325ef61e721f42e1d8f ("qcacld-3.0: Combine all
NAN related flags with WLAN_FEATURE_NAN") removed all usage of
WLAN_FEATURE_NAN_CONVERGENCE, but did not remove it from Kconfig or
from all defconfigs, so do that now.

Change-Id: Ib19f30d2be5c2ddaad13a2526442d3d7266e4754
CRs-Fixed: 3487376
2023-05-07 23:21:58 -07:00
Madan Koyyalamudi
e1a5694c1f Release 5.2.1.65F
Release 5.2.1.65F

Change-Id: Ifccecbe06bb9c278bde9771604c6381a7063d951
CRs-Fixed: 774533
2023-05-07 20:44:59 -07:00
Jeff Johnson
2c46e00441 qcacld-3.0: Finish removing CONFIG_WLAN_FEATURE_11W
Change Id3a2127e9ecb343ad2a0354dcbc331c22167d7fb ("qcacld-3.0: Remove
feature flag WLAN_FEATURE_11W for pmf") removed all of the conditional
code for CONFIG_WLAN_FEATURE_11W. However, the actual Kconfig entry
was not removed, nor was the configuration setting removed from the
defconfig files, so do that now.

Change-Id: I0ba83841346fc47673231fba6aa22da9317caf09
CRs-Fixed: 3487375
2023-05-07 20:44:59 -07:00
Jeff Johnson
b3899e7d32 qcacld-3.0: Kconfig: Remove PRIMA_WLAN_OKC
The PRIMA_WLAN_OKC feature is not applicable to qcacld-3.0, so remove
the feature flag.

Change-Id: Ia0dcfd34c18c31ecb6a270ede6f398160772cef7
CRs-Fixed: 3487374
2023-05-07 20:44:54 -07:00
Jeff Johnson
36f597d310 qcacld-3.0: Remove duplicate DFS_INC inclusion
The compiler switches defined by DFS_INC are being included in the
composite INCS twice. This results in the switches being unnecessarily
duplicated in the compiler command line. While this normally doesn't
affect compilation, it can result in a "command too long" error that
has been observed in some build environments, so remove the
duplication.

Change-Id: Ibe09e7c3d4ba1a9b5b50305c73b79ce1c9a7d57a
CRs-Fixed: 3487038
2023-05-07 20:44:48 -07:00
Madan Koyyalamudi
7a220e3018 Release 5.2.1.65E
Release 5.2.1.65E

Change-Id: I787f41463c1563a1cdae6e3374bda4137051defb
CRs-Fixed: 774533
2023-05-07 18:10:41 -07:00
Liangwei Dong
4c41c39c8b qcacld-3.0: Fix ML STA + 2 SAP force SCC issue
After ML STA connected on 2.4 GHz + 5 GHz, two existing
SAP (2.4 GHz and 5 GHz) have to force SCC to respective
band's ML link home channel. Currently driver make the
CSA for two sap at same time but to different channel.
We only support CSA one by one (for different target
channel) because only one target channel is in
mac_ctx->sap.SapDfsInfo.target_chan_freq. Otherwise, the
value will be override by second SAP's CSA and causes
first SAP changed to wrong channel.
Fix by:
1. change __policy_mgr_check_sta_ap_concurrent_ch_intf to
trigger CSA for one SAP by break the loop.
2. reschedule the sta_ap workqueue after first CSA done in
multiple SAP case. Then do force SCC for second SAP.

Change-Id: I1de81b5839a7e24f862627ecc49663dcd0d91ce4
CRs-Fixed: 3470343
2023-05-07 18:10:41 -07:00
Abhinav Kumar
042a37976b qcacld-3.0: Reject GET_CU_FOR_EACH_SUB_BW request for MLO conn
As per requirement, for MLO connection host should reject
GET_CU_FOR_EACH_SUB_BW request and return failure to upper
layer as a response.

Change-Id: I8177d92982c832a17c1657239b69cc3712e1eaf4
CRs-Fixed: 3476349
2023-05-07 18:10:36 -07:00
Madan Koyyalamudi
fbcbaaf178 Release 5.2.1.65D
Release 5.2.1.65D

Change-Id: I27cf3cfc97b51e1ee3b78b7fa78d58248fc3e79e
CRs-Fixed: 774533
2023-05-07 13:24:54 -07:00
Jeff Johnson
be670fc549 qcacld-3.0: Remove badly formed GPIO -I switch
While reviewing build artifacts it was observed that the compiler
command line has a badly formed -I switch:
-I[path]/qcacld-3.0/cmn/-I[path]/cmn/target_if/gpio

Analysis of Kbuild shows that an already formed -I switch is being
incorrectly used as a directory, so remove that specific entry.

Change-Id: If59e8ee1d0f817bc8c56e74bc8e2fa9ef94a7eb3
CRs-Fixed: 3486972
2023-05-07 13:24:54 -07:00
Madan Koyyalamudi
11b745e21f Release 5.2.1.65C
Release 5.2.1.65C

Change-Id: Icb4d7788f3f0ca6643dd6420872c3afd93ba5018
CRs-Fixed: 774533
2023-05-05 01:56:23 -07:00
Vijay Raj
fb8e6d4f3e qcacld-3.0: Remove unused legacy logging for BTM event
Diag logging is used for connectivity logging of
BTM event.

Remove unused legacy connectivity logging mechanism for
BTM events.

Change-Id: I65dc5fe5f071fd74eeed2433894a238318ce76ab
CRs-Fixed: 3470401
2023-05-05 01:56:23 -07:00
Vijay Raj
07156c60b8 qcacld-3.0: Remove legacy roam connectivity logging mechanism
Diag logging is used for connectivity logging of roam
candidate event and roam roam result event.

Remove unused legacy connectivity logging mechanism for
roam candidate and roam result events.

Change-Id: I826107fc764abdeec7408dbb6c52e580d1fe32f4
CRs-Fixed: 3470206
2023-05-05 01:56:17 -07:00
Amruta Kulkarni
4682e96332 qcacld-3.0: Update Association request response T2LM IE
As per draft 3.0, association or reassociation request
or response can include upto 2 t2lm ie's.

Change-Id: I2095e161c433237ce91ab25d1bd133e0bb5f106f
CRs-Fixed: 3487012
2023-05-05 01:56:11 -07:00
Madan Koyyalamudi
ddf169dd6e Release 5.2.1.65B
Release 5.2.1.65B

Change-Id: Ia432b29e1215017e66ebf561d1a57cce37f76878
CRs-Fixed: 774533
2023-05-04 11:34:43 -07:00
Jyoti Kumari
a551e66960 qcacld-3.0: Check whether vdev supports mlo cap or not
Scenario: There is dual sta present in HBS mode in DUT where one
sta is on wlan0 interface and it has 11be capability, so it has
formed ML connection with ML AP. The another STA is present on
wlan1 interface and this STA also supports 11be capability. But
as per current design, host supports 11be with MLO. It doesn't
support 11be alone. Also 11be with MLO is supported only in wlan0
interface. So for another connection which are present in wlan1
interface, even if it supports 11be host will downgrade to 11ax
and form connection.
During the formation of second connection, host will sends peer
create command(WMI_PEER_CREATE_CMDID) to firmware. Before sending
this command, host checks only eht cap in cm_create_bss_peer()
and fills the mld_mac addr. Because of that, DP assumes that
there is an ML connection and it creates MLD peer on wlan1
interface. Due to this, it causes ping failure on wlan1 interface
as the ICMP response might be coming on incorrect peer and it's
getting dropped.

As part of fix, check whether vdev is mlo supported or
not in cm_set_peer_mld_info()

Change-Id: Ieed67aa2735d200a140f9e771d791b3b9308a0f9
CRs-Fixed: 3474874
2023-05-04 11:34:42 -07:00
Madan Koyyalamudi
ba31d91be4 Release 5.2.1.65A
Release 5.2.1.65A

Change-Id: I46527bbd2c11bf496f48fd160bfa1a55fb061001
CRs-Fixed: 774533
2023-05-04 04:34:39 -07:00
Deeksha Gupta
18a512bff8 qcacld-3.0: Don't process SAE address conversion for non-ml STA
In the case of an ML SAP SAE connection, if the reference
STA is a non-ML, the driver should not perform SAE address
conversion. Currently, during SAE Auth commit RX, if the
ML IE is not present in the frame, the driver decodes an
incorrect peer MLD address and saves it in the pre-auth
node structure. Later, userspace sends the SAE Auth commit
TX frame, and the driver fails during pre-auth node search
due to the incorrect MLD address saved in the pre-auth node,
which leads to SAP connection failure.

As part of the fix, the driver should decode the correct
peer MLD address or set it to 0 if the ML IE is not present.

Change-Id: I335361dca50969c7ee25a502732ae3f29cc99eff
CRs-Fixed: 3481176
2023-05-04 04:34:38 -07:00
Madan Koyyalamudi
3bc0832ee1 Release 5.2.1.65
Release 5.2.1.65

Change-Id: I68be7616675173b9cf1441b537879155826cf0f9
CRs-Fixed: 774533
2023-05-04 01:35:12 -07:00
Shailendra Pratap Singh
b85783d78c qcacld-3.0: Add API to get listen interval value from driver
Add API to get LI which is configured by the user.
In case, user has not configured any interval,
device uses default LI and this cmd will return 0
Syntax for cli cmd: driver GET_LISTEN_INTERVAL

Change-Id: I3ef12ffc757288c057c88dceece7dbc2da68880b
CRs-Fixed: 3425472
2023-05-04 01:35:12 -07:00
Madan Koyyalamudi
eb82329fd3 Release 5.2.1.64Z
Release 5.2.1.64Z

Change-Id: I8925f58e9c091211ab536e49c3d64252b5120713
CRs-Fixed: 774533
2023-05-03 04:57:53 -07:00
abhinav kumar
3429f8e7c1 qcacld-3.0: Dont allow max ch width update for MLO connection
If STA connected with MLO AP, don't process ch_width update
with notify request.

Change-Id: Id2e0d6357feac13787abcafe8b9d69a0c64dbedb
CRs-Fixed: 3472173
2023-05-03 04:57:53 -07:00
abhinav kumar
80fc700acf qcacld-3.0: Update connected VDEV channel bandwidth
Host receives QCA_WLAN_VENDOR_ATTR_CONFIG_CHANNEL_WIDTH vendor
command indication to update STA adapter channel width.

On receiving channel width update indication from upper layer,
first host updates internally and send new channel width value
to FW via WMI_VDEV_PARAM_CHWIDTH_WITH_NOTIFY.

Target firmware should take care of notifying associated peers
(except TDLS) about change in bandwidth, through OMN/OMI
notification before performing bandwidth update internally.

Change-Id: I517ed1fbf8d074e511f8fb43c9c1dac824c9f084
CRs-Fixed: 3469473
2023-05-03 04:57:48 -07:00
abhinav kumar
076551fd20 qcacld-3.0: Update subband CCA busy info to HDD
In case of wide band scan request, FW sends subband CCA busy info
to host via a new tlv wmi_cca_busy_subband_info added in existing
event WMI_CHAN_INFO_EVENTID.

Fix is to store CCA busy info coming from FW to HDD context.

Change-Id: Ic4b439ed1c270badbe265dc8543dc6d6a1612fab
CRs-Fixed: 3469467
2023-05-03 04:57:43 -07:00
abhinav kumar
62b5a049d6 qcacld-3.0: Process get_cu_for_each_subbw driver command
Host parse newely added vendor command
QCA_NL80211_VENDOR_SUBCMD_CONNECTED_CHANNEL_STATS and trigger
scan to get connected channel stats from FW.

On scan done host sends scan done indication to upper layer
via QCA_NL80211_VENDOR_SUBCMD_CONNECTED_CHANNEL_STATS vendor
command.

Change-Id: I7a4727b66003f6ee96645c5078d1f922b2f18cec
CRs-Fixed: 3461106
2023-05-03 04:57:38 -07:00
Madan Koyyalamudi
2fae80a3e1 Release 5.2.1.64Y
Release 5.2.1.64Y

Change-Id: I2301025e33fb6c06510cddbc5731d7c840feebdd
CRs-Fixed: 774533
2023-05-02 12:23:11 -07:00
Mohammed Ahmed
5b5c5949f0 qcacld-3.0: set CONFIG_WLAN_DIAG_VERSION to y in peach config
Currently the CONFIG_WLAN_DIAG_VERSION is not being set in the
peach defconfig, causing compilation errors for peach builds.
Fix this by replacing duplicate CONFIG_WLAN_DEBUG_VERSION
with CONFIG_WLAN_DIAG_VERSION.

Change-Id: I1fc2fcfc987d63c3f038e41652ea4c43667bbe42
CRs-Fixed: 3483501
2023-05-02 12:23:11 -07:00
Madan Koyyalamudi
ff834031fa Release 5.2.1.64X
Release 5.2.1.64X

Change-Id: Ic1ddb1911f807883cf9a1d379d3392e3ee1d6063
CRs-Fixed: 774533
2023-05-01 12:09:31 -07:00
Vijay Raj
a2cce9674c qcacld-3.0: Remove unused legacy logging for Roam scan events
Diag logging is used for connectivity logging of roam scan
start event and roam roam scan done event.

Remove unused legacy connectivity logging mechanism for
roam scan start and roam scan done event.

Change-Id: Icaebf0486081508e56937ee13bb8d4d33a342d79
CRs-Fixed: 3470140
2023-05-01 12:09:30 -07:00
Vijay Raj
7e0ec725c9 qcacld-3.0: Remove unused legacy connectivity log mgmt frame events
Diag logging is used to log mgmt frame events.

Remove unused unused legacy connectivity log used
for mgmt frame events.

Change-Id: I7d682f9aa4005d82beef03030017f943687e3480
CRs-Fixed: 3469403
2023-05-01 12:09:23 -07:00
Vijay Raj
02f621250c qcacld-3.0: Remove unused connectivity log events
Diag logging is used for logging connectivity
events,

Remove legacy logging mechanism for connectivity
events

Change-Id: I85bbb1cb88e8a3c1d4357e9b732642ca8f5fe95a
CRs-Fixed: 3469396
2023-05-01 12:09:15 -07:00
Madan Koyyalamudi
d302b27bd2 Release 5.2.1.64W
Release 5.2.1.64W

Change-Id: I6ab942ea7f6b08b745314f37e1269cdf1b1265c0
CRs-Fixed: 774533
2023-05-01 09:56:58 -07:00
Jianmin Zhu
d0287c9f46 qcacld-3.0: Avoid SAP start fail for addr leak
When create virtual interface, if psoc idle restart return failed,
close adapter without calling wlan_hdd_release_intf_addr,
addr is leaked and used out.
When SAP start, create virtual interface wlan2 will fail for
MAC is not available.

To fix it, when create virtual interface failed, call
wlan_hdd_release_intf_addr before close adapter.

Change-Id: I84493985eaa7dda5b8b620c7e86bdf94c89ce2f8
CRs-Fixed: 3480866
2023-05-01 09:56:57 -07:00
Madan Koyyalamudi
24c520f2ef Release 5.2.1.64V
Release 5.2.1.64V

Change-Id: I1a0ab61d30bdbedd67ffd5ab2d6df0edca72cfec
CRs-Fixed: 774533
2023-04-29 09:11:27 -07:00
Namita Nair
9422426d09 qcacld-3.0: Support build for OUT-OF-TREE IPA
As the IPA component has moved out of kernel,
WLAN currently does not have access to the IPA
header files that was previously part of kernel.
To resolve this, WLAN needs to include the path
to IPA header files, for successful compilation when
IPA_OFFLOAD is enabled. With this Kbuild change
now WLAN can support OUT-OF-TREE IPA module.

Change-Id: I56f66d3e7d7648ece5aeb68de1af7c0c5f59f84d
CRs-Fixed: 3482432
2023-04-29 09:11:27 -07:00
Jeff Johnson
463ddf6870 qcacld-3.0: Remove use of WLAN_OPEN_SOURCE
The WLAN_OPEN_SOURCE flag is a legacy flag which had a specific use
that is no longer applicable. So remove all usage of that flag.

Change-Id: If51b9421717bc82b3c200c6412a87b0e46a77476
CRs-Fixed: 3464926
2023-04-29 09:11:22 -07:00
Madan Koyyalamudi
a3909c0f4d Release 5.2.1.64U
Release 5.2.1.64U

Change-Id: I1f040b1cbd1cf2f4c4c009f0dd978f333e30575b
CRs-Fixed: 774533
2023-04-29 07:18:11 -07:00
Amruta Kulkarni
adef8d5e58 qcacld-3.0: Stop t2lm timer during disconnection
Add support to stop t2lm timer during sta disconnection
and clear t2lm mapping.

Change-Id: I59e724331eda8b67fd1405031bdb00d12805ad09
CRs-Fixed: 3479496
2023-04-29 07:18:10 -07:00
Arun Kumar Khandavalli
0d75e27c4e qcacld-3.0: Add the HE support for bitrate mask
Add HE support for bitrate mask standard interface in the driver.

Change-Id: Iad4dbec329beab5a922e8502f3b72ead27e5b467
CRs-Fixed: 3477589
2023-04-29 07:18:05 -07:00