Graf commitů

27424 Commity

Autor SHA1 Zpráva Datum
David Oladunjoye
c6e9232cd7 qcacld-3.0: Add support for QCA vendor attribute
Add support for new QCA vendor attribute to configure
the periodic sounding for Tx beamformer functionality.

Change-Id: Ibd83e33ceed589dff6efaeb1cb085b4a5424d0dc
CRs-Fixed: 3329239
2022-11-17 04:21:26 -08:00
Jeff Johnson
cd2be2c878 qcacld-3.0: Rename WIIF_TDLS_OFFCHANNEL_SUPPORT
Rename WIIF_TDLS_OFFCHANNEL_SUPPORT to fix misspelling of "WIFI".

Change-Id: I03be0889b464e0aa5ded982b335a3dbf9d744cb9
CRs-Fixed: 3335363
2022-11-17 04:21:21 -08:00
Madan Koyyalamudi
27ed3f6ec5 Release 5.2.1.45M
Release 5.2.1.45M

Change-Id: I7941c3948f6779213b4c154e7ad1fdfd7efb82d1
CRs-Fixed: 774533
2022-11-17 02:28:35 -08:00
Vinod Kumar Pirla
10ddbd5a8c qcacld-3.0: Send peer ML info on BSS join/leave to cfg80211
On client connection, send the client's MLD address, assoc response IEs
and the link_id of SAP on which the new client is added.
For non-MLO capable clients the MLD is sent as NULL address

On ML client disconnection, use MLD address of the client as argument
to cfg80211_del_sta().
For non-MLO client disconnection, use the legacy address of the client
as argument to cfg80211_del_sta().

Change-Id: I43cb8e688251b6118932e1ae88f7abdf53dd54a0
CRs-Fixed: 3324216
2022-11-17 02:28:35 -08:00
Madan Koyyalamudi
188e55a759 Release 5.2.1.45L
Release 5.2.1.45L

Change-Id: Ib1dd332daf34a4a1ce29c0e403054250c8ff38c1
CRs-Fixed: 774533
2022-11-17 00:33:11 -08:00
Amit Mehta
b687959634 qcacld-3.0: Make changes to update tsf_id and mac_id
Currently host Sents WMI command to Fw to read tsf_id and mac_id
but in cases where there is change in mac_id after vdev start,
new tsf_id and mac_id is not updated in host to read from correct
scratch register. Which results in reading tsf value from wrong
scratch registers.

To fix the issue Fw will sent the WMI_VDEV_TSF_REPORT_EVENT directly
to host with updated mac_id and tsf_id. Make changes to update
tsf_id and mac_id from the direct event received.

Change-Id: I0b98022d1e91e1c7bcf85853c3f14a36ef0f2f7b
CRs-Fixed: 3334879
2022-11-17 00:33:11 -08:00
Madan Koyyalamudi
03393223b3 Release 5.2.1.45K
Release 5.2.1.45K

Change-Id: I05037aa3b45e2bf4fe6594613659e1dc0dff9fac
CRs-Fixed: 774533
2022-11-16 15:36:39 -08:00
Asutosh Mohapatra
7b4c3a6fb3 qcacld-3.0: Set PM delay to 1200 ms for WOW_REASON_LOCAL_DATA_UC_DROP
Currently general PM delay is 500 ms. If fw sends wow wakeup with reason
code WOW_REASON_LOCAL_DATA_UC_DROP host wakes up, 500 ms after the
transactions again runtime suspend takes effect. Every time FW sends wow
wake there will be a small delay induced. It is noticed that large
frames are getting dropped for continuous wow wakeup events.

To address this issue increase PM delay to 1200 ms if fw sends
wow wake for reason WOW_REASON_LOCAL_DATA_UC_DROP and again
revert it back to 500 ms on next WoW enter.

Change-Id: I57bafc5ae8a633f1f685201ceb5936b59c985148
CRs-Fixed: 3330844
2022-11-16 15:36:38 -08:00
Madan Koyyalamudi
0301202d47 Release 5.2.1.45J
Release 5.2.1.45J

Change-Id: Ib72f62e3ec6215e7a3caec8d9a8379c50de580a6
CRs-Fixed: 774533
2022-11-16 13:38:44 -08:00
Vinod Kumar Pirla
0164efffad qcacld-3.0: Send peer ML info on OWE connection event
For ML SAP configured in OWE, on ML client connection
send the MLD address and SAP's link id on which connection
is made.

For legacy clients or non-ML SAP don't need to send this info.

Change-Id: I04de6d172f7b5ddff22fc49123626510f23b21fd
CRs-Fixed: 3323808
2022-11-16 13:38:44 -08:00
Madan Koyyalamudi
18e872f463 Release 5.2.1.45I
Release 5.2.1.45I

Change-Id: I7c4f4fbacb877625bb043739f1ba807f60bf6586
CRs-Fixed: 774533
2022-11-15 21:38:42 -08:00
Jyoti Kumari
93ae42666a qcacld-3.0: Handle LL SAP + SAP/GO scenario during acs
Filter pcl channel list for SAP/GO if LL SAP is present
and SAP/GO comes up.

Change-Id: I7527131ba8b465f5be9bafec3d0c8b527a70b3dd
CRs-Fixed: 3331013
2022-11-15 21:38:42 -08:00
Madan Koyyalamudi
100ae5dcbe Release 5.2.1.45H
Release 5.2.1.45H

Change-Id: I4f626c38cc40f1daa1d186e3ecac0a631a99f2bb
CRs-Fixed: 774533
2022-11-15 19:44:34 -08:00
Jyoti Kumari
f75b4b4cca qcacld-3.0: Kernel doc mismatch in policy_mgr_are_sbs_chan()
Kernel doc mismatch in policy_mgr_are_sbs_chan(). Correct it
by adding proper argument.

Change-Id: Ic72659df96bac1f98323ec7a9d339d0a975434a0
CRs-Fixed: 3336165
2022-11-15 19:44:33 -08:00
Madan Koyyalamudi
36566e8590 Release 5.2.1.45G
Release 5.2.1.45G

Change-Id: I17561a5ec6e000f0afd9e78d525a758f8931693f
CRs-Fixed: 774533
2022-11-15 16:01:42 -08:00
Jeff Johnson
13a3b23df2 qcacld-3.0: Fix wlan_hdd_hostapd.c documentation
The kernel-doc script identified several documentation issues in
wlan_hdd_hostapd.c, so fix them.

Change-Id: Ifbf8223b99e71715ce9e2ce49324e1b4a0d8d7b1
CRs-Fixed: 3335523
2022-11-15 16:01:42 -08:00
Madan Koyyalamudi
6fb568b5e0 Release 5.2.1.45F
Release 5.2.1.45F

Change-Id: I2be039dc342b8f40ba7d920b8596586bdd791035
CRs-Fixed: 774533
2022-11-15 11:56:36 -08:00
David Oladunjoye
3e11a3a0fb qcacld-3.0: Fix list iterators to match upstream discussion
List iterators should conform to upstream discussion. List iterators that
reach end of list do not point to NULL but rather they point to list_head.
Dereferencing the iterator in this case would break the list. The scope of
the list iterator should be confined to the loop. Solution is to use assign
ptr to iterator when condition is met, this ptr can be used outside of the
loop.

Change-Id: Ia55da61b0f25a0de9a4070d89eae11327e4753ef
CRs-Fixed: 3331679
2022-11-15 11:56:35 -08:00
Madan Koyyalamudi
78c074bd0a Release 5.2.1.45E
Release 5.2.1.45E

Change-Id: I3f89891584c8b9bdd1f5ce6167bfb79ee949d142
CRs-Fixed: 774533
2022-11-14 18:05:26 -08:00
Asutosh Mohapatra
6a753e7002 qcacld-3.0: Advertise unspecified SAR versions as default to userspace
Currently, if fw sends any SAR version that is not having mapping
in host, host advertises SAR version unspecified to userspace.
And if userspace sends set SAR V1 to host, host converts it
to SAR V2 only if fw is configured to SAR V2 or Sar V3.

Instead of SAR version unspecified advertise SAR V1 to userspace
and add changes in host to convert SAR V1 to SAR V2 if fw is not
configured to SAR V1.

Change-Id: Ifd862cf9107ae3bbac9a4336b5c2a03c1bd5bb98
CRs-Fixed: 3326711
2022-11-14 18:05:26 -08:00
Madan Koyyalamudi
5853cb9b8d Release 5.2.1.45D
Release 5.2.1.45D

Change-Id: Id0bf06751b34eb4e17a482c213e19a3cc0b3088f
CRs-Fixed: 774533
2022-11-14 13:13:53 -08:00
Bing Sun
9dd94bfc5f qcacld-3.0: Fix legacy STA did not follow AP bandwidth
Currently if reference AP upgrades its channel bandwidth, STA
does not follow it.
Make legacy STA follow channel bandwidth of ap through
lim_handle_sta_csa_param.

Change-Id: Ic4473189a0df5edf9475d6683df1387ac4a4375a
CRs-Fixed: 3326762
2022-11-14 13:13:53 -08:00
Bing Sun
1935f1eccb qcacld-3.0: Fix 802.11be STA did not follow AP bandwidth
Currently if reference AP upgrades its channel bandwidth, STA
does not follow it.

Make 802.11be STA follow channel bandwidth of ap based on its
capability through lim_handle_sta_csa_param.

Change-Id: I43b19115e05b99d2c234e8a1340f560d03e37b8a
CRs-Fixed: 3326764
2022-11-14 13:13:48 -08:00
Bing Sun
40873f100c qcacld-3.0: Process EHT operation IE in an API
Extract EHT operation IE processing code as an API, so that critical
update can call it directly.

Make EHT IE process common for 802.11be only STA and MLO STA.

Change-Id: I802d58d115db69162e84faf05e5a66a76148a411
CRs-Fixed: 3320465
2022-11-14 13:13:43 -08:00
Madan Koyyalamudi
394af02a5f Release 5.2.1.45C
Release 5.2.1.45C

Change-Id: Idfcabfcd3ff4a8fc4d901cbc062a5fe22132481c
CRs-Fixed: 774533
2022-11-14 11:11:26 -08:00
Jeff Johnson
00c4713e4d qcacld-3.0: Fix sap_channel_sel() prototype
Fix sap_channel_sel() prototype so that it matches the documentation
as well as the implementation.

Change-Id: I99ef2ff6e867b2124bb534bb12ba0f5818f8e0a4
CRs-Fixed: 3330730
2022-11-14 11:11:26 -08:00
Madan Koyyalamudi
1ed984f857 Release 5.2.1.45B
Release 5.2.1.45B

Change-Id: Ib979876821b72e66240087d0a509d53fe0d1c03e
CRs-Fixed: 774533
2022-11-14 07:38:40 -08:00
Jeff Johnson
a0b4717c55 qcacld-3.0: Fix wmi_unified_coap_api.h documentation
The kernel-doc script identified several documentation issues in
wmi_unified_coap_api.h, so fix them.

Change-Id: Ied119dcf6acd477981c990007a916c66689bcce8
CRs-Fixed: 3331885
2022-11-14 07:38:39 -08:00
Madan Koyyalamudi
82bae4a62d Release 5.2.1.45A
Release 5.2.1.45A

Change-Id: I41865f853e9a2dac13761f4855f3620953da2786
CRs-Fixed: 774533
2022-11-13 06:59:34 -08:00
Yeshwanth Sriram Guntuka
51c1c5669c qcacld-3.0: Initialize Direct Link DP only if FW supports
Initialize direct link datapath based on the capability
bit from FW.

Change-Id: I054ae693762bafcd9461cf2505b0c4446c3c6c2f
CRs-Fixed: 3335329
2022-11-13 01:42:10 +05:30
Madan Koyyalamudi
d87a5b9b96 Release 5.2.1.45
Release 5.2.1.45

Change-Id: I7e013537f61bc0a7382f70151c98746d4ffd9cfa
CRs-Fixed: 774533
2022-11-12 01:23:06 -08:00
Yeshwanth Sriram Guntuka
e8b18e43b9 qcacld-3.0: Use a dedicated rx refill ring for Direct Link
Allocate a dedicated rx refill ring for use by LPASS
WiFi driver to provide buffers back to FW in the
Direct Link datapath.

Change-Id: I3b59e2fd3973f37fc2cc77898c4dcf09fc5def57
CRs-Fixed: 3317972
2022-11-12 01:23:06 -08:00
Gururaj Pandurangi
876085af7a qcacld-3.0: Add support for EHT 320 MHz BW caps
Add a new API to append EHT 320 MHz bandwidth capability
from mlme to legacy dot11f structure.

Change-Id: I9ffe7d51da3b22fec47b7be36ab2ac54a8e91bfb
CRs-Fixed: 3330749
2022-11-12 01:23:01 -08:00
Madan Koyyalamudi
f9c92eba52 Release 5.2.1.44Z
Release 5.2.1.44Z

Change-Id: I14ff31212865129bc20d8674d2c25bd8f2bbf37f
CRs-Fixed: 774533
2022-11-11 19:41:42 -08:00
Vijay Raj
3d128118ef qcacld-3.0: Modify cm_roam_mgmt_frame_event to log correct rssi value
In the api cm_roam_mgmt_frame_event(), the rssi is logged
as a positive value.

Modify cm_roam_mgmt_frame_event() to log rssi value as
a negative value.

Change-Id: I1af7827beda23381e89880cf7ef73c24a7e38a15
CRs-Fixed: 3327027
2022-11-11 19:41:41 -08:00
Madan Koyyalamudi
608832758f Release 5.2.1.44Y
Release 5.2.1.44Y

Change-Id: I391552535dda8894bd6901413e0ddb0e3341fedc
CRs-Fixed: 774533
2022-11-11 17:15:24 -08:00
Yeshwanth Sriram Guntuka
04beed1f7f qcacld-3.0: Address compilation issue when SMMU S1 flag is enabled
Address compilation issue when SMMU S1 configuration
flag is enabled.

Change-Id: I281afc58d1d31168b85eb8fb2e5b310bf6ffed78
CRs-Fixed: 3334353
2022-11-11 17:15:23 -08:00
Madan Koyyalamudi
9452a75de9 Release 5.2.1.44X
Release 5.2.1.44X

Change-Id: Ib78150141d7cc530aa3ef825282d7d86954fe9c4
CRs-Fixed: 774533
2022-11-11 10:54:54 -08:00
Kiran Kumar Lokere
b8c9877eff qcacld-3.0: Add op mode IE to non-inheritance list in MLO IE
Include the op mode IE for a 20 MHz connection if HE is not
supported. Add the op mode IE to the non-inheritance list of
the MLO IE if the IE is included in the assoc request frame.

Change-Id: Ib534ebcd5305862afa23e32d95049da03915db9f
CRs-Fixed: 3331916
2022-11-11 10:54:53 -08:00
Madan Koyyalamudi
865cd57980 Release 5.2.1.44W
Release 5.2.1.44W

Change-Id: Id7d16b8dbae86fda1719776d71ee85a12b330e3b
CRs-Fixed: 774533
2022-11-11 06:01:03 -08:00
Vinod Kumar Myadam
ed92b87be6 qcacld-3.0: Optimize log prints
Optimize log prints in wma_mc_process_msg

Change-Id: Ic863926f9a2af8ba3ff37736a35e42ed460507cc
CRs-Fixed: 3328235
2022-11-11 06:01:02 -08:00
Madan Koyyalamudi
69c9e40dc3 Release 5.2.1.44V
Release 5.2.1.44V

Change-Id: I3ff7c6970b3f6b34310b6e229cd38b43b4bb4ff2
CRs-Fixed: 774533
2022-11-11 03:55:37 -08:00
Bing Sun
d23a0adbcb qcacld-3.0: Support one MSI vector dynamically
In some platform IRQ allocation may be failed because it can't support
so many MSI vectors. Driver can't be loaded in this platform.

Implement one MSI vector dynamic support. MSI vector number is defined
in platform driver, so add platform API to show whether platform is in
one MSI vector mode or not.

Change-Id: I5e87ec456b654701a195c793087f078cf7647a3c
CRs-Fixed: 3290815
2022-11-11 03:55:37 -08:00
Madan Koyyalamudi
a8a26f83cf Release 5.2.1.44U
Release 5.2.1.44U

Change-Id: Ia3a0a5486450eb711b6363f4c3f679a15ba9e3c4
CRs-Fixed: 774533
2022-11-10 21:57:04 -08:00
Jinwei Chen
a1adfe5630 qcacld-3.0: add minimal UDP data length check for FISA
current observation is as following,
(1) RX UDP data length less then 12 bytes and they are aggregated
by FISA.
(2) aggregated UDP data might not be supported by user APP or they
are forwarded to other netdev.
if above two is met, kernel panic appears.

no solid conclusion from kernel network currently,
as a SW WAR from wlan driver side, check if current UDP data
length < 16 bytes, skip FISA aggregation.

Change-Id: Ia9e46705c7ace6a6e5580494231056adf214d7b2
CRs-Fixed: 3330035
2022-11-10 21:57:04 -08:00
Madan Koyyalamudi
796c181870 Release 5.2.1.44T
Release 5.2.1.44T

Change-Id: Ib08df9044ccd705b7043f04c0f4f218700b1c05e
CRs-Fixed: 774533
2022-11-10 14:49:53 -08:00
Vinod Kumar Pirla
84a36fdb27 qcacld-3.0: Enable ML-SAP on ML-STA iface after mode change
ML STA adapter will use two different addresses for link and
MLD address. SL-ML SAP uses same address for both link and MLD.

On mode change copy MLD address to link address during STA to
SAP mode change.
On SAP to STA mode fetch a new address from the address pool
and assign it to link address.

Change-Id: I82d244346fa08f750981a3143fbb1bfa7cebd2fc
CRs-Fixed: 3331639
2022-11-10 14:49:53 -08:00
Vinod Kumar Pirla
56634e8cd3 qcacld-3.0: Support concurrent ML SAP and ML STA
Policy manager restricts concurrent ML SAP and ML STA
operation in existing rules.

Allow atmost one ML SAP to exist and disallow any secondary
ML SAP start BSS.
Allow ML STA even if ML SAP is present, as only one ML SAP
is allowed, remove the code check for is ML SAP while checking
concurrency rules for ML STA.

Change-Id: Icced604c1685eaf00452b240d816fdd8bc2a97d2
CRs-Fixed: 3331402
2022-11-10 14:49:47 -08:00
Madan Koyyalamudi
09c3fac470 Release 5.2.1.44S
Release 5.2.1.44S

Change-Id: I401d2dc2f0df304e68bd6cf75c0651eded783c0a
CRs-Fixed: 774533
2022-11-10 11:35:00 -08:00
Liangwei Dong
ecf0bf58e4 qcacld-3.0: Hold wake lock for set MAC address command
The update MAC address WMI command response is not WOW event.
If there is suspend before the response comes back, the
response will be delayed to host and host may wait timeout.
Fix by acquire the wake lock and runtime pm lock for set
MAC address command.

Change-Id: Id6090a589b0bbf5e67f934ecc28270d76186b88a
CRs-Fixed: 3326753
2022-11-10 11:34:59 -08:00