Commit Graph

26269 Commits

Author SHA1 Message Date
Madan Koyyalamudi
f261a89b11 Release 5.2.1.26A
Release 5.2.1.26A

Change-Id: I051ceca30098f6a4672d40048720cfc7107fffcb
CRs-Fixed: 774533
2022-06-23 14:35:56 -07:00
Aditya Kodukula
1bb485a7fa qcacld-3.0: Add logic for userspace to know WLAN state
As part of protected dynamic interface control feature,
if WiFi is disabled by user space, WLAN HW is also disabled.
If the device gets rebooted, then user space might not know
the current WLAN state. Add logic so that, user space can
always know the current WLAN state.

Change-Id: I00c913dbaec2031c7b3505fafd11471087a2c623
CRs-Fixed: 3225969
2022-06-23 14:35:56 -07:00
Manikandan Mohan
4df1739060 qcacld-3.0: Add PLD API to enable WLAN HW
WLAN HW can be disabled at boot and thus wlan boot activities will be
deferred. Add PLD API to start wlan boot time sequence in platform
driver after HW is enabled.

Change-Id: I9dcdc9944b7f71dc3488a20719ca36c00ae62a4e
CRs-Fixed: 3222032
2022-06-23 14:35:50 -07:00
Madan Koyyalamudi
dc07cf84c1 Release 5.2.1.26
Release 5.2.1.26

Change-Id: I39b9f8e74b04370132173c00f22c84cc601c5919
CRs-Fixed: 774533
2022-06-23 12:57:59 -07:00
Divyajyothi Goparaju
8515cfbc5a qcacld-3.0: Add bmiss timeout vdev set params
Currently host sends first, final bmiss count to fw

Add support for bmiss timeout(in seconds)
during wakeup as well as sleep state to fw.

Change-Id: Id748fabdff94f5fa3038bcea1b1cac733ac2dbe1
CRs-Fixed: 3224106
2022-06-23 12:57:59 -07:00
Madan Koyyalamudi
3c29f9b31f Release 5.2.1.25Z
Release 5.2.1.25Z

Change-Id: I7c4d49dd7229191acf2fa4f92d1e3036bfeb37f6
CRs-Fixed: 774533
2022-06-23 08:50:45 -07:00
abhinav kumar
4a19256692 qcacld-3.0: Add vendor handoff service bit caps support
Add vendor handoff service bit capability support
WLAN_SOC_VENDOR_HANDOFF_CONTROL to check whether the FW
supports vendor handoff feature or not.

Change-Id: Ifdf541761716df9ca5b764c05714a8b501642354
CRs-Fixed: 3224573
2022-06-23 08:50:44 -07:00
Madan Koyyalamudi
0216c8b79a Release 5.2.1.25Y
Release 5.2.1.25Y

Change-Id: I1619b04d094ba6aecc9f2cace4e3d733ec6b6a28
CRs-Fixed: 774533
2022-06-23 07:03:36 -07:00
Amit Mehta
58a1587cdb qcacld-3.0: Make changes to use QDF status and type
Make changes in packet logging to send QDF status
and type instead of packet log type and status.

Change-Id: I8c1d04a78272159f7d34d6034c41d52e1e44b61d
CRs-Fixed: 3224876
2022-06-23 07:03:36 -07:00
Vinod Kumar Myadam
a24510696e qcacld-3.0: Add flag CONNECTIVITY_PKTLOG
Add new flag CONNECTIVITY_PKTLOG to make independent of
FEATURE_PKTLOG and REMOVE_PKT_LOG for packet logging.

This is because 32 tx/rx pkt logging is connection related
and this feature is independent of pkt log feature. Here
driver will send first 32 tx/rx pkts consisting of mgmt
and data pkts to userspace which can be used for debugging

Change-Id: If987ac8b6cb10b464a4ec2ace1c55215c0aa3614
CRs-Fixed: 3222970
2022-06-23 07:03:31 -07:00
Madan Koyyalamudi
e769185d31 Release 5.2.1.25X
Release 5.2.1.25X

Change-Id: I5cee06417be2881a147239da779c90251b2766a6
CRs-Fixed: 774533
2022-06-23 05:17:06 -07:00
Jayachandran Sreekumaran
ae58485594 qcacld-3.0: policy_mgr api for same mac vdev
Add policy_mgr api for getting concurrent vdev running on same mac.

Change-Id: I77437cb55cead1358dab4b538eae7477688d49bc
CRs-Fixed: 3213430
2022-06-23 05:17:05 -07:00
Jayachandran Sreekumaran
b7fe086a66 qcacld-3.0: Add spatial reuse IE
Add spatial reuse IE

Change-Id: I84f6963dff46283599ed1d9cd714b44a573a8c4c
CRs-Fixed: 3213416
2022-06-23 05:17:00 -07:00
Madan Koyyalamudi
64d47b8e70 Release 5.2.1.25W
Release 5.2.1.25W

Change-Id: I27a4aee8b2b122d64fe9743965ca23cd60199560
CRs-Fixed: 774533
2022-06-23 01:58:43 -07:00
Amit Mehta
7247a495d5 qcacld-3.0: Move Use skb_orphan in TX to DP component
Move change Ic8dfdb09c73a1071678612430fff2f23180ad336
Use skb_orphan instead of skb_unshare in TX to DP component

Change-Id: I0372a5c58f96a40d81a6670f507870dbfac63170
CRs-Fixed: 3226184
2022-06-23 01:58:43 -07:00
Madan Koyyalamudi
0852d9a8a6 Release 5.2.1.25V
Release 5.2.1.25V

Change-Id: I8172c14abe53702ca408e88ec84e3fd028cce511
CRs-Fixed: 774533
2022-06-22 22:00:16 -07:00
Bing Sun
d9ba91f99f qcacld-3.0: Send disassoc frame if primary channel is punctured
If primary channel is punctured, set assoc_cnf.resultCode as
eSIR_SME_INVALID_ASSOC_RSP_RXED, set assoc_cnf.protStatusCode as
STATUS_UNSPECIFIED_FAILURE and send disassoc frame.

Otherwise sme layer still considers it as a valid connection.

Change-Id: Ia36ddfba66febd4c9ddcc5e06cd6acd5f27a93bb
CRs-Fixed: 3224968
2022-06-22 22:00:15 -07:00
Liangwei Dong
198a53016d qcacld-3.0: Remove vdev "active" check for get operation chan
The API wlan_get_operation_chan_freq will return 0 if
vdev is starting, which is unexpected.
Fix by remove vdev "active" check for get operation chan API.

Change-Id: I12999a68aa74da931ed847b0b696ef49325daa1d
CRs-Fixed: 3225525
2022-06-22 22:00:10 -07:00
Madan Koyyalamudi
896724d84c Release 5.2.1.25U
Release 5.2.1.25U

Change-Id: I89c4b970a2cda70cdcae3ea14caf3052edd87707
CRs-Fixed: 774533
2022-06-22 15:06:54 -07:00
sheenam monga
0f45c52a6a qcacld-3.0: Add PM_STA_SAP_24_STA_5_DBS in fourth con table
Currently PM_STA_SAP_24_STA_5_DBS is not added in fourth connection
pcl table, due to which pcl is becoming 0 in case of P2P on 2 GHZ doing
MCC/SCC with one STA 2 GHZ link and one STA link on 5 GHZ in DBS.

Fix is to make PM_STA_SAP_24_STA_5_DBS same as PM_24_SCC_MCC_PLUS_5_DBS,
so that next/fourth connection can come up on PM_SCC_ON_5_CH_5G.

Change-Id: I4b4c346a998c24ab090307982f1ef6da90bb507c
CRs-Fixed: 3225380
2022-06-22 15:06:53 -07:00
Madan Koyyalamudi
dabe79fb67 Release 5.2.1.25T
Release 5.2.1.25T

Change-Id: Ica03a2d8ae6e89f861907727902bd3edcdc55507
CRs-Fixed: 774533
2022-06-22 07:14:27 -07:00
sandhu
92bdb49528 qcacld-3.0: Add lim handle dot11n mode add 11BE support
Add lim handle dot11n mode add 11BE support.

Change-Id: Id82bcb27670b44220ac9380a1af782e5ecf44468
CRs-Fixed: 3216748
2022-06-22 07:14:26 -07:00
Aditya Kodukula
a9c168a104 qcacld-3.0: Update correct vdev id for link stats
In the current driver implementation, the vdev_id sent by FW
is ignored by link stats peer and radio event handler. It leads
to vdev_id mismatch in wlan_hdd_send_ll_stats_req and ultimately
causes LL_STATS timeout. To void this issue, update correct vdev_id
sent by FW in the link stats peer and radio event handler.

Change-Id: I283f8a8f4f4d4b3018072ecc0f19d55cf47d03eb
CRs-Fixed: 3224704
2022-06-22 07:14:21 -07:00
Madan Koyyalamudi
4d3841d604 Release 5.2.1.25S
Release 5.2.1.25S

Change-Id: I1d7fa4c46ca5b6cf0c5366f4126bce5dddd3e1ea
CRs-Fixed: 774533
2022-06-22 05:15:23 -07:00
Pragaspathi Thilagaraj
ea0b8725af qcacld-3.0: Fix invalid PMK sent for FILS-FT roam
For FT-FILS AKM, 1st connection to an AP in a realm takes place
with Full EAP. 2nd connection to any AP in the realm does the
FT initial mobility domain association with authentication
algorithm as FILS. Subsequent connection/roam happens with
FT protocol.

fils_ft key is derived during 2nd connection. But driver
copies from fils_ft buffer after 1st connection is complete
to fill the PMK in the 11r TLV. This causes the pmk len = 0
is sent in the 11r TLV.

Fill the initial connection PMK in RSO command after 1st
connection. From 2nd connection onwards fill the fils_ft.

Change-Id: I52399fc7bd3526a11e29c54a3ca13d43bbaf6b80
CRs-Fixed: 3197226
2022-06-22 05:15:23 -07:00
abhinav kumar
6f6ef983eb qcacld-3.0: Send WLM config command for STA mode only
Currently, Host starts a 1-sec timer (WLAN_WAIT_WLM_LATENCY_LEVEL) and
sends WMI_WLM_CONFIG_CMDID to FW for non-STA device mode also. But
FW replies back with WMI_VDEV_LATENCY_LEVEL_EVENTID to report latency
level honored by FW only if HOST sends WMI_WLM_CONFIG_CMDID for STA
mode.

If host sends WMI_WLM_CONFIG_CMDID to FW for non-STA device mode,
host always observes WLAN_WAIT_WLM_LATENCY_LEVEL timeout.

Fix is to allow host to send WMI_WLM_CONFIG_CMDID to FW only if
adapter device mode is STA.

Change-Id: I3d9f588611eff0493ba3fffd05666da64c7f5da2
CRs-Fixed: 3221831
2022-06-22 05:15:17 -07:00
Madan Koyyalamudi
fa03eb4d43 Release 5.2.1.25R
Release 5.2.1.25R

Change-Id: I3f8286a1fedb22b5f1e6c01f6e998a2b0e128f58
CRs-Fixed: 774533
2022-06-22 02:50:25 -07:00
Jyoti Kumari
9ba22e2bda qcacld-3.0: Add support for new ini param RoamScan_InactiveTimer
Add support for new ini param RoamScan_InactiveTimer. This param
is similar to the existing roam_scan_period_after_inactivity but
unit change

Change-Id: I0e803decaba30fa3f2dfcd95dc62dc71aa1cb3cd
CRs-Fixed: 3016893
2022-06-22 02:50:25 -07:00
Madan Koyyalamudi
41a0f7f264 Release 5.2.1.25Q
Release 5.2.1.25Q

Change-Id: Iffa7e6c647e22fd0bfadceb71a3df10efe567c92
CRs-Fixed: 774533
2022-06-22 01:00:56 -07:00
abhinav kumar
fbc86e2752 qcacld-3.0: Remove GET and SET ROAMSCANCONTROL driver cmd
GETROAMSCANCONTROL and SETROAMSCANCONTROL driver commands
will be deprecated from Android 13. So remove all logic
related to these driver commands in the host.

Change-Id: I05fafbec2b3f3b798c8c89d0c33b1dbf5c1b45d4
CRs-Fixed: 3225052
2022-06-22 01:00:56 -07:00
Madan Koyyalamudi
d4e577d66c Release 5.2.1.25P
Release 5.2.1.25P

Change-Id: I458e7fe05e770bcff7977d0cf9c8bfb77b4a802f
CRs-Fixed: 774533
2022-06-21 22:55:30 -07:00
Gururaj Pandurangi
55f3afd6bf qcacld-3.0: Add cfg item to enable eMLSR mode
Add cfg item to enable/disable eMLSR mode for ML STA
under 802.11be op mode. The cfg value 0 corresponds
to default MLMR mode, 1 corresponds to eMLSR mode.

Change-Id: Ib02516aac8ac44aee6b40a572a9f7469b10d0ac2
CRs-Fixed: 3184745
2022-06-21 22:55:29 -07:00
Madan Koyyalamudi
da89b752bc Release 5.2.1.25O
Release 5.2.1.25O

Change-Id: If05f8834ac242fb8baa5f0fc293fee469ccc796a
CRs-Fixed: 774533
2022-06-21 19:11:43 -07:00
Jyoti Kumari
2df32ba66e qcacld-3.0: Add support for new ini param RoamCU_MonitorTime
Add support for new ini param RoamCU_MonitorTime. This param
is similar to the existing bss_load_sample_time but unit
change

Change-Id: Iae05a9568aa29a5f6a9cfc771e66184e51963ab6
CRs-Fixed: 3015967
2022-06-21 19:11:43 -07:00
Madan Koyyalamudi
2b4d47f138 Release 5.2.1.25N
Release 5.2.1.25N

Change-Id: Id81af185c5906e4afcaeaf3f0f241dce35b43d4a
CRs-Fixed: 774533
2022-06-21 05:18:01 -07:00
Jinwei Chen
7b9cea028e qcacld-3.0: enable UL delay report feature for KIWI
enable UL delay report feature for KIWI

Change-Id: I525760e87103d467fb3ac8e07a53355e63cf6ea3
CRs-Fixed: 3222248
2022-06-21 05:18:01 -07:00
Madan Koyyalamudi
fddd8c2733 Release 5.2.1.25M
Release 5.2.1.25M

Change-Id: I3b3b7522c13aa33417de580902de17ed7abbab60
CRs-Fixed: 774533
2022-06-18 23:11:05 -07:00
Ananya Gupta
346a64fc9c qcacld-3.0: Register PM QOS and bus suspend module
With restructuring in hif runtime pm module, modules are
required to register with the hif runtime pm module. Also,
link states are depreciated.
This change registers PM QOS and bus suspend modules which
use runtime PM module and replace link state with resuming
link up state in PMO resume.

Change-Id: I0df48e3d31a1fb0f03faaa0617b48937c9bc224b
CRs-Fixed: 3169425
2022-06-18 23:11:04 -07:00
Madan Koyyalamudi
f2b62d102b Release 5.2.1.25L
Release 5.2.1.25L

Change-Id: I81dd894d414f936e207bdeb283c5bbd1b1c6e9c6
CRs-Fixed: 774533
2022-06-18 19:12:08 -07:00
Jianmin Zhu
91d5304a24 qcacld-3.0: Allow eht in WMI_SCAN_CHAN_LIST_CMDID
Set WMI_CHAN_FLAG_ALLOW_EHT in WMI_SCAN_CHAN_LIST_CMDID to FW.

Change-Id: I72c050aff6d73d099cf3e19fd918598709e765fc
CRs-Fixed: 3221435
2022-06-18 19:12:08 -07:00
Madan Koyyalamudi
40acfc753a Release 5.2.1.25K
Release 5.2.1.25K

Change-Id: I42eb2951e5582284834dcb97e7250496891f0388
CRs-Fixed: 774533
2022-06-17 03:43:03 -07:00
Yu Ouyang
a2a82c280d qcacld-3.0: Idle shutdown in suspend prepare
To support shutdown WLAN when system goes into suspend, add idle shutdown
when got PM_SUSPEND_PREPARE/PM_HIBERNATION_PREPARE.

Before suspend/shutdown, user space should stop adapter. And after resume,
user space should restart adapter. This can ensure user and kernel space
to sync adapter's state.

Change-Id: Id1f5172a7fc1792c83c8c1c20127de815f7e4980
CRs-Fixed: 3208931
2022-06-17 03:43:03 -07:00
Madan Koyyalamudi
f4dfc63210 Release 5.2.1.25J
Release 5.2.1.25J

Change-Id: I395672ba2acb8371736d3189d6a7f2f36c972e92
CRs-Fixed: 774533
2022-06-16 20:41:52 -07:00
Jianmin Zhu
ebd83215ea qcacld-3.0: Fix memory leakage of osif_request
Fix memory leakage of osif_request in failed case of
hdd_oem_event_handler_cb.

Change-Id: I3de4b74c3d80d2224302776eb11614ef3c175c51
CRs-Fixed: 3222271
2022-06-16 20:41:52 -07:00
Madan Koyyalamudi
323361ddb0 Release 5.2.1.25I
Release 5.2.1.25I

Change-Id: I3e9bc60db07736e1b623aa818a3e6f615c7b3275
CRs-Fixed: 774533
2022-06-16 18:49:42 -07:00
Surya Prakash Sivaraj
19dd97f211 qcacld-3.0: Move user configured SAP frequency to vdev
When MLO SAP is started with two different bands, the 2.4 GHz
link follows the 5GHz and restarts on the same channel
as 5 GHz link.

The user configured frequency for the SAP is cached on the
psoc, therefore during the concurrency check after bringing
up the second connection, 2.4 GHz link considers the new
user configured frequency of 5GHz link and moves to the same
channel.

Save the user configured frequency per vdev to prevent
cross-utilization.

Change-Id: I62f883bf818332bb7d0c838e6ed629a8f2d2f21b
CRs-Fixed: 3209394
2022-06-16 18:49:41 -07:00
David Oladunjoye
5f4f7cf521 qcacld-3.0: pmo: Replace fallthrough comment withattribute
-Wimplicit-fallthrough is being enabled by default. Some compilers
such as clang require the attribute instead of just a fallthrough comment.

Change-Id: If55d68cb76589b39b88d859ea4d9fa6e10246c7e
CRs-Fixed: 3217399
2022-06-16 18:49:36 -07:00
David Oladunjoye
75c1d7c753 qcacld-3.0: umac: Replace fallthrough comment with attribute
-Wimplicit-fallthrough is being enabled by default. Some compilers
such as clang require the attribute instead of just a fallthrough comment.

Change-Id: I7a04c8727121f58a5d6dcd575446c9acedea164b
CRs-Fixed: 3216248
2022-06-16 18:49:30 -07:00
Madan Koyyalamudi
7cac3b649d Release 5.2.1.25H
Release 5.2.1.25H

Change-Id: Ie316bcc57d37d24df0e249af9cee27aa46d04ea0
CRs-Fixed: 774533
2022-06-16 11:52:26 -07:00
Sheenam Monga
15dc5ca2ff qcacld-3.0: Pass ml sta vdev id in link set request
Currently, vdev in link set active request is added
without any check whether it is ml sta vdev or not
due to which may cause issue of empty event for that
particular vdev when sap/p2p vdev is added instead of
ml sta vdev in request.

Fix is to add ml sta vdev in link set request to avoid
mismatch with fw link down and expected vdev down from
host to avoid empty event failure

Change-Id: If99b305c267f094913b8d9ce96a330eed47d0214
CRs-Fixed: 3221818
2022-06-16 11:52:25 -07:00