Commit Graph

20350 次程式碼提交

作者 SHA1 備註 提交日期
Madan Koyyalamudi
f66408045d Release 5.2.0.233L
Release 5.2.0.233L

Change-Id: I55f78f186927f26dc8064e44f2e6a6f380137c4a
CRs-Fixed: 774533
2021-05-12 14:31:13 -07:00
Yeshwanth Sriram Guntuka
7ccead5da9 qcacld-3.0: Do not intrabss fwd frag EAPOL frames in HL
Do not intrabss forward fragmented EAPOL frames that have
DA different from the SAP vdev mac addr when high latency
is enabled.

Change-Id: Idb6e6c001f4dae51c2181e70ab9adbbb964f0ee3
CRs-Fixed: 2942096
2021-05-12 14:31:13 -07:00
Madan Koyyalamudi
83c6d92ef4 Release 5.2.0.233K
Release 5.2.0.233K

Change-Id: I4bc5ce8f9e103e0bcd1d0109d19f697fc7f11e45
CRs-Fixed: 774533
2021-05-12 12:30:54 -07:00
Yeshwanth Sriram Guntuka
62374f3883 qcacld-3.0: Do not intrabss forward fragmented EAPOL frames
Do not intrabss forward fragmented EAPOL frames that have
DA different from the SAP vdev mac addr.

Change-Id: I4145227c9b02fe8cec86ef4ffc3bc2025f906923
CRs-Fixed: 2888467
2021-05-12 12:30:49 -07:00
Yeshwanth Sriram Guntuka
5deab77487 qcacld-3.0: Modify check to ensure consecutive PN for frags
Modify check to ensure packet number is consecutive for
fragments and drop the fragments if the check fails.

Change-Id: Ica24f65aff65ca58bb010c876f27964b5b2bae6a
CRs-Fixed: 2860242
2021-05-12 12:30:45 -07:00
Madan Koyyalamudi
792166efc0 Release 5.2.0.233J
Release 5.2.0.233J

Change-Id: Ic7a349f44f3fe5ad9c17c9ec7fc271538a3e38cc
CRs-Fixed: 774533
2021-05-12 10:34:49 -07:00
Yeshwanth Sriram Guntuka
403bc635eb qcacld-3.0: Drop mcast and plaintext frags in protected network
Multicast frames should not be fragmented and plaintext
frags should not be reassembeld in protected network.

Fix is to drop mcast frags and plaintext frags received
in protected network.

Change-Id: I98cf0715f5832f2f86f86b79dbdbc3a7c86dbfd0
CRs-Fixed: 2860245
2021-05-12 10:34:49 -07:00
Madan Koyyalamudi
0e9ad0dbac Release 5.2.0.233I
Release 5.2.0.233I

Change-Id: I310e8b0d4d9f4c4c4c582fa78efd33f40f0ab32c
CRs-Fixed: 774533
2021-05-11 10:13:44 -07:00
Srinivas Dasari
b9ae150722 qcacld-3.0: Start P2P_CLI vdev in max supported ch_width
Some APs/P2P-GOs send beacon with 20mhz and assoc resp with 80mhz
and after assoc resp, next beacon also has 80mhz. Connection is
expected to happen in better possible bandwidth(80MHz in this
case).
Start the vdev with max supported ch_width in order to
support this. It'll be downgraded to appropriate ch_width or
the same would be continued based on assoc resp.

Change-Id: I0d205e0833b2638aab15401bacdef7a0696d40c2
CRs-Fixed: 2870758
2021-05-11 10:13:44 -07:00
Madan Koyyalamudi
e444fdc31d Release 5.2.0.233H
Release 5.2.0.233H

Change-Id: I17ce7bdebacbdc188328a02b8b43df00af1665db
CRs-Fixed: 774533
2021-05-11 08:03:15 -07:00
Madan Koyyalamudi
3bd139746e Release 5.2.0.233G
Release 5.2.0.233G

Change-Id: Ic14b613030c8899c8090248eb52bef5ea7c8be80
CRs-Fixed: 774533
2021-05-11 05:54:20 -07:00
Karthik Kantamneni
e7f4cae651 qcacld-3.0: Set ep vote access states during suspend and resume
Set ep vote states during wlan suspend and resume opeartions

Change-Id: I5da5fb69ca99ac1d9ecd82cc61cc106eeba8eb47
CRs-Fixed: 2939902
2021-05-11 05:54:20 -07:00
Madan Koyyalamudi
f69663856f Release 5.2.0.233F
Release 5.2.0.233F

Change-Id: Ice23cdd4a8d5c570622e7e2b015df410bddf968f
CRs-Fixed: 774533
2021-05-11 03:52:01 -07:00
Madan Koyyalamudi
b6923ad3ad Release 5.2.0.233E
Release 5.2.0.233E

Change-Id: Iab74767cebb30254a8d7ccd7027490ec725f703a
CRs-Fixed: 774533
2021-05-11 01:43:53 -07:00
Naman Padhiar
5beeb03f45 qcacld-3.0: Add PLD wrapper for MHI state info
Add pld_get_mhi_state API to get current MHI state and
pld_is_pci_ep_awake to indicate that PCI EP is out of
low power state.

Also enable pld_prevent_l1 and pld_allow_l1 API for WCN6750
to manage low power state of PCI EP from Host.

Change-Id: Ic574bf7d7886b8e59b98e65806b387eef3a54e94
2021-05-11 01:43:53 -07:00
Madan Koyyalamudi
33854739e8 Release 5.2.0.233D
Release 5.2.0.233D

Change-Id: I41024c8336f5322ee495467b3bb56531c70a53e2
CRs-Fixed: 774533
2021-05-10 23:45:50 -07:00
Liangwei Dong
6f560d48cb qcacld-3.0: Fix disconnect event missing for kernel
For reassociate case, when disconnect is triggered by
wlan_hdd_try_disconnect, then disconnect event is not
indicated to kernel in disconnect handler -
hdd_dis_connect_handler.  And if the csr_roam_connect
get failure for some reason, the kernel will only get
error code from driver connect request interface and
the connected bss information in kernel will not get
cleared. Then kernel / driver will be out of sync.
To fix that, for such csr_roam_connect failure case,
let driver return successful status code from driver
connect interface and indicate connection result failure
event to kernel to clear kernel bss information.

Change-Id: I5367262751e63c04553deeb7607cbe13c70f8e15
CRs-Fixed: 2940994
2021-05-10 23:45:50 -07:00
Madan Koyyalamudi
f95f43ca40 Release 5.2.0.233C
Release 5.2.0.233C

Change-Id: Ia775975733f52dfed82c477c3bcd04df20dab91b
CRs-Fixed: 774533
2021-05-10 20:07:11 -07:00
Sachin Ahuja
67ddd4b763 qcacld-3.0: Flush the idle shutdown before the dsc op start
Currently idle shutdown is flushed after the suspend dsc op
start. This can lead to the deadlock when the idle shutdown
work is running as it waits for the dsc ops to complete.

To mitigate this issue, flush the idle shutdown work before
starting the dsc ops in suspend sequence.

CRs-Fixed: 2941314
Change-Id: I023b9eb3543d83a30e0587cec3977e08ac7ab752
2021-05-10 20:07:11 -07:00
Madan Koyyalamudi
7122536207 Release 5.2.0.233B
Release 5.2.0.233B

Change-Id: Iaff0db87e705d59f308d9d243c6b920271e6bb2c
CRs-Fixed: 774533
2021-05-10 17:56:37 -07:00
Madan Koyyalamudi
eaa8813895 Release 5.2.0.233A
Release 5.2.0.233A

Change-Id: I13d5814e1a003a27767e9462690ddbed83246931
CRs-Fixed: 774533
2021-05-10 14:47:48 -07:00
Abhishek Singh
39455350a3 qcacld-3.0: Add self reassoc and Hw mode change logic for LFR2
Add self reassoc and Hw mode change logic for LFR2.

Change-Id: I2c48f0d36d541df58b6d6c2448bfe526b60df142
CRs-Fixed: 2941794
2021-05-10 14:47:48 -07:00
Madan Koyyalamudi
2b27164e0b Release 5.2.0.233
Release 5.2.0.233

Change-Id: I8bf7ad8f736cee1241575e667c7abead64c4e072
CRs-Fixed: 774533
2021-05-10 12:44:39 -07:00
Guisen Yang
ccbb3118e6 qcacld-3.0: Disable obss scan before suspend
When obss scan is enabled, FW will trigger scan periodically by
a timer. If a scan was triggered, FW need to access host memory
for data transfer. Occasionally, suspend may happen during one
scan, then FW is unable to access host memory and fw will crash.
So disable the obss scan before suspend.

Change-Id: I131258b3c975cc7fcf3931f4b1fc1e1a649383ef
CRs-Fixed: 2904237
2021-05-10 12:44:38 -07:00
Madan Koyyalamudi
8a656a6d50 Release 5.2.0.232Z
Release 5.2.0.232Z

Change-Id: I6a0d1651d24b3177afc1386b31fb633738c531ba
CRs-Fixed: 774533
2021-05-10 09:02:55 -07:00
Utkarsh Bhatnagar
c7e32c7021 qcacld-3.0: Enable TDLS 11AX only if supported by FW
Don't fill the 11ax capabilities if FW doesn't support
TDLS 11AX capability.

Change-Id: I267ccaa439bb3cf17d27493172b4f324d112724b
CRs-Fixed: 2925250
2021-05-10 09:02:55 -07:00
Madan Koyyalamudi
75647e4a8f Release 5.2.0.232Y
Release 5.2.0.232Y

Change-Id: Id3a861f203b3aa1481d601fb9717134d9b84cc67
CRs-Fixed: 774533
2021-05-10 02:05:23 -07:00
Madan Koyyalamudi
a7f36cd4c4 Release 5.2.0.232X
Release 5.2.0.232X

Change-Id: I2c7a5f8a4f35d92f51949053f9a2d7ba5ee7e3e0
CRs-Fixed: 774533
2021-05-08 17:43:55 -07:00
Pragaspathi Thilagaraj
6e08095ff9 qcacld-3.0: Send update pmk cmd only if set/del pmksa is successful
The WMI_PDEV_UPDATE_PMK_CACHE_CMDID command is sent even if the
delete/set pmksa command fails due to same entry with same pmk
already exists. This can cause invalid pmk
entries to be updated in the Fw pmk table and also the host/fw
pmksa table goes out of sync.

To avoid this, send the WMI_PDEV_UPDATE_PMK_CACHE_CMDID command
only if set pmksa/del pmksa is successful at crypto

Change-Id: I080ebd9f6ca11bac216e6e8c62ef6060f0adef67
CRs-Fixed: 2937175
2021-05-08 17:43:54 -07:00
Madan Koyyalamudi
6f0ccd1f37 Release 5.2.0.232W
Release 5.2.0.232W

Change-Id: I4c7fb44df30badee468d56a20d86091940c60d49
CRs-Fixed: 774533
2021-05-07 22:53:43 -07:00
Lincoln Tran
1f2a49ed00 qcacld-3.0: Send band correct TX BF caps
In 6G 160Mhz case, beamforming values are not being sent correctly
because the HE capability is populated from the minimum between bands.
Since FW is advertising the 2G capabilities as a lower value, these are
taking effect. Update these values from the correct band.

Change-Id: I0a0bc14860487f104e7b872894f1eb939c06a613
CRs-fixed: 2939702
2021-05-07 22:53:39 -07:00
Madan Koyyalamudi
6faa55f39d Release 5.2.0.232V
Release 5.2.0.232V

Change-Id: I60a61f0d729809577f43b225c7adca858c895255
CRs-Fixed: 774533
2021-05-07 18:55:27 -07:00
Pragaspathi Thilagaraj
77ee19f896 qcacld-3.0: Fill default CFR NSS/BW values during start capture
Currently if the userspace doesn't send the NSS/BW values, then
the filter_set_valid_mask flag is not set in the
WMI_CFR_CAPTURE_FILTER_CMDID command. So the target doesn't
configure the BW and NSS filter in HW leading to frames getting
filtered out.

Fill default CFR capture NSS and BW values during start
capture.

Change-Id: I46004aa38c09dec8995fff84a3e699581675221b
CRs-Fixed: 2932529
2021-05-07 11:42:56 -07:00
Madan Koyyalamudi
5356180fa2 Release 5.2.0.232U
Release 5.2.0.232U

Change-Id: I6d1a964371e1cc4714934eed0c6a7639502551eb
CRs-Fixed: 774533
2021-05-07 07:17:56 -07:00
Madan Koyyalamudi
83ef88e57f Release 5.2.0.232T
Release 5.2.0.232T

Change-Id: Ied34d14abb0ca7c2647f850fa34f86b014a7a552
CRs-Fixed: 774533
2021-05-07 05:05:01 -07:00
Utkarsh Bhatnagar
e649bde5af qcacld-3.0: Add ini to configure BLE scan policy
Add gConfigBleScanCoexPolicy which can be used to
control performance of ble scan case.
’0’ to place more emphasis on BLE Scan results
‘1’ to place more emphasis on WLAN performance

Change-Id: I46c735d8695523d14f6372bc5e47d1d1f51589ae
CRs-Fixed: 2935051
2021-05-07 05:05:01 -07:00
Madan Koyyalamudi
b081b0101f Release 5.2.0.232S
Release 5.2.0.232S

Change-Id: I92bc4045d3f02860a196ce58ffab2d6eba590f0b
CRs-Fixed: 774533
2021-05-07 01:56:27 -07:00
Jia Ding
96a5992852 qcacld-3.0: Add 320MHz support for SAP module
As part of 11BE 320MHz bandwidth support, add 320MHz support for
SAP module, including 320MHz ACS support.

Change-Id: If26d9e62b16bbecbb1ea10c70f42e9a8464a70c7
CRs-Fixed: 2935873
2021-05-07 01:56:26 -07:00
Madan Koyyalamudi
ecc86fe2c6 Release 5.2.0.232R
Release 5.2.0.232R

Change-Id: I81c03515d9e50c382c1543a635a9634e6457a03b
CRs-Fixed: 774533
2021-05-06 22:52:30 -07:00
Jia Ding
49d869da28 qcacld-3.0: Get max supported EHT bandwidth in SME
As part of 320MHz bandwidth support for 11BE, define an API
to get max supported EHT bandwidth in SME, which in turn gets
max BW from WMA layer.

Change-Id: Ifae397ec38cd89758215a9d09fe58a4d7afd22f4
CRs-Fixed: 2935861
2021-05-06 22:52:29 -07:00
Madan Koyyalamudi
e21d97a484 Release 5.2.0.232Q
Release 5.2.0.232Q

Change-Id: I1e8c04ab254b7af050dc1bd685fcb9d39f050321
CRs-Fixed: 774533
2021-05-06 20:53:01 -07:00
Lincoln Tran
5ccffc5260 qcacld-3.0: Send 6G HE caps to userspace
New checks have been added in userspace to verify the 6GHz HE
capabilities before allowing the connection. These capabilities
are not currently being shared by host. Add logic to send the
6GHz HE capabilities to userspace.
Also, add APIs to get capabilities from MLME component.

Change-Id: I3d2bbe0d87be6094b6fc74ce01d0e418873cbc6f
CRs-fixed: 2931130
2021-05-06 20:53:00 -07:00
Madan Koyyalamudi
1c084696a6 Release 5.2.0.232P
Release 5.2.0.232P

Change-Id: I39c071b1e2e70bf0c01c2b4491bbf0296ac54f3a
CRs-Fixed: 774533
2021-05-06 16:56:35 -07:00
Amruta Kulkarni
7c43640fdc qcacld-3.0: Allocate separate memory for set pmksa
In roam sync handling, pmksa memory is freed right after
set pmka entry is updated in crypto priv params instead
allocate separate buffer for crypto.

Change-Id: I337efcb29d2233b016f93cae7f4f23d3203786a6
CRs-Fixed: 2931162
2021-05-06 16:56:35 -07:00
Madan Koyyalamudi
a65a114e24 Release 5.2.0.232O
Release 5.2.0.232O

Change-Id: I334a0d944dbc030b1c0c93100af19873b16d593e
CRs-Fixed: 774533
2021-05-06 13:49:45 -07:00
Utkarsh Bhatnagar
cd22a0f327 qcacld-3.0: Add Reassoc req handling code for connection manager
Add Reassoc req handling code for connection manager.

Change-Id: I2735642df3132738993e801acdb6c9dcba1ac80f
CRs-Fixed: 2939872
2021-05-06 13:49:44 -07:00
Vevek Venkatesan
1822c0e153 qcacld-3.0: add Tx desc history in non-critical prealloc memory
Add the Tx desc history buffers into non-critical category of
prealloc memory.

Change-Id: I9e9b466a8e836cbc02ff7754e545b99b984cb02d
CRs-Fixed: 2936445
2021-05-06 13:49:40 -07:00
Madan Koyyalamudi
5dc2d6dafb Release 5.2.0.232N
Release 5.2.0.232N

Change-Id: I13840b9ba6e3818bdd7b8bda626c9d4d23dc503d
CRs-Fixed: 774533
2021-05-06 10:44:10 -07:00
Srinivas Dasari
ed3a67f8a9 qcacld-3.0: Stop opportunistic timer for NAN cmds in HL platforms
Opportunistic timer gets triggered as soon as a DBS use case
is completed and hw_mode would be set to SMM when the
timer(5 seconds) expires.
Below is an example scenario,
1. DBS is enabled to support STA on 5GHz + SAP on 2.4GHz on
   a Helium device.
2. SAP is disabled(to enable NAN as NAN+SAP is not supported on
   HL platforms)
3. Opportunistic timer gets triggered with a timeout of 5 seconds
   as DBS is not needed anymore.
4. Once the timer expires, WMI_PDEV_SET_HW_MODE_CMDID command
   would be sent to firmware to set the hw_mode to SMM.

But if framework enables NAN immediately after disabling SAP,
firmware can't allow it as NAN is not supported in DBS mode in
Helium platforms. Thereby firmware either rejects the NAN enable
or defer it till set_hw_mode command is received(which introduces
a delay of 5 seconds as host sends it after timer expiry).

So, stop the timer and complete corresponding action when a NAN
command is received from framework to avoid this failure/delay.

Change-Id: I50521c0dd5f2314034957a0f65898c737cfe7e2e
CRs-Fixed: 2937407
2021-05-06 10:44:09 -07:00
Madan Koyyalamudi
653fb55af8 Release 5.2.0.232M
Release 5.2.0.232M

Change-Id: Ia0e6283cb914289f27c40549e20b22afb4205824
CRs-Fixed: 774533
2021-05-06 08:32:53 -07:00