Commit Graph

26980 Commits

Author SHA1 Message Date
Pragaspathi Thilagaraj
b70d93c705 qcacld-3.0: Add new ini to enable/disable R-STA 11az support
Add new ini "enable_responder_11az_support" to enable/disable
R-STA 11az support.

Change-Id: If99f19eb88a6db31364f010db0f257ece45e6527
CRs-Fixed: 3295310
2022-09-29 04:22:13 -07:00
Jayachandran Sreekumaran
97fefb1f62 qcacld-3.0: Disable Tx/Rx STBC in 1x1 mode
Tx/Rx STBC configs are getting updated with FW config.
Add check to verify whether the host config supports 2x2.
Disable Tx/Rx STBC in 1x1 mode.

Change-Id: I40ae78eec383d607615d035ca60a1561bbb49031
CRs-Fixed: 3270266
2022-09-29 04:22:07 -07:00
Madan Koyyalamudi
5c012ab8eb Release 5.2.1.38Z
Release 5.2.1.38Z

Change-Id: I31084fdd91a239e434b93a72b42c5d85264a9c08
CRs-Fixed: 774533
2022-09-29 02:27:44 -07:00
Jayachandran Sreekumaran
cd96ad9ff9 qcacld-3.0: Enable usable channel feature
Enable usable channel feature config

Change-Id: I79b0f728dd013d84fa9e2b0bf5f8548367baebd0
CRs-Fixed: 3284431
2022-09-29 02:27:44 -07:00
Gangadhar Kavalastramath
5feb595ea3 qcacld-3.0: Add NULL check for a pointer before dereferencing
Added NULL check before dereferencing txrx node pointer.

Change-Id: I6f136a9a850d251909d5292ef144b3bd0e251dd2
CRs-Fixed: 3300025
2022-09-29 02:27:39 -07:00
Madan Koyyalamudi
34533a3542 Release 5.2.1.38Y
Release 5.2.1.38Y

Change-Id: I8fa64d5eb4a8dfdd7cc06edccf7dc22024838683
CRs-Fixed: 774533
2022-09-28 22:31:34 -07:00
Azmath Mohammed
d696636552 qcacld-3.0: Update HDD to use FISA API's
Make changes in HDD to use updated DP component FISA API's.

Change-Id: Ifb90b60386c9d8459008a8cb5df3cdaf33d7ee6a
CRs-Fixed: 3243909
2022-09-28 22:31:34 -07:00
Azmath Mohammed
aacfd1d3d0 qcacld-3.0: Implement DP component for FISA feature
Add FISA feature support for DP componentization.

Change-Id: I748a20ec44d1c299aab8d31facd059eb2e35e680
CRs-Fixed: 3243693
2022-09-28 22:31:29 -07:00
Madan Koyyalamudi
26a3f0c700 Release 5.2.1.38X
Release 5.2.1.38X

Change-Id: I26ee2e1017ef309b5fa802f6dd19836c57d2bad5
CRs-Fixed: 774533
2022-09-28 19:33:32 -07:00
Srikanth Marepalli
1fdf780846 qcacld-3.0: Print the TX AMPDU in the LL Stats request debug log
In LL Stats request handler the rx_ampdu is wrongly printed as
tx_ampdu. Rectified the debug log to print both the tx_ampdu
and rx_ampdu.

Change-Id: I00df3da79a0aed95cda76edb7e3f80409c6abf75
CRs-Fixed: 3254595
2022-09-28 19:33:32 -07:00
Madan Koyyalamudi
d977a49cfa Release 5.2.1.38W
Release 5.2.1.38W

Change-Id: I47086cc0aa0dd06832dc9aeab00b912477253aea
CRs-Fixed: 774533
2022-09-28 13:25:01 -07:00
Aditya Kodukula
87db27184b qcacld-3.0: Avoid ARP and NS offloads for MLO partner links
In case of MLO connection, whenever firmware receives
enable or disable ARP/NS offload request from host on any vdev,
firmware enables/disables ARP/NS offload for all MLO vdevs.

So, during system resume though host sends disable ARP offload
only for MLO partner link vdev, firmware disables ARP offload
for all MLO vdevs. But during system suspend, as host is unaware
of ARP offload disabled on all vdevs, it will not send enable ARP
offload request to firmware. Because of this, all ARP requests are
forwarded to host instead of firmware in suspend mode.

To address this issue, add logic in host to avoid ARP/NS offload
requests for MLO partner link vdevs.

Change-Id: I1ffe503911705a41be26e44d1db6d15a5988e34d
CRs-Fixed: 3295050
2022-09-28 13:25:00 -07:00
Jianmin Zhu
a9db1fa24b qcacld-3.0: Fix assert for wrong mlo_vdev count
Current issue:
When roam from legacy to MLO, set vdev MLO flags but not increase the
mlo_vdev count, when disconnect, decrease mlo_vdev count, assert will
happen.
Solution:
Use API wlan_vdev_mlme_set_mlo_vdev and wlan_vdev_mlme_clear_mlo_vdev to
set MLO vdev flag.

Change-Id: Ib6fc2e479f222dca2f1c30df6d5fcf27fd07ae29
CRs-Fixed: 3299156
2022-09-28 13:24:55 -07:00
Madan Koyyalamudi
1fdd0c51a8 Release 5.2.1.38V
Release 5.2.1.38V

Change-Id: Idb663b88fd3f9294df56b049efa69ef31b44870d
CRs-Fixed: 774533
2022-09-27 20:57:48 -07:00
Divyajyothi Goparaju
1520bd7a4e qcacld-3.0: Fix g23_prevent issues for hdd
Currently in hdd_get_curr_thermal_stats_val,
hdd_get_station_info_ex skb is not getting
freed, this might cause memory leakage.

To address this issue free skb each time for
nla failure

Change-Id: If481cf0ea6cbdce55b3f02c3ce99f577deaac9c7
CRs-Fixed: 3297781
2022-09-27 20:57:48 -07:00
Madan Koyyalamudi
757995b317 Release 5.2.1.38U
Release 5.2.1.38U

Change-Id: I58bde7247500fc163524df31b7d0bb82a62f27c0
CRs-Fixed: 774533
2022-09-27 17:50:15 -07:00
Vinod Kumar Pirla
2581c0e660 qcacld-3.0: Fix build issues with MLO backport flags
Fix compile error when 5.19 kernel backport flags related
to MLO are not present.

Change-Id: I13b2bfc10e6fce7cb3e2b54280d604b85a7407b9
CRs-Fixed: 3300073
2022-09-27 17:50:15 -07:00
Madan Koyyalamudi
bd662068a6 Release 5.2.1.38T
Release 5.2.1.38T

Change-Id: I3f210632b9ac7ebe81b61c0a8fb7ed509dc8e7dc
CRs-Fixed: 774533
2022-09-27 14:58:13 -07:00
Jeff Johnson
95eb68913f qcacld-3.0: Rename wma_txrx_node::is_del_sta_defered
Rename is_del_sta_defered to is_del_sta_deferred to fix misspelling:
defered ==> deferred.

Change-Id: If4ee31ddc9352fae367b99baffde56233857a64f
CRs-Fixed: 3281817
2022-09-27 14:58:13 -07:00
Jeff Johnson
7f5b081c65 qcacld-3.0: Rename wma_check_for_deffered_peer_delete()
Rename wma_check_for_deffered_peer_delete() to
wma_check_for_deferred_peer_delete() to fix
misspelling: deffered ==> deferred

Change-Id: Ib6af35511ec65396c9d744d74f1f42bf5e7a04db
CRs-Fixed: 3281818
2022-09-27 14:58:07 -07:00
Madan Koyyalamudi
0f115a6bbc Release 5.2.1.38S
Release 5.2.1.38S

Change-Id: I0636700d826df2a7b2dc92853ed1d51ebc21515a
CRs-Fixed: 774533
2022-09-27 11:57:09 -07:00
Yu Ouyang
85f34a3bb9 qcacld-3.0: Shutdown WLAN in system suspend prepare
This re-introduces the orignal patch which shutdowns WLAN in system
suspend prepare.

Orignal patch Id1f5172a7fc1792c83c8c1c20127de815f7e4980 is reverted by
Ic82db9dc0ca9d6686df99926335af27abc61cdb5 for deadlock issue.

However, deadlock between cnss_pm_notify and unregister_pm_notifier is
not caused by Id1f5172a7fc1792c83c8c1c20127de815f7e4980. So restore it
and add flag to enable/disable feature shutdown wlan in system suspend.

Deadlock issue is caused by "up_write(&cnss_pm_sem) is invoked before
down_write(&cnss_pm_sem) in function cnss_pm_notify". The issue can be
fixed by changes I533c373b85f554fbcceb562d9f56c6b88e5155bb and
I7768fdbeb1fa8cd6ef3b260eb0aafb231aeed324.

Change-Id: I25e4398a8d3b1a52cf7bc554af74d123ec797c6e
CRs-Fixed: 3287742
2022-09-27 11:57:08 -07:00
Madan Koyyalamudi
8fa3cbbba8 Release 5.2.1.38R
Release 5.2.1.38R

Change-Id: I4e2ca5705265e8ac108593f27f9d2c40d5b6dd8a
CRs-Fixed: 774533
2022-09-27 05:58:37 -07:00
Rajesh Chauhan
78ad64f952 qcacld-3.0: Enable features for mango driver
Update mango_defconfig file to match feature sets with
kiwi_v2 driver.

Change-Id: Ie6ef4f5c31d2da39bba158037cb00775f22459e1
CRs-Fixed: 3299427
2022-09-27 05:58:37 -07:00
Madan Koyyalamudi
99097c98f0 Release 5.2.1.38Q
Release 5.2.1.38Q

Change-Id: If98efe6afe28e5707d547abddb26fa33a2f62e5f
CRs-Fixed: 774533
2022-09-27 01:04:01 -07:00
Utkarsh Bhatnagar
5852333960 qcacld-3.0: Populate 6 GHz offchannel params correctly
Populate 6 GHz offchannel params only when VLP power is
supported by APs country.

Change-Id: Ic8d5d3f4b0bc1126d25242633eb0aae98989ddc3
CRs-Fixed: 3288784
2022-09-27 01:04:01 -07:00
Jinwei Chen
27c185dbcd qcacld-3.0: add DA check for EAPOL if not from regular RX path
For MLO connection, if the RX EAPOL frame is not from regular RX path,
then DA conversion likely has not done by HW.

Add DA check for EAPOL if not from regular RX path.

Change-Id: Ib68d247be216805d11d42da3f8580c47dffe93b6
CRs-Fixed: 3289834
2022-09-27 01:03:56 -07:00
Madan Koyyalamudi
4f7dd9caca Release 5.2.1.38P
Release 5.2.1.38P

Change-Id: Ie28f362a8a697603c9a5eddd7009fa7d4fbf10f4
CRs-Fixed: 774533
2022-09-26 20:34:43 -07:00
Rahul Gusain
1f701fbe39 qcacld-3.0: Enable RTSCTS param for NDI vdev
Currently, host driver sets RTS-CTS param and sent it to firmware
as WMI_VDEV_PARAM_ENABLE_RTSCTS for STA and NAN vdev only in
start_adapter when interface is up.
But with the vendor cmd NL80211_VENDOR_SUBCMD_NDP, driver creates
the NDI vdev and start the adapter. Hence, RTSCTS is never set for
NDI vdev.

So, to fix this, set the RTSCTS param in ndi_start and sent it to
firmware.

Change-Id: I5434e5649fe4f30bf52ee98aa1ca4d0b34857987
CRs-Fixed: 3298206
2022-09-26 20:34:42 -07:00
Madan Koyyalamudi
87a34c828c Release 5.2.1.38O
Release 5.2.1.38O

Change-Id: I4a58fcc166a1e8deb184144a762bbbd01b7ba1ae
CRs-Fixed: 774533
2022-09-26 16:16:54 -07:00
Amit Mehta
ce75c0c4f0 qcacld-3.0: Enable QCA_GET_TSF_VIA_REG for kiwi_v2
Enable feature to get TSF timestamp by reading scratch registers instead
of getting it via WMI.

Change-Id: If910b54b3c56499af0967312cbcc4654e09b43fe
CRs-Fixed: 3287540
2022-09-26 16:16:54 -07:00
Amit Mehta
8d830534f3 qcacld-3.0: Add changes to read tsf via scratch register
Read TSF via scratch registers instead of WMI commands. Added framework
to initialize/de-initialize the deferred context for register reads.

Change-Id: Id5309bf3117f04fb3d321ddd3af50e4bdf223561
CRs-Fixed: 3287534
2022-09-26 16:16:49 -07:00
Asutosh Mohapatra
5d10c60628 qcacld-3.0: Modify hardware name to static char array
Currently hardware name pointer is present in hdd context. It's
allocated memory during wlan start modules and hence destroyed
during the stop modules. This info is required when wifi is
turned off.

In order to address this issue, declare hardware name as a static
char array in hdd context structure. And modify it's usage
accordingly.

Change-Id: I4663acd602947a704daccfee4da78c207be095f8
CRs-Fixed: 3288897
2022-09-26 16:16:43 -07:00
Madan Koyyalamudi
0839709f73 Release 5.2.1.38N
Release 5.2.1.38N

Change-Id: Iba2ee1fda028da91d5897e65fa57c13769a4467f
CRs-Fixed: 774533
2022-09-26 12:18:22 -07:00
Zhaoyang Liu
a780ec1016 qcacld-3.0: prevent name conflicts for memdump procfs dir
Define PREFIX for procfs driver dump directory to prevent name
conflicts when loading different instances of the driver.

Change-Id: I05418287be9a6ecbb572a1deab610981ac348122
CRs-Fixed: 3268668
2022-09-26 12:18:22 -07:00
Madan Koyyalamudi
7c9c3d193e Release 5.2.1.38M
Release 5.2.1.38M

Change-Id: Ic52bd0d3b8752f8c47c11a2441dc9098b5ebbde4
CRs-Fixed: 774533
2022-09-26 03:36:48 -07:00
Arun Kumar Khandavalli
5a47c80e8f qcacld-3.0: update EHT rates matching to firmware rates
Currently there is a discrepancy in the txrx rates for EHT between
the host & firmware, resulting in the reporting invalid rates to
userpsace.

Correct the EHT rates between the host & firmware.

Change-Id: I894689fb6c760889755188d6138ad2f20586c278
CRs-Fixed: 3290593
2022-09-26 03:36:48 -07:00
Madan Koyyalamudi
9efc546fa0 Release 5.2.1.38L
Release 5.2.1.38L

Change-Id: I48db5026925e18a1abe3c3508346dce30832a8f8
CRs-Fixed: 774533
2022-09-26 00:39:16 -07:00
Vinod Kumar Pirla
a4b22f8397 qcacld-3.0: Refactor hdd_vdev_ready() to call using vdev
To use hdd_vdev_ready() API for each valid vdev of
an adapter, change the function declaration to have
vdev objmgr as function parameter.

Change-Id: I2d02f2e5d21f59d441f22b03e2aa94a28e9b5f1b
CRs-Fixed: 3294710
2022-09-26 00:39:16 -07:00
Madan Koyyalamudi
cbc248dd66 Release 5.2.1.38K
Release 5.2.1.38K

Change-Id: Ia7a363bce16f24b1280a79d1913c92790a668c00
CRs-Fixed: 774533
2022-09-24 21:49:57 -07:00
Liangwei Dong
6489476382 qcacld-3.0: Fix EHT IE missing on sta profile
Populate EHT IE based on band of mlo link. Currently
driver only populate it for 2 GHz AP, extend it to 5 GHz
AP as well.

Change-Id: Ib60d6c4f96546f87ec2ea44780e65cd730169b20
CRs-Fixed: 3298778
2022-09-24 21:49:57 -07:00
Madan Koyyalamudi
501c0b65fd Release 5.2.1.38J
Release 5.2.1.38J

Change-Id: I97cbc28c4a0d3265c6965d24c7e8506ce1cf3736
CRs-Fixed: 774533
2022-09-23 20:20:33 -07:00
Jianmin Zhu
8028a343a7 qcacld-3.0: Fix issue that assoc link MLO flag cleared when roam to SLO
When roam from MLO to SLO, don't clear assoc link MLO flag.
Remove 1 useless vdev parameter of mlo_cleanup_link.

Change-Id: I3e3dff0ad3f3fef8f955eaae8af1a3c564248432
CRs-Fixed: 3298471
2022-09-23 20:20:33 -07:00
Bing Sun
54ab12ab0c qcacld-3.0: Handle puncture bitmap in EHT operation IE dynamically
Puncture bitmap can be changed dynamically. 11be station should monitor
puncture bitmap in EHT operation IE and update it to firmware.

Change-Id: I9ec2ac592b7598d12b071f2bfad4fdbd449f04ee
CRs-Fixed: 3269516
2022-09-23 20:20:26 -07:00
Madan Koyyalamudi
311832cf9e Release 5.2.1.38I
Release 5.2.1.38I

Change-Id: I4e75024ab19a5747d5f89488e1a12b0694d9cb1e
CRs-Fixed: 774533
2022-09-23 03:28:20 -07:00
Bing Sun
859027dad8 qcacld-3.0: save EHT in sir_convert_beacon_frame2_struct
EHT IE is stripped and decoded, but it is not returned to the caller
of sir_convert_beacon_frame2_struct.

Save it in pBeaconStruct and return the information to the caller of
sir_convert_beacon_frame2_struct.

Change-Id: I73d6957a4e275b4d7008cb3de0e3ca2ee4a5b8a3
CRs-Fixed: 3297732
2022-09-23 03:28:20 -07:00
Kiran Kumar Lokere
5939fe53b1 qcacld-3.0: Fix the EHT MCS map in the per-STA profile
EHT MCS map is not populated correctly in the per-STA profile
data in association request MLO IE leading to connection fail.

Fix the EHT MCS map in the MLO IE per-STA profile data.

Change-Id: I3b73e65fccddf877e832147795d0912744055934
CRs-Fixed: 3287371
2022-09-23 03:28:14 -07:00
Kiran Kumar Lokere
3a7cdb8b07 qcacld-3.0: Include HE PPET based on band in per-STA profile
Fix the malformed association request issue due to incorrect PPET
values included in per-STA profile.

Populate the HE PPET values based on connection band in the per-STA
profile.

Change-Id: I0aa342b0a06336063dfb9e791e0d9403d1013df8
CRs-Fixed: 3290730
2022-09-23 03:28:07 -07:00
Madan Koyyalamudi
051169fc4b Release 5.2.1.38H
Release 5.2.1.38H

Change-Id: Ic42b348eb0d4ca1f0464bae714c3d306b9903835
CRs-Fixed: 774533
2022-09-23 00:28:51 -07:00
Kiran Kumar Lokere
e9fd67993c qcacld-3.0: Fix the EHT MCS and Nss in unicast probe request
Fix the EHT MCS and NSS capabilities in unicast probe request
frame.

Change-Id: I40e7206f76cb0ee4b0bb391997bd949dd505e7fc
CRs-Fixed: 3278899
2022-09-23 00:28:39 -07:00