Commit Graph

29631 次程式碼提交

作者 SHA1 備註 提交日期
Rahul Choudhary
8d6557a26d Release 5.2.1.74J
Release 5.2.1.74J

Change-Id: I1516b4089771724bad30ac9fc4ebd4259254102a
CRs-Fixed: 774533
2023-07-17 19:47:31 -07:00
Pragaspathi Thilagaraj
d324508e7d qcacld-3.0: Use AP channel width to fill OMN IE in assoc request
Currently the pe_session->ch_width is overwritten to maximum
channel width if the AP advertises 20 MHz ch_width, to mitigate
some interopebality issues with faulty AP that changes BW during
association. So save the AP channel width computed in
pe_session->ap_ch_width.

Use the pe_session->ap_ch_width to validate if the ch_width is
20 MHz to fill the IE.

Change-Id: Iafe60f8497fde946f0135a6586e524143f3902f5
CRs-Fixed: 3548484
2023-07-17 19:47:31 -07:00
Rahul Choudhary
2d45230b17 Release 5.2.1.74I
Release 5.2.1.74I

Change-Id: I6a38b0a97af0f00783de8221a07086b6e06dd4b3
CRs-Fixed: 774533
2023-07-17 13:24:41 -07:00
Aravind Kishore Sukla
303fd0563d qcacld-3.0: Update host version for feature set info
Update host version for feature set info

Change-Id: I0e3721335f95609dcb340bfcb52e114bc94efd40
CRs-Fixed: 3553221
2023-07-17 13:24:40 -07:00
Rahul Choudhary
31cabbcf22 Release 5.2.1.74H
Release 5.2.1.74H

Change-Id: I48c04456a2db5b0c4921255c8fad12a55a742741
CRs-Fixed: 774533
2023-07-17 10:38:38 -07:00
Deeksha Gupta
4941611135 qcacld-3.0: Send partner link info during peer_assoc_cmd
Send partner link info during peer_assoc_cmd

Change-Id: I64b7b6c9aee8d436ec813ae2b0eac025c985d212
CRs-Fixed: 3530233
2023-07-17 10:38:38 -07:00
Rahul Choudhary
e3ea165872 Release 5.2.1.74G
Release 5.2.1.74G

Change-Id: I9b98def119969efa15973583aacf7f3bd864cce8
CRs-Fixed: 774533
2023-07-17 07:51:03 -07:00
Vijay Raj
ab389ecd74 qcacld-3.0: Add RSO state check for disconnect event
Firmware sends final bmiss indication as part of roam scan
stats event. Disconn log is sent as part of the final bmiss
indication from roam scan stats event with specific reason.
But if RSO stop or RSO deinit happens after first bmiss due
to concurrent interface connection, then firmware doesn't
send the final bmiss indication to driver since roam scan
will be disabled. This will lead HOST to unable to send
disconnect log to userspace.

In api lim_tear_down_link_with_ap(), add rso state check
to send discon connectivity event in case when RSO state
change to STOPPED or DEINIT after initial BMISS.

Change-Id: I318590ea5758b19a2542b4b581a07221f5195b24
CRs-Fixed: 3530673
2023-07-17 07:51:03 -07:00
Rahul Choudhary
bfbd43d82c Release 5.2.1.74F
Release 5.2.1.74F

Change-Id: I1b7cd191b6426f37e87897ba5c075f10087f8bbf
CRs-Fixed: 774533
2023-07-17 05:01:06 -07:00
Amit Mehta
af94327676 qcacld-3.0: Add WALT_GET_CPU_TAKEN_SUPPORT flag
set WALT_GET_CPU_TAKEN_SUPPORT if walt_get_cpus_taken
is present to avoid issue on target where changes are
not present in kernel branch.

Change-Id: I550291b5fb2dc38b6a26eaece3fbe3ede5604a7d
CRs-Fixed: 3559245
2023-07-17 05:01:05 -07:00
Rahul Choudhary
6e093a5d89 Release 5.2.1.74E
Release 5.2.1.74E

Change-Id: I281265ab8c811511d39d0302a7b24313db92793f
CRs-Fixed: 774533
2023-07-17 00:05:48 -07:00
Shailendra Singh
dc45a92479 qcacld-3.0: Add change to get per vdev tx power
Add change to get txpower per vdev in vdev extended
stats from firmware. If per vdev tx power is set
then get it from extended stats received from
firmware. Otherwise, get pdev tx power.

Change-Id: I62b4516ee2951ef3e71600575e7e69a5213fdb40
CRs-Fixed: 3495828
2023-07-17 00:05:47 -07:00
Rahul Choudhary
1b78fbea88 Release 5.2.1.74D
Release 5.2.1.74D

Change-Id: I4715bfd01674e9eb697c6dcb6883ab59ae4ef1ee
CRs-Fixed: 774533
2023-07-16 14:02:28 -07:00
Aasir Rasheed
478a67b05b qcacld-3.0: Use psoc based api to save keys for the standby link
This change is to save crypto key for standby link using
wlan_crypto_save_ml_sta_key api based on psoc level.

Change-Id: I93a886de3dec470f5905609939735830d9e9904d
CRs-Fixed: 3549392
2023-07-16 14:02:28 -07:00
Rahul Choudhary
c67ac15790 Release 5.2.1.74C
Release 5.2.1.74C

Change-Id: I58a9c6b5e5788f207dddee2aec30cc7054fbe27e
CRs-Fixed: 774533
2023-07-15 16:06:28 -07:00
Arun Kumar Khandavalli
deb06bc73b qcacld-3.0: take vdev reference before passing the vdev around
While STA is connecting we check if SAP is on any of the dfs
channels passing the vdev without taking vdev reference.

SAP interface can be removed in the other thread resulting in
invalid access. So take the vdev reference before passing the
vdev.

Change-Id: I5e1e24c5c8a3f877143bc2fc1b7a5744452ac9c6
CRs-Fixed: 3541378
2023-07-15 16:06:28 -07:00
Rahul Choudhary
c719dbf10d Release 5.2.1.74B
Release 5.2.1.74B

Change-Id: I50e82f09ab73600035cc2707f6f46baf4ec0937a
CRs-Fixed: 774533
2023-07-15 08:07:03 -07:00
Vinod Kumar Pirla
7627d7c410 qcacld-3.0: Reject start adapter if no assoc adapter found
Driver creates all SAP add virtual interface as ML-type adapter
and when driver receives change interface mode to STA type on
that adapter, it will not reset the ML-type flag and during
VDEV create driver is trying to search link adapter for this
STA adapter to fill link address of the VDEV. As there won't be
any link adapter for virtually created interface, driver is not
filling MAC address and attempting VDEV create with NULL MAC.

If link adapter is not found for any reason, result in failure
for start adapter.

Change-Id: I639c384964b15a92eb7dea4e6a69fd588025e850
CRs-Fixed: 3559740
2023-07-15 08:07:03 -07:00
Rahul Choudhary
36b2cba833 Release 5.2.1.74A
Release 5.2.1.74A

Change-Id: Ic2645d4b02861f7db7e35faa8b6eafd43dc48472
CRs-Fixed: 774533
2023-07-14 18:47:59 -07:00
Aditya Kodukula
5d0fdc0b92 qcacld-3.0: Cache mlo ll_peer stats in hdd context
Currently for mlo connection, the peer_stats sent by FW
are cached into the link_info structure. Since FW sends
peer stats for all connected peers in a single event,
cache it in hdd context for easy access.

Change-Id: I5e13694683f96f9c0d4e11026f5f2737d8454c65
CRs-Fixed: 3559549
2023-07-14 18:47:59 -07:00
Rahul Choudhary
248c051ae5 Release 5.2.1.74
Release 5.2.1.74

Change-Id: I6b8a65b1f746b7c2caf7c7986b940148d5b15dd5
CRs-Fixed: 774533
2023-07-14 15:41:19 -07:00
Abhinav Kumar
c6cda92c56 qcacld-3.0: select pri20 frequency in a wideband scan list
As 320 MHz wideband scan is not supported host splits 320 MHz
bandwidth into two 160 MHz scans. Currently, none of these
two 160 MHz wideband scan requests carry the pri20 sub-band
frequency of the connected 6 GHz ML link.
Due to this, DUT is not able to receive beacons sent by 6 GHz
AP (AP sends beacons only on primary 20 MHz freq).

The fix is to fill the pri20 sub-band freq of the connected
6 GHz ML link as one frequency in the wide band scan list
request.

CRs-Fixed: 3552131
Change-Id: I3da18d5801fb7af84b6e20b8134af2d738cc57e1
2023-07-14 15:41:18 -07:00
Jyoti Kumari
8b0e06658f qcacld-3.0: Store TWT SI and SP in twt peer private object
Store TWT SI and SP in twt peer private object. This info will be
use in LL_LT_SAP to decide CSA via GATT message or ECSA action
frame.

Change-Id: I163b38a46267a2f1453cdb91d90dc97d0e6265e4
CRs-Fixed: 3517009
2023-07-14 15:41:13 -07:00
Deeksha Gupta
fb6061d91f qcacld-3.0: Reset the vdev level T2LM info as default mapping
Currently, during disconnection vdev level T2LM established
mapping set as 0.

Add changes to reset it to default mapping T2LM mapping
instead to 0.

Change-Id: I4590045a65d3e715ceddcbf73252ec853abc7cb3
CRs-Fixed: 3560022
2023-07-14 15:41:08 -07:00
Rahul Choudhary
ae93efe6e8 Release 5.2.1.73Z
Release 5.2.1.73Z

Change-Id: Ic87aa2c8da67563610afec1bb6ff9d30bc4d2f36
CRs-Fixed: 774533
2023-07-14 10:07:00 -07:00
Surya Prakash Sivaraj
3ff6b85589 qcacld-3.0: Add sanity checks to prevent incorrect CSA
Prevent DFS-to-NON-DFS CSA, if the chosen candidate
frequency is passive or if the SAP is not 6 GHz capable.
Instead, select a non-dfs channel from PCL and move the
SAP. Later, the SAP will be re-oriented to SCC if there
is interference.

Change-Id: I954a5e810639fe41b9b4e16bd84a93c24a7b03e6
CRs-Fixed: 3550941
2023-07-14 10:06:59 -07:00
Vinod Kumar Pirla
797fca51a5 qcacld-3.0: For add key VDEV use proper link info pointer
To add key for particular VDEV, the following API is using
deflink and this will lead to saving keys for wrong VDEV
incase the add key is for non-deflink VDEV.

Use the proper link info fetched from the IEEE link id or
vdev id.
APIs:
1) wlan_hdd_add_key_vdev()
2) wlan_hdd_add_key_sta()
3) wlan_hdd_add_key_sap()

Change-Id: Ia51452b56bd490976dbf677d3d27b4e0f84415d5
CRs-Fixed: 3547669
2023-07-14 10:06:52 -07:00
Rahul Choudhary
8028007ef7 Release 5.2.1.73Y
Release 5.2.1.73Y

Change-Id: I834f82f9b34d74116cef579f5e551672c005a49e
CRs-Fixed: 774533
2023-07-14 01:11:24 -07:00
Jyoti Kumari
1c4333ac79 qcacld-3.0: Create new file in ll_sap component
Create new file in ll_sap component to add api's
related with ll_sap

Change-Id: Ic3829ecd1f00268dae9ddf138caeb4288a47fb3c
CRs-Fixed: 3550283
2023-07-14 01:11:24 -07:00
Abhishek Singh
2f4d5c28be qcacld-3.0: Fix SAP start on DFS freq due to invalid sap fsm state
SAP FSM state is not moved to STARTING from STARTED for DFS freq,
thus CAC complete is not handled in STARTED state and VDEV does
not move to UP state.

Fix this by moving state to STARTING from STARTED for DFS Freq.
Also add vdev id in all FSM logs.

Change-Id: Id8f178d8d7838bdeacdeea50b41dbb19146108c2
CRs-Fixed: 3556248
2023-07-14 01:11:18 -07:00
Rahul Choudhary
d34e8536b9 Release 5.2.1.73X
Release 5.2.1.73X

Change-Id: I9fbaaadd8e8cbed8851a7a2774d5c722cbf72e55
CRs-Fixed: 774533
2023-07-13 19:23:29 -07:00
Deeksha Gupta
0837347372 qcacld-3.0: Update T2LM direction if T2LM IE is present
Currently, if T2LM IE is not present in the beacon, probe
or assoc resp frame still host is updating established_t2lm
T2LM info 0. Updating the T2LM info as 0 leads to incorrect
info after T2LM teardown.

To fix this, update the T2LM info if T2LM IE is present in
beacon, probe or assoc resp frame.

Change-Id: If3f4f9b1ee4296a0dca5f85833944fbe28df5d5e
CRs-Fixed: 3541848
2023-07-13 19:23:29 -07:00
Vinod Kumar Pirla
0cecec6df6 qcacld-3.0: Update the derived link address in mlo mgr
After all VDEV in the ML dev context are created, update the link
addresses derived in the ML dev context for connecting with 3 link APs.
For the link address which doesn't have valid VDEV id, mark the VDEV ID
invalid, for valid VDEV ID fill the corresponding VDEV ID.

Change-Id: I5e9b3414d0e0db7135cb977f48abb072cc1b6e8b
CRs-Fixed: 3492039
2023-07-13 19:23:23 -07:00
Rahul Choudhary
eabfc1a5ae Release 5.2.1.73W
Release 5.2.1.73W

Change-Id: I646f485a88f888fe6e44fcc79830ec9b91d5f2fa
CRs-Fixed: 774533
2023-07-13 11:23:59 -07:00
Vinod Kumar Pirla
780f32137a qcacld-3.0: Use array size for checking valid link idx
Use array size of link info for checking valid link idx

Change-Id: I197fbc011bd71e6a56b607726a8029c4247e6926
CRs-Fixed: 3554841
2023-07-13 11:23:59 -07:00
Deeksha Gupta
cc9067400c qcacld-3.0: Move wma_host_to_fw_phymode to WMI layer
Move wma_host_to_fw_phymode() from WMA to WMI.

Change-Id: Ib781a3fa78a15c435e22a90ca46321cd3c4b18f9
CRs-Fixed: 3557263
2023-07-13 11:23:54 -07:00
Rahul Choudhary
ec292bd305 Release 5.2.1.73V
Release 5.2.1.73V

Change-Id: Idb2c5fb8e1c734508947c53c9a936778501c978f
CRs-Fixed: 774533
2023-07-13 04:49:49 -07:00
Jianmin Zhu
331bebf233 qcacld-3.0: Don't enable roam if MLO vdev is not up
When MLO sta disconnected, sta_ctx->wlan_connected_links is cleared,
mlo_check_if_all_vdev_up return true, RSO can be enabled on this stopped
vdev, F/W assert will happen for roam struct is absent.

To fix it, for MLO vdev, don't enable roam if current vdev is not up like
legacy vdev.

Change-Id: I32e1b50525edcc4e7f6b42078e4fda9f415c9841
CRs-Fixed: 3555349
2023-07-13 04:49:49 -07:00
Yu Ouyang
cc781de492 qcacld-3.0: Disable HIF_CPU_PERF_AFFINE for Genoa
Auto GVM platform, cluster 0 is gold core, cluster 1 is siliver core.
Disable HIF_CPU_PERF_AFFINE to ensure WLAN CE can work on gold core.

Change-Id: Idc6a0400d5fc232e93af1a2c362f58d62805c836
CRs-Fixed: 3549998
2023-07-13 04:49:43 -07:00
Paul Zhang
fa3d782584 qcacld-3.0: Update the EHT CAP IE to firmware
When EPCS priority access flag changed, it needs to update
the EHT CAP IE to firmware for the probe request when offload
scan happens.

Change-Id: I37ed8edcbc05ec4e6fe5edec7cfe20de0d64b7bb
CRs-Fixed: 3552311
2023-07-13 04:49:38 -07:00
Asutosh Mohapatra
43249aa86c qcacld-3.0: Avoid allocating large chunk of memory statically
Currently in wlan_is_nan_allowed_on_6ghz_freq and
__wlan_hdd_sysfs_freq_show static allocation of 6 GHz
channel list is present which leads to stack overflow.

To address this issue allocate 6 GHz channel list
dynamically.

Change-Id: If363270ab51516b67c68399f805a0434ccbb5bd3
CRs-Fixed: 3557442
2023-07-13 04:49:32 -07:00
Rahul Choudhary
3a331ae870 Release 5.2.1.73U
Release 5.2.1.73U

Change-Id: Ia5ac5f348a86cc98c3e4da776f9926b04492dbea
CRs-Fixed: 774533
2023-07-12 21:59:36 -07:00
Paul Zhang
11a1a57d1d qcacld-3.0: Save EPCS Capability in psoc
Save EPCS Capability in psoc instead of vdev to avoid the value
lost when random MAC setting happends.

Change-Id: I35299da59156dc1197adaa3350b0d11255b76c2e
CRs-Fixed: 3551773
2023-07-12 21:59:36 -07:00
Rahul Choudhary
0b1ebf053f Release 5.2.1.73T
Release 5.2.1.73T

Change-Id: I20472c3829f897b90f5bba6194eedef6aae4feff
CRs-Fixed: 774533
2023-07-12 19:03:19 -07:00
Vinod Kumar Myadam
c55a7c9ad5 qcacld-3.0: Handle the error condition in start modules
Currently if cds_dp_open is failed, hdd_start_modules is not
disabling the scheduler thread. So, if we start wlan again,
leads to crash on scheduler restart as it was not
disabled properly.

To fix this add dispatcher_disable in the cleanup in
hdd_start_modules to disable scheduler.

Change-Id: Ibe12e8bf74a8cb8b7604fd2b57426005c922f65a
CRs-Fixed: 3550858
2023-07-12 19:03:18 -07:00
Vinod Kumar Myadam
c2b848ae80 qcacld-3.0: Check for MLO IE presence only if STA is waiting for frame
Currently, host driver checks if MLO IE is present or not if an auth
frame is received in 11be station mode. But it's observed that some
APs send auth frame with invalid contents(e.g. missing MLO IE in the
frame) though it has already responded with a proper auth frame and
authentication is completed.

Host driver drops this frame and initiates a disconnection as the frame
contents are invalid. Auth node gpLimMlmAuthReq is accessed as part of
the cleanup. But host driver has cleaned up the auth_node when it
received the valid frame2. So, host driver can ignore the invalid frame
as authentication is already completed to avoid disconnection/access of
freed object gpLimMlmAuthReq.

Check for the MLO IE presence in auth frame only if driver is waiting for
the auth frame(auth_frame2) to avoid disconnect/invalid access of
freed auth_node.

Change-Id: I8c8f5e81331f684960f51df3f63f69e5905c05f2
CRs-Fixed: 3504684
2023-07-12 19:03:13 -07:00
Paul Zhang
3e9f7d3d0e qcacld-3.0: Stop TDLS peer_discovery_timer
For MLO TDLS, the discovery request frame is sent on
different links and peer_discovery_timer is started to
receive the discovery response frames from different
links.

One race condition is: the timer is running and then
vdev destroy happens. Then the timer callback could not
get the right pointer when timer is triggered.

To resolve this issue, stop the timer in the function
tdls_vdev_obj_destroy_notification.

Change-Id: I0b7aff14a599229cb5848b0b7eb9d2af53e6ad94
CRs-Fixed: 3554466
2023-07-12 19:03:08 -07:00
Arun Kumar Khandavalli
f7864c0c78 qcacld-3.0: Enabling link switch in kbuild
Include link switch source files in Kbuild.

Change-Id: If5c20399a550918add444fad9eafbdaf75cb823e
CRs-Fixed: 3530145
2023-07-12 19:03:03 -07:00
Rahul Choudhary
8b51936ada Release 5.2.1.73S
Release 5.2.1.73S

Change-Id: I39c09bc11d23a176ac644b8f79f8a2f98df3d6ff
CRs-Fixed: 774533
2023-07-12 15:39:03 -07:00
Paul Zhang
1ab4d89a23 qcacld-3.0: Init ret for wlan_cfg80211_tdls_mgmt_mlo
Currently ret is not initialized and it can return
uninitialized value in some cases.

Change-Id: Ic70ad295108cc89bea371b78f6f14ca356706d2b
CRs-Fixed: 3491253
2023-07-12 15:39:02 -07:00