Grafico dei commit

27163 Commit

Autore SHA1 Messaggio Data
Rachit Kankane
b3596058c7 qcacld-3.0: Parse Spatial Reuse Parameter IE
Set vdev spatial reuse variables based on SRP IE received as:
1. Part of association response frame when STA is connecting
2. Part of Probe-Response / Beacon frame once the STA is connected

Change-Id: Ib4f889e94d4951293dfa5bc93d2dcba61e5c89ff
CRs-Fixed: 3306201
2022-10-17 06:47:15 -07:00
Sheenam Monga
2570d35546 qcacld-3.0: Handle GET_PARAMS operations
Send NON-SRG and SRG PD offset,
HE_SIG_SR_Value_15_Disallow and
Non-SRG OBSS PD SR Disallowed from SRPIE
and SRP_CTRL attributes of the connected
AP.

Change-Id: Ic43876a4ee7c6ded8ad75937671790acb06e6647
CRs-Fixed: 3304744
2022-10-17 06:47:10 -07:00
Sheenam Monga
376e3f397a qcacld-3.0: Handle VENDOR_SUBCMD_SR for STATS
Add support to handle GET_STATS and CLEAR_STATS
operations of VENDOR_SUBCMD_SR.

Change-Id: I89cdcc3e7d8104c9da1c95f7b63cde799e11d117
CRs-Fixed: 3304742
2022-10-17 06:47:05 -07:00
Sheenam Monga
c4c40f5217 qcacld-3.0: Handle VENDOR_SUBCMD_SR and operation
Add support to parse VENDOR_SUBCMD_SR and to parse
nested attributes OPERATION and PARAMS and to handle
ENABLE operation, Disable operation and prohibit
operation. Enable opeartion may have PD threshold
or in case vendor command doesn't provide PD threshold
host will send PD threshold advertised by AP.

Change-Id: Ie98a1b8681f41f3a63523ac40b5cfb688a7b0cb0
CRs-Fixed: 3299042
2022-10-17 06:47:00 -07:00
Madan Koyyalamudi
e29354e1a1 Release 5.2.1.41U
Release 5.2.1.41U

Change-Id: Iff8869da462758efb43c3fcaf132f316e929c036
CRs-Fixed: 774533
2022-10-17 04:52:03 -07:00
Surya Prakash Sivaraj
38061a4dfa qcacld-3.0: Reset SPMK cache before every connection
SPMK global cache in the vdev private is persistent
across connections. Therefore, in cross-ssid roaming
cases with different AKMs, SPMK in the global cache
will always be sent to the firmware in RSO start, even
for non-SAE connections. This causes roam failure.

Reset the spmk global cache for every new connection.

Change-Id: I03deefe16242ef79d0985a8c05881914e6f7af01
CRs-Fixed: 3310182
2022-10-17 04:52:03 -07:00
Surya Prakash Sivaraj
2517893ac1 qcacld-3.0: Enhance the debugs in RSO path
Add changes to enhance the debugs in the RSO path,
to identify the current pmk stored in the rso config.

Also, restrict the PMK dumps to a minimum size of 2.

Change-Id: I6e89afed45f5d43b45508ae43b59400a6e24e5ef
CRs-Fixed: 3312677
2022-10-17 04:51:57 -07:00
Madan Koyyalamudi
0fd1880428 Release 5.2.1.41T
Release 5.2.1.41T

Change-Id: Ib8b20c97b65a62123c156ddba8d5c3e9f8b8316c
CRs-Fixed: 774533
2022-10-17 03:02:15 -07:00
Nirav Shah
2e86058c4a qcacld-3.0: Handle twt renegotiation failure scenario
Handle twt renegotiation failure scenario when there is
error reported by firmware as part of
wmi_twt_ack_complete_event_id event.

Change-Id: I91e4bfd8f08ae81b474354c90ab8c770dcdfe19b
CRs-Fixed: 3297783
2022-10-17 03:02:15 -07:00
Madan Koyyalamudi
b4bfb77621 Release 5.2.1.41S
Release 5.2.1.41S

Change-Id: Ib23f7954e8805c3f6a68b8cf591bc5de85e93cc1
CRs-Fixed: 774533
2022-10-16 06:14:57 -07:00
Vishal Miskin
b1ca831353 qcacld-3.0: Restart TSF sync timer post wlan resume
TSF sync routine stopped due to host suspend and post wlan resume the TSF
sync peridic timer resumes. Old host to TSF mapping data being used for
use cases which may be invalid as it was captured long back. Hence Restart
the TSF sync soon afer wlan resume to synchronize at the earliest.

Change-Id: I141755e23fe288fb31925c8d87f37cfccced0203
CRs-Fixed: 3303130
2022-10-16 06:14:56 -07:00
Madan Koyyalamudi
ccde934bfb Release 5.2.1.41R
Release 5.2.1.41R

Change-Id: I797db950344af3bfa422d358752c2f6fd8bd940f
CRs-Fixed: 774533
2022-10-15 12:12:22 -07:00
Ashish Kumar Dhanotiya
a897a6e3ea qcacld-3.0: Update phy mode correctly in link adapter as well
Currently host driver does not update phy mode in link adapter.
When host driver gets country update or set fcc constraint
command it tries to check if there is any change in phy mode
for all the connected adapters. Since link adapter is connected
adapter and at the time of connect success driver does not update
phy mode in link adapter, this check fails for link adapter
and host driver issues disconnect.

To fix this issue, update the phy mode correctly in link
adapter as well at the time of connect success.

Change-Id: Ia208fa183c8d1fa7f902cb614bf9ca704bc30ed6
CRs-Fixed: 3313529
2022-10-15 12:12:21 -07:00
Madan Koyyalamudi
37a7e25ce1 Release 5.2.1.41Q
Release 5.2.1.41Q

Change-Id: I1de0f502654b3492cd0411dc749dd13fae5b492c
CRs-Fixed: 774533
2022-10-14 13:42:48 -07:00
Ashish Kumar Dhanotiya
013edc14e3 qcacld-3.0: Update vendor1 requirement1 version for feature set
With change update vendor1 requirement1 version to the latest
version 3.3.

Change-Id: I5079c47c65487a9dc97e3f0fe3b38f696a3753bc
CRs-Fixed: 3309523
2022-10-14 13:42:48 -07:00
Madan Koyyalamudi
0aa2e6a938 Release 5.2.1.41P
Release 5.2.1.41P

Change-Id: I6067d9d8cd29dfeb58313048d8b17daefd00d8c2
CRs-Fixed: 774533
2022-10-14 11:52:41 -07:00
Vinod Kumar Myadam
58830e2f7b qcacld-3.0: Fix to OEM sync and async event handle
Presently host don't know whether event is rsp to the command
or async event from FW.

Handling req and async events with new enum
wmi_oem_data_evt_cause added in FW to represent event causes,
WMI_OEM_DATA_EVT_CAUSE_UNSPECIFIED,
WMI_OEM_DATA_EVT_CAUSE_CMD_REQ,
WMI_OEM_DATA_EVT_CAUSE_ASYNC.

Change-Id: I31a3f415fed64dc6231ca0eb29de5b80c94493f3
CRs-Fixed: 3305281
2022-10-14 11:52:41 -07:00
Madan Koyyalamudi
be0b3b0768 Release 5.2.1.41O
Release 5.2.1.41O

Change-Id: I42313542b6b7dce2ba15f003446940a1c0b0e21a
CRs-Fixed: 774533
2022-10-14 10:14:45 -07:00
Asutosh Mohapatra
2256468256 qcacld-3.0: Replace hdd_for_each_sta_ref with hdd_for_each_sta_ref_safe
Currently in some APIs hdd_for_each_sta_ref macro is used to iterate
over each station stored in the sta info container. It might become
infinite loop if same station entry used parallelly by two threads,
when one deletes the station, causing next pointer to point to
it-self hence an infinite loop will form for the other thread.

To address this issue use the hdd_for_each_sta_ref_safe macro and
for delete hdd_for_each_sta_ref macro to avoid such scenarios.

Change-Id: Ia4b2a3e1ef61a00eebddbb3a4d892a912ad3313d
CRs-Fixed: 3295300
2022-10-14 10:14:44 -07:00
Madan Koyyalamudi
8320dccca3 Release 5.2.1.41N
Release 5.2.1.41N

Change-Id: Ie06bffd1d656168ff2bd5aa7c947f98531c328a5
CRs-Fixed: 774533
2022-10-14 08:31:09 -07:00
Jia Ding
1b3e7ed476 qcacld-3.0: Fix WLAN_SYSFS componentization
Move 11be_rate sysfs entry implementation from HDD EHT main body
to separate source files and define WLAN_SYSFS_EHT_RATE feature
flag accordingly in Kbuild.

All sysfs implementations shall be built only if CONFIG_WLAN_SYSFS=y.
Hence correct dp_tx_delay_stats and the closing endif.

Change-Id: I84aa7fc34aeff932bb51800e70c4c3611bf0d627
CRs-Fixed: 3309689
2022-10-14 08:31:09 -07:00
Yu Wang
61d6a7e8d1 qcacld-3.0: print SSID with QDF_SSID_FMT and QDF_SSID_REF
To protect user privacy, print SSID with QDF_SSID_FMT
and QDF_SSID_REF, then SSID will be hide in logs if
anonymization is enabled.

Change-Id: I3dd129b52c85c84e666f4f07b28a1e58f81259b7
CRs-Fixed: 3291841
2022-10-14 08:31:04 -07:00
Pragaspathi Thilagaraj
df6cc68e7f qcacld-3.0: Update the AKM data type
Currently the AKM information is sent as uint16_t variable
this leads to truncation of 1byte in connecting event of
advanced connectivity logging.

Update the AKM data type from uint16_t to uint32_t.

Change-Id: Ibe359636cb32b66ed99ee8ccb8ce33299908325b
CRs-Fixed: 3307515
2022-10-14 08:30:59 -07:00
Madan Koyyalamudi
fa731b99c9 Release 5.2.1.41M
Release 5.2.1.41M

Change-Id: I5969a25d8d079f7699f25ccbd372d7cf52dcc885
CRs-Fixed: 774533
2022-10-13 19:57:03 -07:00
Vinod Kumar Pirla
0799f11b12 qcacld-3.0: Flush inet notifier work before set ps
User can modify power save value which will be sent to FW.
IPv4/IPv6 notifier work will also checks this user configured
power save to send set ps request to FW, a possibility of
race condition exists when both user request and inet notifier
work are running at the same time.

Flush the inet notifier work to ensure the set PS calls are
serialized.

Change-Id: Ib7def61c961835682a6f72d6fb4bd97bd7ffff0f
CRs-Fixed: 3310057
2022-10-13 19:57:03 -07:00
Madan Koyyalamudi
c078010ada Release 5.2.1.41L
Release 5.2.1.41L

Change-Id: I6ca3299450722c34177480840ac28446395dd924
CRs-Fixed: 774533
2022-10-13 15:09:20 -07:00
Jeff Johnson
d1eb296939 qcacld-3.0: uapi: Fix misspelling
Fix misspelling in uapi/linux/dbglog_common.h.

Change-Id: I5a1c7624b702dbf0c22f33096b72fc3158826f6f
CRs-Fixed: 3303620
2022-10-13 15:09:20 -07:00
Madan Koyyalamudi
6dc5dd75b2 Release 5.2.1.41K
Release 5.2.1.41K

Change-Id: I49b13fbfb234d324a2c6f5fd08a7128e3fb61871
CRs-Fixed: 774533
2022-10-13 08:07:17 -07:00
Ashish Kumar Dhanotiya
61c25c8f84 qcacld-3.0: Make OEM data as static instead of dynamic
Currently host allocates OEM data with memalloc and frees
this memory at stop modules. Because of this host driver
is not able to share the oem data information when wifi
is off.
Based on new requirement driver needs to share this oem data
information on wifi off as well so change the oem data as
static allocation so that this information will remain intact.

Change-Id: I839c4da0c589afe0e0ace1138c568b2a07d66ef6
CRs-Fixed: 3311089
2022-10-13 08:07:17 -07:00
Madan Koyyalamudi
959489e19a Release 5.2.1.41J
Release 5.2.1.41J

Change-Id: I1db23796b912c2e3ce211bf337ff2855068390c9
CRs-Fixed: 774533
2022-10-12 23:22:18 -07:00
Amruta Kulkarni
40598153fa qcacld-3.0: Store and send keys after peer assoc
For STA mlo connection the AP might send M1 right after assoc
response on assoc link which can result in keys sent down to FW
for mlo links before host has sent wmi_peer_assoc for link vdev.
Current code does not have handling for this case.

To solve this, store the keys and once connection is completed
on link vdev send keys.

Change-Id: I3675451ef0e047caf8c77d256ea67f0eac6ed797
CRs-Fixed: 3289589
2022-10-12 23:22:17 -07:00
Madan Koyyalamudi
ae589ada18 Release 5.2.1.41I
Release 5.2.1.41I

Change-Id: If0085424ef3c244fead12bc588b95e6677c8e0d3
CRs-Fixed: 774533
2022-10-12 20:15:52 -07:00
Deeksha Gupta
a4c7dbbe0b qcacld-3.0: Get link_vdev with link_id in wlan_hdd_cfg80211_get_channel()
Currently, In case of get_channel, driver sends assoc vdev get_channel
info only to userspace for MLO connection.

To support per link channel_info, driver will send
get_channel info for link vdev also.

Change-Id: I48e1d8803223e6291060cd14a423b3079c17a61f
CRs-Fixed: 3296677
2022-10-12 20:15:52 -07:00
Madan Koyyalamudi
b81af686c2 Release 5.2.1.41H
Release 5.2.1.41H

Change-Id: I7458eb3b57ba8c367ed9f0c6ae85c870219c60f0
CRs-Fixed: 774533
2022-10-12 15:04:04 -07:00
Yu Wang
ad3a8266f9 qcacld-3.0: fill vdev and pattern id for CoAP offload reply enable request
Pattern id and vdev id are not filled explicitly for
CoAP offload reply enable request, which will cause
failure when the ids are not 0.
To fix it, fill the vdev id and pattern id accordingly.

Change-Id: I74b4b26d08e48e9d08d041293cff6f4ab92272e1
CRs-Fixed: 3310734
2022-10-12 15:04:03 -07:00
Madan Koyyalamudi
14695a59d6 Release 5.2.1.41G
Release 5.2.1.41G

Change-Id: I5d02c9e281a9b0b13157d73321af55e5a247032a
CRs-Fixed: 774533
2022-10-12 13:19:09 -07:00
Aditya Kodukula
8bc3216c70 qcacld-3.0: Modify format specifier for get_wifi_feature
As per the new customer requirement, modify the format
specifier for the get_wifi_feature print.

Change-Id: I6ec605be7a4f77f3d4f8b6d65782dfcdfea2d75b
CRs-Fixed: 3310140
2022-10-12 13:19:08 -07:00
Madan Koyyalamudi
061cf7e0c3 Release 5.2.1.41F
Release 5.2.1.41F

Change-Id: I9d84eb6c98f2358791353a51ad3042fd690fb91c
CRs-Fixed: 774533
2022-10-12 11:37:36 -07:00
Divyajyothi Goparaju
420534c839 qcacld-3.0: Fix uninitialized scalar variable
Issue1:wlan_hdd_set_mlo_ps function returns uninitialized
status on condition of being all link_adapters as
NULL from mlo_adapter_info.
Fix:initialize status varible with -EINVAL.

Issue2:hdd_regulatory_init API updates regulatory alpha2
from uninitialized alpha2 array.
Fix:initialize alpha2 array with 0.

Change-Id: I7e279899a8465a9b457fbe06ff81c57364be2843
CRs-Fixed: 3307965
2022-10-12 11:37:35 -07:00
Jeff Johnson
2c512a643c qcacld-3.0: core: mac: Fix misspellings
Fix misspellings in core/mac/...

Change-Id: Ife5a311f3501239898cbc59a0d104d8656c99112
CRs-Fixed: 3303627
2022-10-12 11:37:29 -07:00
Madan Koyyalamudi
d9b6ffe3da Release 5.2.1.41E
Release 5.2.1.41E

Change-Id: I0edbc951fbe6fd0f6154cdd668fda3cfc60f7b57
CRs-Fixed: 774533
2022-10-12 09:56:34 -07:00
Vinod Kumar Myadam
bc164e3ba0 qcacld-3.0: Fix to pre CAC interface clean up
If is_pre_cac_on is set, in __wlan_hdd_del_virtual_intf firstly
frees the sap context by calling hdd_clean_up_interface and then
frees the pre cac by calling hdd_clean_up_pre_cac_interface this
will fails to access the sap context which is already freed.

So, replace order of calling, firstly hdd_clean_up_pre_cac_interface
and then hdd_clean_up_interface.

cds flush work will cancel the work which will not delete the pre cac
vdev. Replace with qdf_flush_work will wait for a work to finish,
executing the last queueing instance.

Assign NULL to fn and arg of pre cac work to ensure proper cleanup
of work

Change-Id: I093bf627ce7a73e7c4f7c4cf30e2ec56814a80ed
CRs-Fixed: 3286477
2022-10-12 09:56:34 -07:00
Madan Koyyalamudi
b753b443ab Release 5.2.1.41D
Release 5.2.1.41D

Change-Id: If26bdac674b4f384baec4cf5248c82b6dadeb351
CRs-Fixed: 774533
2022-10-12 08:18:35 -07:00
Pragaspathi Thilagaraj
3a49e2cdfe qcacld-3.0: Converge p2p_set_mac_filter for management frame tx
In management frame TX path from userspace, the
p2p_set_mac_filter structure is used and is defined under P2P
converged macro.

Converge this p2p_set_mac_filter structure to set_rx_mac_filter
structure in qca-wifi-host-cmn to use this by all components

Change-Id: Iefcf36f8b327458b2418bd364ae84b28ca56e7f9
CRs-Fixed: 3306700
2022-10-12 08:18:35 -07:00
Madan Koyyalamudi
8000145f07 Release 5.2.1.41C
Release 5.2.1.41C

Change-Id: Ic6ae59d0daecafe90712a03f762949b6a8d73a11
CRs-Fixed: 774533
2022-10-12 06:35:39 -07:00
Qun Zhang
d0790fd3ac qcacld-3.0: Post wma_vdev_detach_callback() to driver scheduler
To avoid wma_vdev_detach_callback() is run under interrupt
context, post wma_vdev_detach_callback() to driver scheduler
when vdev delete is failed to send to FW.

Change-Id: I87a603de326789ac43dac34de31eb564f13d11f5
CRs-Fixed: 3308547
2022-10-12 06:35:39 -07:00
Madan Koyyalamudi
c638ca77a7 Release 5.2.1.41B
Release 5.2.1.41B

Change-Id: I29f5693801295cad848990079cd6dacb14f05629
CRs-Fixed: 774533
2022-10-12 05:01:29 -07:00
Srinivas Dasari
f6283d3a53 qcacld-3.0: Set lim_join_req to NULL once it's freed
Currently, pe_session->lim_join_req is freed when there is a
failure in creation/filling the session for link. The same is
attempted to free in pe_delete_session() also.
Set it to NULL once it's freed to avoid double-free.

Change-Id: I6908fc768d782dfe4fe542ccb75ba2cabeb52d0f
CRs-Fixed: 3310292
2022-10-12 05:01:29 -07:00
Madan Koyyalamudi
6a131a1c2b Release 5.2.1.41A
Release 5.2.1.41A

Change-Id: I1da1e41a018825dd68d07b753b468c75b6302e62
CRs-Fixed: 774533
2022-10-12 03:28:52 -07:00
Jia Ding
b55558710e qcacld-3.0: Fix TDLS componentization
With FEATURE_WLAN_TDLS=n, compiler is throwing implicit
declaration error of function wlan_tdls_get_features_info.

Hence add wlan_tdls_get_features_info stub declaration for
FEATURE_WLAN_TDLS=n.

Change-Id: Ia9820e630b756befbfda98330be193760a331c93
CRs-Fixed: 3309612
2022-10-12 03:28:52 -07:00