提交图

30861 次代码提交

作者 SHA1 备注 提交日期
CNSS_WLAN Service
b76b84fc05 Merge "qcacld-3.0: Send crypto keys to target after SSR" into wlan-cld3.driver.lnx.2.0.14 2024-02-12 20:38:13 -08:00
CNSS_WLAN Service
067d84174f Merge "Release 5.2.1.87G" into wlan-cld3.driver.lnx.2.0.14 2024-02-12 20:38:01 -08:00
Rahul Gusain
2d0bebc085 qcacld-3.0: Send crypto keys to target after SSR
Currently, host driver receives the keys from the userspace and
caches it in the VDEV object and then sends it to the target. But
during SSR, driver destroys VDEV and hence keys are deleted.
After SSR, driver need to send the keys again to the target as
keys are destroyed from the target as well. But currently, keys
are not available in the driver because keys are destroyed with
VDEV deletion.

So, to fix this, send crypto keys to target for SAP after SSR
and clear the keys on SAP down.

Change-Id: Icdfc93876ab79304b9dc96f9fce16553582a0d18
CRs-Fixed: 3663712
2024-02-12 15:08:34 -08:00
Ravindra Konda
37f1e796d3 Release 5.2.1.87G
Release 5.2.1.87G

Change-Id: I32a9d803f2b50aefcbe70c79d3062f43db70e850
CRs-Fixed: 774533
2024-02-12 05:20:51 -08:00
Rahul Gusain
480e703558 qcacld-3.0: Enable beacon protection after SSR
Currently, host driver sets beacon protection flag in the vdev
during SAP bring up and send it to the target with beacon template.
But while SSR, driver destroys vdev and hence beacon protection
flag is reset and after SSR, driver does not set the beacon
protection flag. Thus, target does not enable beacon protection
and does not send MIC IE in the beacon frame.

So, to fix this, set the beacon protection flag in the vdev while
restarting the SAP.

Change-Id: I14f64463ed0d2e66a305160dcc7c810012dde2fb
CRs-Fixed: 3636385
2024-02-12 05:20:50 -08:00
Ravindra Konda
aca65da6e6 Release 5.2.1.87F
Release 5.2.1.87F

Change-Id: I29e339c68b7ec00ea31b35f834366554a1694d3c
CRs-Fixed: 774533
2024-02-12 02:00:42 -08:00
Sheenam Monga
a0c8eaecd6 qcacld-3.0: Don't update max_tx_power as 0 to FW
Currently, if power_constraint_abs is 0 and tpe_ie is
not advertsied by AP or skip_tpe_consideration is false
then diff of regulatory power and local_constraint is
updated to FW as Tx power which may cause issue in case both
powers are same.

Fix is set regulatory tx power in case regulatory tx power
and local constarint is same.

Change-Id: If897684d33f163ae7c879122f1c7be90a58412cd
CRs-Fixed: 3726862
2024-02-12 02:00:42 -08:00
Ravindra Konda
52eece79fb Release 5.2.1.87E
Release 5.2.1.87E

Change-Id: I9df3667ada2223d869eac4c54340b513ba5b999e
CRs-Fixed: 774533
2024-02-10 18:16:28 -08:00
Asutosh Mohapatra
b7d2d7c56f qcacld-3.0: Add a new API to check 6 GHz channel information
Currently there is no support to check 6 GHz channel
information in the device console.
To address this issue add an API to fetch 6 GHz channel
information for given power type.

CRs-Fixed: 3723735
Change-Id: Ie999e0b2ebfa45ca33269d64b30bfc162cc283d6
2024-02-10 18:16:28 -08:00
Ravindra Konda
dbefa5d7a3 Release 5.2.1.87D
Release 5.2.1.87D

Change-Id: Ie25a4ab022deaa7a326c7da8f05a8c7cc121e01e
CRs-Fixed: 774533
2024-02-10 16:31:50 -08:00
Arun Kumar Khandavalli
0b18742864 qcacld-3.0: Initiate ipa cleanup as part of the shutdown sequence
Currently as part of the linkdown detection in the RTPM resume sequence
host cleans up below:

a.	Intimating the kernel for the pending scan complete
b.	Setting the wmi flag to make sure there is no CE access
	to send the wmi commands.
c.	Notifying the IPA to disable the IPA pipes.

Performing operation c) involves accessing ipa doorbell register
by doing soc force wake resulting in internally again calling
runtime_resume leading to deadlock.

Initiate ipa cleanup as part of the shutdown sequence rather than
early cleanup.

Change-Id: I1edb44fbdefad3c21bd60a42baa285705a7ed4a9
CRs-Fixed: 3719988
2024-02-10 16:31:49 -08:00
Ravindra Konda
e9ead276bc Release 5.2.1.87C
Release 5.2.1.87C

Change-Id: I7fa6d7cf6f9d5be2ae6a33e29ec4efd2c4c52056
CRs-Fixed: 774533
2024-02-09 06:23:27 -08:00
Aasir Rasheed
3089936013 qcacld-3.0: Disable CTS2SELF for OUI : 8CFDF0
Currently, Host driver is enabling CTS2SELF for most of the qcom
AP (8CFDF0) and It will try to send the data in all the cases by
not waiting for RTS-CTS and in some cases if it does not win the
medium, it will take around 4x time than normal RTS-CTS(in case
of failure) leading to throughput issue.

This change is to disable CTS2SELF for OUI : 8CFDF0

Change-Id: I4becf0d1c093f458868634a9636d2e14d60a9f37
CRs-Fixed: 3689771
2024-02-09 06:23:27 -08:00
Ravindra Konda
e38ddf1fc8 Release 5.2.1.87B
Release 5.2.1.87B

Change-Id: I2aa189884c68256dc940eda1bd7635466712d6ce
CRs-Fixed: 774533
2024-02-09 03:51:21 -08:00
Pragaspathi Thilagaraj
564c4642e5 qcacld-3.0: Add support to send ROAM cancel diag event
Add support to send roam cancel diag event in instances with
below reasons:
IDLE ROAM scan cancelled due to screen ON
scan cancelled due to other high priority roam scan

Add new diag structure & reason code enum for this diag
event

CRs-Fixed: 3708863
Change-Id: I1f7a819d766735f7d89eda3945e7ed92d22919ae
2024-02-09 03:51:20 -08:00
Ravindra Konda
d4971d39b1 Release 5.2.1.87A
Release 5.2.1.87A

Change-Id: I768daf233230bc9330a46abe2e004b12701bbb3f
CRs-Fixed: 774533
2024-02-09 00:24:28 -08:00
Aasir Rasheed
a675483037 qcacld-3.0: Update link state status
This change is to update link state status in case
of WMI_MLO_LINK_STATE_SWITCH_EVENTID event.

Change-Id: I0e06192a26550e14dd03902323a8dc42b130fcfa
CRs-Fixed: 3709719
2024-02-09 00:24:28 -08:00
Ravindra Konda
b28897b0ec Release 5.2.1.87
Release 5.2.1.87

Change-Id: I1cb516e56d5f6b2cfd59931032d3493fceeafd08
CRs-Fixed: 774533
2024-02-08 05:42:22 -08:00
Sachin Ahuja
5793efe6ad qcacld-3.0: Send correct SAR version to userspace
Currently when FW advertize SAR version 4 and SAR version 5
driver is still sending SAR version 1 to userspace as there
is no interface available for SAR version 4 and 5.

Now the vendor interface is added to send SAR version 4 and 5
so pass the correct SAR version to userspace.

CRs-Fixed: 3697727
Change-Id: Iff4d3f10a39d07d71e9d65da95fafb34c8555c57
2024-02-08 05:42:22 -08:00
Ravindra Konda
504656dee6 Release 5.2.1.86Z
Release 5.2.1.86Z

Change-Id: I4278652a0ef209d7b3f7880c30108a98dca391cc
CRs-Fixed: 774533
2024-02-08 00:32:22 -08:00
Ashish Kumar Dhanotiya
8254ca6dac qcacld-3.0: Define DBR_MULTI_SRNG_ENABLE under correct feature flags
Currently host driver defines DBR_MULTI_SRNG_ENABLE as true if
CONFIG_CNSS_QCA6750 is not defined or CONFIG_CNSS_WCN6450 is not
defined. For any of these chipsets any one of these feature flags
will not be defined which lead to incorrect feature flag
initialization for DBR_MULTI_SRNG_ENABLE.
Because of the above issue, host driver load fails.

To address above issue, define DBR_MULTI_SRNG_ENABLE feature flag
only if both CONFIG_CNSS_QCA6750 and CONFIG_CNSS_WCN6450 are not
defined.

Change-Id: Ia569a71a558c2d1f71d35ae683c22cf4632c3c50
CRs-Fixed: 3717340
2024-02-08 00:32:22 -08:00
Ravindra Konda
8748498792 Release 5.2.1.86Y
Release 5.2.1.86Y

Change-Id: I8fe61292d545bda7168b7b72708ae0369d1640b3
CRs-Fixed: 774533
2024-02-07 22:09:46 -08:00
Vinod Kumar Pirla
6d055ec212 qcacld-3.0: Extend pagefault wakeup event to per symbol
Extend the page fault action INI to handle following:
   1) Ignore page fault event
   2) Trigger SSR on page fault threshold
   3) Send blob of data to userspace on page fault threshold

On pagefault wakeup event, save per symbol pagefault timestamp
and once the event count reaches configured threshold within the
configured time interval, either trigger SSR or notify userspace
with pagefault address and count based on INI configuration.

Change-Id: I0a3ece369ad0c7aac676fc91f6863e06a3f4ce8c
CRs-Fixed: 3713813
2024-02-07 22:09:46 -08:00
Ravindra Konda
3329054d19 Release 5.2.1.86X
Release 5.2.1.86X

Change-Id: I70e3e06b5cb59e9bc4b3dfcd5f7ed8d5bcfc9bc0
CRs-Fixed: 774533
2024-02-07 03:26:49 -08:00
Srinivas Dasari
f0de044242 qcacld-3.0: Fix compilation issue in mac addr printing
Currently, mac address ptr is passed to print the mac address
but the macro that prints mac address has an expansion to
multiple(four for now) %x's. So, the argument should also have
corresponding expansion. Fix it by passing expansion macro
as argument.

Change-Id: Ib4ea415eac1bfb2b3ef5ffa041669b8d6ef59579
CRs-Fixed: 3717930
2024-02-07 03:26:49 -08:00
Ravindra Konda
20bb8b2114 Release 5.2.1.86W
Release 5.2.1.86W

Change-Id: Id0231abb4461893124ab18126a0af4875f7b11a4
CRs-Fixed: 774533
2024-02-07 01:39:15 -08:00
Abhinav Kumar
e426bb91fc qcacld-3.0: Add support to send chan info for standby link
As per new requirement, host should send proper values
to get_channel request from upper layer for standby link.

Upper layer can use these information to fetch CU values
for standby link and print on console.

Change-Id: Iad3704d391058675e7d4ff6ffc419f74efa0c658
CRs-Fixed: 3715229
2024-02-07 01:39:15 -08:00
Ravindra Konda
ebd17d7b79 Release 5.2.1.86V
Release 5.2.1.86V

Change-Id: I4bd0948409ffb60002b9208daee05860fe53f061
CRs-Fixed: 774533
2024-02-06 12:52:04 -08:00
Surya Prakash Sivaraj
26b8de01cc qcacld-3.0: Allow STA+SAP SCC in 6 GHz PSC/VLP channel
The SAP is not moved to the 6 GHz user configured
frequency in the following cases:
1. STA disconnected, SAP is standalone in 2.4 GHz
2. STA is VLP/PSC channel, but SAP is currently in
   2.4 GHz(due to STA(DFS) + SAP)

Allow the SAP to restart in 6 GHz channels for the
above scenarios if the following criteria are met:
1. For standalone: The SAP user configured band is
   superior than the current operating band.
2. For SCC: The 6 GHz STA should operate in PSC and
   the channel should support VLP in DUT regdomain.

Change-Id: Iea292c94e579ccead2300f6e9b994c4b8e9a0a87
CRs-Fixed: 3713247
2024-02-06 12:52:03 -08:00
Ravindra Konda
08a119dfea Release 5.2.1.86U
Release 5.2.1.86U

Change-Id: Ia7dcb998e164a4915f19fdb6ed235d6dce8bbcf4
CRs-Fixed: 774533
2024-02-06 09:31:34 -08:00
Aasir Rasheed
e9df705b4b qcacld-3.0: Use ini to set 5GL+5GH MLSR
Default config
mlo_5gl_5gh_mlsr=0

Disable 5GL+5GH MLS
mlo_5gl_5gh_mlsr=0

Enable 5GL+5GH MLS
mlo_5gl_5gh_mlsr=1

Change-Id: Iefc6944b1e915e021dc20dee64ba60ce06ea273b
CRs-Fixed: 3720188
2024-02-06 09:31:33 -08:00
Ravindra Konda
e98acc6284 Release 5.2.1.86T
Release 5.2.1.86T

Change-Id: I138ac4c9f10d69ce0b5ed2a53900f8ada3753d6f
CRs-Fixed: 774533
2024-02-06 03:35:48 -08:00
Karthik Kantamneni
9370f7c3a2 qcacld-3.0: Prevent suspend if DP drain fails
Check for DP drain status and prevent suspend if
we fail to drain txrx succefully.

Change-Id: I76c5587719cb162e3e7802586d5ddde24f18e755
CRs-Fixed: 3718937
2024-02-06 03:35:47 -08:00
Ravindra Konda
6f9cc1c768 Release 5.2.1.86S
Release 5.2.1.86S

Change-Id: Ic657b3821a7b53f423e2fd70b6d031a93ea149bc
CRs-Fixed: 774533
2024-02-04 23:53:23 -08:00
Vinod Kumar Myadam
fd0e3bbfe8 qcacld-3.0: Add INI to enable/disable BTM offload for HS-2.0
Some solutions may not have HS-2.0 certification and there is
no need to forward the BTM frame to wpa_supplicant in such
solutions. Let firmware handle the frame in such cases by
enabling btm_offload so that it doesn't wakeup the host.
Firmware may roam to another AP upon BTM reception.

To enable/disable BTM offload add hs20_btm_offload_disable INI.
If this INI is enable BTM offload will be disable and if INI
is disable BTM offload will be enabled.

Change-Id: Id6e18404cc3a12a23b213c0f858c943715285932
CRs-Fixed: 3718776
2024-02-04 23:53:23 -08:00
Ravindra Konda
25b2403ff6 Release 5.2.1.86R
Release 5.2.1.86R

Change-Id: Ic7149573773bb178b2aef86924b9cfb841e426da
CRs-Fixed: 774533
2024-02-04 20:26:24 -08:00
Abhinav Kumar
d8f2b83dc9 qcacld-3.0: Update ML link info with proper value of ch_width
On request of "get channel" from upper layer for standby link,
host fetches all required information (primary frequency,
central frequency and channel width are mandatory field here)
from "mlo_link_info->link_chan_info" structure and send same
values as a response to upper layer. Upper layer uses these
values to fetch survey info (like freq, CU value, noise,
RSSI value etc.).

If host fails to send proper values in response of
"get channel" response, host does not trigger "get survey info"
request and this results upper layer will not print CU values
on console for standby link on triggering driver command
DRIVER MEASURE_ML_CHANNEL_CONDITION.

Currently host does not update link_chan_info structure with
proper value of ch_width which results above issue.

Fix is to update proper value of ch_width to
"mlo_link_info->link_chan_info" structure.

Change-Id: Ibdc3086be38c9aace40ccd5abfd2eaa1582ecdb0
CRs-Fixed: 3715252
2024-02-04 20:26:24 -08:00
Ravindra Konda
c2888587fb Release 5.2.1.86Q
Release 5.2.1.86Q

Change-Id: Iba79cfe236b5b6c79f4a4f053fafa18bc0443825
CRs-Fixed: 774533
2024-02-02 15:39:01 -08:00
Jianmin Zhu
18ea5be149 qcacld-3.0: Add vendor OUI to limit BW when connect IoT AP
UL data delay is high when connect specific AP.
To fix it with OUI ini, limit Tx BW if vendor OUI is received in beacon.

Change-Id: I54a4ddb4f113baf1da0ba5490760f38f30159f2e
CRs-Fixed: 3695107
2024-02-02 15:39:00 -08:00
Ravindra Konda
7f2a48fc4c Release 5.2.1.86P
Release 5.2.1.86P

Change-Id: Icf8bd52f4a8c6722cf44674493d273cf0c970d85
CRs-Fixed: 774533
2024-02-02 05:28:05 -08:00
Deeksha Gupta
c14f6536d3 qcacld-3.0: Fix reason code in assoc response for P2P
In lim_check_wpa_rsn_ie(), validate the RSN and WPA IE
only for SAP mode.

Regression cause is:
If2a0a59c6b4986b54a12d4bdc7372c38317b6ce2

CRs-Fixed: 3698880
Change-Id: I2429898ee91064d14e3ed4c267ac1e5575c058a5
2024-02-02 05:28:05 -08:00
Ravindra Konda
cccb367bc0 Release 5.2.1.86O
Release 5.2.1.86O

Change-Id: I1e5e572283f78a7b9999d66da2ced4022d7f701f
CRs-Fixed: 774533
2024-02-02 02:01:17 -08:00
Yu Tian
05f7de06fc qcacld-3.0: Refine FISA FT lock to prevent race condition
FISA entry is updated by FISA RX and work queue, if the same
entry is hashed for different REO id, the lock may not work
as expected. Change is to hold the lock before work queue
waking up to prevent the race condition.

Change-Id: I16ba4439c1655bbb7bf83b13d9280cb3f7c56478
CRs-Fixed: 3674340
2024-02-02 02:01:16 -08:00
Ravindra Konda
665a3fd586 Release 5.2.1.86N
Release 5.2.1.86N

Change-Id: I2021d2b6a2fa843018d7573604a1fb4e04e8da91
CRs-Fixed: 774533
2024-02-01 03:00:30 -08:00
Surya Prakash Sivaraj
c1eddbf6bb qcacld-3.0: Do not enable BTM for MBO BSS without PMF
Disable the bss transition cap in the extended capabilities
IE, if the AP supports MBO without PMF.

Change-Id: Iaaacb95e74aa1d4f5f4a651eafe7370e6ed78627
CRs-Fixed: 3716299
2024-02-01 03:00:29 -08:00
Ravindra Konda
448aaddcd7 Release 5.2.1.86M
Release 5.2.1.86M

Change-Id: I15cef52e2eb889e6bdbd005d964816038b19c7e0
CRs-Fixed: 774533
2024-01-29 04:24:22 -08:00
Sheenam Monga
9fe3506c1b qcacld-3.0: Reset sap mandatory channel list on stop_ap
Currently, sap mandatory channel list is not reset during
stop_ap. If selected band changes and gEnableSAPManadatoryChanList
is enabled then new band frequencies may be discarded via pcl
modification based on sap mandatory channels and sap may come
up on frequency which is not as per the selected band.

Fix is to reset sap mandatory channels when sap stops.
So that if sap starts again with different band previous
mandatory channels are not considered.

Change-Id: Ibb70acc921558ca48c6385950adf5e48a55d20ef
CRs-Fixed: 3708549
2024-01-29 04:24:22 -08:00
Ravindra Konda
4841a2c515 Release 5.2.1.86L
Release 5.2.1.86L

Change-Id: I329dab4587204ad0d124683361d086c68248545b
CRs-Fixed: 774533
2024-01-27 13:06:57 -08:00
Vinod Kumar Pirla
605ed89138 qcacld-3.0: Add MLD address in link VDEV connect request
MLD address is mandatory for link VDEV connect request or
else the partner link will fail during candidate fetch from
scan DB because of MLD address mismatch.
For MLO OWE roaming, link VDEV connection starts after
completion of EAPOL-HS, and here MLD address is not filled
leading to link VDEV connect failure.

Use connect response to fill MLD address in link VDEV
connect for MLO OWE roaming

Change-Id: I9eae3b7ba3619a9ce62603efd0590aabce9c70f3
CRs-Fixed: 3715021
2024-01-27 13:06:57 -08:00
Ravindra Konda
34782b3b33 Release 5.2.1.86K
Release 5.2.1.86K

Change-Id: I0279b7e84a53234506fecb152bc230e0aae80c67
CRs-Fixed: 774533
2024-01-25 03:32:44 -08:00