Commit Graph

27032 Commits

Author SHA1 Message Date
Asutosh Mohapatra
d64cb46a9c qcacld-3.0: Fix prevent issues
This change
1.fixes the use of uninitialized
variable in host driver.

2.Adds validation in extract_roam_sync_frame_event_tlv
Where these frame lengths are getting populated,
also at the place where subtraction happens to prevent
overflows

3.Adds NULL check in wma_handle_roam_reason_deauth, to avoid
the null pointer dereference.

Change-Id: I2d5ba61fb109f6d8b497df29cfa2dd572c00adeb
CRs-Fixed: 3297792
2022-10-03 13:01:30 -07:00
Madan Koyyalamudi
5b89d077de Release 5.2.1.39S
Release 5.2.1.39S

Change-Id: Ia57aa586c44cc6009a92746067c896a53a179b3b
CRs-Fixed: 774533
2022-10-03 11:27:02 -07:00
Jeff Johnson
5daf948dfe qcacld-3.0: components: dp: Fix Misspellings
Fix misspellings in components/dp/...

Change-Id: I7c2edc87e8c2efd9dbdaa4a93297f35c2cb972b8
CRs-Fixed: 3303645
2022-10-03 11:27:02 -07:00
Jeff Johnson
01bf3d1808 qcacld-3.0: Kbuild: Fix misspelling
Fix misspelling in Kbuild: distingush => distinguish

Change-Id: Ia36e914df27a8a25367ed32e59a86ea7ac38ca02
CRs-Fixed: 3303619
2022-10-03 11:26:56 -07:00
Rahul Gusain
a74636029a qcacld-3.0: Add support to disable concurrency
Add feature flags to disable following concurrency:
1. STA+P2P+P2P
2. STA+SAP+P2P
3. SAP+P2P
4. P2P+P2P
5. SAP+NAN

Change-Id: If79fae52e88032036df499d24476a756ee2fbc5e
CRs-Fixed: 3302171
2022-10-03 11:26:51 -07:00
Rajesh Chauhan
b95f91bf4c qcacld-3.0: replace PDE_DATA() with pde_data()
In kernel 5.17, PDE_DATA() is replaced with pde_data(). Make
matching change in wlan_hdd_memdump.c

Change-Id: Ifa67c746d219802911403aaea0572d03a9da9173
CRs-Fixed: 3298034
2022-10-03 11:26:46 -07:00
Madan Koyyalamudi
ace15c2e3f Release 5.2.1.39R
Release 5.2.1.39R

Change-Id: I44b99d3768470828f908d0bf7c91a3690dc66a13
CRs-Fixed: 774533
2022-10-03 08:25:18 -07:00
Sandeep Puligilla
4b08781ef4 qcacld-3.0: Incorrect MCS index is passed
Fix the potential out of bound read of the supported MCS rate
array.

Change-Id: I172dcac9d1ce79b16e4cd2a4ee321d9e93102866
CRs-Fixed: 3304227
2022-10-03 08:25:18 -07:00
Madan Koyyalamudi
8a292c5912 Release 5.2.1.39Q
Release 5.2.1.39Q

Change-Id: I3af1de9e7d55cff48baa1f0e9efdcbcc36e757c3
CRs-Fixed: 774533
2022-10-03 06:45:00 -07:00
Abhilash
1db3572886 qcacld-3.0: Move COAP related INCS into feature flag
Currently implemented change for COAP causes to append
header files to INCS even if CONFIG_WLAN_FEATURE_COAP
is disabled. This leads to compilation hard stop due to
overflow of argumnets to shell.

ie, by moving COAP related code under feature flag can
help to reduce shell arguments when COAP is disabled.

Change-Id: If1f8334229a601f7415cbad876a7c9e0fcfb1370
CRs-Fixed: 3299853
2022-10-03 06:44:59 -07:00
Madan Koyyalamudi
dbfcb57f71 Release 5.2.1.39P
Release 5.2.1.39P

Change-Id: If38acbc26fdeb8764a725b49aa0120768449cbfc
CRs-Fixed: 774533
2022-10-03 03:45:54 -07:00
Jeff Johnson
76d0561767 qcacld-3.0: components: cmn_services: Fix misspellings
Fix misspellings in components/cmn_services/...

Change-Id: I9ba9e4ea7a193db8b686adf7f31d141bdeea64bf
CRs-Fixed: 3303649
2022-10-03 03:45:53 -07:00
Jeff Johnson
6c9e2b8139 qcacld-3.0: components: coap: Fix misspellings
Fix misspellings in components/coap/...

Change-Id: I5f8b945b0d9a2d234538ffd3a77dab98fcb83b9a
CRs-Fixed: 3303648
2022-10-03 03:45:48 -07:00
Madan Koyyalamudi
6fb144a6f4 Release 5.2.1.39O
Release 5.2.1.39O

Change-Id: I9a35dfe79c0d8346e2e2655bb9f4260fcd39299a
CRs-Fixed: 774533
2022-10-03 02:01:11 -07:00
Jeff Johnson
77ef806778 qcacld-3.0: components: denylist_mgr: Fix misspellings
Fix misspellings in components/denylist_mgr/...

Change-Id: Ibdcc2c194be66b1e1663674a2a9468a36737cc2f
CRs-Fixed: 3303646
2022-10-03 02:01:10 -07:00
Jeff Johnson
eed27391fb qcacld-3.0: components: cp_stats: Fix misspellings
Fix misspellings in components/cp_stats/...

Change-Id: I5b1357e9ed32ad2d2bd0bfd5ad1983ed26c5d536
CRs-Fixed: 3303647
2022-10-03 02:01:04 -07:00
Jeff Johnson
ef20cc3a0e qcacld-3.0: components: p2p: Fix misspellings
Fix misspellings in components/p2p/...

Change-Id: I220faae813cd79d7b5fe656158768d1eff4718de
CRs-Fixed: 3303638
2022-10-03 02:00:58 -07:00
Jeff Johnson
6e7e6e3c02 qcacld-3.0: components: fw_offload: Fix misspellings
Fix misspellings in components/fw_offload/...

Change-Id: I75e94f2ffe6215d0719a8a2093468d2b09f6cf9f
CRs-Fixed: 3303643
2022-10-03 02:00:52 -07:00
Madan Koyyalamudi
c11b20fcad Release 5.2.1.39N
Release 5.2.1.39N

Change-Id: I347841d9e70023278c5e9e857293602f98a0b4e2
CRs-Fixed: 774533
2022-10-03 00:19:34 -07:00
Jeff Johnson
39dc04806c qcacld-3.0: core: sap: Fix misspellings
Fix misspellings in core/sap/...

Change-Id: I945759b3f51e43206b58cae88c07bda5aff3a1fe
CRs-Fixed: 3303625
2022-10-03 00:19:34 -07:00
Jeff Johnson
17fc1e0890 qcacld-3.0: components: tdls: Fix misspellings
Fix misspellings in components/tdls/...

Change-Id: I33aea84441f7eea0fca2d62df21cf8fa1846a18e
CRs-Fixed: 3303633
2022-10-03 00:19:28 -07:00
Jeff Johnson
40bb864498 qcacld-3.0: components: wmi: Fix misspellings
Fix misspellings in components/wmi/...

Change-Id: I4ace2ae7bca8082dc9e8fd1d9e7c2bf0fed616ac
CRs-Fixed: 3303631
2022-10-03 00:19:23 -07:00
Jeff Johnson
09ce6ae175 qcacld-3.0: core: wma: Fix misspellings
Fix misspellings in core/wma/...

Change-Id: Ie335a23b85dac4ee5670704a9e3c2eb07f511cfc
CRs-Fixed: 3303623
2022-10-03 00:19:18 -07:00
Madan Koyyalamudi
ad0b9b7ccd Release 5.2.1.39M
Release 5.2.1.39M

Change-Id: I072d49e464d324657c568784c9d04d991a200be5
CRs-Fixed: 774533
2022-10-02 20:46:12 -07:00
Pragaspathi Thilagaraj
da70e5bcee qcacld-3.0: Reset per vdev roam trigger config upon disconnect
Roam trigger bitmap is configured to enable few specific
triggers when SETNCHOMODE command is issued. But if disconnect
happens without NCHO disable, then the roam_trigger_bitmap
per vdev doesn't reflect the ini configuration. This causes
some roam triggers not getting triggered.

Reset per vdev roam trigger configuration.

Change-Id: I3dc008a58a2a20c4f0820fe43aa4b6406ba8dd2a
CRs-Fixed: 3300488
2022-10-02 20:46:12 -07:00
Madan Koyyalamudi
16d4588368 Release 5.2.1.39L
Release 5.2.1.39L

Change-Id: I512bba3b2b7efb42d41c48375832468036a191c3
CRs-Fixed: 774533
2022-10-01 11:35:17 -07:00
Divyajyothi Goparaju
9e02702427 qcacld-3.0: Replace wlan_reg_is_disable_for_freq
As part of upgrading legacy code
with 6 GHz power APIs, replace
all ocurrances of
wlan_reg_is_disable_for_freq with
wlan_reg_is_disable_for_pwrmode.

Change-Id: Id18e48e27eb118945d56205797882874eb552153
CRs-Fixed: 3145764
2022-10-01 11:35:16 -07:00
Jeff Johnson
1e348b3026 qcacld-3.0: Remove calls to qdf_exit_thread()
Since Linux Kernel commit 63706172f332 ("kthreads: rework
kthread_stop()"), made in 2009 in Linux Kernel v2.6.31-rc1, it has not
been necessary for kernel threads to call do_exit(). Since we do not
support kernels earlier than that, remove the calls to
qdf_exit_thread(), the abstraction function for do_exit().

See Change-Id I22f27692fa8766df080630b9b0640c259285557c for more
information on why this call is being removed.

Change-Id: I5fa0e404e782edc04034bef8412acd0ca2f83097
CRs-Fixed: 3300457
2022-10-01 11:35:11 -07:00
Sheenam Monga
dca999a564 qcacld-3.0: Add feature flag to support SR
Add WLAN_FEATURE_SR to enable/disable
Spatial Reuse support which is futher
dependent on 11AX support.

Change-Id: Iaa6f2a50c073eb279f967b6820bf5551bf100e3f
CRs-Fixed: 3301884
2022-10-01 11:35:06 -07:00
Madan Koyyalamudi
36f3ff4ee0 Release 5.2.1.39K
Release 5.2.1.39K

Change-Id: Ib9686c4e50b3944c1d263a1cdb35fd1b1b5be2dd
CRs-Fixed: 774533
2022-10-01 09:47:16 -07:00
Deeksha Gupta
6e213a4b81 qcacld-3.0: Allocate dynamic memory for Multi link IE
Currently, In case of auth frame driver is allocating static memory of
size 255 bytes to the MLO ie buffer. In some case, MLO ie buffer can
be more than 255 which will lead to out-of-bounds access.

Fix is, based on the mlo_ie_len, allocate dynamic memory to MLO ie buffer.

Change-Id: Ib97e898ff7557e3c23a95da5a1c25e13d710700c
CRs-Fixed: 3303129
2022-10-01 09:47:15 -07:00
Madan Koyyalamudi
b2d8315d39 Release 5.2.1.39J
Release 5.2.1.39J

Change-Id: I8f9937e1710bb601ba71b70da27c397da5a39c89
CRs-Fixed: 774533
2022-09-30 11:20:59 -07:00
Liangwei Dong
d90e41b18c qcacld-3.0: Set link frequency to partner info
Update channel frequency to partner infor from scan entry.
And correct debug print to show correct channel frequency value.

Change-Id: I3fc3a04b3ef0a4e627e724ad88c5038d35cd8e4a
CRs-Fixed: 3303855
2022-09-30 11:20:59 -07:00
Madan Koyyalamudi
d9b93dc575 Release 5.2.1.39I
Release 5.2.1.39I

Change-Id: I413e827625f47dcf6c3e1ba6394dfdcb810098c9
CRs-Fixed: 774533
2022-09-30 09:34:35 -07:00
Divyajyothi Goparaju
c4a1e00afb qcacld-3.0: Add STT field in firmware version
Currently as part of QCA_NL80211_VENDOR_SUBCMD_GET_WIFI_INFO
vendor command host is providing firmware version
Add extra field of STT info along with firmware version.

Change-Id: I6fe7a18fa29fb0652dc09e71f25263f9cc9b3db7
CRs-Fixed: 3302243
2022-09-30 09:34:35 -07:00
Madan Koyyalamudi
606129cfd3 Release 5.2.1.39H
Release 5.2.1.39H

Change-Id: Ica02b4173986fcb940d65a4b61ff4218bcb7ce70
CRs-Fixed: 774533
2022-09-30 07:48:56 -07:00
Pragaspathi Thilagaraj
34600ce17a qcacld-3.0: Update wifi_pos_vdev_delete_all_ranging_peers_cb call
Update wifi_pos_vdev_delete_all_ranging_peers_cb call to call from
rx_ops instead of wifi pos tx ops.

Change-Id: Ic62d4a733ad3ea2e0064215e94e52b1444fcc4ec
CRs-Fixed: 3298483
2022-09-30 07:48:56 -07:00
Madan Koyyalamudi
eee001e3ac Release 5.2.1.39G
Release 5.2.1.39G

Change-Id: I4b19445d9f189499a6d5653a5753a684dba9f620
CRs-Fixed: 774533
2022-09-30 06:07:38 -07:00
Amit Mehta
7e37deb423 qcacld-3.0: Move CLD_PM_QOS feature under DP_BUS_BANDWIDTH
Currently WLAN_CLD_PM_QOS feature is enabled irrespective of
WLAN_FEATURE_DP_BUS_BANDWIDTH. But WLAN_CLD_PM_QOS feature
depends upon WLAN_FEATURE_DP_BUS_BANDWIDTH, which can result
in compilation issues in WLAN_FEATURE_DP_BUS_BANDWIDTH feature
disable case. So to fix the issue move WLAN_CLD_PM_QOS feature
enable under WLAN_FEATURE_DP_BUS_BANDWIDTH check.

Change-Id: I49f02e259fd16dbe54674b041f2ded8237c1f679
CRs-Fixed: 3292453
2022-09-30 06:07:38 -07:00
Madan Koyyalamudi
9aadb34a13 Release 5.2.1.39F
Release 5.2.1.39F

Change-Id: Iab0262c356967db0e2f25bf85c1c5a0eca3b4262
CRs-Fixed: 774533
2022-09-29 18:45:58 -07:00
sandhu
27a7d9060f qcacld-3.0: fix compilation issue
fix compilation issue by removing stdarg.h and include qdf_types.h

Change-Id: I30ae0aed3fc28c3b9db8b2ce4450211e102b06fa
CRs-Fixed: 3295173
2022-09-29 18:45:58 -07:00
Madan Koyyalamudi
e929eb7e1b Release 5.2.1.39E
Release 5.2.1.39E

Change-Id: I6cee9c423835b1eec8b26470cbdd427f6f8f0478
CRs-Fixed: 774533
2022-09-29 14:28:29 -07:00
Liangwei Dong
b15019d221 qcacld-3.0: Add API to check all sta link are disconnected
Add API policy_mgr_is_mlo_sta_disconnected to check all STA
in mlo dev are disconnected. If any link is associated
the API will return false.

Change-Id: I2845e81b25b4dabe5cd52e80d230979ce44e9994
CRs-Fixed: 3302791
2022-09-29 14:28:28 -07:00
Madan Koyyalamudi
d67e06aeee Release 5.2.1.39D
Release 5.2.1.39D

Change-Id: Iecb8500ba0e924ffafad2921af7d1720f93cf604
CRs-Fixed: 774533
2022-09-29 12:42:30 -07:00
Arun Kumar Khandavalli
eb71eaa920 qcacld-3.0: Return success if underlying target is not supporting sbs
Return success instead of not supported when the underlying hardware
is not supporting SBS

Change-Id: I3bb890ca2e8f096a918e2e718d44980ccdf53147
CRs-Fixed: 3300183
2022-09-29 12:42:29 -07:00
Madan Koyyalamudi
80457d44ad Release 5.2.1.39C
Release 5.2.1.39C

Change-Id: I7b62091fdcf4d0378ae1362abf00e35872795134
CRs-Fixed: 774533
2022-09-29 10:59:04 -07:00
Yu Wang
4b57abb9bf qcacld-3.0: correct return value of __wlan_hdd_bus_suspend
Return OS error code instead of QDF error code.

Change-Id: I9d0fd8586c78b8e8210b27bfc8ac13812f420e6a
CRs-Fixed: 3302703
2022-09-29 10:59:03 -07:00
Madan Koyyalamudi
430aa36e7a Release 5.2.1.39B
Release 5.2.1.39B

Change-Id: Ia17064db8b8f3da5d6b62e398ec6fea0cb5b3298
CRs-Fixed: 774533
2022-09-29 09:17:51 -07:00
Sandeep Singh
6652edebb6 qcacld-3.0: Update soc info parameters to get fw build id
Update soc info parameters to get fw build id from
platform driver.

Change-Id: Ie6ae346a06c86f6b3b72638ac8a2efa9e5118170
CRs-Fixed: 3299395
2022-09-29 09:17:51 -07:00
Madan Koyyalamudi
7ceb4a9df4 Release 5.2.1.39A
Release 5.2.1.39A

Change-Id: Id68b671ca3d3d067a5081258c67abc049900e26a
CRs-Fixed: 774533
2022-09-29 07:41:31 -07:00