Graf commitů

23705 Commity

Autor SHA1 Zpráva Datum
Bapiraju Alla
d599410e45 qcacld-3.0: Populate assoc link id in ML IE of assoc request
Populate assoc assoc link id in ML IE of an assoc request from
scan cache entry

Change-Id: I82b2b68f45411b1588c76ddd7ce9d21a93d972f3
CRs-Fixed: 3013684
2021-08-26 01:11:17 -07:00
Madan Koyyalamudi
34b203299d Release 5.2.0.245K
Release 5.2.0.245K

Change-Id: I7106391f363e570184d81f7b4747ce058b099b87
CRs-Fixed: 774533
2021-08-25 23:01:42 -07:00
Zhaoyang Liu
f98319b751 qcacld-3.0: check return value to avoild NULL pointer
Pointer 'ie_struct' returned from call to function
wlan_get_parsed_bss_description_ies, it may be NULL,
if not checking the function return status, this pointer
may be dereferenced. Check the return status to avoid it.
Free the allocated memory for error exit case.

Change-Id: I4d813838f25b5e2ad3069ad9547bb95f8f6a0e5b
CRs-Fixed: 3016814
2021-08-25 23:01:42 -07:00
Madan Koyyalamudi
a3a70fc03a Release 5.2.0.245J
Release 5.2.0.245J

Change-Id: I66a98f2c08aee91a4878814907faecb82c5cdc08
CRs-Fixed: 774533
2021-08-25 19:44:52 -07:00
Lincoln Tran
e825f99bc2 qcacld-3.0: Change country update retry logic
When setting the country code, host sets a flag to keep track if its
waiting for a response from firmware. During init cases, host receives
this event without it ever setting the flag. This could cause issues in
retry logic if multiple events come back to back. Set this flag when
starting modules to block other events from happening as the country
is being updated.

Change-Id: I5850568e9d5729b22346b8ec0a1f212a886c4c36
CRs-fixed: 3010090
2021-08-25 19:44:52 -07:00
Madan Koyyalamudi
a966b1d3f8 Release 5.2.0.245I
Release 5.2.0.245I

Change-Id: Ibc365c156874e46d259c3e63cc2d7ffe5df2c6d2
CRs-Fixed: 774533
2021-08-25 17:31:34 -07:00
Liangwei Dong
da9262a1b3 qcacld-3.0: Fix AGO no channel switch on detect radar
AGO started on 5220Mhz with BW 160Mhz, later Radar detected and
switch to 80Mhz by sap_indicate_radar API.
Sap_indicate_radar will overwrite sap_ctx->ch_params.ch_width to 80Mhz.
After commit I26ff00286b8e0cec33d3a63098f93d4000684df0,
sap_operating_on_dfs API will use sap_ctx->ch_params to check SAP
on DFS or not to decide channel switch for current ap.
This case sap_operating_on_dfs will return "false" for current
SAP (160Mhz), and then the Radar channel switch is not processed
by driver.
Fix by using the mlme API to get current SAP channel and dfs flags.

Change-Id: I1bbcc185c13cf6e40b9f5415cbdceb7ff3527470
CRs-Fixed: 3016683
2021-08-25 17:31:34 -07:00
Amruta Kulkarni
07e3dc73ab qcacld-3.0: Wmi changes for mlo roaming
-Extract new wmi struct added as part of MLO roaming
 changes.
- Send EHT and MLO weightage percentage to FW via
 WMI_ROAM_AP_PROFILE.

Change-Id: I6b3f1f62ef6ea323cd1b75f63a5c63c38b000f1f
CRs-Fixed: 3010039
2021-08-25 17:31:29 -07:00
Madan Koyyalamudi
1872c770b7 Release 5.2.0.245H
Release 5.2.0.245H

Change-Id: I4c891381e71d7dd386ff07608f30966dec7ee734
CRs-Fixed: 774533
2021-08-25 15:21:10 -07:00
Bapiraju Alla
0091b22cb0 qcacld-3.0: Resume all modules before recovery shutdown
cfg80211 resume request will be rejected if there is an SSR in
progress, Because of this modules are not coming out of suspend state
when there is an SSR after suspend request.

To avoid this, resume all modules before recovery shutdown.

Change-Id: I3d749e0a5971468805a009cb990a220e0645c169
CRs-Fixed: 3016002
2021-08-25 15:21:10 -07:00
Madan Koyyalamudi
30753d4dcd Release 5.2.0.245G
Release 5.2.0.245G

Change-Id: I273b94750bb721e1f9c11ff0addabef77450f80e
CRs-Fixed: 774533
2021-08-25 13:07:01 -07:00
Amit Mehta
001a2e78de qcacld-3.0: Add a condition to check for PM QOS vote
In the case of kernel 5.10, we are not receiving PM QoS Vote
notification due to which device is entering runtime suspend
in the case where the device should not enter runtime suspend.
Adding check inside runtime suspend to check if there is any
global PM QoS vote and based upon vote decide if to enter runtime
suspend or not.

Change-Id: Ie6d35254d607e546abdd3ad70720f96d6eb8484d
CRs-Fixed: 3009024
2021-08-25 13:07:01 -07:00
Madan Koyyalamudi
62384c59f5 Release 5.2.0.245F
Release 5.2.0.245F

Change-Id: Ibded8c1acb59d24df35759b5abb588d54a1a36ec
CRs-Fixed: 774533
2021-08-25 09:40:28 -07:00
Surya Prakash Sivaraj
dcca0ed5fa qcacld-3.0: Fallback to 80MHz capability if HE160 MCS is not valid
If the STA DUT is attempting to connect in 160MHz channel width,
and if the HE160 Rx/Tx MCS is not valid after intersection, the
STA DUT will fallback to 80MHZ channel width.

Change-Id: I11fe8830851fcbb3796703a605568f83c9ff9932
CRs-Fixed: 3011510
2021-08-25 09:40:28 -07:00
Madan Koyyalamudi
e0fce035c7 Release 5.2.0.245E
Release 5.2.0.245E

Change-Id: I62c964e57b23ea28ddb9830539ae7a2384994d95
CRs-Fixed: 774533
2021-08-25 07:25:07 -07:00
Yu Tian
eee26f5710 qcacld-3.0: Disable delay reg write feature for MDM platform
Delay reg write feature is based on workqueue, for MDM platform
that only has one CPU, WQ is preempeted by NETRX/NETTX Soft IRQ
and lead to ring update delay, at last backpressue happens.
Change is aimed to disable delay reg feature for one CPU platform.

Change-Id: I133ab999739449009f18ecb030e9ca889ea63761
CRs-Fixed: 3002768
2021-08-25 07:25:07 -07:00
Madan Koyyalamudi
af769d79d5 Release 5.2.0.245D
Release 5.2.0.245D

Change-Id: Ic86daa5d3a158a0c1cabbd30c0cc122caae25ba4
CRs-Fixed: 774533
2021-08-25 03:04:56 -07:00
Yu Tian
624a79c941 qcacld-3.0: Enable delay reg write feature
Delay reg write is not enabled on Waipio,
but it's enabled on former platforms.
Change is to enable it.

Change-Id: I10b5e30fe4d5485d38636fcb34c90ff2772e50ae
CRs-Fixed: 3015389
2021-08-25 03:04:56 -07:00
Madan Koyyalamudi
5422a8e9d0 Release 5.2.0.245C
Release 5.2.0.245C

Change-Id: I553012c1d51504046b95138af718685f68b26371
CRs-Fixed: 774533
2021-08-24 23:47:44 -07:00
Bapiraju Alla
e75b74396d qcacld-3.0: Update Kbuild to compile wmi_unified_11be_tlv APIs
Update Kbuild to compile wmi_unified_11be_tlv APIs

Change-Id: I1188408d94f3d15661bb0b1555969232ab9274ed
CRs-Fixed: 3021154
2021-08-24 23:47:44 -07:00
Madan Koyyalamudi
7a9ea2d5da Release 5.2.0.245B
Release 5.2.0.245B

Change-Id: Id1f63fb3e0a0a703006b03358bf727216b30faf3
CRs-Fixed: 774533
2021-08-24 16:07:21 -07:00
Liangwei Dong
6dcb11cfa5 qcacld-3.0: Fix monitor mode set channel wrong for HT40-
At present, driver doesn't check the set mon channel parameters
for HT40-, driver always set HT40+ for 2G channel 5 at present
by command "iw dev wlan0 set 5 HT40-".
Fix by check secondary channel offset from set channel parameters.

Change-Id: Ia69f193c72e9e97a4d6988e86bcfd3727089452e
CRs-Fixed: 3019982
2021-08-24 16:07:20 -07:00
Madan Koyyalamudi
fd52b00a5f Release 5.2.0.245A
Release 5.2.0.245A

Change-Id: I4e1ff76a60384b39498c8ca9954f94eebde2f3e6
CRs-Fixed: 774533
2021-08-24 13:12:34 -07:00
Sai Pavan Akhil Remella
b35419136e qcacld-3.0: wma to target_if migration of roam_stats_event
Currently, wmi_roam_stats_event_id data is extracted and
processing is also done in wma. This is not inline with component
model where target_if takes care of data extraction and handover
the extracted data to corresponding component(connection mgr in
this case). Add changes to support the same.

Change-Id: I5e336b01e1a2183e49b3e6eeb125c7c9fd0fd73c
CRs-Fixed: 3003125
2021-08-24 13:12:34 -07:00
Madan Koyyalamudi
b60d36df43 Release 5.2.0.245
Release 5.2.0.245

Change-Id: I3d2222dc31051bd2255c98df5a1c5ccd9c907e51
CRs-Fixed: 774533
2021-08-23 21:24:31 -07:00
Lincoln Tran
aa6b97d7f3 qcacld-3.0: Don't send legacy rates in 6GHz band
When operating in 6GHz band, don't send the peer legacy rates as it can
cause a rate mismatch and eventually a crash.

Change-Id: Idda718daaa66aeb5a80ed036055317e64f8226a2
CRs-fixed: 3005578
2021-08-23 21:24:31 -07:00
Madan Koyyalamudi
218ddc18ec Release 5.2.0.244Z
Release 5.2.0.244Z

Change-Id: I2094310b9a5a584425357b0fa2c792f670291c2a
CRs-Fixed: 774533
2021-08-23 15:43:57 -07:00
Yu Tian
25c1a53711 qcacld-3.0: Keep using 4 RX threads for platform with no IPA
For platforms that don't have IPA module, 4 RX rings can be
enabled to map to 4 RX threads. This Change is to implement a
feature flag to separate the number of threads used for
different platforms.

Change-Id: I23744ca6333f29667b0860f386dc9fc45f29abe4
CRs-Fixed: 3018613
2021-08-23 15:43:57 -07:00
Sachin Ahuja
90ec20d334 qcacld-3.0: Return correct error code for big data stats
In SAP mode, the get sta info vendor command gets called for both
connected and disconnected state. If peer client is connected then
driver returns the SAP power save parameters to the userspace.
If peer client is disconnected then driver returns -EINVAL status.
Userspace cannot differentiate using this error code whether driver
is not able to handle the vendor command or peer client is
disconnected.

So, if peer client is disconnected then return -ENXIO error code
instead of -EINVAL.

CRs-Fixed: 3014906
Change-Id: I3ce5cd53e79c3bfaeed6571ea28b28ce2dfe26b3
2021-08-23 15:43:52 -07:00
Madan Koyyalamudi
ed5d7f8a66 Release 5.2.0.244Y
Release 5.2.0.244Y

Change-Id: I3de218e5e1a6dd6c2c0767b2eee9985a6d5cf198
CRs-Fixed: 774533
2021-08-22 16:00:45 -07:00
abhinav kumar
c70d81970f qcacld-3.0: Disable MSCS feature in with "mscs_pkt_threshold=0"
mscs_pkt_threshold - This ini specifies the Voice pkt count
threshold to Send the MSCS action frame to AP. To disable MSCS
feature in driver set mscs_pkt_threshold = 0 in ini file.

Change-Id: Ie1d8d3f3289d8f41a16f187bf9256b959019d998
CRs-Fixed: 3013686
2021-08-22 16:00:44 -07:00
Madan Koyyalamudi
72453529de Release 5.2.0.244X
Release 5.2.0.244X

Change-Id: I92d0a9908e4d586a8754393e95046742ee0f1bcc
CRs-Fixed: 774533
2021-08-20 22:02:02 -07:00
Aditya Kodukula
e5d87bf5d6 qcacld-3.0: Support Multicast Domain Name Server Offload
The purpose of the multicast Domain Name System (mDNS) is to resolve
host names to IP addresses within small networks that do not include
a local name server.

It utilizes essentially the same programming interfaces, packet formats
and operating semantics as the unicast DNS, and the advantage is zero
configuration service while no need for central or global server.
Based on mDNS, the DNS-SD (Service Discovery) allows clients to discover
a named list of services by type in a specified domain using standard
DNS queries.

Here, we provide the ability to advertise the available services by
responding to mDNS queries.

Change-Id: Id2a0468d49237c21062cfd1988e34903658cdad9
CRs-Fixed: 3008549
2021-08-20 22:02:01 -07:00
Madan Koyyalamudi
44c7aa1208 Release 5.2.0.244W
Release 5.2.0.244W

Change-Id: Ia93e08e4aff65f43c1100e566901171afd7bc43a
CRs-Fixed: 774533
2021-08-20 15:13:04 -07:00
Amruta Kulkarni
b62a42517c qcacld-3.0: Fix compilation issue in sme
Declare sme_update_bfer_eht_cap() api static to fix
compilation issue.

Change-Id: I7061860d3cd8fdd9be532e650af7b7fc267843a5
CRs-Fixed: 3018138
2021-08-20 15:13:04 -07:00
Madan Koyyalamudi
152990ab27 Release 5.2.0.244V
Release 5.2.0.244V

Change-Id: I024209ef791fbfec03e6abd4d28fe2981acc6f0c
CRs-Fixed: 774533
2021-08-20 01:18:25 -07:00
Ashish Kumar Dhanotiya
36945867a8 qcacld-3.0: Set global opclass if country is not present in beacon IE
When driver gets rrm request it tries to get country from beacon IE
and if country is not present in beacon IE it sets the current
country information from regulatory and does not sets the op class
which is not the right way.
If AP does not send country in beacon IE, driver should set
GLOBAL_OP_CLASS for rrm request.

Change-Id: I4797d03f38817ac580f3bfea08f1939dad4da5d1
CRs-Fixed: 2996921
2021-08-20 01:18:25 -07:00
Madan Koyyalamudi
80e70e43c2 Release 5.2.0.244U
Release 5.2.0.244U

Change-Id: I2a8c07c1ad75529e1e940ca37fcdf35b0cf545ad
CRs-Fixed: 774533
2021-08-19 17:34:11 -07:00
Utkarsh Bhatnagar
d790174870 qcacld-3.0: Move get qos related API to LIM from CSR
Move get qos related API to LIM from CSR.

Change-Id: I44f32ea6588bebd2205bccf62d2267958884f260
CRs-Fixed: 3017623
2021-08-19 17:34:11 -07:00
Abhishek Singh
e39f095832 qcacld-3.0: Remove unused QOS code from SAP flow
Remove unused QOS code from SAP flow.

Change-Id: I255f28b7dab5a666cf086f8af27d3d04ef791d10
CRs-Fixed: 3016885
2021-08-19 17:34:06 -07:00
Madan Koyyalamudi
bdf9133712 Release 5.2.0.244T
Release 5.2.0.244T

Change-Id: I72c3d0d29a883dc3373e7942cc6336a67e7d1487
CRs-Fixed: 774533
2021-08-19 15:21:51 -07:00
Yeshwanth Sriram Guntuka
793341dd2c qcacld-3.0: Ignore NUD event when wlan is suspended
NUD_FAILURE event is processed after wlan bus suspend is
successful. This results in disconnect active command, which
is triggered as part of honoring NUD failure, to timeout since
WMI commands to FW will be dropped at WMI level as target is
suspended.

Fix is to ignore NUD events received when wlan is suspended.

Change-Id: If348e2043013dcab9bd16f1cfa3f8de2f81db4dc
CRs-Fixed: 3016230
2021-08-19 15:21:50 -07:00
Madan Koyyalamudi
1217f32863 Release 5.2.0.244S
Release 5.2.0.244S

Change-Id: I79b3cfb43b77b37f94306bf3564578807827e742
CRs-Fixed: 774533
2021-08-19 11:30:24 -07:00
Paul Zhang
fc8ccbf23a qcacld-3.0: Add ini wlm_latency_reset_on_disconnect
Currently, the WLM mode could be recovered after disconnection
or interface down/up about random MAC feature. Since some OEMs
have different mechanisms to config WLM mode on their framework
implementation and don't expect recovering the WLM mode.

So add logic to set default WLM mode when disconnection happens.
And add ini wlm_latency_reset_on_disconnect to differentiate
the implementation in driver. By default
wlm_latency_reset_on_disconnect is false.

Change-Id: Idcb3baf6ab8f0533eb01c28ff1c12513f9995946
CRs-Fixed: 3006875
2021-08-19 11:30:24 -07:00
Madan Koyyalamudi
a3134a3d3e Release 5.2.0.244R
Release 5.2.0.244R

Change-Id: Ic4d88c0b8e22e26efde967821b9c2c52ab76c065
CRs-Fixed: 774533
2021-08-19 09:23:50 -07:00
Bapiraju Alla
19856d1d3f qcacld-3.0: MLO connect path fixes
Fixes in this change include:
- Add debug prints
- Don't disable roaming in case of MLO link connection
- Minor compilation fixes

Change-Id: I0aa9e8b2fd634b6dba1926796d95db997946aac3
CRs-fixed: 3013039
2021-08-19 09:23:49 -07:00
Madan Koyyalamudi
49133bc2ab Release 5.2.0.244Q
Release 5.2.0.244Q

Change-Id: Ib7eb5beaf79217430c81b73b6c038a0de7f89ea9
CRs-Fixed: 774533
2021-08-19 02:13:58 -07:00
Mohammed Ahmed
03abb282d0 qcacld-3.0: Fix incorrect layering in scan component
Replace ucfg api call with wlan api calls for internal components.

Change-Id: Ie29483e9d80473ea54f8c3cdf350cfed3295d92b
CRs-Fixed: 3011182
2021-08-19 02:13:58 -07:00
Madan Koyyalamudi
9d4c640c98 Release 5.2.0.244P
Release 5.2.0.244P

Change-Id: I05942b60b86f04f4ec4016a850a9218cc4a850bc
CRs-Fixed: 774533
2021-08-18 23:55:05 -07:00
Kiran Kumar Lokere
1cd5123e4a qcacld-3.0: Config support for punctured preamble Rx HE cap
Add configuration support for punctured preamble Rx HE capability.

Change-Id: Ia4df4b6d2ecc45df6392252e2e705cbeae413f24
CRs-Fixed: 3016538
2021-08-18 23:55:04 -07:00