Commit Graph

23837 Commits

Author SHA1 Message Date
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
Kiran Kumar Lokere
a70df38665 qcacld-3.0: Config support for BTWT and Rx control frame to MBSS
Add configuration support for broadcast TWT support and Rx control
frames to MultiBSS HE capabilities.

Change-Id: I2b3075a21c919c120e7a1ff674ac33fdd5d73801
CRs-Fixed: 2979513
2021-08-18 23:55:00 -07:00
Madan Koyyalamudi
167532e40d Release 5.2.0.244O
Release 5.2.0.244O

Change-Id: I3f2afb125c5d69397df5f29d9356e8240aab7985
CRs-Fixed: 774533
2021-08-18 21:03:59 -07:00
Deeksha Gupta
a6a66909f0 qcacld-3.0: Handle TWT session if power save mode disable
In case if .set_power_mgmt command comes with ps disable,
then driver needs to teardown all existing twt sessions on
STA interface and if any TWT setup request command comes
after ps disable then also driver rejects the command.

Change-Id: Ib7c86fd257c52b9bac57124b744dc7a9e8405560
CRs-Fixed: 2997260
2021-08-18 21:03:59 -07:00
Madan Koyyalamudi
16c90dbb88 Release 5.2.0.244N
Release 5.2.0.244N

Change-Id: Ia3d3676462e31de8b61fbc045a927b0bd4721866
CRs-Fixed: 774533
2021-08-18 18:43:27 -07:00
Utkarsh Bhatnagar
235135f84d qcacld-3.0: Fix unnecessary logs in connect path
Fix unnecessary logs in connect path.

Change-Id: I60a5e7380eccbe0406e45da398f1f690b09ce820
CRs-Fixed: 3016952
2021-08-18 18:43:27 -07:00
Balaji Pothunoori
f0521aa1ea qcacld-3.0: update ini configured rx aggregation size in addba response
Currently addba response is not updated with ini configured rx aggregation
size.
This change is to reject peer addba request if rx aggr size is 1 and
for other sizes select min value of peer and configured sizes.

Change-Id: Ia375b1e031dfecf948429e0baea19faa8fe42ffa
CRs-Fixed: 2962314
2021-08-18 18:43:22 -07:00
Madan Koyyalamudi
34d203945e Release 5.2.0.244M
Release 5.2.0.244M

Change-Id: I12e1fa1eec5df063e2c8a92a5a8c56e9f629a361
CRs-Fixed: 774533
2021-08-18 16:34:59 -07:00
Surya Prakash Sivaraj
7c0c6f3d5a qcacld-3.0: Notify the failure to firmware if SAE auth retries exhausted
Currently during SAE roaming, if the DUT exhaust SAE retries
(i.e. DUT doesn't receive SAE auth confirm/commit response even
after max retries), host driver stops retrying and cleans up the
internal counters/frame. But, the failure is not notified to firmware.
So, firmware may go out of sync. Therefore, Notify the failure to
firmware through WMA_ROAM_PRE_AUTH_STATUS in such cases. So that,
firmware can abort roaming.

Change-Id: Ic769dcabc15c1052f5d7d43f3ef754dd7b7c1f40
CRs-Fixed: 2981666
2021-08-18 16:34:58 -07:00
Madan Koyyalamudi
0f18c4fe06 Release 5.2.0.244L
Release 5.2.0.244L

Change-Id: I95cbdd77973364e5d379012edbb984da1f030623
CRs-Fixed: 774533
2021-08-18 14:21:01 -07:00
Jyoti Kumari
6209487c3c qcacld-3.0: Disable beamformer for single chain
If there is single chain support then driver should disable
beamformer instead of enable

As part of fix, check the number of chains by intersecting the
firmware capability and ini config. If it is 1 then set
su_bformer, mu_bformer and num_soundingdim as 0

Change-Id: I84434c741cbf774f368657b2c57668f6e7b99991
CRs-Fixed: 3003257
2021-08-18 14:21:01 -07:00
Madan Koyyalamudi
5842e66a2b Release 5.2.0.244K
Release 5.2.0.244K

Change-Id: I9bde4344fbbc6c1bee81060299dc8ecac27020bf
CRs-Fixed: 774533
2021-08-18 12:07:58 -07:00
Kiran Kumar Lokere
dec08a2999 qcacld-3.0: Configure FW to prevent PM during TWT suspend
Configure FW to prevent entering into power save during the
TWT suspend and resume when the STA role is testbed device.

Change-Id: If0d1d93076d60a3cd72e5c07f7e5b8519a039988
CRs-Fixed: 2995102
2021-08-18 12:07:58 -07:00
Bapiraju Alla
6874af8035 qcacld-3.0: Fix ac fallback issue when TSPEC id deleted
When TSPEC session is deleted, the access category of the data packets
should be downgraded to next lower AC. But this is not happening due to
acm mask is not getting updated when bss descriptor is NULL.

To fix this ssue, update acm mask from bss descriptor only when beacon
IEs are not present.
Also move qos related logic to LIM and bring missig changes which were
there before connection manager.

Change-Id: I9da80cf492b01762b4cc0a7b73271a0f5fe4b4a4
CRs-Fixed: 3011069
2021-08-18 12:07:53 -07:00
Madan Koyyalamudi
b0cba71dd2 Release 5.2.0.244J
Release 5.2.0.244J

Change-Id: I769265233840163c923e3667b10dcd0262537859
CRs-Fixed: 774533
2021-08-18 09:50:43 -07:00
Jianmin Zhu
6ffbb3df4b qcacld-3.0: Fix issue that rx_mpdu is 0 for 11a/g mcs 0
For 11a/g mcs 0, preamble:OFDM 0, nss 1x1:0, channel width:20M, 0,
mcs 0 rate:0.
so (((_pream)) | ((_nss) << 3) | ((_bw) << 5) | ((_rate) << 8))  is 0,
so wmi_rate_stats.rate is 0,  rx_mpdu is set to 0.

Fix it by not setting rx_mpdu to 0 when rate is 0.

Change-Id: Ie12660480af42e26c2ea957b6576dbd395730522
CRs-Fixed: 3008693
2021-08-18 09:50:43 -07:00
Madan Koyyalamudi
f93ab8c431 Release 5.2.0.244I
Release 5.2.0.244I

Change-Id: I5bd6c1ab10779f370bcc4ca2e02d5288171f560f
CRs-Fixed: 774533
2021-08-18 07:34:28 -07:00
Ashish Kumar Dhanotiya
d7a6c9e1cb qcacld-3.0: Do not free radio stats memory from wma
Currently driver frees the radio stats memory from wma
in error cases, there is a possibility that if hdd gets
time out for the stats request, it tries to free the radio
stats memory and at the same time if wma receives invalid
stats from fw in that case wma also tries to free the radio
stats memory which may lead to double free.

To aoid above issue, do not free the radio stats memory from
wma, in error cases hdd will free this memory after it gets
time out.

Change-Id: I6f6073a1a8e0be1b87efce288b7567e8fc8d69b0
CRs-Fixed: 3013842
2021-08-18 07:34:28 -07:00
Madan Koyyalamudi
63a9a135f7 Release 5.2.0.244H
Release 5.2.0.244H

Change-Id: Ia1a761312d493d1c77b635893b2234af5e2004a7
CRs-Fixed: 774533
2021-08-18 03:13:03 -07:00