Commit Graph

25450 Commits

Author SHA1 Message Date
Madan Koyyalamudi
f7ce668a27 Release 5.2.1.17H
Release 5.2.1.17H

Change-Id: Idaae3763e2ead4029c9f3d65e5ab3df46c01348c
CRs-Fixed: 774533
2022-04-12 17:49:23 -07:00
Aravind Kishore Sukla
f082da249c qcacld-3.0: Replace QDF_TRACE with sme APIs
Replace QDF_TRACE with respective sme APIs

Change-Id: Ibc7349dc5c5a8c1511ab578c2177cc0e32bc64cd
CRs-Fixed: 3170203
2022-04-12 17:49:23 -07:00
Madan Koyyalamudi
a1e47c5738 Release 5.2.1.17G
Release 5.2.1.17G

Change-Id: I1d07ffd040611c1bc84a66f0baafcc707f6feb49
CRs-Fixed: 774533
2022-04-12 11:24:18 -07:00
Jianmin Zhu
1231d49b76 qcacld-3.0: Fix wlan0 sta PCL not updated after wlan1 disconnect
During sta+sta dbs concurrency,  if vdev1 sta disconnect, vdev0 sta pcl
isn't updated to firmware to include all band.

Change-Id: I986b85644cf17ad917136adc1ea274ae2d8ed795
CRs-Fixed: 3171216
2022-04-12 11:24:18 -07:00
Madan Koyyalamudi
bc8119b845 Release 5.2.1.17F
Release 5.2.1.17F

Change-Id: Ie28ff928a7e7a175ae39af7bf125ca95a93a0597
CRs-Fixed: 774533
2022-04-12 06:31:13 -07:00
Ananya Gupta
4231010286 qcacld-3.0: Clear g_ipa_pld_enable if IPA disabled from pld
Enable IPA only if it is enabled in both platform driver
and ini file.
Clear g_ipa_pld_enable if disabled from pld.

Change-Id: I1bd4e03eadf420f736bb91478b0f2e04bcd60ebd
CRs-Fixed: 3148820
2022-04-12 06:31:13 -07:00
Bing Sun
6df47a0d95 qcacld-3.0: Add API to get max mcs index
Add a new field max_mcs_index in mlme_legacy_priv to save max mcs
index of current vdev.
Add a new field max_real_mcs_idx in hdd_station_info to save max
mcs index of the connected station.

Change-Id: I28908515cbe5c18c79f14f8645defd5c82e3a6f0
CRs-Fixed: 3065838
2022-04-12 06:31:07 -07:00
Madan Koyyalamudi
b5ba99c5aa Release 5.2.1.17E
Release 5.2.1.17E

Change-Id: I88db9410b41636733e656e8742940a8ab807f47d
CRs-Fixed: 774533
2022-04-12 02:59:04 -07:00
Jinwei Chen
075572020c qcacld-3.0: Optimize TX path in function __hdd_hard_start_xmit()
Currently hdd_cm_is_vdev_associated() and cdp_peer_state_get() per
packet check consumed much CPU on TX path, they will hold spin
lock which will introduce contention between different TX streams.

solution:
(1) check is_authenticated in sta_ctx->conn_info, if true,
then connection has been established already.
(2) clear is_authenticated flag if disconnection happened for
STA and P2P client.

Change-Id: I208608eba7bab69c8795e25495424327b7f2331f
CRs-Fixed: 3165165
2022-04-12 02:59:03 -07:00
Madan Koyyalamudi
89ced0e2bb Release 5.2.1.17D
Release 5.2.1.17D

Change-Id: I0e172aa5333619159109df362893700603856875
CRs-Fixed: 774533
2022-04-11 21:07:54 -07:00
Zhaoyang Liu
46d2c60297 qcacld-3.0: free allocated memory for failure case
When obtaining twt session traffic statistics,
some allocated memory not freed for failure case.
Fix it to avoid memory leak.

Change-Id: I18ce45467c3600c3f62b23ab50582ecb40ced88d
CRs-Fixed: 3169747
2022-04-11 21:07:53 -07:00
Madan Koyyalamudi
8c45c18934 Release 5.2.1.17C
Release 5.2.1.17C

Change-Id: Ibb019109d2761b1455680faa54c313ae70e76622
CRs-Fixed: 774533
2022-04-11 19:47:10 -07:00
Ashish
4bc1f3cb67 qcacld-3.0: Update data type of iface name to const for NAN
Currently driver code has data type as char* for NAN related code.
With this change update this data type as const char*.
Also, move NAN related functions under WLAN_FEATURE_NAN feature flag.

Change-ID: I61ad10304be4399a68f32778d01d9a951d7d14bb
CRs-Fixed: 3169168
2022-04-11 19:47:10 -07:00
Ashish
cede71c355 qcacld-3.0: Add/del virtual iface using NL commands for NDP
Currently host driver creates/deletes NDI interfaces using
vendor command. With the kernel 5.12 version onwards,
interface creation/deletion is not allowed using vendor
commands as it leads to deadlock when driver tries to acquire
the RTNL_LOCK at the time of netdev register/unregister.

With this change, add support to Create and delete NDI interface
using NL80211_CMD_NEW_INTERFACE and NL80211_CMD_DEL_INTERFACE
commands respectively if driver advertises
QCA_WLAN_VENDOR_FEATURE_USE_ADD_DEL_VIRTUAL_INTF_FOR_NDI capability.
Since NL80211_CMD_NEW_INTERFACE and NL80211_CMD_DEL_INTERFACE
already comes with the rtnl lock and driver does not need to
take the rtnl lock again which will help to avoid the above issue.

Change-Id: I6d5441a5e883de1222f105f26d73cb0506d16ddf
CRs-Fixed: 3167125
2022-04-11 19:46:27 -07:00
Madan Koyyalamudi
bdf70fa4aa Release 5.2.1.17B
Release 5.2.1.17B

Change-Id: I766addb27b1793272421bb7c03502d742c0f211a
CRs-Fixed: 774533
2022-04-11 15:24:08 -07:00
VIJAY RAJ
867ce29f88 qcacld-3.0: Add support for source mac address in add key
Add support for source mac address in add key

Change-Id: Ia16346aecdc40474c31c2f1b187533b7c651acdd
CRs-Fixed: 3169925
2022-04-11 15:24:07 -07:00
Madan Koyyalamudi
79b5add636 Release 5.2.1.17A
Release 5.2.1.17A

Change-Id: I339e0ab4405c4f3a565638a105d95af16590aa3d
CRs-Fixed: 774533
2022-04-11 04:09:34 -07:00
Sai Pavan Akhil Remella
e8b3b4792b qcacld-3.0: Add min_dwell_time_6g ini support in roam offload scan
Currently min_dwell_time_6g ini support is there only for normal
scan.
Added support to configure min_dwell_time_6g in roam offload scan.

Change-Id: I7da5fff738dbaf2a28a909e58ab6c797724ccfaf
CRs-Fixed: 3156597
2022-04-11 04:09:34 -07:00
Madan Koyyalamudi
780b5d4231 Release 5.2.1.17
Release 5.2.1.17

Change-Id: I5072421f466cd58c3dfa2e1a45abf35f48722396
CRs-Fixed: 774533
2022-04-11 02:44:22 -07:00
Bing Sun
2b7fe880eb qcacld-3.0: Add CONFIG_QCACLD_FEATURE_SON dependency configs
Enable configs which are needed by SON, if SON is enabled.

Change-Id: Ib781804a03472aa8c4ab7cdef0a5a4e6e89dcc7e
CRs-Fixed: 3062225
2022-04-11 02:44:22 -07:00
Madan Koyyalamudi
8b27ce3329 Release 5.2.1.16Z
Release 5.2.1.16Z

Change-Id: I44cfc498b243d7319a07931bc3aa5e71e0bc333f
CRs-Fixed: 774533
2022-04-09 12:52:32 -07:00
Jia Ding
773eec3e96 qcacld-3.0: Properly update EHT caps support for 320MHz
320MHz bandwidth is supported only for single PHY mode. Therefore populate
320MHz support from HW_MODE_SINGLE mac_phy_caps_ext2 entry.

Change-Id: I298b13a82ca0532aa6da76d12edd12a57c74121a
CRs-Fixed: 3165631
2022-04-09 12:52:32 -07:00
Madan Koyyalamudi
b369c994aa Release 5.2.1.16Y
Release 5.2.1.16Y

Change-Id: I8f91b03c0e4ed53171430b84b2fefde7d64cfd17
CRs-Fixed: 774533
2022-04-09 01:22:20 -07:00
Qun Zhang
3f80fae5f0 qcacld-3.0: Refine roam event processing for LFR2/LFR3
Currently wmi_roam_event_id event handler only register under feature
WLAN_FEATURE_ROAM_OFFLOAD, but it's needed for LFR2 roaming too. So
refine roam event processing for LFR2/LFR3.

Change-Id: Ic07fd8a543142fc1e151f484979ab99ff55ce802
CRs-Fixed: 3161973
2022-04-09 01:22:20 -07:00
Madan Koyyalamudi
4dc55d662a Release 5.2.1.16X
Release 5.2.1.16X

Change-Id: I3bbf1483f23b9c0c2528cee965e7ffc9dea8357b
CRs-Fixed: 774533
2022-04-08 10:04:54 -07:00
VIJAY RAJ
2fc8eae7a6 qcacld-3.0: Replace QDF_TRACE with sme api for log optimization
Optimize the log by replacing the QDF_TRACE api with sme api in
csr_api_roam.c

Change-Id: Id2a8b86619fab5c4ee9e69fb59152060654afc02
CRs-Fixed: 3169030
2022-04-08 10:04:53 -07:00
Madan Koyyalamudi
c8b586d6d5 Release 5.2.1.16W
Release 5.2.1.16W

Change-Id: I13867e76c59425354e02a11d7d540fdc89c7ec20
CRs-Fixed: 774533
2022-04-08 04:28:48 -07:00
Liangwei Dong
bd1e740bf9 qcacld-3.0: Update PCL type for STA+SAP+P2P
Update PCL type for STA+SAP+P2P 3vif concurrency using
PM_SBS_CH_24G, PM_SCC_ON_5_5G_SCC_ON_24G.

Change-Id: If82f928134e45486114fd6d4a6222e7127d6b9fd
CRs-Fixed: 3168636
2022-04-08 04:28:48 -07:00
Madan Koyyalamudi
b304462134 Release 5.2.1.16V
Release 5.2.1.16V

Change-Id: I275ecd1b3ec68e0d9f7051f9aaa97f98979acce8
CRs-Fixed: 774533
2022-04-08 01:57:08 -07:00
Wu Gao
17fc92fd16 qcacld-3.0: Correct CSA reason for N79 case
When N79 enabled and disable 5G and 6G band, 5G SAP will swith to 2G
band with CSA. CSA reason should be CSA_REASON_BAND_RESTRICTED.

Change-Id: Icd6cf62ee1f58834a97663f784b50f925782a3ef
CRs-Fixed: 3165067
2022-04-08 01:57:08 -07:00
Madan Koyyalamudi
1a73e4b0ab Release 5.2.1.16U
Release 5.2.1.16U

Change-Id: I4e8a293303f2f682d799941b0458649b4db97353
CRs-Fixed: 774533
2022-04-08 00:43:09 -07:00
Bing Sun
c3ffae69da qcacld-3.0: Do not indicate 80+80 channel width to EasyMesh
MCC does not support 80 + 80 channel width, Do not indicate it
to EasyMesh.

Change-Id: I2743b27b86f1a118789d72c6e8b6690262c7c654
CRs-Fixed: 3158366
2022-04-08 00:43:08 -07:00
Madan Koyyalamudi
156ed2b921 Release 5.2.1.16T
Release 5.2.1.16T

Change-Id: I44df55dcf4559e585ccda6fe1c85fe1b0351d8e2
CRs-Fixed: 774533
2022-04-07 23:29:03 -07:00
Alan Chen
b833727abb qcacld-3.0: Call cfg80211_register_netdevice in ndi mode for Kernel 5.15+
Call cfg80211_register_netdevice in ndi mode for Kernel 5.15+ in order
to properly register device.

Change-Id: I3441a2ae39f07ab2e80c47cdadfa489cc1d64e00
CRs-Fixed: 3155379
2022-04-07 23:29:03 -07:00
Rahul Gusain
7ce0d5534f qcacld-3.0: Optimize logs for lim_populate_fd_tmpl_frame
Currently, debug logs are printed in lim_populate_fd_tmpl_frame
and also there is hex dump for the same packet in
lim_send_fils_discovery_template.

As packet can be re-created from hexdump, so, there is no need to
print debug logs in lim_populate_fd_tmpl_frame.

CRs-Fixed: 3168966
Change-Id: Iad883db82f59eef4a0435c2c176a7410ead11e7a
2022-04-07 23:28:57 -07:00
Madan Koyyalamudi
e9ba2a7b9d Release 5.2.1.16S
Release 5.2.1.16S

Change-Id: I09cf66ac28ba3562ba97db76f1ec1d726cb33723
CRs-Fixed: 774533
2022-04-07 16:28:14 -07:00
Rahul Gusain
4c8e7dd2a8 qcacld-3.0: Process deauth even in middle of SAE authentication
When SAE authentication fails due to some reason and if the
failure is detected while processing confirm request from the
station, some APs send deauth instead of confirm response.

Current driver/wpa_suplicant wait for the confirm response and
driver drops the deauth frame as it's in the middle of SAE
authentication. This results in connect timeout.
Driver is supposed to process the deauth from AP and indicate
failure to userspace. To resolve this, consider the deauth from AP
as SAE failure and abort the connection. Send connect failure to
userspace.

CRs-Fixed: 3157178
Change-Id: I09c9d8b19539e4986665c6052d3a7f52b3e49600
2022-04-07 16:28:14 -07:00
Madan Koyyalamudi
c26829b608 Release 5.2.1.16R
Release 5.2.1.16R

Change-Id: I6298eb63f327071efe2af87d4c17506f48bc0ef4
CRs-Fixed: 774533
2022-04-07 07:25:37 -07:00
Sheenam Monga
0c2d9c3709 qcacld-3.0: Add Handling for new pcl type
Add handling for below pcl types which are added
due to ML STA and 2 P2P connection concurrencies.
PM_SCC_ON_5_5G_24G
PM_SCC_ON_5_5G_SCC_ON_24G
PM_SBS_CH_2G

Change-Id: I62df80c15bcd84ba9cb64cbf6ce2e4d154f6f697
CRs-Fixed: 3167325
2022-04-07 07:25:36 -07:00
Wu Gao
f5149b788a qcacld-3.0: Enable AP+AP+AP SCC on same mac
Enable 3 SAP SCC on same mac to avoid restart third SAP failed after
5/6G disabled.

Change-Id: Ib95a38daeff97a8cb1e2571b0b271ca052f0ce62
CRs-Fixed: 3144224
2022-04-07 07:25:30 -07:00
Sheenam Monga
f6d697ed1b qcacld-3.0: Update pcl connection table for SBS hw
Update pcl connecton table for p2p+p2p concurrency
for SCC, MCC, DBS and SBS scenarios and add below
pcl types
PM_SCC_ON_5_5G_24G
PM_SCC_ON_5_5G_SCC_ON_24G
PM_SBS_CH_2G

Change-Id: I2d90ba39e2d15d927574d8ede5e9890dd37a4908
CRs-Fixed: 3167307
2022-04-07 07:25:23 -07:00
Madan Koyyalamudi
a522288a90 Release 5.2.1.16Q
Release 5.2.1.16Q

Change-Id: I803c7053a6452f3c4be1d4a6a7d93987ad0c45fa
CRs-Fixed: 774533
2022-04-07 05:05:47 -07:00
Sheenam Monga
62f33fac92 qcacld-3.0: Update correct len/last index for pcl entries
Currently, for pcl where 2G channels are added pcl index is
updated to total no. of 2G channels only and first 11 entries
are considered in dump from final pcl list.

Fix is to add total no of 2G channels in pcl index instead of
overwriting pcl index with no. of 2G channels.

Change-Id: Ibcd2509ecb052bfde62a47a6dee38dd17c3d1c8f
CRs-Fixed: 3166961
2022-04-07 05:05:47 -07:00
Madan Koyyalamudi
5bd0538345 Release 5.2.1.16P
Release 5.2.1.16P

Change-Id: I3990c0c898751c22f2bf0e01ffa7376149d611bb
CRs-Fixed: 774533
2022-04-07 02:43:50 -07:00
Surya Prakash Sivaraj
3ae522c3b0 qcacld-3.0: Add debugs for max allowed tx power
Max tx power limit is received as part of the
WMI_VDEV_START_RESP_EVENTID. Add debugs to print the
max_allowed_tx_power in host.

Change-Id: I4ca0d4a4a2a1e452b8a6a9f1c48ad52fcd2f6213
CRs-Fixed: 3167045
2022-04-07 02:43:50 -07:00
Madan Koyyalamudi
13e611566d Release 5.2.1.16O
Release 5.2.1.16O

Change-Id: Ie115c13fb75782cdcafd2cee63d8fcf3488e9583
CRs-Fixed: 774533
2022-04-07 01:18:25 -07:00
Vinod Kumar Myadam
6d1d58c176 qcacld-3.0: Replace QDF_TRACE with respective SME DEBUG APIs
Replaced QDF_TRACE with respective SME DEBUG and ERR APIs

Change-Id: If46ccd5ab9e3113559d48ae167bbbd067d0828e5
CRs-Fixed: 3168064
2022-04-07 01:18:25 -07:00
Madan Koyyalamudi
cb131f30f8 Release 5.2.1.16N
Release 5.2.1.16N

Change-Id: I58569fe474615101edb38170b3dab452b94f3e27
CRs-Fixed: 774533
2022-04-06 23:43:13 -07:00
Utkarsh Bhatnagar
fc883a2f9b qcacld-3.0: Optimize logging for Tx frame Path
Optimize logging by decreasing number of log
lines printed for the Tx frame path.

Change-Id: Iff24346a6b20286b68ee18451155495f624da316
CRs-Fixed: 3168409
2022-04-06 23:43:13 -07:00
Madan Koyyalamudi
c14c0a2956 Release 5.2.1.16M
Release 5.2.1.16M

Change-Id: Id55d0ee694cabafe3dba5d58463da005abeea59d
CRs-Fixed: 774533
2022-04-06 21:26:47 -07:00