Commit Graph

23666 次程式碼提交

作者 SHA1 備註 提交日期
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
Will Huang
7ceef833da qcacld-3.0: Check unsafe channel again after bandwidth selected
In LTE coex SAP restart scenario, currently SAP new channel is selected
base on 20M bandwidth, and channel bandwidth is determined after
channel frequency determined, if new channel bandwidth is greater than
20M, it is possible channel boundary fall in unsafe channel range,
because bonded channel is fixed with different bandwidth.

If select new primary channel with determined bandwidth, it would
violate MCC to SCC limitation if concurrency, to make it simple,
just shrink SAP bandwidth to 20M if check unsafe channel failed.

Change-Id: Id9bc5e6e807c0446138ca816bc3ada22443fe7a2
CRs-Fixed: 3005333
2021-08-18 03:13:03 -07:00
Madan Koyyalamudi
ae22a444ca Release 5.2.0.244G
Release 5.2.0.244G

Change-Id: I3e6f3c41ccf68b0727bfb9ea2b6243ee2e6273e1
CRs-Fixed: 774533
2021-08-17 18:03:14 -07:00
Paul Zhang
2e903a08b7 qcacld-3.0: Invalid ADDROAMSCANCHANNELS if specific channels configured
For roam scanning, "specific channels list" is preferred over
"preferred channel list". Hence if user configured specific channels
then return invalid for ADDROAMSCANCHANNLES command.

Change-Id: I858eef5c990cedb4b12c21c1a00f34ff6b819849
CRs-Fixed: 3014609
2021-08-17 18:03:14 -07:00
Karthik Kantamneni
e649071fbe qcacld-3.0: Don't start fisa fse flush timer in suspend state
Currently CMEM FISA FSE flush work timer can be triggered
in suspend sequence, this may lead to starting timer even
it is pending to executed.

To avoid this check if flush is allowed before starting the timer.

Change-Id: Ie4a8386a7a7c7ae8c2fba97cae65578ae56b0b4b
CRs-Fixed: 3015719
2021-08-17 18:03:10 -07:00
Madan Koyyalamudi
8b87f5c8b5 Release 5.2.0.244F
Release 5.2.0.244F

Change-Id: I22b4168d9c90d8ecb357bf762a1caf0120c01576
CRs-Fixed: 774533
2021-08-17 15:46:24 -07:00
Balaji Pothunoori
1cd76edad4 Revert "qcacld-3.0: addba request reject for peer ap"
Peer addba request is rejected when reject_addba_req is set from
ini or vendor command.
Current reject_addba_req ini is replacing with gRxAggregationSize
when it is set 1 from ini.
Hence this reverts commit I80a4b78c1af77f5bfa68be3163f9e9a78cc64245.

Change-Id: I1cc57b88311da4dd8f26eade17072aaa1f0ebb59
CRs-Fixed: 3002204
2021-08-17 15:46:23 -07:00
Madan Koyyalamudi
9bd41d9c77 Release 5.2.0.244E
Release 5.2.0.244E

Change-Id: I1d0abadeaace572b0c9306fb4d813522b3761251
CRs-Fixed: 774533
2021-08-17 13:17:46 -07:00
Jia Ding
63ff4f1a48 qcacld-3.0: Support LLSTATS set for P2P mode
ll_stats_set vendor cmd is now only supported for STA mode.
Add support for P2P_GO and P2P_CLI modes since FW supports
LL_STATS for P2P mode as well.

For P2P_GO mode, use WMI_REQUEST_LINK_STATS_CMDID instead
of the club cmd WMI_REQUEST_UNIFIED_LL_GET_STA_CMDID.

Change-Id: I675ff87593e6eb80e1e1fef85ae1f46d24701d63
CRs-Fixed: 3012389
2021-08-17 13:17:46 -07:00
Madan Koyyalamudi
e33a75b72a Release 5.2.0.244D
Release 5.2.0.244D

Change-Id: Id89d4be10bec543acd5dcaf24019f7c6245625fa
CRs-Fixed: 774533
2021-08-17 11:01:12 -07:00
Jianmin Zhu
1d4b529547 qcacld-3.0: Fix Dual AP IPA failed when NAPI enabled
Fix AP+AP IPA offload path failure when NAPI over IPA enabled on mdm
platforms by adding QCA_CONFIG_RPS check.

QCA_CONFIG_RPS is same as CONFIG_RPS, default Y, but depend on CONFIG_SMP
as msm-5.4/net/Kconfig.

For AP+AP mode,
For LA,   CONFIG_SMP on,  then QCA_CONFIG_RPS on,  use IPA exception path.
For mdm,  CONFIG_SMP off, then QCA_CONFIG_RPS off,  use IPA offload path.

For IPA napi enable status check, just use qdf_ipa_get_lan_rx_napi,
don't need MACRO IPA_LAN_RX_NAPI_SUPPORT.

Change-Id: I6b16f2a830d4e7829c9e539896ed2977895d367e
CRs-Fixed: 2992393
2021-08-17 11:01:11 -07:00
Madan Koyyalamudi
170726e3ae Release 5.2.0.244C
Release 5.2.0.244C

Change-Id: I774dff1e562d5f72bde2a291def79f95bf8c8535
CRs-Fixed: 774533
2021-08-16 21:01:16 -07:00
Aditya Kodukula
fdcacde7c4 qcacld-3.0: Enable FW logging in FTM mode
FW logging is not enabled in FTM mode and hence add changes
to enable FW logging in FTM mode.

Change-Id: Ic23853ddf42bd2b3815fa5c8644263f23a9a40d3
CRS-Fixed: 3014033
2021-08-16 21:01:16 -07:00
Madan Koyyalamudi
a5c0936f73 Release 5.2.0.244B
Release 5.2.0.244B

Change-Id: I610e306be7f60440cf50b5eaac69763b5fea61ab
CRs-Fixed: 774533
2021-08-16 15:52:26 -07:00
Surya Prakash Sivaraj
bad0b3e491 qcacld-3.0: Add an INI to configure SAE auth failure timeout
Currently, the SAE authentication request retry happens
after a fixed timeout of 1 second in a STA DUT.

To make this timeout user configurable, add an INI to
configure SAE auth failure timeout.

Change-Id: I3a3944ab14564a944e0c83cc31a92847b5e8c5e0
CRs-Fixed: 3011892
2021-08-16 15:52:25 -07:00
Madan Koyyalamudi
dd1f166ab7 Release 5.2.0.244A
Release 5.2.0.244A

Change-Id: Ie8df74aadb2e2519a225743a6d33be0fdaee0292
CRs-Fixed: 774533
2021-08-16 12:52:55 -07:00
sheenam monga
e0c299d567 qcacld-3.0: Add WLAN_FEATURE_P2P_P2P_STA flag for p2p + p2p support
Add feature flag for conditional compilation of feature to enable
p2p+p2p on a device.

Change-Id: I2c95b39c3db6e51213f7625383c365799fff9e31
CRs-Fixed: 2991307
2021-08-16 12:52:55 -07:00
Madan Koyyalamudi
da3c4b7fb9 Release 5.2.0.244
Release 5.2.0.244

Change-Id: I43398c041f93cd69fd7dc031de9a046e9efdc3cc
CRs-Fixed: 774533
2021-08-16 10:34:34 -07:00
Yeshwanth Sriram Guntuka
5308b1abd3 qcacld-3.0: Use ini values for datapath prealloc
The memory allocation for srngs and tx/rx descriptors
are done during prealloc using macros. This could
potentially result in OOB access if the srngs sizes
and tx/rx descriptor num of elements are increased
via ini config.

Fix is to use ini values to update the srng sizes or
num of tx/rx descriptors for appropriate memory alloc
during dp prealloc.

Change-Id: Iaeac3833fd8e13df6baa9452a7d7f194b86a8bd3
CRs-Fixed: 3012648
2021-08-16 10:34:34 -07:00
Madan Koyyalamudi
2779fc1c8d Release 5.2.0.243Z
Release 5.2.0.243Z

Change-Id: I21c3295fbff74660c13a45e7e1f57764486a9bc1
CRs-Fixed: 774533
2021-08-16 05:37:03 -07:00
Liangwei Dong
66ab5fbe0d qcacld-3.0: Fix 2.4G assoc request bandwidth info wrong
With the commit I630423de03636e6c4ca07638dce6966c3ca381f9,
driver will enable HT40 capability field in assoc request
frame to 2.4G AP. In some countries, the 40Mhz is disallowed
in 2.4G.
Fix by disable HT40 if regulatory disallow

Change-Id: I8a1e6b2c59c486373c49cba0e3c635b34f443e1c
CRs-Fixed: 3012747
2021-08-16 05:37:03 -07:00
Madan Koyyalamudi
c90caf5f71 Release 5.2.0.243Y
Release 5.2.0.243Y

Change-Id: I327d82e77fb9ea6a96f807ad651cdccc9638278d
CRs-Fixed: 774533
2021-08-16 01:08:34 -07:00