Графік комітів

22896 Коміти

Автор SHA1 Повідомлення Дата
Lin Bai
732ea69682 qcacld-3.0: Add CNSS_BUS_EVENT event handler
CNSS platform will notify bus related event, and add related
handler in CLD driver.

Change-Id: I257f2e09c4fbefa6c4913eb7a7deba165a9b73ec
CRs-Fixed: 2922102
2021-05-13 20:34:03 -07:00
Madan Koyyalamudi
fa178fc174 Release 5.2.0.233U
Release 5.2.0.233U

Change-Id: I0b1565d14a7c38892b478e52b79d60ca64f5bd66
CRs-Fixed: 774533
2021-05-13 17:39:55 -07:00
Amruta Kulkarni
93b37bfa86 qcacld-3.0: Fix possible NULL pointer dereference
Fix possible NULL pointer derefernce in wma_scan_roam.c

Change-Id: I4b428c86bc0aa303b504b8eb3a21a35b3172dd06
CRs-Fixed: 2933568
2021-05-13 17:39:55 -07:00
Madan Koyyalamudi
49d70f8435 Release 5.2.0.233T
Release 5.2.0.233T

Change-Id: Ic2abd0db0f63504c4d9708335413181cb0f15a45
CRs-Fixed: 774533
2021-05-13 15:32:07 -07:00
Vevek Venkatesan
477826d178 qcacld-3.0: increase ce_service_max_yield_time to 2 msec
Increase ce_service_max_yield_time to 2 msec in SLUB_DEBUG
builds for helium SNOC platforms to improve the CE reaping
performance.

Change-Id: I2a8a21fd1a65bc2ffc5fb17986116613f47510c7
CRs-Fixed: 2937231
2021-05-13 15:32:07 -07:00
Madan Koyyalamudi
0dc4e59273 Release 5.2.0.233S
Release 5.2.0.233S

Change-Id: I62443121e590c99845efd4acef5ae4eed8f311c9
CRs-Fixed: 774533
2021-05-13 12:32:50 -07:00
Srinivas Girigowda
807bf953e8 qcacld-3.0: Do not wait for TWT notify for peer initiated teardown
TWT notify event from firmware is expected only if the teardown
is initiated by the firmware during scenarios like
(roaming in progress, etc).
If the TWT teardown is initiated by the peer then notify WMI event
is not expected from the firmware.

Change-Id: Ic13a4858fb06d023d5e71da10320a546a1dcf80d
CRs-Fixed: 2944663
2021-05-13 12:32:49 -07:00
Yu Ouyang
1a3b66cbdd qcacld-3.0: Add new ini to config suspend mode
Sometimes we need PDEV suspend mode, WMI_PDEV_SUSPEND_CMDID and
WMI_PDEV_RESUME_CMDID. But currently design, only support WoW
suspend or not support two choices. And, there are two confused
ini configuration, gDisableWow and gEnableWoW.

1. Add new ini gSuspendMode to set suspend mode. Default 2.
	0, does not support suspend
	1, legency pdev suspend mode
	2, WoW suspend mode
2. Clean gDisableWow. It is replaced by gSuspendMode=0.
   HDD suspend/resume function get the value by new API
   ucfg_pmo_get_suspend_mode().

Change-Id: Icbeef3df6879ca2054f64e0292e9b9469c4936d4
CRs-fixed: 2940788
2021-05-13 12:32:44 -07:00
Madan Koyyalamudi
425508842d Release 5.2.0.233R
Release 5.2.0.233R

Change-Id: Id8244179fc5f5fa5ea3a33ad8b066b458e62e507
CRs-Fixed: 774533
2021-05-13 10:19:02 -07:00
Gururaj Pandurangi
5f68a0e898 qcacld-3.0: Enable Skip TPE consideration INI by default
The INI skip_tpe_consideration when set, skips power from AP's
TPE IE in TPC power calculation for 2.4G/5G case. Enable this
INI by default since APs advertise low TPE powers for IoT, thus
lowering overall TPC power.

Change-Id: I6c07bbd684579c2fa3617e49d76c75b5bf3f2815
CRs-Fixed: 2941630
2021-05-13 10:19:01 -07:00
Ananya Gupta
22a74f3eb7 qcacld-3.0: Enable SMMU Translation for IPA
Enable SMMU translation in waipio target if
IPA is enabled

Change-Id: Ib41c164bb0eaf7e3d58386013a46db8dd601f9f0
CRs-Fixed: 2943929
2021-05-13 10:18:57 -07:00
Madan Koyyalamudi
03fc13e641 Release 5.2.0.233Q
Release 5.2.0.233Q

Change-Id: I0df371fed7ba635fe29d08cd0e8f013633e4eb11
CRs-Fixed: 774533
2021-05-13 06:19:48 -07:00
Yeshwanth Sriram Guntuka
7e34cba037 qcacld-3.0: Flush frags for peer on add key request
Fragments are not flushed as part of rekey which
could result in fragments encrypted under different
keys to be reassembled.

Fix is to flush fragments for the peer for which add
key request is received.

Change-Id: I0c018ff7375272125c62aaea7b8ad4df9e842508
CRs-Fixed: 2875950
2021-05-13 06:19:48 -07:00
Yeshwanth Sriram Guntuka
03ec0027f3 qcacld-3.0: Add support to flush fragments for a particular peer
Add support for flushing fragments for a particular peer.

Change-Id: I91236d2edc73317380590458b974013a02e858a1
CRs-Fixed: 2860131
2021-05-13 06:19:43 -07:00
Madan Koyyalamudi
3d818be4e3 Release 5.2.0.233P
Release 5.2.0.233P

Change-Id: I67c1ba6d77e44954fe4dcf80fa5718a5d644a710
CRs-Fixed: 774533
2021-05-13 01:12:43 -07:00
Jyoti Kumari
6bb5c1138d qcacld-3.0: wma_send_peer_assoc() sets incorrect peer state
wma_send_peer_assoc() calls wma_unified_peer_state_update() which
always sets the peer state as AUTH irrespective of peer state.

Remove wma_unified_peer_state_update() from wma_send_peer_assoc()
to handle peer state.

Change-Id: I4a887acbc8018653c34b927636cce7cc05323838
CRs-Fixed: 2888808
2021-05-13 01:12:43 -07:00
Madan Koyyalamudi
296f4d4c6d Release 5.2.0.233O
Release 5.2.0.233O

Change-Id: Ifc74fd217f3e5e1c8ae401362b1feed2c7c46343
CRs-Fixed: 774533
2021-05-12 20:57:45 -07:00
Karthik Kantamneni
d16c504bf9 qcacld-3.0: Increase QDF nbuf history for Lithium targets
For some of the stability issues triggered by H.W,
by the time host detects it most of the QDF history
is getting overwritten to avoid this increasing QDF
nbuf history. So that there will be less chance of
events getting overwritten.

Change-Id: Ia4bad1a175976af2e56126b56ae8c92a988e4289
CRs-Fixed: 2942868
2021-05-12 20:57:44 -07:00
Madan Koyyalamudi
478ae5eefb Release 5.2.0.233N
Release 5.2.0.233N

Change-Id: Id12e32428ad6b785b377de276cc79f2e99512d6c
CRs-Fixed: 774533
2021-05-12 18:42:18 -07:00
Yeshwanth Sriram Guntuka
7c7aa33389 qcacld-3.0: Do not intrabss fwd EAPOL frames in IPA exc path
Do not intrabss forward EAPOL frames received in IPA
exception path.

Change-Id: I0be68ec2c186a7b64d4d2f1c3de7dbb20e49d860
CRs-Fixed: 2860225
2021-05-12 18:42:18 -07:00
Yeshwanth Sriram Guntuka
2294dad9ba qcacld-3.0: Enable config flag to disable EAPOL intrabss fwd
Enable config flag to disable EAPOL intrabss fwd for Lithium

Change-Id: I23959e38b5cbd845d369bebd6913150eca4551bf
CRs-Fixed: 2876353
2021-05-12 18:42:14 -07:00
Madan Koyyalamudi
ddbb8252cd Release 5.2.0.233M
Release 5.2.0.233M

Change-Id: I1ec8936cd4c963117b3639928be8bb0febc6c202
CRs-Fixed: 774533
2021-05-12 16:34:43 -07:00
Yeshwanth Sriram Guntuka
e7a18cf90f qcacld-3.0: Drop EAPOL frame with DA different from SAP vdev mac addr
Fragmented EAPOL frames and EAPOL frames received
in few error scenarios with DA different from SAP
vdev mac addr will be dropped.

Change-Id: I624eba5bdb43c6b88a1f57112550f8026cc35e24
CRs-Fixed: 2888227
2021-05-12 16:34:42 -07:00
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
60703ed106 qcacld-3.0: Drop non-EAPOL/WAPI frames from unauthorized peer
Drop non-EAPOL/WAPI frames from unauthorized peer received
in the IPA exception path.

Change-Id: I0c0bc6e60efa193126ba1e3eca36c5e02f7f76a3
CRs-Fixed: 2860206
2021-05-12 12:30:53 -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
Jianmin Zhu
007e9b9449 qcacld-3.0: Avoid intra bss forwarding for adapter in sta mode
During DUT STA Rx over IPA, qdf_spin_unlock_bh is called as following.
__wlan_ipa_w2i_cb
->wlan_ipa_rx_intrabss_fwd
->cdp_ipa_rx_intrabss_fwd
->dp_ipa_rx_intrabss_fwd
->dp_vdev_get_ref_by_id
->qdf_spin_unlock_bh

netif_rx will raise NET_RX_SOFTIRQ in enqueue_to_backlog->
____napi_schedule even NAPI not enabled.
spin_unlock_bh will call do_softirq to execute NET_RX if NET_RX_SOFTIRQ
is raised.

If qdf_spin_unlock_bh is called in wlan_ipa_w2i_cb, once 1 skb received,
netif_rx is called, and NET_RX_SOFTIRQ and APP like iperf is scheduled,
too much context switch happens, CPU and power is wasted, Rx throughput
KPI failed on mdm platform which only has single 1.2G-1.5G CPU.

Fix it by avoiding intra bss forwarding for adapter in sta mode.

Change-Id: I264b14120b9998a56f6c1978f5a890615e6f837c
CRs-Fixed: 2915691
2021-05-11 10:13:39 -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
Karthik Kantamneni
b85a37928b qcacld-3.0: Config changes for QCA6750 target
Disable lock less access and delyed reg v2 support for QCA6750.

Change-Id: I4c0294c07db656a0dbf5b0f512205eb08d72eb71
CRs-Fixed: 2933266
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
Vevek Venkatesan
263661e6b7 qcacld-3.0: enable BW_MONITOR support for moselle
Enable WDI3_STATS_BW_MONITOR support for moselle
platforms.

Change-Id: I09fc851548f584f7b67824de523df8dd3ece90eb
CRs-Fixed: 2941935
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
Vulupala Shashank Reddy
13d111a33a qcacld-3.0: Fix compilation error because of unused variable
Fix compilation error due to unused variable tx_retry_cnt
in packet capture.

Change-Id: I9df7ae71723390fb6e1f58495efbb8bdfe42edf4
CRs-Fixed: 2942168
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