Grafico dei commit

31191 Commit

Autore SHA1 Messaggio Data
Sheenam Monga
35c8eefa9e qcacld-3.0: Don't send sta keepalive time greater than configured val
currently if bss_max_idle_period is greater than default configured
value of sta_keep_alive then same value will be sent to FW. If any
AP sets bss_max_idle_period to greater than sta_keep_alive then reset
is not done on vdev stop due to which same value will be set for
new connection.

Fix is to not to send bss_max_idle_period as time period limit because
same value is updated in bss_max_idle_period of interface. So, default
configured value of sta_keep_alive_timer is required to be passed for
threshold validation. value reset is required once vdev stop happens
to avoid same keep alive even if bss_max_idle_period is not advertised
by AP.

CRs-Fixed: 3861815
Change-Id: I457a436a4c8a561600e93b3d5deaa0399fbd2c7d
2024-07-18 02:11:29 -07:00
Ravindra Konda
9c8536b86f Release 5.2.1.92G
Release 5.2.1.92G

Change-Id: I2b80ee907389dba1f9bf05e19771060c8faae5c0
CRs-Fixed: 774533
2024-07-11 00:47:30 -07:00
Vinod Kumar Pirla
020883b561 qcacld-3.0: Add link id to roam connect req
Add link id to connect request for partner link roaming to
match with scan entry's self link id to avoid selecting
a candidate with same BSSID and MLD but different link id.

Change-Id: I4b903f2e64a9eb4cc9f197577b2b11ea657aa2b2
CRs-Fixed: 3843561
2024-07-11 00:47:29 -07:00
Ravindra Konda
5d7cdb69a8 Release 5.2.1.92F
Release 5.2.1.92F

Change-Id: If1f9cab76bfac29f3daad489165baff9f56e8297
CRs-Fixed: 774533
2024-07-10 23:25:13 -07:00
Vijay Raj
04a045bd2a qcacld-3.0: Fix status check for ROAM Reassoc Frames
In api extract_roam_frame_info_tlv(), the request_response
bit is checked in order to determine whether the frame
received is a request frame or response frame which
in turn used to evaluate wmi_roam_frame_info->status_code
as tx_status code for transmitted frame and IEEE 80211
status code for received frames.
However, the request_response bit is only valid for Authentication
frames and hence status code for Association and Re-association
frame is reported incorrectly.

Fix the check to evaluate wmi_roam_frame_info->status_code as
tx_status code for the following:
1. Frame is Authentication Frame and request_response bit is
   set to '0'
2. Frame is Association Request frame
3. Frame is Re-Association Request Frame.

Change-Id: Icb7633ba8bf662f4987be016715051fa6d1adc06
CRs-Fixed: 3800906
2024-07-10 23:25:12 -07:00
Ravindra Konda
f04a885a7a Release 5.2.1.92E
Release 5.2.1.92E

Change-Id: I48f7a3b598d1d8359f5f45a8398e97c30bf22544
CRs-Fixed: 774533
2024-07-08 09:40:48 -07:00
Vinod Kumar Pirla
046d969548 qcacld-3.0: Do not allow duplicate peer creation for ML-SAP
As per current design, peer conflict detection logic allows
a peer with particular mac/mld to be created as long as
the ml dev context is same. However, this causes issues
for ML-STA wherein 2 different peer ML-STA could have same
mac address. In this case, the second peer creations should
be disallowed.

To fix this, skip the mac/mld conflict checks on the ml-dev
context of the ML-SAP and handle it separately.

In addition to the current checks add the following checks
for ML-SAP and reject the peer creation if:
a) MLO peer exists for the link mac of peer with different AID.
b) MLO peer exists for the MLD mac of peer with different AID:
c) If the associating client's MLD != one of the link mac address
and there is an MLO peer with different AID.

Change-Id: I75935e2362d6db1411c6a67f1e9db35f3b3963f2
CRs-Fixed: 3719956
2024-07-08 09:40:48 -07:00
Ravindra Konda
96f926f3ec Release 5.2.1.92D
Release 5.2.1.92D

Change-Id: I75d6ee8e1778b8a02ffe5c0001d612bc471155e0
CRs-Fixed: 774533
2024-07-08 08:35:36 -07:00
Rahul Gusain
819b78f545 qcacld-3.0: Restrict CSA channel width on DOT11 mode
Currently, STA do CSA on the given channel width, provided by the
AP. But sometimes in the fault conditions, AP provide channel width
which is not supported by STA.
For example, in this case, STA is connected with AP in 11AX mode.
During CSA, AP provides the 320 MHz channel width. But STA supports
maximum 160 MHz in 11AX mode and thus, it leads to disconnection.

So, to fix this, add check for dot11mode and restrict the channel
width to the maximum allowed channel width for the corresponding
dot11mode.

Change-Id: I29593db740afe6b23ea334bb499c46377868cd9b
CRs-Fixed: 3848635
2024-07-08 08:35:35 -07:00
Ravindra Konda
f608c16908 Release 5.2.1.92C
Release 5.2.1.92C

Change-Id: I304c68092503e085acdaac87462ef0ce084fffe9
CRs-Fixed: 774533
2024-07-05 10:31:08 -07:00
Srinivas Dasari
6c13ae9e55 qcacld-3.0: Isolate roam channel update from UPDATE_CFG
Currently, all roam params are updated to firmware whenever
a new param(e.g. preferred channels) is configured by the
userspace. This may overwrite the firmware learned data with
fresh config which is not intended.
Isolate the configured param update to firmware to avoid
tampering other params.
As there are multiple roam params, isolate ROAM CHAN configuration
for now. Incremental changes can be added to make other params
adapt to this.

Change-Id: Ib8c01e42263a0d77b5747f71591ac282909ed7d3
CRs-Fixed: 3856863
2024-07-05 10:31:07 -07:00
Ravindra Konda
b7db9e174c Release 5.2.1.92B
Release 5.2.1.92B

Change-Id: If500e551c75fb5508f89289da17586397db9de48
CRs-Fixed: 774533
2024-07-05 03:06:55 -07:00
Abhinav Kumar
c577433289 qcacld-3.0: Update next RSSI threshold in GETROAMTRIGGER cmd
Host updates the configured RSSI threshold from INI
"gNeighborLookupThreshold RoamRSSI_Trigger" over the
GETROAMTRIGGER command. But this RSSI threshold is reduced
by firmware in steps for reasons like candidate not found
during roam scan. So, the expectation is to print the next
RSSI threshold at which the roam scan will be triggered.
This value is received from firmware via the
WMI_ROAM_SCAN_STATS_EVENTID.

Fix is to store “next RSSI threshold” value in vdev mlme
and update same when GETROAMTRIGGER is queried.

Change-Id: I9b5dc80724d13f7cfe082f1214197d1c016e1a94
CRs-Fixed: 3827747
2024-07-05 03:06:54 -07:00
Ravindra Konda
41ece4819b Release 5.2.1.92A
Release 5.2.1.92A

Change-Id: I9cd7db7c5b0c1f940ddb75cb1db4c7943e355975
CRs-Fixed: 774533
2024-07-04 12:41:30 -07:00
Surya Prakash Sivaraj
5030ad43aa qcacld-3.0: Use peer STA bandwidth for MCS calculation
STA is associating on 20 MHz, whereas the SAP is operating
in 80 MHz. During the rate set preparation for the client,
instead of intersecting the 20 MHz MCS(sent by the peer in
EHT Cap) with the self cap of APUT, the validation happens
for the 80 MHz MCS set of STA and APUT. However, while sending
peer assoc to firmware, the 20 MHz MCS rate set of the client
is being used.

To fix this, generate the EHT MCS rate set of the client by
intersecting the MCS params corresponding to the STA's assoc
channel width.

Change-Id: I1baf79a3705922531d2ff3db8199633a35793129
CRs-Fixed: 3849051
2024-07-04 12:41:29 -07:00
Ravindra Konda
eef3281ef7 Release 5.2.1.92
Release 5.2.1.92

Change-Id: Ic142fb8601d969ece757193b7ceacd85d229fa20
CRs-Fixed: 774533
2024-07-03 08:24:03 -07:00
Asutosh Mohapatra
9004d4b0c4 qcacld-3.0: Enable wlan bazel compilation for Netrani.LA.2.5
Add support to enable wlan bazel compilation on
Netrani.LA.2.5 for qca6750.

Change-Id: Ida90bf07459e578c41ae969d54f4ed8f234d4f08
CRs-Fixed: 3834651
2024-07-03 08:24:02 -07:00
Ravindra Konda
13dc4ebff1 Release 5.2.1.91Z
Release 5.2.1.91Z

Change-Id: Id7504aebb03ab80b1e4bc8bce803b9897e5bda57
CRs-Fixed: 774533
2024-07-03 05:01:51 -07:00
Vinod Kumar Pirla
befb72ff0c qcacld-3.0: Notify OSIF on assoc vdev connect active
Post link switch the order of VDEV to link info in OSIF
changes and for the next connection, need to restore the
order. This restore currently happens when there is set
MAC address update before every connect, but however if
set MAC address is not received then the unrestored order
of VDEV will be used during connect which can be undesirable
in certain cases.

To avoid going ahead with connection with unrestored VDEV
mapping, make sure this is reset to proper order via
notifying HDD once assoc VDEV connect request becomes active.

Change-Id: Id3ba542820f7c2bc9c721a49735738df00b6e5d5
CRs-Fixed: 3827913
2024-07-03 05:01:50 -07:00
Ravindra Konda
43e6313b91 Release 5.2.1.91Y
Release 5.2.1.91Y

Change-Id: I83650830edf642fd5508da2376b0369825ee5fc5
CRs-Fixed: 774533
2024-07-03 03:50:02 -07:00
Vinod Kumar Pirla
ab3ca03ac2 qcacld-3.0: Send roam abort on peer create failure
Sending deauth on one of the links in MLO connection will result
in removing anchor link in FW and driver shall silently remove the
next link without initiating another deauth. For this reason the
status of MLO peer is set to DISCONN_INITIATED on sending first
deauth frame so that subsequent links do not send again.

The MLO peer context holds the list of all object manager peers for
that MLD connection and failure to add to the context shall result
in termination of connection. Currently the failures are not handled
and the object manager peer is not having any MLO peer context and
this results in sending deauth frame on both the links.

Handle the error of peer create and MLO peer attach on roaming
to abort the roam sync.

Change-Id: I4d5a766b673b36edb44d19065237aa35ff7d5f1d
CRs-Fixed: 3837890
2024-07-03 03:50:01 -07:00
Vinod Kumar Pirla
5df227d97f qcacld-3.0: Remove redundant MLO peer attach for STA
Remove the redundant MLO peer attach for STA for peer
create success handling.

Change-Id: Icfbded030dcc2c20ed6980878bdd43aeecca4d2e
CRs-Fixed: 3844703
2024-07-03 03:49:56 -07:00
Ravindra Konda
8f035595e8 Release 5.2.1.91X
Release 5.2.1.91X

Change-Id: Ie5e586a1105b6b04f10dc2aec2b1fc0e6fc1cb5a
CRs-Fixed: 774533
2024-07-02 09:51:15 -07:00
Yu Wang
0e2028eb61 qcacld-3.0: fix compilation failures caused by type mismatch
Fix compilation failures caused by type mismatch
between format and argument.
Fix some kernel-doc errors.

Change-Id: Id55c19eff1dd62102feffac1785b5fe825555fde
CRs-Fixed: 3805434
2024-07-02 09:51:14 -07:00
Ravindra Konda
639ed409fb Release 5.2.1.91W
Release 5.2.1.91W

Change-Id: I9bebdde62d53d61c51ae73f3770e8e87b47c85ba
CRs-Fixed: 774533
2024-07-02 08:35:06 -07:00
Aditya Kodukula
35d87fa945 qcacld-3.0: Add support for size 0 flexible length arrays
Convert size 0 variable length arrays to flexible length arrays.

Change-Id: I299800e11f65389d3cf3e616aeac5bcbb1a024e6
CRs-Fixed: 3690218
2024-07-02 08:35:06 -07:00
Ravindra Konda
e4417d0eba Release 5.2.1.91V
Release 5.2.1.91V

Change-Id: Id2cb461eebdf3dda47b737d0f2ccd670e1cdcbdb
CRs-Fixed: 774533
2024-07-02 03:12:01 -07:00
Prasanna JS
21f5356aa0 qcacld-3.0: Fix interface link layer stats for SAP/GO
Fix interface link layer stats by extending below functions
to handle SAP/Go case.

wlan_hdd_get_mlo_links_count
wlan_hdd_get_connected_link_info

Change-Id: If34898f3d572159828a0114339eda7d23790e39b
CRs-Fixed: 3819751
2024-07-02 03:12:00 -07:00
Ravindra Konda
738f75922c Release 5.2.1.91U
Release 5.2.1.91U

Change-Id: I3e3330b8c4c459d7d6c8f41d407a1d8720fae208
CRs-Fixed: 774533
2024-07-01 23:27:31 -07:00
Jianmin Zhu
894c8b5e07 qcacld-3.0: Fix roam failure for no scan entry
After increased wmi len, bcn frames go to roam sync event instead of roam
sync frame event, add scan entry logic of roam sync frame event handler is
missed in roam sync event handler, if old scan entry for roamed bssid aged
out, roam sync fails for no scan entry found.

To fix it, add scan entry logic in roam sync event handler too.

Change-Id: Ifb2d3323256b42a094a2871279353273275fbddf
CRs-Fixed: 3848978
2024-07-01 23:27:30 -07:00
Ravindra Konda
cd840eb86d Release 5.2.1.91T
Release 5.2.1.91T

Change-Id: I97de302464aa12ccb90724e865483e7061e62c55
CRs-Fixed: 774533
2024-07-01 05:45:59 -07:00
Vinod Kumar Pirla
a03370fb39 qcacld-3.0: Avoid concurrency check if new link is dyn inact
Policy manager restricts three active home channels on same MAC and
if any two links of ML-STA falls under same MAC, then policy manager
sends force inactive num set to one which link bitmap of those two
links. FW will ensure to not make both the links active at the same.

In such cases when another VDEV comes up via concurrency on the same
MAC but with different frequency then, it will result in two active
VDEVs on same MAC. Now if FW decides to exchange the ML-STA links
which are sent in force inactive num via vdev repurpose, then
policy manager rejects this request and it see the upcoming link
will be in MCC with existing two frequencies (one from ML-STA and
another from concurrency) while actually the ML-STA link will
eventually becomes standby if vdev repupose is allowed.

For this reason, skip checking allow concurrency if the target
link in VDEV repurpose is part of dynamic inactive bitmap.

Change-Id: Ia7b1f798925c3ae02aceba68584dc02e44f2a514
CRs-Fixed: 3840955
2024-07-01 05:45:58 -07:00
Jianmin Zhu
5c4f3ad9cc qcacld-3.0: Fix roam sync event len check failed issue
F/W increased WMI event max length per CE2 config to satisfy increasing
mlo frame length in roam sync event, host checked frame len with old max
length wrongly, so roam sync failed.
To fix it, remove unnecessary frame len with old max length as
roam_sync_frame handler, frame len is checked with tlv len already.

CRs-Fixed: 3844499
Change-Id: I75394ffa6704b4556701ed060e4345a56906dc1b
2024-07-01 05:45:53 -07:00
Ravindra Konda
d46d7b8335 Release 5.2.1.91S
Release 5.2.1.91S

Change-Id: Ifd8cf3fd323f0291a0c564360e74d3621564064a
CRs-Fixed: 774533
2024-06-28 04:34:38 -07:00
Amit Mehta
b661bb7ae7 qcacld-3.0: Handle concurrency scenarios in LPC mode
Currently if STA + LPC is running and new interface is brought up
in case of monitor_mode_concurrency ini enable case only LPC
is terminated. if monitor_mode_concurrency ini is disabled LPC
will not be terminated and LPC will continue to run in concurrency
scenario.

To fix the issue remove check for monitor_mode_concurrency and delete
LPC interface directly in concurrency scenarios.

CRs-Fixed: 3849400
Change-Id: Ie0d7f6f942b973e5fc7944430cf5aaa9b0bdf538
2024-06-28 04:34:37 -07:00
Ravindra Konda
fdc0f4d311 Release 5.2.1.91R
Release 5.2.1.91R

Change-Id: I86ce47d6e2dc5956651db093675d93141eaa51c0
CRs-Fixed: 774533
2024-06-26 01:58:23 -07:00
Abhishek Singh
89f532d762 qcacld-3.0: Use mgmt_txrx_frame_hex_dump to dump mgmt frame
Use mgmt_txrx_frame_hex_dump to dump mgmt frame and optimize
frame dump and logs

Change-Id: I56f244fecfa2602c6b763f5734d36199b8c3f165
CRs-Fixed: 3838935
2024-06-26 01:58:22 -07:00
Ravindra Konda
052b823b10 Release 5.2.1.91Q
Release 5.2.1.91Q

Change-Id: I0be71ca8b343fb9f98ad117e9ef8140efccf9d2a
CRs-Fixed: 774533
2024-06-24 20:30:11 -07:00
Jianmin Zhu
3f6e8cf491 qcacld-3.0: Allow to connect AP in denylist if no other candidate
If there is only 1 AP candidate, and it has been added to denylist by F/W,
it is not allowed to connect, it's bad user experience to end users.

To fix it, if there is only 1 AP candidate, and it has been added to
denylist by F/W, but deny reason is neither critical nor certificate
required, such as REASON_STA_KICKOUT, need allow user to connect it if no
other candidates.

Change-Id: I2ae66ceba943dcfbc927568684218b7120c1e490
CRs-Fixed: 3785252
2024-06-24 20:30:10 -07:00
Ravindra Konda
bb4e62a8a1 Release 5.2.1.91P
Release 5.2.1.91P

Change-Id: Ia9c3610fcefa60f60187ceb92c928e07f8e28401
CRs-Fixed: 774533
2024-06-24 02:55:41 -07:00
Srikanth Marepalli
1b974317d2 qcacld-3.0: Sanitize vdev before dereference
Sanitize vdev before de-reference.

Change-Id: Icb16de8be51f9fcf58f0c538453baa9146843a55
CRs-Fixed: 3779763
2024-06-24 02:55:41 -07:00
Srikanth Marepalli
0490cc922a qcacld-3.0: Sanitize tdls_vdev before dereference
Sanitize tdls_vdev before de-reference.

Change-Id: I098cf07546315e504da73b6f2d2480be9c026f4b
CRs-Fixed: 3779763
2024-06-24 02:55:35 -07:00
Srikanth Marepalli
542d78f42e qcacld-3.0: Sanitize dlm_entry before dereference
Sanitize dlm_entry before de-reference.

Change-Id: Ide6601738f8be3db08a3d3c82a441f0f295802d6
CRs-Fixed: 3779763
2024-06-24 02:55:30 -07:00
Ravindra Konda
e2855367df Release 5.2.1.91O
Release 5.2.1.91O

Change-Id: Ie4f27b99c37d857255f0f240a3dc3afc4401a783
CRs-Fixed: 774533
2024-06-21 06:40:18 -07:00
Chunquan Luo
e2660a5ccb qcacld-3.0: Update roam stats by event to user space
When roam happened in F/W and send roam stats to host driver,
host driver send these roam stats info to user space by event
without cache them.

Change-Id: I772c0a5035896715204f6eee277090ed1f33e97c
CRs-Fixed: 3790270
2024-06-21 06:40:18 -07:00
Ravindra Konda
02daca55fe Release 5.2.1.91N
Release 5.2.1.91N

Change-Id: I503214e8cf8267468204df0055cecfbf050e04e7
CRs-Fixed: 774533
2024-06-19 00:42:28 -07:00
Arun Kumar Khandavalli
86620d4a21 qcacld-3.0: Register EHT action frames for wake up
Currently the bitmap of action frames that can wake up the host
is sent via the wmi command WMI_WOW_SET_ACTION_WAKE_UP_CMDID.
This bitmap doesn't include EHT action frames so currently the
host doesn't wake up for EHT action frames.

Enable wake up for EHT action frames during runtime/system suspend.

CRs-Fixed: 3811796
Change-Id: I2c6ab7b7fba5572a02ff0db0f5198f2e9138a97e
2024-06-19 00:42:27 -07:00
Arun Kumar Khandavalli
47afce51f1 qcacld-3.0: Add ini config for enabling EPCS
Currently EPCS is enabled only via the vendor command hook,
add the ini configuration to enable/disable the EPCS

CRs-Fixed: 3838932
Change-Id: I1a887fa2a91dd68877d96169d39ea868ee675241
2024-06-19 00:42:21 -07:00
Ravindra Konda
029e93145e Release 5.2.1.91M
Release 5.2.1.91M

Change-Id: Ie213abd1f3149dbe195c85f2009be803dcec9742
CRs-Fixed: 774533
2024-06-17 01:51:06 -07:00
Lin Bai
709d013002 qcacld-3.0: Enable DBAM feature for volcano
Enable DBAM feature for volcano.

Change-Id: I57a2b524a27326ca9e020600db2b82e16cc7ea96
CRs-Fixed: 3838631
2024-06-17 01:51:05 -07:00