1
0
Gráfico de cometimentos

26959 Cometimentos

Autor(a) SHA1 Mensagem Data
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
Madan Koyyalamudi
cdb5c75fe8 Release 5.2.1.38G
Release 5.2.1.38G

Change-Id: Ide985aac0619bb5c345a8c7e574404b80ec0e784
CRs-Fixed: 774533
2022-09-22 21:19:37 -07:00
Rahul Gusain
dcd308a6c0 qcacld-3.0: Add support for MLO self peer in tx mgmt path
During ANQP query, supplicant sends the action frames to firmware
and currently, host driver drops tx mgmt frames as peer is not
available. This is because in tx mgmt path, it retrieves the self
peer from non-MLO mac addr but driver creates the peer of type
AP(PEER_AP) with MLD mac addr when MLD mac addr is non-zero and for
non-MLO case, it creates self peer with non-MLD mac addr.
So, to fix this, in case of MLO mac addr, create the self peer while
creating vdev and retrieves that peer with MLD address in tx mgmt path.

Change-Id: Id7ef97668fbd1bf1914d37d09682119eb79be465
CRs-Fixed: 3297288
2022-09-22 21:19:36 -07:00
sandhu
fc203de52f qcacld-3.0: check staId index bound into timer array
Check whether staId is not out of bound while accessing the
timer array.

Change-Id: I347c314a324934d4a62808551b1552aa4a76a5d7
CRs-Fixed: 3290301
2022-09-22 21:19:31 -07:00
Madan Koyyalamudi
2c2e54b082 Release 5.2.1.38F
Release 5.2.1.38F

Change-Id: I83ccf8a54a1d2f12d4d946b3baaf9dcdbeb1c8ec
CRs-Fixed: 774533
2022-09-22 19:18:31 -07:00
vijaraj
356a5cde4e qcacld-3.0: Fix incorrect reason code logging for Deauth/Disassoc
During Deauth/Disassoc event logging, reason code is being
logged as '0' irrespective of the real reason code.

Modified the api wlan_connectivity_mgmt_event() and
api cm_roam_mgmt_frame_event() to og correct value of
the reason code.

Change-Id: I6d5ba65a9ae312dc82e70202fe598da27a033ff3
CRs-Fixed: 3297871
2022-09-22 19:18:31 -07:00
Pragaspathi Thilagaraj
177ccb0f9e qcacld-3.0: Check the TWT responder capability before enable
TWT responder should be enabled based on the hostapd
configuration and self capability.
But when SAP is started, the TWT concurrency work is
scheduled and its enabling the TWT responder without
checking the hostapd configuration. This causes TWT
responder to be enabled even though the hostapd configuration
disables the responder.

Check the TWT responder configuration from TWT component before
sending enable command for TWT responder

Change-Id: Ia6755299421f00b2a1a69fc2e19fac3d39ab95f6
CRs-Fixed: 3291939
2022-09-22 19:18:24 -07:00
Madan Koyyalamudi
b8f89f717e Release 5.2.1.38E
Release 5.2.1.38E

Change-Id: I3a846d74980a12661eb38ba946bd27f81992b39a
CRs-Fixed: 774533
2022-09-22 17:46:54 -07:00
Jianmin Zhu
89a8d6b96b qcacld-3.0: Clean up vdev1 when roam to single link
When roam from MLO to SLO, partner link vdev1 keeps UP wrongly.
To fixe it, clean up partner link vdev1, but keep assoc link vdev0
MLO flag.

Change-Id: I13d256e9f05755f01cea668456f00bf33c8862b4
CRs-Fixed: 3290015
2022-09-22 17:46:53 -07:00
Madan Koyyalamudi
37d2bcf633 Release 5.2.1.38D
Release 5.2.1.38D

Change-Id: Ie6f04a365948cd4027a684390de3e90f4fde574e
CRs-Fixed: 774533
2022-09-22 13:47:14 -07:00
Surabhi Vishnoi
25112131d0 qcacld-3.0: Do not clear channel stats after ACS completion
As part of SAP ACS optimization, the last ACS scan's result
can be reused in current ACS request if the last scan done
was not greater then last_scan_ageout_time provided as part
of do_acs command. So, do not clear channel stats after
ACS completion if SAP ACS optimization feature is enabled.

Change-Id: Idac6225f790d84ba90ebd740602d0c5d358ed2dc
CRs-Fixed: 3297868
2022-09-22 13:47:14 -07:00
Madan Koyyalamudi
3fc0cebe1d Release 5.2.1.38C
Release 5.2.1.38C

Change-Id: I964aa5349ff2be75acc1cd2ecfe6c60c7a6fe450
CRs-Fixed: 774533
2022-09-22 12:15:20 -07:00
Amit Mehta
a518794bf5 qcacld-3.0: Pointer dereference and resource leak issue fix
Add changes to fix issues:
1. Read from pointer after free
2. Dereference before null check
3. Resource leak

Change-Id: Ie1b18abaa99e9ea168ded897e3f3e9c4cf33fb59
CRs-Fixed: 3295237
2022-09-22 12:15:20 -07:00
Surabhi Vishnoi
09e7520da2 qcacld-3.0: Allow subsequent same ACS request even if ACS is in progress
To reduce the ACS time, there is an implementation wherein one
user space process creates sap interface and queues ACS request to driver,
meantime framework initializes various config and starts hostapd
to queue same ACS request to driver. In this scenario, there is a
race condition that hostapd tries to queue ACS request while there is
already one ACS request is in progress. With current implementation,
driver will reject second ACS request and return error to hostapd
leading to sap turn on failure.

This change allows subsequent ACS request if all the attributes
of do_acs vendor command matches with the ongoing ACS request and returns
success to userspace. There is no another ACS scan queued as part of
second ACS request which is same as ongoing ACS request because the result
of ongoing ACS request will act as result of second ACS request as well.

Change-Id: I67d10b09be922745e7ffb46192e00135dbdb9de4
CRs-Fixed: 3295786
2022-09-22 12:15:13 -07:00
Madan Koyyalamudi
bec69b2f35 Release 5.2.1.38B
Release 5.2.1.38B

Change-Id: Icc2517db123e2c2df30d7589c0d71b593a723593
CRs-Fixed: 774533
2022-09-22 10:41:10 -07:00
Deeksha Gupta
ecb2f11325 qcacld-3.0: Remove unused hdd_cm_is_disconnecting() API
Remove unused hdd_cm_is_disconnecting() API from the driver.

Change-Id: I436c83499a78cd2077f5cba786edb5bb5799bfb5
CRs-Fixed: 3294911
2022-09-22 10:41:09 -07:00
Madan Koyyalamudi
0271a6d708 Release 5.2.1.38A
Release 5.2.1.38A

Change-Id: I67a35ce23b0f708902572fe5a76cc3da11fe2aab
CRs-Fixed: 774533
2022-09-22 06:09:24 -07:00
Aditya Kodukula
1472d9ad6d qcacld-3.0: Disable 11be when not supported by target
Disable 11be when not supported by target

Change-Id: Iecf9ab3eab5a9e69b01fb03b30b028b57019b10d
CRs-Fixed: 3291961
2022-09-22 06:09:24 -07:00
Madan Koyyalamudi
b5256983ff Release 5.2.1.38
Release 5.2.1.38

Change-Id: Ib25af8f533fbb9e0998b8e687c96cb70ddd13084
CRs-Fixed: 774533
2022-09-22 02:21:05 -07:00
Surabhi Vishnoi
019bdebd3f qcacld-3.0: Do not set acs_in_progress if ACS scan is skipped
If ACS scan is skipped, then ACS request is completed and vendor
event is sent to userspace in same context, so there is no need to set
acs_in_progress when ACS scan is skipped.

Change-Id: Id3d1235e405832ce66a1b8837dc04e94bb3c6b64
CRs-Fixed: 3296939
2022-09-22 02:21:05 -07:00
Madan Koyyalamudi
44ccd4ce14 Release 5.2.1.37Z
Release 5.2.1.37Z

Change-Id: I6c56e2a448dc605b5a4eae2c1900d02a8d1eee1b
CRs-Fixed: 774533
2022-09-21 21:38:09 -07:00
Jianmin Zhu
76b7b34cdd qcacld-3.0: Support transmit addr for roam pre-auth
When roam from SAE legacy to SAE MLO, pre-auth TA is MLD address,
while peer AP expects link address, pre-auth fails.
Parse transmit address field from firmware roam_preauth_start_event and
include it when send NL80211_EXTERNAL_AUTH_START to wpa supplicant for
SAE roaming cases.
If transmit address is all zeros, wpa_supplicant will not do ML sae
auth, use MLD address as TA.
If transmit address is not zeros, wpa_supplicant will do ML sae auth,
use 'transmit address' as TA.

Since self peer is created with mld address, when roam from legacy to
MLO, try to get peer by mld address during pre-auth tx since bss peer
absent, or TX fails for no peer.

Change-Id: I99ed846e94165bfe01e1d1e8c620f035751c7056
CRs-Fixed: 3289987
2022-09-21 21:38:08 -07:00