커밋 그래프

27129 커밋

작성자 SHA1 메시지 날짜
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
Madan Koyyalamudi
23626690f2 Release 5.2.1.41
Release 5.2.1.41

Change-Id: If5a74eddc9a4ebb972106104c5456b173a411a73
CRs-Fixed: 774533
2022-10-11 22:21:25 -07:00
Jeff Johnson
11c49ff34a qcacld-3.0: core: bmi: Fix misspellings
Fix misspellings in core/bmi/...

Change-Id: Ib4ea1c1067547ded1db163d60676fcca7ea30661
CRs-Fixed: 3303630
2022-10-11 22:21:24 -07:00
Yu Wang
0e8ac06ee6 qcacld-3.0: fix build failures caused by QDF_MAC_ADDR_REF
Build failed once WLAN_TRACE_HIDE_MAC_ADDR is enabled,
due to 'error: type mismatch in conditional expression'.

To fix it, correct the parameter for QDF_MAC_ADDR_REF.

Change-Id: Ifd89b02ab5fb2e3b59291c303ad93b691616dc57
CRs-Fixed: 3308193
2022-10-11 22:21:19 -07:00
Madan Koyyalamudi
4230e9d4ef Release 5.2.1.40Z
Release 5.2.1.40Z

Change-Id: I048d2dbb4e7e9cf958df7dd21b49934d40e2ab29
CRs-Fixed: 774533
2022-10-11 20:48:27 -07:00
Jia Ding
340d31f8c8 qcacld-3.0: Add configs for ARCH_SDXPINN
ARCH_SDXPINN uses kiwi_v2 profile and hence add ARCH_SDXPINN
specific configurations.

Change-Id: I32c9e44768e0fbd79bb906c2111b796f79942b5a
CRs-Fixed: 3308318
2022-10-11 20:48:27 -07:00
Madan Koyyalamudi
a386f315a1 Release 5.2.1.40Y
Release 5.2.1.40Y

Change-Id: I28ad59fed45e00f73c3631364499eb35e2cdbe7c
CRs-Fixed: 774533
2022-10-11 17:35:07 -07:00
abhinav kumar
83d3138157 qcacld-3.0: Drop TX MGMT Frame if no ROC
In case if supplicant issues probe request without ROC,
Host should drop it for STA mode.

Change-Id: I290f441f6ddc41dd8d7434ad7d4fd1b4fcc0c22e
CRs-Fixed: 3296264
2022-10-11 17:35:07 -07:00
Vinod Kumar Pirla
093d9e5262 qcacld-3.0: Use provision/derived list for MLD address
In current implementation ML adapter will get MLD address
from a separate pool of addresses rather than provision or
derived list.

Remove this separate pool for MLD address and get MLD address
from the provision list or derived list.

Change-Id: I11a10fe1331dba6d16f82cbd1ab4c04ada70acb6
CRs-Fixed: 3308051
2022-10-11 17:35:02 -07:00
Madan Koyyalamudi
fa9af3ace6 Release 5.2.1.40X
Release 5.2.1.40X

Change-Id: If9680238b6a5a27531a876e7c8f2c787b79e30f5
CRs-Fixed: 774533
2022-10-11 08:28:38 -07:00
Ashish Kumar Dhanotiya
8e3f52f67b qcacld-3.0: Create feature sysfs node at driver load
Currently host driver creates feature sysfs node at the
timne of start modules.
Based on the new requirement create sysfs node at driver load.

Change-Id: I0030295e69af451eae1c02d6dfae2bcdc2df9cad
CRs-Fixed: 3306174
2022-10-11 08:28:38 -07:00
Paul Zhang
a7ec19fb25 qcacld-3.0: Ignore the last channel event data
The last channel event data whose command flag is set to 1.
It’s basically an event with empty data only to indicate
scan event completion. The process of WMI_CHAN_INFO_EVENTID
should ignore it or it takes the freq 0 as selecting first
clean channel for ACS which is not expected.

Change-Id: Ia64b4ad16fa3571363f16fe419cf861fbbe19038
CRs-Fixed: 3306049
2022-10-11 08:28:33 -07:00
Ashish Kumar Dhanotiya
2b851b6680 qcacld-3.0: Get wifi kobject irrespective of bus type
Currently host driver gets the wifi kobject from platform
driver based on the bus type, since this is a generic
functionality and it can be used for any bus type,
so add a logic to get the wifi kobject irrespective of
bus type.

Change-Id: I58b18f0006494e0602ef3b00dc5728071c7a0306
CRs-Fixed: 3308565
2022-10-11 08:28:28 -07:00
Madan Koyyalamudi
936ec25858 Release 5.2.1.40W
Release 5.2.1.40W

Change-Id: I2b4105a6aef6e3dcd4945bc3788c4bc5a5d5e15c
CRs-Fixed: 774533
2022-10-11 02:30:28 -07:00
Zhaoyang Liu
7eea98dc03 qcacld-3.0: add support for dual wlan modules on Android platform
Update Android makefile to support dual wlan driver modules.
Define the secondary wlan chip with postfix string "cnss2".
Use different wlan ctrl name parameter for secondary wlan module.

Change-Id: I62fd7f258b3b8944e2b731d00d413d7a1a0d4290
CRs-Fixed: 3248293
2022-10-11 02:30:28 -07:00
Madan Koyyalamudi
904cc706f9 Release 5.2.1.40V
Release 5.2.1.40V

Change-Id: Ib60f2f7e902c1838947f51470c5eb898e22bcdf8
CRs-Fixed: 774533
2022-10-11 00:47:17 -07:00
Amruta Kulkarni
434bb9c7ca qcacld-3.0: Roam abort on mlo links
Currently for mlo roaming if roam sync event is not
handled roaming is aborted only on that vdev,
other vdevs are not cleaned up.
Another issue is link vdev is added to connection manager
list but not removed.

To fix this code change made to abort roaming on all links.
Also remove request from connection manager list.

Change-Id: Ib6e9db21b64e5c44ab7d51ebf795b169c5e7eb29
CRs-Fixed: 3305685
2022-10-11 00:47:16 -07:00
Madan Koyyalamudi
c906df7c1d Release 5.2.1.40U
Release 5.2.1.40U

Change-Id: I66c86ab9ec6b58d5af5a50c173a16917d6161d07
CRs-Fixed: 774533
2022-10-10 11:35:22 -07:00
abhinav kumar
9985af8383 qcacld-3.0: Send the Fatal Event to framework
In vdev delete timeout scenario, Host driver sends the Fatal
Event to framework which can collect the all host/fw logs
and trigger SSR.

Change-Id: I5d68c0a44bd93593bda9665645fd211325eb9ebe
CRs-Fixed: 3296272
2022-10-10 11:35:21 -07:00
Madan Koyyalamudi
347696bf48 Release 5.2.1.40T
Release 5.2.1.40T

Change-Id: I9857bb451070566418d57fed7b38ec50094b5aee
CRs-Fixed: 774533
2022-10-10 04:32:46 -07:00
Rahul Gusain
87a052f1f5 qcacld-3.0: Optimize NAN state machine when driver recovers
Currently, host driver sends NAN enable and disable request to
firmware and wait for its response to change the NAN state in
driver. But, when firmware is down (during SSR), driver is in
recovery state and so, timeout occurs while waiting for response.

To fix this, driver does not need to wait for NAN enable/disable
response from firmware in recovery state. It can directly take the
action and change the NAN state machine. Hence, add flag to check
the driver recovery state. If recovery is in progress, then driver
does not wait for firmware NAN enable/ disable responses.

Change-Id: I0325240cc082d8ef91d48793d3da2eea552d59cd
CRs-Fixed: 3307543
2022-10-10 04:32:46 -07:00
Madan Koyyalamudi
b638131386 Release 5.2.1.40S
Release 5.2.1.40S

Change-Id: I1faa8256af6ac446ad8b164ae73bc87b12a31f67
CRs-Fixed: 774533
2022-10-10 01:10:58 -07:00
Rakesh Pillai
0481bbb9af qcacld-3.0: Enable the flag setting for NO_MSDU_START for kiwi
For kiwi target, there is no MSDU_START tlv, and hence
the tlv information has to be obtained based on MSDU_END.

Enable this flag, which is used for monitor mode frame
processing for KIWI target.

Change-Id: I160133a92b5f8b79573717b53f248c24935a67eb
CRs-Fixed: 3304764
2022-10-10 01:10:57 -07:00
Madan Koyyalamudi
fdf7c37ea0 Release 5.2.1.40R
Release 5.2.1.40R

Change-Id: Ifaec17d30e3443f89eba2c0c1094718291f01450
CRs-Fixed: 774533
2022-10-08 13:55:32 -07:00
Jeff Johnson
6c88cf1b32 qcacld-3.0: components: pmo: Fix misspellings
Fix misspellings in components/pmo/...

Change-Id: I2394b572f07bc02d029a4f4381c76f11143ea475
CRs-Fixed: 3303636
2022-10-08 13:55:32 -07:00
Madan Koyyalamudi
84f7a66470 Release 5.2.1.40Q
Release 5.2.1.40Q

Change-Id: Icfe296865d8f86c119c3d3cf923b996c68314625
CRs-Fixed: 774533
2022-10-08 12:15:53 -07:00
Jeff Johnson
767fcd7bf2 qcacld-3.0: components: mlme: Fix misspellings
Fix misspellings in components/mlme/...

Change-Id: I98641d9bc2d61b8c5196e5c2803e95e2b2c33ebf
CRs-Fixed: 3303641
2022-10-08 12:15:52 -07:00
Madan Koyyalamudi
084c635032 Release 5.2.1.40P
Release 5.2.1.40P

Change-Id: I9b1aff6a19a11ed18afb75c7e67e8ece64c8cf17
CRs-Fixed: 774533
2022-10-08 03:33:31 -07:00
Prakash Manjunathappa
8d0a10a421 qcacld-3.0: Move CONFIG_WLAN_FEATURE_DP_BUS_BANDWIDTH up in config
Other config CONFIG_WLAN_CLD_PM_QOS is dependent on
CONFIG_WLAN_FEATURE_DP_BUS_BANDWIDTH. Later enablement in config
file will fail to enable dependent config.

Change-Id: Ib0234505365d037d7b8fc50df639d93685d1781a
CRs-Fixed: 3305952
2022-10-08 03:33:31 -07:00
Srinivas Dasari
8a48ce4c7c qcacld-3.0: Treat ROAM enable and RSO enable as different
Host driver sends ROAM enable to firmware by setting the
vdev param WMI_VDEV_PARAM_ROAM_FW_OFFLOAD and the internal
state is moved from WLAN_ROAM_DEINIT to WLAN_ROAM_INIT.
Then host driver can send ROAM SCAN OFFLOAD enable and firmware
honors it. Firmware drops the RSO enable command if ROAM enable
vdev param is not sent. Host tracks RSO enable through the states
WLAN_ROAM_RSO_ENABLED/WLAN_ROAMING_IN_PROG/
WLAN_ROAM_SYNCH_IN_PROG/WLAN_MLO_ROAM_SYNCH_IN_PROG.

Have different APIs to track ROAM enable and RSO enable which can
help to cleanup the corresponding params/states.

It's observed that ROAM enable/disable vdev param is not sent
to firmware properly when RSO is stopped in some other path
than disconnect (e.g. SAP concurrency, fast_roaming_disable
through wpa_supplicant). Check if the roam state is INIT and
send ROAM DISABLE to firmware while disconnect.


Change-Id: I1074c8f93e21f02086dfbcfae61fa6deb91c7d9d
CRs-Fixed: 3305563
2022-10-08 03:33:26 -07:00
Madan Koyyalamudi
b16c718f1b Release 5.2.1.40O
Release 5.2.1.40O

Change-Id: Id0b267eb3dcc5648b7d73cba4e18f4eb171e30f8
CRs-Fixed: 774533
2022-10-08 01:54:54 -07:00
Nagalakshmi
1fd7ee3421 qcacld-3.0: Avoid Using sme global lock in hdd calls of Connection mgr
If the connection manager command is moved from pending to active
queue after an SME initiated active command e.g SAP peer
disconnect, it's already holding the SME lock and trying to
acquire the connection manager lock.

Now if in another thread, the connection manager process is
already in progress and tries to get the SME lock,
the driver ends up in a deadlock.

Thus remove the SME global lock from the APIs called from
HDD disconnect handlers.

Change-Id: I1c8afa55163e4113e5be5232efc15681eda69473
CRs-Fixed: 3304039
2022-10-08 01:54:54 -07:00
Madan Koyyalamudi
0d3ca1dec8 Release 5.2.1.40N
Release 5.2.1.40N

Change-Id: I73cb8c3e3b8f31aeb73423cd7dd9c3e6126e4c5f
CRs-Fixed: 774533
2022-10-08 00:17:43 -07:00
Amruta Kulkarni
825c289d24 qcacld-3.0: Fix validation check for roam sync frame event
More than one roam sync frame event can be sent from FW so
the beacon, reassoc req or rsp length can be zero.
Hence the current code validation check is incorrect resulting
in roam abort.

To fix this, change the validation to check if beacon,
reassoc req or rsp value is non zero and then check the size.

Change-Id: I6ddec91686c23d9b8dac4c891b37bb1ce9d0fb30
CRs-Fixed: 3306428
2022-10-08 00:17:43 -07:00
Madan Koyyalamudi
ecaff38f6d Release 5.2.1.40M
Release 5.2.1.40M

Change-Id: Ib64e315e7829f6dfb345909a0b5c15d32de6ad31
CRs-Fixed: 774533
2022-10-07 21:01:43 -07:00