Commit Graph

26243 Commits

Author SHA1 Message Date
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
Madan Koyyalamudi
71e0ec2a46 Release 5.2.1.25G
Release 5.2.1.25G

Change-Id: Idc872ae5231b99933115862e3a15167c060b67fa
CRs-Fixed: 774533
2022-06-15 20:48:41 -07:00
Srinivas Dasari
7c1083a4ba qcacld-3.0: Enable roaming on both STAs in primary iface usecase
set_primary_vdev usecase in STA+STA concurrency is to use that
interface(e.g. wlan0) over the other interface(i.e. wlan1) for
data transfer.
Non-primary vdev use case is to check the quality of that link
and decide if data can be switched to it and make it primary.
It may get disabled if it's not going to become primary STA after
measuring the link quality for sometime or with few APs.

Enable roaming on non-primary vdev also to find better AP.

Change-Id: I3205f1ee1b7da4aa813955308730949ccc70941f
CRs-Fixed: 3219633
2022-06-15 20:48:41 -07:00
Madan Koyyalamudi
5691619e21 Release 5.2.1.25F
Release 5.2.1.25F

Change-Id: I1a65655f53d6683d676208802558ab5b924abbe1
CRs-Fixed: 774533
2022-06-15 17:05:22 -07:00
Srinivas Dasari
6ec8d8b91e qcacld-3.0: Reenable link upon STA disconnect in STA+STA case
Link gets disabled when a secondary STA is connected and if it's
causing MCC with one of the links. Once the secondary STA is
disconnected, this link can be re-enabled.

Change-Id: I5b5f885c103d5fb5611c32422c26112b336c97ec
CRs-Fixed: 3219632
2022-06-15 17:05:21 -07:00
Srinivas Dasari
473761cd46 qcacld-3.0: Disable link upon second STA connect
When an ML STA connection exists with more than one link and if
secondary STA connection happened, check if it's causing MCC.
Disable the link that is causing MCC with the new station.

Change-Id: If85da9dd778791c1a5d1a658b97942c5277c5429
CRs-Fixed: 3219631
2022-06-15 17:05:16 -07:00
Srinivas Dasari
25effcdd77 qcacld-3.0: Allow 2nd STA connect on any channel when ML STA exists
When an ML STA connection exists with more than one link and if
another STA connection is attempted, allow it. Disable the link
causing MCC with the new station after successful connection.
If there is only one link, reject the second STA connection.

Change-Id: I3cd95e0b425f5e1f96d75f226b058668f030151f
CRs-Fixed: 3218700
2022-06-15 17:05:09 -07:00
Aravind Kishore Sukla
d6baf9cded qcacld-3.0: Update wiphy max_num_akms_connect variable
Update wiphy->max_num_akms_connect to wiphy->max_num_akm_suites,
based on the upstream kernel change.

Change-Id: I54455b1d3fc162ddea5a0f9380f66a4a06236076
CRs-Fixed: 3214543
2022-06-15 17:05:03 -07:00
Madan Koyyalamudi
f06c46d614 Release 5.2.1.25E
Release 5.2.1.25E

Change-Id: I09451251a186edc596e57d51de34e7673ab56d35
CRs-Fixed: 774533
2022-06-15 13:54:27 -07:00
Jyoti Kumari
e4241564f8 qcacld-3.0: Add support for new ini param RoamScan_SecondTimer
Add support for new ini param RoamScan_SecondTimer. This param
is similar to the existing roam_scan_inactivity_time but unit
change

Change-Id: I65c7f88b95d102d9101d8dd59c662650706b247d
CRs-Fixed: 3015947
2022-06-15 13:54:27 -07:00
Jyoti Kumari
078acbe78e qcacld-3.0: Add support for new ini param RoamScan_FirstTimer
Add support for new ini param RoamScan_FirstTimer. This param
is similar to the existing gEmptyScanRefreshPeriod but units
change

Change-Id: If250ba41d71ef20c7365af2c90550b3b575d285c
CRs-Fixed: 3016232
2022-06-15 13:54:21 -07:00
Madan Koyyalamudi
009da9e836 Release 5.2.1.25D
Release 5.2.1.25D

Change-Id: I680f1c72ceffb53252373ce421505af3c49d730e
CRs-Fixed: 774533
2022-06-15 11:08:45 -07:00
Aditya Kodukula
e1e3d36bdb qcacld-3.0: Fix memory leak of osif_request
The memory allocated for osif_request in wlan_hdd_send_ll_stats_req
is not properly freed and to fix this memory leak, free the memory by
calling osif_request_put() before returning.

Change-Id: I8c60d7d262f7f3ef4a40a1ff272da2516f2d581e
CRs-Fixed: 3220876
2022-06-15 11:08:45 -07:00
Srinivas Dasari
70e98be7ab qcacld-3.0: Don't skip RSO stop command if roaming is enabled
Currently, roaming state machine relies on the disconnect
sequence where link vdev gets disconnected first and then
assoc vdev. RSO stop is sent as part of link disconnection
and skipped for assoc vdev disconnection as the roaming
state machine is per ML than per link.
If link vdev connection hasn't happened due to some
reason (e.g. link not available in scan while connect, single link
ML connection), RSO stop command is not sent to firmware due
dependency on above sequence.
Check roam state while processing assoc vdev disconnect and send
RSO stop command to firmware if it's in enabled state to cleanup
the RSO state machine in firmware.

Change-Id: If3e9a579c0f3da27a337fbbffcaf0beb580bd8bd
CRs-Fixed: 3215155
2022-06-15 11:08:40 -07:00
Amruta Kulkarni
c4d1f8e948 qcacld-3.0: Generate link specific Probe response
Add support to generate link specific probe response
and add to the scan database.

Change-Id: I30a68df5496bf3e81b4fe71734253555512b82ea
CRs-Fixed: 3158761
2022-06-15 11:08:33 -07:00
Madan Koyyalamudi
d88415f274 Release 5.2.1.25C
Release 5.2.1.25C

Change-Id: I08c21eefa0d8d4ac7231c47a3b209f8390ba5ba0
CRs-Fixed: 774533
2022-06-14 17:51:50 -07:00
Rakesh Pillai
3391f44cc0 qcacld-3.0: Enable FW logging over CE7 feature for KIWI
Enable the feature flag for FW logging via CE7, for
KIWI target.

Change-Id: I0996c66c107daa97e3e78b713dcdd32af283caa0
CRs-Fixed: 3219447
2022-06-14 17:51:49 -07:00
Madan Koyyalamudi
c5dbf129ab Release 5.2.1.25B
Release 5.2.1.25B

Change-Id: I746b4a1644b52bfc69df53e5bd353a1053d9f689
CRs-Fixed: 774533
2022-06-14 15:06:18 -07:00
Sheenam Monga
56cde67530 qcacld-3.0: Add handling to disable vdev for miracast
Add handling to disable second vdev of mac if miracast
is set for one vdev. In case high throughput or low latency
is required for particular vdev then another vdev on same
mac should be disabled, if present in MCC.

Change-Id: I36cc19f442130b098c4a02ec0ebcf69b89dd2a3c
CRs-Fixed: 3219512
2022-06-14 15:06:17 -07:00
Madan Koyyalamudi
f18f044e74 Release 5.2.1.25A
Release 5.2.1.25A

Change-Id: Ia85613c6d91c2ed08a5b2b02e448ff884d03e117
CRs-Fixed: 774533
2022-06-14 09:31:22 -07:00
Jyoti Kumari
f3c859ae04 qcacld-3.0: Validate peer before sending to serialization queue
Consider a below case
1. SAP received south bound disconnect command
2. At same time, SAP CSA to DFS channel happened
   and thus peers are deleted
3. Later same peer got re-added and south bound
   disconnect command becomes active for same peer

When SAP receives south bound disconnect req, then driver will
post WLAN_SER_CMD_WM_STATUS_CHANGE(eWNI_SME_DEAUTH_IND/
eWNI_SME_DISASSOC_IND) command to schedular thread. After posting
to schedular thread, the command will wait in SME message queue.
During this time, SAP CSA to DFS channel happened. Driver will
post CSA to schedular thread and it will wait in PE message
queue.
Since PE message queue has higher priority than SME message queue
CSA will process first. As part of CSA, driver will delete all
peer including sta hash entry.
After CSA, south bound disconnect command got queue to
serialization and same peer got re-added again.
When south bound disconnect command becomes active, the states
will not be proper (as for old peer, disassocTrigger will be
eLIM_PEER_ENTITY_DISASSOC/eLIM_PEER_ENTITY_DEAUTH and for new
peer disassocTrigger will be eLIM_HOST_DISASSOC/eLIM_HOST_DEAUTH)
and thus response to CSR(old peer: eWNI_SME_DISCONNECT_DONE_IND,
new peer: eWNI_SME_DISASSOC_RSP) will not be proper.
Due to this south bound disconnect command will not remove from
active queue which leads to active command timeout.

As part of fix, validate peer before sending to serialization
to avoid queueing the cmd if peer is already deleted.

Change-Id: I099b4b8e85ea8cfd24bcaec0add3c6f1fcaf8b11
CRs-Fixed: 3210877
2022-06-14 09:31:22 -07:00
Madan Koyyalamudi
7ac35e2f2e Release 5.2.1.25
Release 5.2.1.25

Change-Id: I11b627b70d427b0884347f170bcce8c77ef8a15e
CRs-Fixed: 774533
2022-06-14 01:36:57 -07:00
Mohit Khanna
37c6a523a0 qcacld-3.0: Enable notify-frame feature in FW
Enable bits in WMI_INIT command to let the FW know about host's
capability to support notify frame feature. If the feature is enabled,
host can mark certain TX frames as "notify frames" for hardware and they
need not be sent to FW. FW depends on this capability exchange to decide
whether to install HW rules for frames to be sent to HW.

Change-Id: I53b729acc938bc5877de5a872632dd9a2d58845a
CRs-Fixed: 3210693
2022-06-14 01:36:57 -07:00
Madan Koyyalamudi
68553f7928 Release 5.2.1.24Z
Release 5.2.1.24Z

Change-Id: I4af1e5ab115221bd90147342aaeed45d060978fd
CRs-Fixed: 774533
2022-06-13 17:49:42 -07:00
Sheenam Monga
8076b56e37 qcacld-3.0: Add handling for four port connection
Add support to handle 2 sap and 1 ml sta link.
Currently, get pcl fails for fourth connection when
2 sap link and 1 ml sta link is present due to which
fourth connection is not allowed as pcl len is becoming 0.

Fix is to add handling for fourth connection when existing
concurrency is P2P/SAP + P2P+SAP + 1 ML STA link.

Change-Id: Ief969018da14096f758fea4bd06d17e7e8d039b7
CRs-Fixed: 3219328
2022-06-13 17:49:42 -07:00
Madan Koyyalamudi
c560d12988 Release 5.2.1.24Y
Release 5.2.1.24Y

Change-Id: Ibf240f68423042111cadd68efe1e83bb74c68571
CRs-Fixed: 774533
2022-06-13 15:06:26 -07:00
Rahul Gusain
bfc2c02560 qcacld-3.0: Remove the dependency on NDI name
Currently in driver, NAN Data Interface can be created with
only name "aware_data" which creates dependency on interface name.

To remove the dependency, the interface is created now by name
provided by Wifi-HAL.

For this, interface is created in STA mode with name provided by
WiFi-HAl. While processing  vendor cmd QCA_NL80211_VENDOR_SUBCMD_NDP,
given ifname is searched in adapter list and mode is changed to NDI.

CRs-Fixed: 3196179
Change-Id: I62dd512f8a7de4c69a53babf3112942d348bf3b6
2022-06-13 15:06:26 -07:00