Commit Graph

22873 Commits

Author SHA1 Message Date
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
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
Karthik Kantamneni
5f7a749e92 qcacld-3.0: Enable TX HW descriptor history support
Enable TX HW descriptor history support for Lithium targets

Change-Id: I84c079cb28f0e320de5378291a21263b8417372f
CRs-Fixed: 2934910
2021-05-10 09:02:51 -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
Liangwei Dong
1ad0172d7e qcacld-3.0: Fix LTE unsafe channel switching failure of SAP
At present LTE unsafe channel switch and DCS is using
hdd_switch_sap_channel to switch channel of SAP.
hdd_switch_sap_channel has no bw setting parameters and just
use the original bw of SAP - ch_width_orig. The ch_width_orig
(80Mhz) may not be applicable if SAP is channel switching from
5G 80Mhz to 2G. Use the new API wlan_get_ap_prefer_conc_ch_params
to override the bw to appropriate value for the new channel.

Change-Id: I9ab6c92a0534517c524bd56b0c3087d7f75f6368
CRs-Fixed: 2939654
2021-05-10 02:05:23 -07:00
Surabhi Vishnoi
63465be34e qcacld-3.0: Reset the value of static rssi_comb to zero
Reset the value of static variable rssi_comb to zero when
last mpdu of ppdu is received in packet capture mode.

Change-Id: Ida76dfb9c98a8e2718844f890e0303802db5bbed
CRs-Fixed: 2940871
2021-05-10 02:05:18 -07:00
Surabhi Vishnoi
3f6f415064 qcacld-3.0: Add support for TSO frames in packet capture mode
Currently, TSO frames are not handled in packet capture mode.
Add support to handle TSO frames.

Change-Id: Ib901defcd369b01a33c87ca888ad80fe5fd086c7
CRs-Fixed: 2932138
2021-05-10 02:05:13 -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
Gururaj Pandurangi
8d62ca99ce qcacld-3.0: Avoid obj mgr logging on console for MCC
Avoid obj mgr logging of get ref API print on console
for MCC as it leads to excessive logging and assert.

Change-Id: I75fb9381a7c122f4d7701888da35c7e38836250e
CRs-Fixed: 2941196
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
Surabhi Vishnoi
911ffbd52f qcacld-3.0: Register for mgmt control frames in pkt capture mode
Register for management control frames with the mgmt txrx
component in packet capture mode.

Change-Id: Ibaa20e00753cdeb6a15a79bd458166b47652cdb5
CRs-Fixed: 2932144
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