提交图

31053 次代码提交

作者 SHA1 备注 提交日期
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
Srinivas Dasari
441e052d40 qcacld-3.0: Reset HS_20_AP param of rso_config in connect start
Currently, HS_20_AP param of cm_ext_obj->rso_config is set
to true when STA connects to a HS-2.0 AP. This is to disable
btm_offload as per HS-2.0 cert requirements.
But this flag is not cleared even when STA disconnects from
that AP and this disables btm_offload for next connections
as well even for non-HS-2.0 APs.
So, reset the flag as part of connect start to avoid this.

Change-Id: I3763544ecca0e4628b0c78633364fe70fd9b3094
CRs-Fixed: 3712758
2024-01-25 03:32:44 -08:00
Ravindra Konda
c850f8687b Release 5.2.1.86J
Release 5.2.1.86J

Change-Id: Id1f05c7f33ee37e9617b31079c145b4a06892482
CRs-Fixed: 774533
2024-01-24 11:18:40 -08:00
Abhinav Kumar
640f169b3a qcacld-3.0: Update proper center freq in mlo link info
FW sends "Center Frequency Index" as new center frequency.
via mlo sta standby csa event WMI_CSA_HANDLING_EVENTID.

Currently host uses value of Center Frequency Index (CFI)
directly to update center frequency for all links to
"mlo_link_info" structure. Due to this host maintains a
wrong value of center frequency throughout of connection
which leads to failure in calculation of bonded channel
in case of 6 GHz and 320 MHz connection.

Fix is to update center frequency in "mlo_link_info"
structure for all require link(s) as per CFI coming via
mlo sta standby csa event.

Change-Id: I73c919aa52ad2eaa822ff5d070223a2d383a0da7
CRs-Fixed: 3709824
2024-01-24 11:18:40 -08:00
Ravindra Konda
0c8ba5c686 Release 5.2.1.86I
Release 5.2.1.86I

Change-Id: Ic6505a6a474e22876c523af3ea65e227cbb010ee
CRs-Fixed: 774533
2024-01-24 07:43:34 -08:00
Aasir Rasheed
2c46ecc81f qcacld-3.0: Gen ML probe using assoc rsp for MLO
Host tried to associate to AP, 6 GHz link is selected as
the assoc link and in the RNR there are two partner links 5 GHz, 2.4 GHz.
Only 6 GHz/2.4 GHz are beaconing and 5 GHz is not beaconing.

STA sent the ML-Probe request on 6 GHz link requesting the full profile
for the 5 GHz and 2.4 GHz links but AP responded with only one partner
link 2.4 GHz, from this we generated 2.4 GHz and added to scan cache,
AP didn't respond with 5 GHz link in per-sta.

STA sent the assoc request over 3-links and AP accepted the assoc,
and association is successful over 3-link and the same is intimated
to the firmware that 3link association is successful.

But while sending the connection information to the kernel 5 GHz link
is not found resulting in HDD/Kernel not being aware of the 5 GHz link.

Fix :- Use assoc response from the ML AP to generate ML probe resp
for the partner links to add to scan DB so that partner link
VDEV will have candidate to start connection.

Change-Id: I30176e58d9b02e7ed275b1c926cd1e119b66f8f3
CRs-Fixed: 3686809
2024-01-24 07:43:34 -08:00
Ravindra Konda
9503d01f1d Release 5.2.1.86H
Release 5.2.1.86H

Change-Id: I1d108027a5c161077ad7677c0f8ebcc655cf96a5
CRs-Fixed: 774533
2024-01-24 04:04:52 -08:00
Arun Kumar Khandavalli
bf54fcf8b4 qcacld-3.0: Reset the recovery inprogress post idle_restart
Incase of Firmware crash during the bootup sequence of idle restart
the platform driver calls pld_uevent to indicate the firmware_down
and once the firmware comes back up idle restart callback is invoked
rather than shutdown/re_init. So in this case post idle_restart
the recovery inprogress flag which is set during the fw_down is not
reset, which results in blocking all the north bound operations.

To fix this scenario reset the recovery inprogress flag once
idle_restart is complete.

CRs-Fixed: 3709598
Change-Id: I9aa3e22be7fccc6baffc8fe5d4cdfd64b022bee0
2024-01-24 04:04:52 -08:00
Ravindra Konda
be1ffd7d60 Release 5.2.1.86G
Release 5.2.1.86G

Change-Id: I61a6dc8f1e8198e9ce241f627bf9ec03b00d7b92
CRs-Fixed: 774533
2024-01-23 04:58:56 -08:00