提交線圖

28738 次程式碼提交

作者 SHA1 備註 日期
Surya Prakash Sivaraj
0c49f87280 qcacld-3.0: Pack Supported channel IE based on range
In current design, each supported channel is packed
individually with range count as 1. This bloats the
size of the supported channel IE.

Instead as an optimization, break the supported channel
list into contiguous range of channels and encode only
the start frequency of the range and count of channels
in that range.

Change-Id: Ic5ba530ee6a8422ffc0c67acb621e76826775fa7
CRs-Fixed: 3467712
2023-04-20 00:15:08 -07:00
Madan Koyyalamudi
8544834544 Release 5.2.1.64B
Release 5.2.1.64B

Change-Id: Ie370979ff0f1fc2cc97a49f3ea3ca00d284672a3
CRs-Fixed: 774533
2023-04-19 22:12:05 -07:00
Surya Prakash Sivaraj
aa653210fc qcacld-3.0: Prevent RTPM during vdev destroy
Prevent RTPM during vdev destroy as part of the
stop adapter. RTPM during vdev destroy leads to
unnecessary wait times for suspend/resume operations.

This delay becomes huge when the overall CPU performance
is bad and leads to PEER DELETE TIMEOUT/VDEV DELETE TIMEOUT.

Change-Id: I5de1b5459fb03a0799d869077c7d30a9043bf3f7
CRs-Fixed: 3463758
2023-04-19 22:12:05 -07:00
David Oladunjoye
a89ab838b2 qcacld-3.0: r-TWT related changes
Need to add support for rTWT feature in host. Host needs to define rTWT
ini, and set rTWT bit in EHT Cap. rTWT ini will allow users to
enable/disable rTWT feature. We define rTWT ini and function to get ini
value. EHT Cap  will advertise rTWT support to peer. To populate EHT Cap
we must validate rTWT is supported in driver. To do this, we check rTWT
and bTWT params.

Changes are as follows.
1) Define rTWT ini
2) Get rTWT ini value
3) Get rTWT support
4) Set rTWT bit in EHT Cap

Change-Id: Id5676c6b7c3d4f48a0010f2e9ae369d9dfa710e9
CRs-Fixed: 3446652
2023-04-19 22:12:00 -07:00
Pragaspathi Thilagaraj
58b0a2bb4a qcacld-3.0: Fix invalid vdev validation in tdls teardown
Fix invalid vdev validation in wlan_tdls_teardown_links_sync()
api.

Change-Id: Ie47797a6fdc1ba9851c6d39f7cdc699afb22b208
CRs-Fixed: 3472182
2023-04-19 22:11:54 -07:00
Madan Koyyalamudi
cb69116068 Release 5.2.1.64A
Release 5.2.1.64A

Change-Id: I861fdaa2665c62476c5585478849f830a3f91b98
CRs-Fixed: 774533
2023-04-19 20:16:07 -07:00
abhinav kumar
38a0fbbf01 qcacld-3.0: Save initial connection ch width in mlme
To process get_cu_for_each_subbw request from upper layer,
host needs to trigger scan for initial connection ch width
on every get_cu request.

Change-Id: I2bbf20c9207f46983b14dcd95bf81f32cfd7c060
CRs-Fixed: 3466958
2023-04-19 20:16:07 -07:00
Surya Prakash Sivaraj
b4da8fd330 qcacld-3.0: Dump per-band HE CAPS
For easier debugging, dump the 5 GHz and 2.4 GHz HE
CAPS extracted from the target.

Change-Id: Iafea2cb9186ad4d52ae2808e4f4b7a98cf8d4b77
CRs-Fixed: 3471653
2023-04-19 20:16:01 -07:00
Jingxiang Ge
3e2b569a81 qcacld-3.0: add ini gActionOUIAuthAssoc6Mbps2GHz
Some AP doesn't honor CCK rate for auth/assoc.
this ini is added to detect specified AP and
send auth/assoc/reassoc(non-offload) with 6 Mbps
rate on 2.4 GHz, then AP will ack to STA.

Change-Id: I8a164471198842368add40ca726420569dd82430
CRs-Fixed: 3412381
2023-04-19 20:15:56 -07:00
Madan Koyyalamudi
25a64b453c Release 5.2.1.64
Release 5.2.1.64

Change-Id: I3391b5ec952c1f5b7533d0c8c5205132aa606701
CRs-Fixed: 774533
2023-04-19 18:11:43 -07:00
Paul Zhang
48a9159efd qcacld-3.0: Initialize variable meta_data
Variable meta_data does not initialize properly in
function lim_handle_frame_genby_mbssid().

Change-Id: Ia842a1e12d9340a6f35bb06eb7e3cbaa8c273c50
CRs-Fixed: 3463362
2023-04-19 18:11:43 -07:00
Paul Zhang
86e99ec175 qcacld-3.0: Release vdev ref count for TDLS
The vdev ref count does not release properly for
WLAN_OSIF_TDLS_ID, it causes driver crash when
rmmod wifi module.

To address this issue, release the vdev ref count
properly for TDLS module.

Change-Id: I9c206f212ff5ba5a362c91d32519bc7903cbec3d
CRs-Fixed: 3470275
2023-04-19 18:11:38 -07:00
Madan Koyyalamudi
41477f0be4 Release 5.2.1.63Z
Release 5.2.1.63Z

Change-Id: I4796c13f8f518a2594326299b62c84703db048ea
CRs-Fixed: 774533
2023-04-19 14:19:49 -07:00
David Oladunjoye
92962bfbaa qcacld-3.0: Remove smps params in pe_session
Currently smps params are stored to pe session and read from it.
Fix is to directly read from mlme cfg and remove pe session params.

Change-Id: I0edd568e505ef80e8e9ef1b8f1938fd01812cb28
CRs-Fixed: 3449560
2023-04-19 14:19:49 -07:00
Madan Koyyalamudi
926f6f9075 Release 5.2.1.63Y
Release 5.2.1.63Y

Change-Id: I8b800e8cb0cc1611746f181b5717b816b4b796c2
CRs-Fixed: 774533
2023-04-19 10:36:32 -07:00
Gururaj Pandurangi
bc5b48f9de qcacld-3.0: Add fixes for peer-level T2LM negotiation
Add the following fixes in case of peer-level tid-to-link
mapping negotiation.
1) Copy peer-level mapping to wlan_prev_t2lm_negotiated_info
from wlan_t2lm_onging_negotiation_info after negotiation
is completed as the former structure is used for mapping
reference.
2) Currently, the Host sends peer-level negotiated mapping
to FW, followed by an action frame response to the AP.
Reverse this order to align with the design flow.

Change-Id: I0e0db95c539cfd9aee27b481683e3e807a1f712e
CRs-Fixed: 3423125
2023-04-19 10:36:31 -07:00
Liangwei Dong
2d1de39605 qcacld-3.0: Enable 4th connection table for MDM
When MLO STA is supported in MDM, driver needs to
use the new PCL table for 4th connection.
Move the existing PCL table under macro MDM_PLATFORM
to support this.

Change-Id: I494e7a8d6ecc0a550027ff7f64de5deb11b987a9
CRs-Fixed: 3467738
2023-04-19 10:36:26 -07:00
Pragaspathi Thilagaraj
7a71e4211e qcacld-3.0: Cleanup few redundant tgt TDLS API
Cleanup redundant TDLS tgt wrapper API's

Change-Id: I8c9bbbdbbdcb26af096038998bc32499dfee7ebb
CRs-Fixed: 3469210
2023-04-19 10:36:20 -07:00
Madan Koyyalamudi
2a63930645 Release 5.2.1.63X
Release 5.2.1.63X

Change-Id: I143ee4b161b8337638780e3fe3b1c64374121942
CRs-Fixed: 774533
2023-04-19 00:01:34 -07:00
Amruta Kulkarni
7eca35c643 qcacld-3.0: Handle t2lm action response frame
Add support to handle t2lm action response frame.

Change-Id: Ia7072d3050f6ee6eb078233c6129e532144740f4
CRs-Fixed: 3468073
2023-04-19 00:01:33 -07:00
Jingxiang Ge
2069b79a16 qcacld-3.0: change mask for gActionOUIDisableDynamicQosNullTxRate
Change mask for OUI as the 2nd byte will change dynamically
for each powerup/powerdown.

Change-Id: Ia742f96956e470fd0c02ae4ee8813f0f84e96556
CRs-Fixed: 3460525
2023-04-19 00:01:26 -07:00
Vinod Kumar Pirla
9a9e93f8d2 qcacld-3.0: Restrict no of conc ML SAP instances to one
Allow a maximum of one ML SAP instance at a time and restrict any
other ML SAP start. The existing code allows secondary ML SAP to
come up if no other concurrent connections are present.

Add the condition to check only SAP mode in the policy manager list
so that other opmodes are not considered.
Allow new ML SAP instance only if no other ML SAP instance exists.

Change-Id: I3ea08b2c8de92f84e288e078a19cac0da261e69e
CRs-Fixed: 3460774
2023-04-19 00:01:19 -07:00
Madan Koyyalamudi
be0dd8695a Release 5.2.1.63W
Release 5.2.1.63W

Change-Id: If2412ad773c09107d59acb6201c60f88ce7a436d
CRs-Fixed: 774533
2023-04-18 22:02:25 -07:00
Ashish Kumar Dhanotiya
f3fedee966 qcacld-3.0: Avoid use of uninitialized variables
In set featureset info function, there is a possibility that host driver
may use uninitialized variables which may lead to unexpected behavior.
To address this issue, initialize the uninitialized variables.

Change-Id: Iaf2fdcf511ceca609c154d2a6e3f412d4f40d0bb
CRs-Fixed: 3434878
2023-04-18 22:02:25 -07:00
Jianmin Zhu
6c0bb852ed qcacld-3.0: Fix SAP vdev MAC different from adapter MAC
When switch wlan0 from STA to SAP mode, single link flag isn't set,
hdd_adapter_is_sl_ml_adapter returned false,
hdd_get_assoc_link_adapter didn’t return SAP adapter,
wrong MAC was copied to vdev in hdd_populate_vdev_create_params.
SAP started with wrong mac addr, which was different from real SAP
adapter mac.

To fix it, for SAP, copy MAC from adapter directly to vdev in
hdd_populate_vdev_create_params.

Change-Id: I5567cb83e4cc7d9f79979c3eea42760dab6c8926
CRs-Fixed: 3458921
2023-04-18 22:02:20 -07:00
Madan Koyyalamudi
8c538faef4 Release 5.2.1.63V
Release 5.2.1.63V

Change-Id: Id985b4b3a69a05643131c830b148219bac0509c5
CRs-Fixed: 774533
2023-04-18 20:04:07 -07:00
Ashish Kumar Dhanotiya
d1a7b462dd qcacld-3.0: Set out psoc as NULL at the end of dsc psoc destroy
Currently host driver sets value of out psoc to NULL once it
assigns value of out_psoc to a local variable. Now if there is
any issue after this assignment, this global out_psoc is not
available for debugging purpose.
To debug some complex issues, set out_psoc to NULL at the end
of the psoc destroy function.

CRs-Fixed: 3469397
Change-Id: I479b0c4aedd77f374d8dff085cfade00a8e5cc5b
2023-04-18 20:04:06 -07:00
Vishal Miskin
d63de10615 qcacld-3.0: Move regular tsf sync prints to debug log level
Move regular tsf sync prints to debug log level

Change-Id: Ieb732fe53fef2a439ef57e05bf15f516b70fed30
CRs-Fixed: 3466978
2023-04-18 20:04:01 -07:00
Madan Koyyalamudi
d3ae1fae3e Release 5.2.1.63U
Release 5.2.1.63U

Change-Id: Ic35557638796a4e4bf1e18b14a2a2ecbaf928e5e
CRs-Fixed: 774533
2023-04-18 00:40:30 -07:00
Mohammed Ahmed
0e1e73b9fe qcacld-3.0: Add 6 GHz to list of emulation scan channels
Current code does not have 6 GHz scan channels for emulation mode.
Fix this by adding 3 channels in the 6 GHz frequency range.

Change-Id: I68eb8068b1972c0ceb4cd744727462a25c52875e
CRs-Fixed: 3461763
2023-04-18 00:40:30 -07:00
Madan Koyyalamudi
c1a745133f Release 5.2.1.63T
Release 5.2.1.63T

Change-Id: I6550403c8d01f9ab6dbdbf4f8ba785f2b830b778
CRs-Fixed: 774533
2023-04-17 21:27:11 -07:00
Aasir Rasheed
4106f93fef qcacld-3.0: Update EHT capability and EHT Operation as per draft 3.0 spec
Update EHT capability and EHT Operation handling as per draft 3.0 spec.

Change-Id: Ie9bdbbb6777cf8dc7616595dff0909168de5fc56
CRs-Fixed: 3457024
2023-04-17 21:27:10 -07:00
Aasir Rasheed
396ffff767 qcacld-3.0: update EHT capabilities IE as per draft 3.0
Update dot11f EHT capabilities IE definitions as per 11be draft 3.0
specification.

Change-Id: Ia63bd7e22aa911292809009b000fe37edb1ccf4d
CRs-Fixed: 3453055
2023-04-17 21:27:05 -07:00
Madan Koyyalamudi
0fa39560f6 Release 5.2.1.63S
Release 5.2.1.63S

Change-Id: Ica9c182060bae788d8d74918ac2022967f4c9ad7
CRs-Fixed: 774533
2023-04-17 17:50:15 -07:00
Srinivas Dasari
b01b3c5e00 qcacld-3.0: Handle eMLSR+NAN concurrency
eMLSR + NAN concurrency is not supported currently, so handle it
as mentioned below
1. eMLSR+NAN: If NAN is coming up when eMLSR is active, disable
   one ML link so that eMLSR gets disabled.
2. NAN+eMLSR: If eMLSR is coming up when NAN is already enabled,
   disable one link so that eMLSR doesn't get enabled.

Also, cleanup the APIs to carry a generic flag to indicate that
a concurrent connection is coming up instead of mode specific flag
as there is no dependency on modes to handle concurrency.

Change-Id: I625f8b18f9d7e991922d22af53f3e8743a3727bd
CRs-Fixed: 3443900
2023-04-17 17:50:14 -07:00
Madan Koyyalamudi
85d310d232 Release 5.2.1.63R
Release 5.2.1.63R

Change-Id: I5979230c139532f19656fc1048e37b0ef78e6242
CRs-Fixed: 774533
2023-04-17 04:34:57 -07:00
Srinivas Dasari
a87a7cde2a qcacld-3.0: Extract all link probe rsps from ML probe rsp
Firmware sends beacon/probe response of the roam candidate to host
through roam_frame_event when it chooses a candidate which needs
SAE authentication to be performed. This is needed as the host
checks if corresponding scan entry is present in the scan db
before starting SAE authentication trigger.
But in MLO roaming case, firmware might send ML probe response
and the scan entry corresponds to re-assoc link might be present
in the per STA profile of the ML probe response.
So, extract all per-STA profiles and add them to scan db.

Also, use this API to extract and add the link specific
ML probe responses for the ML probe response received
in roam sync indication if extraction via roam info fails due
to some reason(currently it may fail if fw roams to a link but
got ML probe rsp from other link as link_info is not
present roam info).

Change-Id: I6c67927732a54568dfe618bdecaca8f37515e203
CRs-Fixed: 3454834
2023-04-17 04:34:57 -07:00
Sandeep Singh
983a90bcfb qcacld-3.0: create .wcn6450 driver folder
Create .wcn6450 driver folder to enable driver compilation
for wcn6450 device.

Change-Id: I838a7e638d47232b647094e064c3c4297be434c3
CRs-Fixed: 3465009
2023-04-17 04:34:49 -07:00
Madan Koyyalamudi
2cdc6e4709 Release 5.2.1.63Q
Release 5.2.1.63Q

Change-Id: I024e12785b08de04b2f92df91ca480bebe472dc5
CRs-Fixed: 774533
2023-04-17 00:42:58 -07:00
Sandeep Singh
055ac95ef2 qcacld-3.0: Pass device info to platform driver for wcn6450
Pass device info to platform driver for wcn6450 which
allows platform driver to load wlan host driver when
platform driver device id and host driver device id
matches.

Change-Id: Ied1ede2f89e20ea8d6b03a4df79f3e99c7f227e6
CRs-Fixed: 3464932
2023-04-17 00:42:57 -07:00
Deeksha Gupta
3ef027a672 qcacld-3.0: Send bridge Address in WMI_WOW_ADD_WAKE_PATTERN_CMDID
Currently, in WMI_WOW_ADD_WAKE_PATTERN_CMDID driver sends only SAP mac
address and pattern_id. So, FW does not have bridge mac address.

To fix it, driver will send bridge mac address and pattern_id along
with SAP mac address and pattern_id.

Change-Id: I3fae9f0383a1ba8c64edfa6cf8518ab9a5604a14
CRs-Fixed: 3456318
2023-04-17 00:42:52 -07:00
Madan Koyyalamudi
d1d9b1e9b8 Release 5.2.1.63P
Release 5.2.1.63P

Change-Id: Ifbeaa35e12115c085c5ac82ac7fa5f8654d75c7b
CRs-Fixed: 774533
2023-04-16 22:35:54 -07:00
Pragaspathi Thilagaraj
023913d070 qcacld-3.0: Cleanup TDLS feature flag
Cleanup TDLS concurrencies feature flag and move it to
end of Kbuild file where cc_flags are defined.

Change-Id: I26ffe1f339fc286be5d2f235c7b9fe7efa530e42
CRs-Fixed: 3468341
2023-04-16 23:02:03 +05:30
Madan Koyyalamudi
127957dfdf Release 5.2.1.63O
Release 5.2.1.63O

Change-Id: Idbf9de1427f90acb45ad52f9614309d6896dc62f
CRs-Fixed: 774533
2023-04-15 04:39:36 -07:00
Pragaspathi Thilagaraj
9e24d820d4 qcacld-3.0: Handle STA + TDLS + P2P CLI concurrencies
When P2P CLI is connected first and then STA is connected,
disable TDLS on existing interface and enable TDLS on the STA
vdev.

When existing STA + TDLS exists, disable off channel when P2P
connection is started and re-enable off channel for TDLS once
connection is complete. Don't teardown TDLS peers once the
P2P client connection is successful.

Change-Id: I91d152a3a052706289c06cebc932c84a69fdbc00
CRs-Fixed: 3455639
2023-04-15 04:39:35 -07:00
Madan Koyyalamudi
90da1d654b Release 5.2.1.63N
Release 5.2.1.63N

Change-Id: Iba2f2298ce7dde7be0e12cc9ead3aef11de3acd2
CRs-Fixed: 774533
2023-04-15 02:57:23 -07:00
Jeff Johnson
a54eacbdb6 qcacld-3.0: Introduce WLAN_DBGLOG_DEBUGFS feature flag
Currently the Debug Log DebugFS functionality in the qca-wifi-host-cmn
project is protected with #ifdef WLAN_OPEN_SOURCE.

The WLAN_OPEN_SOURCE macro was introduced for a legacy reason that is
no longer applicable. In order to remove the WLAN_OPEN_SOURCE macro,
introduce a new feature-specific WLAN_DBGLOG_DEBUGFS feature flag.
Once the Debug Log DebugFS functionality moves to the new flag, the
WLAN_OPEN_SOURCE macro can be removed.

Change-Id: I159af54ab91d009e5bf50d67492cbc62a05bad47
CRs-Fixed: 3463793
2023-04-15 02:57:23 -07:00
Jeff Johnson
f805d72764 qcacld-3.0: Kbuild: Consistently use ccflags-y
Currently Kbuild uses both cppflags-y and ccflags-y, The kernel Kbuild
documentation recommends using ccflags-y, so consistently use that
everywhere.

Change-Id: Ic5f86bad5d4260f39f98b5ce1b56ba6a69606aa9
CRs-Fixed: 3463792
2023-04-15 02:57:18 -07:00
Pragaspathi Thilagaraj
f8ac9322f3 qcacld-3.0: Add debugs for TDLS concurrencies
Add more debugs for TDLS concurrency scenarios.
Enable WLAN_FEATURE_TDLS_CONCURRENCIES.

Change-Id: Iad2d96d0bbf6a8f5e488ea5da2d666a55d9b5aba
CRs-Fixed: 3461776
2023-04-15 02:57:13 -07:00
Madan Koyyalamudi
9c4edc3fda Release 5.2.1.63M
Release 5.2.1.63M

Change-Id: I21799db987531fe087acd200ba9e2c14ea343dc0
CRs-Fixed: 774533
2023-04-14 23:40:27 -07:00