Revīziju grafs

31053 Revīzijas

Autors SHA1 Ziņojums Datums
Balaji Pothunoori
1b80f4f622 qcacld-3.0: initialize structure parameters before use
Currently bool values are not initialized and results
in unexpected values for bool variables,
Hence this change is to initialize structure to
NULL before use.

Change-Id: I07ec3880d35441d3dc84eaa44640ad07eba0b3c9
CRs-Fixed: 3800965
2024-05-14 05:02:52 -07:00
Ravindra Konda
dab81942a7 Release 5.2.1.90A
Release 5.2.1.90A

Change-Id: I123a60e82ff8014f08a44a6d9f11ba4392e5dbe7
CRs-Fixed: 774533
2024-05-14 00:35:18 -07:00
Surya Prakash Sivaraj
99ad149bb6 qcacld-3.0: Allow firmware to auto detect tx bssid
In the case of of 5 GHz + non-tx 6 GHz MLO connection, the scan entry
generated from the ML-probe might not carry MBSSID information of the
non-tx partner. The RNR of the assoc link will also not be inherited.
Therefore, the mbssid info is not generated for this non-tx 6 GHz scan
entry. In such cases, if there is a vdev restart, host driver sends zero
mac address in trans bssid, leading to issues with connection.

To fix this:
1. Look up the RNR db for the 6 GHz link, and determine if the bss param
corresponding to the bssid is non-tx MBSSID.
2. If it is a non-tx MBSSID and there is no mbssid info in the scan cache,
then configure the tx-bssid as broadcast mac.
3. This allows the firmware to auto-detect the tx bssid from the upcoming
beacons.
4. Also, save the neighbor entries from the beacon/probes received from
the firmware during roam sync and other events to facilitate the look-up.
5. If there is no existing entry for the roamed non-tx link, then caching
the neighbor info from the assoc partner link would store the valid entry
into the rnr db.

Change-Id: Ie5ef03fc8504cd63f6db98d2ce4af7eb5c2d7e00
CRs-Fixed: 3789675
2024-05-14 00:35:17 -07:00
Ravindra Konda
e151bf3d8b Release 5.2.1.90
Release 5.2.1.90

Change-Id: Ie62c9e48a0b52afd7d3f54e63d9f7d532d6c6bb3
CRs-Fixed: 774533
2024-05-07 02:00:14 -07:00
Prasanna JS
0bdee78916 qcacld-3.0: Fix uninitialized variable used issue
Fix uninitialized variable used issue for sbs_mac0_modified_pcl

Change-Id: I8be306ab118291923b1c76eb6a84c1e14aacf5e0
CRs-Fixed: 3687569
2024-05-07 02:00:13 -07:00
Ravindra Konda
095cf5e962 Release 5.2.1.89Z
Release 5.2.1.89Z

Change-Id: I6592be70aa3484a637a0bd9741697f3519621407
CRs-Fixed: 774533
2024-05-06 00:53:29 -07:00
Vinod Kumar Pirla
9bab9cd8c2 qcacld-3.0: Enable peer trasition history by default
Enable peer transition history by default and remove
the compile time flag.

Change-Id: Idcce6f5e418d4e4571caaadce07d787c0deaecd8
CRs-Fixed: 3774914
2024-05-06 00:53:29 -07:00
Ravindra Konda
bdb82f09ee Release 5.2.1.89Y
Release 5.2.1.89Y

Change-Id: I1667d8af20e00c656c228118ea4114bde368d1c4
CRs-Fixed: 774533
2024-05-05 23:16:04 -07:00
Pragaspathi Thilagaraj
86769c359e qcacld-3.0: Extract channel info from EHT OP IE to fill PE session
After roaming to 11BE 320 MHz EHT AP, the channel width is wrongly
updated as 40 MHz in newly created pe_session. This causes wrong
channel info to be sent to kernel in the get sta channel request
and could result in disconnection. In lim_fill_ft_session(),
the chan_width is updated from VHT OP or Vendor VHT OP IE only
currently. But in 6 GHz EHT 320 mode, the VHT OP IE will not be
present and default 40 MHz is assigned.

So extract the channel info from EHT OP IE and use that to fill
the ft pe session created after roaming

Change-Id: I81b52391e69dfe87b103ca1ee90dd9658f02273a
CRs-Fixed: 3746276
2024-05-05 23:16:03 -07:00
Ravindra Konda
3b3fbdfce4 Release 5.2.1.89X
Release 5.2.1.89X

Change-Id: I143c86de99d1aa73629e086856a9b15bea063ae9
CRs-Fixed: 774533
2024-05-03 01:34:18 -07:00
Vijay Raj
4a8ee774c7 qcacld-3.0: Fix NSS update during TDLS setup
Fix NSS update during TDLS setup, by calling HDD API.

Change-Id: I0a27fca151f72f64460bd7cbca8d803ade81bd10
CRs-Fixed: 3796099
2024-05-03 01:34:17 -07:00
Ravindra Konda
e2cde6e2fc Release 5.2.1.89W
Release 5.2.1.89W

Change-Id: I8260d3ee757db98d97171e6e876bd33d52a8458f
CRs-Fixed: 774533
2024-05-02 07:50:55 -07:00
Vinod Kumar Pirla
28f58fc1f3 qcacld-3.0: Relax WPA2 and WPA3-SAE HnP for MLO connection
Change the default connection dot11mode behavior of APs with
following security configuration which can support MLO:
   1) WPA2 with PMF
   2) WPA3-SAE with HnP (or H2E cap equals false)

Currently User has to force allow connection in MLO via INI or
else driver downgrades such candidates to 11ax.

Change-Id: I4ff232fc920e19e4f158eba3038abd57b045e705
CRs-Fixed: 3779433
2024-05-02 07:50:54 -07:00
Liangwei Dong
f76b0dae55 qcacld-3.0: Add NULL check for tpc_level
Add NULL ptr check for tpc_level and tpc_attr.

Change-Id: I12f25f875517418efd3566747ae191ad343f153e
CRs-Fixed: 3714146
2024-05-02 07:50:43 -07:00
Ravindra Konda
b36c9edef8 Release 5.2.1.89V
Release 5.2.1.89V

Change-Id: I3cb24d64164bb7386503e04a9716c90bd5ef9bce
CRs-Fixed: 774533
2024-05-02 06:45:03 -07:00
Manoj Shanmugam
3798d44679 qcacld-3.0: Add null check for mac
Pointer mac is returned from function cds_get_context which might return
NULL. So NULL check for mac pointer is added before dereferencing it.

Change-Id: I9258dc625144650c077fd457827fc24610732b77
CRs-Fixed: 3746451
2024-05-02 06:45:02 -07:00
Ravindra Konda
1da365efd5 Release 5.2.1.89U
Release 5.2.1.89U

Change-Id: I91acdd3b605f1569baeccf7bd37bfbb4f4be66d4
CRs-Fixed: 774533
2024-05-02 01:10:00 -07:00
Vijay Raj
ebd1aaceda qcacld-3.0: Override NSS with the HW NSS capability during TDLS setup
Add support override the NSS capability with HW NSS capability
during TDLS setup.

Change-Id: I916193969d5aafe042ee1bea2adc29668c9109ee
CRs-Fixed: 3792456
2024-05-02 01:09:59 -07:00
Ravindra Konda
fa303d4954 Release 5.2.1.89T
Release 5.2.1.89T

Change-Id: I2dea159ff4ae1dc9238fd12239bbeb2ac71ecb4f
CRs-Fixed: 774533
2024-05-01 12:19:59 -07:00
Srinivas Dasari
d054e0b3e2 qcacld-3.0: Send ROAM_SYNC abort status to caller
Currently, ROAM_SYNC is aborted on the corresponding vdev when
the vdev is not in CONNECTED state. This abort operation sends
an RSO_STOP to fw but the status is not notified to the caller.
This results in a race condition in the below scenario,

1. Firmware roamed to a 2-link ML AP and sent Roam sync ind
   to host
2. Host posted ROAM_SYNC on vdev-0 in scheduler thread context
   as the vdev-0 state is CONNECTED
3. Got a DISCONNECT request from userspace in user thread and
   the states moved to DISCONNECTING.
4. Host tried to post ROAM_SYNC to vdev-1 but aborted as the
   state is not CONNECTED and tries to send RSO_STOP to fw.
   This RSO_STOP won’t be sent as it’s a link vdev and the
   RSO_STOP should go from assoc vdev later.
   But this status is not indicated to the caller which
   proceeds with vdev-0 ROAM_SYNC.
5. As vdev-0 ROAM_SYNC doesn't check for the connection state
   once processing is started, ROAM_SYNC would be completed
   on vdev-0.
6. This causes out of sync and vdev-1 doesn't get cleaned-up.
7. As part of the disconnect, host tries to cleanup the old
   peer on vdev-1. But firmware ignores this as that peer is
   already cleaned up in fw.

This results in peer map-unmap issue later as the new Roamed
peer on vdev-1 will never get cleaned-up in host but the same
got cleaned up in fw. FW is free to use that peer_id to
another peer mac later and when it does, host DP complains.

So, indicate ROAM_SYNC abort status to the caller to abort
the complete Roaming.

Change-Id: Ic65149ddf28f01ca5d7a0f6d3137a38e64e6c6ae
CRs-Fixed: 3786671
2024-05-01 12:19:58 -07:00
Ravindra Konda
d9b0f13b14 Release 5.2.1.89S
Release 5.2.1.89S

Change-Id: I6a4121c281c776f0a20d85dddfea214dff6fdf8d
CRs-Fixed: 774533
2024-05-01 10:40:31 -07:00
Srinivas Dasari
6ac4a7f8cb qcacld-3.0: Don't abort SAP CSA if it's already started
When SAP CSA is started, host driver starts sending CSA IE
with beacon count. Host driver sends VDEV_RESTART to firmware
only when the beacon count reaches to 0(e.g. from 10 to 0).
But if CSA has to be aborted due to some reason(e.g. concurrent
SAP got disconnected), host driver stops the CSA by posting
EV_CHAN_SWITCH_DISABLED where it stops sending the CSA IE and
restores the VDEV state to UP-UP-ACTIVE. It updates the
templates and doesn't send VDEV_RESTART to firmware.

Currently, host driver sends VDEV_UP to firmware as part of
SAP state machine restoration. But firmware might not expect
this VDEV_UP as vdev is in UP state. Host has to avoid
sending VDEV_UP to firmware when the VDEV state is UP-ACTIVE.
Also, SAP CSA abort might result in other race conditions.
So, let the CSA continue if it's already started and SAP channel
gets evaluated once SAP is UP anyway.

Change-Id: Ic8ff8b0c58dd656b4e7ae2a2f9c46c3584a33165
CRs-Fixed: 3734991
2024-05-01 10:40:30 -07:00
Ravindra Konda
ff5b1e229f Release 5.2.1.89R
Release 5.2.1.89R

Change-Id: Ia04ee006387f57bd4ef33801215dfcf986570457
CRs-Fixed: 774533
2024-04-29 06:47:02 -07:00
Asutosh Mohapatra
f1b4ea31ad qcacld-3.0: Add sta keep alive interval cmd support
Add support to dynamically set keep alive interval
for STA interfce.

Change-Id: I9aceaa03866f819e5ea169778a57feff053a39d6
CRs-Fixed: 3795405
2024-04-29 06:47:01 -07:00
Ravindra Konda
84557de6e4 Release 5.2.1.89Q
Release 5.2.1.89Q

Change-Id: Ia6fd4ca53775b3b80143810d08098503146828a2
CRs-Fixed: 774533
2024-04-26 09:45:33 -07:00
Surya Prakash Sivaraj
772f0d19e4 qcacld-3.0: Send RSO start/stop for CSA
Host driver doesn't disable RSO before restarting the vdev
for fw-initiated as well host-initiated CSA or BW change for
link vdev. Therefore, if the FW is in middle of roam(for host
initiated CSA) cases, this restart leads to race condition in FW.

Add a new reason code for VDEV restarts triggered due to CSA,
enable/disable the RSO SM based on this new reason code for
assoc as well as partner links.

Change-Id: I48925d76df62bb1c60f212048b95c434af18042f
CRs-Fixed: 3770973
2024-04-26 09:45:32 -07:00
Ravindra Konda
3ea4769e8d Release 5.2.1.89P
Release 5.2.1.89P

Change-Id: Ibb300a3bebfbdf5c6917a4002d2dd90291ed958c
CRs-Fixed: 774533
2024-04-25 10:10:57 -07:00
Vijay Raj
847c26d19d qcacld-3.0: Avoid NSS and Antenna mode change during TDLS connection
In the api hdd_set_nss_params() and hdd_set_antenna_mode()
change in nss parameter or antenna mode cause the TDLS
teardown.

Add a check in api hdd_set_nss_params() and
hdd_set_antenna_mode() to prevent change in parameter
if there is a existing TDLS connection.

Change-Id: I8a58b8b0a617a8de490907e4c3181b15d90e0dbb
CRs-Fixed: 3789892
2024-04-25 10:10:56 -07:00
Ravindra Konda
86a2632fa2 Release 5.2.1.89O
Release 5.2.1.89O

Change-Id: I50d55b2b8c093f0f34a9cf535e1ec37e197f2b63
CRs-Fixed: 774533
2024-04-23 07:47:46 -07:00
Prasanna JS
c366e42408 qcacld-3.0: Fix missing semicolon compilation error
Fix missing semicolon compilation error

Change-Id: I0b9092dbfbced656c518dcafb7394cb37f4cc6ef
CRs-Fixed: 3794351
2024-04-23 07:47:45 -07:00
Rachit Kankane
46a74af7d5 qcacld-3.0: Add PLD support for QMI Indication
Add PLD APIs to register callback for QMI Indication via CNSS2

Change-Id: I5a92250bf349b2b94e3ed74ed0b420f96c2c7461
CRs-Fixed: 3786384
2024-04-23 07:47:36 -07:00
Prasanna JS
f6f3162846 qcacld-3.0: Add compile time flag for Chipset logging
Add feature flag for chipset logging feature

Change-Id: I2622dfe60d7b45a468b304eeed420e828f36d902
CRs-Fixed: 3782380
2024-04-23 07:47:27 -07:00
Prasanna JS
019b2fff7f qcacld-3.0: Add chipset stats for NAN operations
Add chipset stats for NAN operations

Change-Id: Iced9198240eed0bcddead32977b160cd8aeeedf8
CRs-Fixed: 3783059
2024-04-23 07:47:16 -07:00
Prasanna JS
7643b9b9f7 qcacld-3.0: Add chipset stats for SAP/P2P GO
Add chipset stats for SAP/P2P GO

Change-Id: Id90927de86fecc98b1cf53362b45245c02a23aa7
CRs-Fixed: 3783050
2024-04-23 07:47:07 -07:00
Prasanna JS
029b0cf777 qcacld-3.0: Add chipset stats for TDLS operations
Add chipset stats for TDLS operations

Change-Id: Ib55de392d14d8aace67b00005bff72c999515a45
CRs-Fixed: 3783041
2024-04-23 07:46:57 -07:00
Rachit Kankane
391e08c8fd qcacld-3.0: Add chipset stats for Roaming operations
Add chipset stats for Roaming operations

Change-Id: I0f9fbb362a3c4a8bcbbec991775272a127cdeae6
CRs-Fixed: 3783032
2024-04-23 07:46:46 -07:00
Prasanna JS
1118030920 qcacld-3.0: Add chipset stats for STA connect/disconnect
Add chipset stats for STA connect/disconnect

Change-Id: I6a96342493d1fbdf1c7484fa7f11056190b66bb1
CRs-Fixed: 3783024
2024-04-23 07:46:35 -07:00
Prasanna JS
57734374e9 qcacld-3.0: Add chipset stats for TX/RX mgmt frames
Add chipset stats for mgmt TX/RX frames

Change-Id: I14e487ef797fbacb7247bcf50b4ce9d77856376d
CRs-Fixed: 3783020
2024-04-23 07:46:24 -07:00
Prasanna JS
3f61d333b0 qcacld-3.0: Add chipset stats API to send data to middleware
Add chipset stats API to send data to middleware

Change-Id: I391f0a1ba72f4b00b0aadc0954abda728c843d1b
CRs-Fixed: 3784971
2024-04-23 07:46:15 -07:00
Prasanna JS
8a00cb7777 qcacld-3.0: Set chipset stats bits when user requests ring data
Set chipset stats bits i.e HOST_LOG_CHIPSET_STATS for
host chipset stats and FW_LOG_CHIPSET_STATS for firmware
chipset stats in gwlan_logging.eventFlag object whenever
user requests ring data inorder to flush both host and fw
chipset stats buffer.

Change-Id: I3701c65d2f3a94773e34f14c1a5742ec9b416347
CRs-Fixed: 3783014
2024-04-23 07:46:06 -07:00
Prasanna JS
499e272c51 qcacld-3.0: Add new file in bazal stats to compile
Update bazel script with wlan_cp_stats_chipset_stats.c src
file to include it in the compilation

Change-Id: I9f92db2856f14c146b2ea111be0e0f2f0ce8fc19
CRs-Fixed: 3783012
2024-04-23 07:45:57 -07:00
Ravindra Konda
31038a49b0 Release 5.2.1.89N
Release 5.2.1.89N

Change-Id: Iac9aaf6eb25eef637478ba84431116e1bd2eca06
CRs-Fixed: 774533
2024-04-19 07:37:45 -07:00
Abhinav Kumar
404d297834 qcacld-3.0: Fix timestamp values for BTM connectivity logs
Firmware timestamp values are not printed for BTM_QUERY &
BTM_REQ events and wrong value for BTM_RSP. This is because
the timestamp values is read from wrong structures.

Read the firmware timestamp values from correct wmi structure
to fill the connectivity diag event

Change-Id: I568e87ee3e4bb66d3f73d353df794ced92b418c1
CRs-Fixed: 3788350
2024-04-19 07:37:44 -07:00
CNSS_WLAN Service
5d70722fa2 Merge "Release 5.2.1.89M" into wlan-cld3.driver.lnx.2.0.14 2024-04-19 04:19:15 -07:00
CNSS_WLAN Service
3cf538a14f Merge "qcacld-3.0: Fix sap_dfs_wakelock not released when SAP stop" into wlan-cld3.driver.lnx.2.0.14 2024-04-19 04:18:48 -07:00
CNSS_WLAN Service
9571c5520b Merge "qcacld-3.0: Remove dependency of gEnable2x2 with HtSMPS" into wlan-cld3.driver.lnx.2.0.14 2024-04-19 04:18:12 -07:00
CNSS_WLAN Service
93d965aa54 Merge "qcacld-3.0: Use only partner links with valid scan entry" into wlan-cld3.driver.lnx.2.0.14 2024-04-19 04:18:02 -07:00
Ravindra Konda
ac65ad768d Release 5.2.1.89M
Release 5.2.1.89M

Change-Id: I6f43100079f07e536574aac5d7e34a65feb30e2e
CRs-Fixed: 774533
2024-04-19 01:40:04 -07:00
Jianmin Zhu
4f3d9a269a qcacld-3.0: Fix sap_dfs_wakelock not released when SAP stop
When SAP start as pri freq: 5180, 160M,  pri freq isn’t DFS freq, but
bonded freqs are DFS freq, so sap_dfs_wakelock is held.
After SAP restart as pri freq: 5180, 80M, pri freq and bonded freqs are
not DFS freq, so sap_dfs_wakelock isn’t released.

To fix it, add ch_params_before_ch_switch in sap_context, which includes
ch_width/ccfs0/ccfs1, can get all bonded sub channel info.
Add ch_params parameter in API hdd_hostapd_channel_allow_suspend and
hdd_hostapd_channel_prevent_suspend.

Call wlan_mlme_check_chan_param_has_dfs in them instead of
sap_chan_bond_dfs_sub_chan with

CRs-Fixed: 3777779
Change-Id: I7e32317b2ffab6f8de5990aeed68e7bd02527d6f
2024-04-19 01:40:03 -07:00
Ravindra Konda
a1fa06e4d6 Release 5.2.1.89L
Release 5.2.1.89L

Change-Id: Ie07685172c833db43408a940ffddc2fff0ea3314
CRs-Fixed: 774533
2024-04-17 10:24:12 -07:00