Commit grafiek

28055 Commits

Auteur SHA1 Bericht Datum
Surya Prakash Sivaraj
c76288d024 qcacld-3.0: Cleanup link VDEV SM on roam HO failure
In case of legacy to multi-link MLO roaming, if roam sync event
handling fails, then the pe_session is deleted for the link
VDEV and the cleanup happens only for the assoc vdev. Since,
the link vdev doesn't have proper session/vdev params, the
cleanup fails in link VDEV. This leaves the link vdev in UP
state, even after disconnection. Therefore, subsequent attempts
to connect to an MLO-AP would fail since the partner link is
never cleaned up and is in invalid state(UP).

To fix this, propagate the HO-failure error through state machine
and move the VDEV SM from UP->DOWN directly.

Change-Id: I6480a1821ab4c8cf9af6cd96af0f7889307c3b18
CRs-Fixed: 3362995
2023-02-07 20:01:39 -08:00
Madan Koyyalamudi
6a8edba122 Release 5.2.1.54I
Release 5.2.1.54I

Change-Id: If2dddceb23767ffd922247ad62b00e94688ab0b1
CRs-Fixed: 774533
2023-02-07 15:04:53 -08:00
sandhu
c3de4a3c8b qcacld-3.0: Add reg max bw check for TDLS
Add regulatory max bandwidth check for wideband
capability.

Change-Id: I5e44e48453d46baf19ef04a6c1639283ba8a3f84
CRs-Fixed: 3374005
2023-02-07 15:04:53 -08:00
Madan Koyyalamudi
bba5cf55c7 Release 5.2.1.54H
Release 5.2.1.54H

Change-Id: I0e76fbf073903a13bf4dcaceb9721d2abe706aab
CRs-Fixed: 774533
2023-02-07 11:32:11 -08:00
Jianmin Zhu
589a32f847 qcacld-3.0: Enable dynamic puncture for DFS radar
Once the radar is found, identify the affected sub 20 MHz channels in the
current channel. From the  position(s) of the sub 20 MHz subchannels, find
the nearest valid puncturing pattern.
If a valid puncturing pattern is found, find the corresponding reduced
bandwidth new channel for the legacy ( <= 11AX) devices and send CSA. At
the end of CSA, do a vdev restart so that the 11BE devices see a new
puncturing pattern.
And If not found, then fallback to the default behavior of changing channel
using Random channel selection.

Change-Id: I41e6206f310722bc3dacc9ce8d024f679ff1af3e
CRs-Fixed: 3386022
2023-02-07 11:32:10 -08:00
Madan Koyyalamudi
7af91cd9d6 Release 5.2.1.54G
Release 5.2.1.54G

Change-Id: I08846df702f45536fdfd2bec889d6a53f8fa8227
CRs-Fixed: 774533
2023-02-07 06:59:53 -08:00
Jia Ding
09e536f1ea qcacld-3.0: Disable FEATURE_WLAN_STA_AP_MODE_DFS_DISABLE
Don't enable FEATURE_WLAN_STA_AP_MODE_DFS_DISABLE on SDXPINN
platform, which is similar mobile router platform as SDXPRAIRIE
and SDXLEMUR.

Change-Id: Id6c90be0c7467d85c23cac55fb0e7091e6c4814d
CRs-Fixed: 3393286
2023-02-07 06:59:53 -08:00
chunquan
d0f7de28a0 qcacld-3.0: Add new ini for roam statistics cache number
Add ini groam_info_stats_num used to control wlan driver
cache roam statistics information number.

Change-Id: I203257af37dcac76c6822ddfcc2e9dc723078a25
CRs-Fixed: 3393712
2023-02-07 06:59:46 -08:00
Madan Koyyalamudi
2b711e3e8c Release 5.2.1.54F
Release 5.2.1.54F

Change-Id: Id7123d135be7078e05e00de554513f9c13b5b4c2
CRs-Fixed: 774533
2023-02-07 04:54:47 -08:00
Zhiwei Yang
67721f6bb0 Revert "qcacld-3.0: Update HE MCS Rates"
Previous code was already align with spec.

This reverts Change-Id Id16123baf7a18ce10c3c5776b6ef33864a0d9a82.

Change-Id: I83102059e94f71d61ec2eb564f0c9e2d6b253872
CRs-Fixed: 3361303
2023-02-07 04:54:47 -08:00
Madan Koyyalamudi
c399c581ab Release 5.2.1.54E
Release 5.2.1.54E

Change-Id: I16df985afedd832e05db5718452614f476529203
CRs-Fixed: 774533
2023-02-07 00:53:35 -08:00
Jianmin Zhu
550f13bb10 qcacld-3.0: Fix race condition issue of csa and interface destroy
In SAP+NDI DBS case, SAP channel is changed for channel avoid event,
policy_mgr_update_indoor_concurrency is called, and country_change_work is
scheduled, but blocked for channel switch is already in progress,
both SAP and NDI adapter hold ref NET_DEV_HOLD_COUNTRY_CHANGE_UPDATE_SAP.
At same time, NDI interface is destroyed, assert when found ref leaked.

To fix it, for 2nd CSA req (found CSA in progress already), don't
block, just log and return.
When channel change finished, policy_mgr_check_sap_go_force_scc is called
to check whether new channel change required.

Change-Id: I0bb3b35265f77d949b3c2916ee1ba95a8239c61c
CRs-Fixed: 3396079
2023-02-07 00:53:35 -08:00
Prakash Manjunathappa
bfc3d11564 qcacld-3.0: Add support for peach device
Add support for peach device. Enable HIF and HW header corresponding
to PEACH

Change-Id: I3c6690fbe8e3e6398ad6ba25fba0b7bb0856cc2b
CRs-Fixed: 3394196
2023-02-07 00:53:28 -08:00
Madan Koyyalamudi
a77c42a4ab Release 5.2.1.54D
Release 5.2.1.54D

Change-Id: I23311b6ae12985b83c497941fde6f1623e7eb7b7
CRs-Fixed: 774533
2023-02-06 21:39:58 -08:00
David Oladunjoye
5bc44f573e qcacld-3.0: Fix kernel doc for TWT
There are function parameters missing in kernel doc for TWT.
Add the parameters to kernel doc and fix mispellings.

Change-Id: Ice88e22fed8fb01760b4ed7981cb6b042f3751d6
CRs-Fixed: 3349940
2023-02-06 21:39:58 -08:00
Madan Koyyalamudi
e34577d82f Release 5.2.1.54C
Release 5.2.1.54C

Change-Id: Ic67a30e6d53493641f807f405fbfb68a7d0111dc
CRs-Fixed: 774533
2023-02-06 04:48:11 -08:00
Shi Hong
f30cb6eb42 qcacld-3.0: check indoor channel support before restarting SAP
Current code will force SAP restart on other channel when SAP/STA scc
on indoor channel and STA get disconnected. If indoor channel support
is enabled, SAP shall be able to start on indoor channel alone. So add
indoor channel support check before making SAP restart decision.

Change-Id: I3666f11cda75984636bdda9160bb8232d64615d6
CRs-Fixed: 3379903
2023-02-06 04:48:11 -08:00
Madan Koyyalamudi
706a302396 Release 5.2.1.54B
Release 5.2.1.54B

Change-Id: I85a876ed5e08f483766c785cd773dc0e517b4b3c
CRs-Fixed: 774533
2023-02-05 22:50:57 -08:00
Liangwei Dong
7af7c4e45a qcacld-3.0: Handle link removal flag on vdev
Add APIs to set/clear link removal flag on vdev object.
If link is removed, drop the disassoc or deauth frame for
the vdev.
If disconnect start is indicated, stop the reconfig timer.
Clear the link removal flag on disconnect complete.

Change-Id: I729621aec36b82de6e88970675b020a2c5721e68
CRs-Fixed: 3352779
2023-02-05 22:50:57 -08:00
Madan Koyyalamudi
ac983c19f9 Release 5.2.1.54A
Release 5.2.1.54A

Change-Id: I938b80f578738c6958c1b227fa7c206f450cb34c
CRs-Fixed: 774533
2023-02-05 18:57:08 -08:00
Wu Gao
eccf9b40f9 qcacld-3.0: Add config for SDXBAAGHA
This change adds config for SDXBAAGHA.

Change-Id: I72ea691b42674d4d862aad86a34225fb2cc39cd8
CRs-Fixed: 3394045
2023-02-05 18:57:08 -08:00
Madan Koyyalamudi
064011ebd4 Release 5.2.1.54
Release 5.2.1.54

Change-Id: Ida77224278e280b13ff04f21db0e7371e63e7725
CRs-Fixed: 774533
2023-02-05 12:40:30 -08:00
Vulupala Shashank Reddy
5d291699ed qcacld-3.0: Enable packet capture compilation for parrot
Add check for CONFIG_ARCH_PARROT to enable packet capture
compilation for parrot.

Change-Id: I9eab0c37f5a4a849ed6e340bb8b26153030ad5b6
CRs-Fixed: 3377226
2023-02-05 12:40:30 -08:00
Madan Koyyalamudi
782ee9d0d0 Release 5.2.1.53Z
Release 5.2.1.53Z

Change-Id: I940d320cd4a84e87fe76ca025b51b9f602be1911
CRs-Fixed: 774533
2023-02-05 04:32:38 -08:00
Abhishek Singh
18aafbb0a6 qcacld-3.0: Increase the scan database size to 500 from 300
In very noisy environment and with 6 GHz co-located AP, scan
database size of 300 might not be enough.

So increase the size to 500.

Change-Id: I26077b2ab0d24f73a7c8e29990504d5b284eccf4
CRs-Fixed: 3395834
2023-02-05 04:32:38 -08:00
Will Huang
e5e71efe2c qcacld-3.0: Change AFC enable static configure to INI configure
Currently if host enable AFC in WMI INIT CMD, target will trigger AFC
request if current country has AP SP reg rules. We have changed regdb
on specific SP to enable AFC test, to not affect other SP which shares
regdb and FW, introduce INI to control AFC enable/disable for
flexibility.

And because currently no country support AP SP reg rule per spec,
so disable AFC by default.

Change-Id: I0e5eb2dac0a8df01635437fe8353ca5431ae5d2a
CRs-Fixed: 3393896
2023-02-05 04:32:32 -08:00
Madan Koyyalamudi
2435db353d Release 5.2.1.53Y
Release 5.2.1.53Y

Change-Id: I0e313a2b40fc0ce93247d744986abc574f280713
CRs-Fixed: 774533
2023-02-05 01:17:54 -08:00
Divyajyothi Goparaju
fb1635c5c2 qcacld-3.0: Update copyright year
with recent host change
"Trigger SSR on wakeup from pagefault"
missed to update copyright year for some files

This change will update that missed copyright
year to 2023.

Change-Id: I1b2972e824b21e70c697bf819ee34312946aed6b
CRs-Fixed: 3387893
2023-02-05 01:17:54 -08:00
Madan Koyyalamudi
290e13505d Release 5.2.1.53X
Release 5.2.1.53X

Change-Id: I5a68c749ecd4f81b4c181fed156a5f6c8276a325
CRs-Fixed: 774533
2023-02-03 14:44:35 -08:00
Aravind Kishore Sukla
d30b151ccd qcacld-3.0: revert "qcacld-3.0: Initialize timer for SAP+SAP concurrency"
This reverts Change-id: I12e8871fb606d180eabc63c8841017d7240ac829
Revert the change as it causes timer leak in case of
When SAP starts on DFS channel for CAC the timer 
hdd_medium_assess_init() need to be initialized properly.

Change-Id: I489bdd37b4935d98c8a3c30da2f52316c29743a7
CRs-Fixed: 3393190
2023-02-03 10:17:54 -08:00
Madan Koyyalamudi
243159dd0d Release 5.2.1.53W
Release 5.2.1.53W

Change-Id: I0b96553e38223fb5df125fb52e94c37048308a9f
CRs-Fixed: 774533
2023-02-03 03:35:56 -08:00
Vinod Kumar Myadam
3527fb92be qcacld-3.0: Add pwrmode argument to use super channel list
The current channel list alone is not enough to represent the
capability of the chip or device. Given a channel, in many
cases it may be required to know all the power modes that are
supported by this channel.

Additionally add the arguments of power mode and puncture bit map
in the caller API wlan_reg_decide_6ghz_power_within_bw_for_freq.

Change-Id: Ib96c1a15d4696ddb36cc27853a2ff0d4e0cb5cdc
CRs-Fixed: 3359248
2023-02-02 17:01:27 -08:00
Madan Koyyalamudi
2d359637dc Release 5.2.1.53V
Release 5.2.1.53V

Change-Id: Ia89010fcf982d6348197ae49b5402e5ce98bf78b
CRs-Fixed: 774533
2023-02-02 10:20:00 -08:00
Surya Prakash Sivaraj
2002ce33d1 qcacld-3.0: Align RSNXE with IEEE P802.11az/D7.0 definitions
RSNXE bits are modified in the recent draft. Rename
WLAN_RSNX_CAPAB_PROT_RANGE_NEG to WLAN_RSNX_CAPAB_URNM_MFPR
and the bit position is changed to 15 instead of 10.

Use WLAN_RSNX_CAPAB_URNM_MFPR instead of
WLAN_RSNX_CAPAB_PROT_RANGE_NEG.

Change-Id: I166b2569cb18bf9a4c9552188429ccda998da359
CRs-Fixed: 3388505
2023-02-02 10:20:00 -08:00
Madan Koyyalamudi
714b3d7875 Release 5.2.1.53U
Release 5.2.1.53U

Change-Id: Icf1ed767f9cb8bab7110bb3238c409995c1e1bc6
CRs-Fixed: 774533
2023-02-01 09:29:18 -08:00
Divyajyothi Goparaju
8a5fcd2a58 qcacld-3.0: Include header file at the beginning
DEBUGFS_LLSTATS_BUF_SIZE is defined for both ML and non-ML
cases separately under WLAN_FEATURE_11BE_MLO & CFG80211_11BE_BASIC 
feature flags. CFG80211_11BE_BASIC is set to 1 based on 11BE 
supported kernel versions in wlan_osif_features.h and it's included
in wlan_hdd_main header file.So, this header file should be included
before its usage for above length calculations.
Otherwise, it results DEBUGFS_LLSTATS_BUF_SIZE as 16384 instead 
of 32768 as CFG80211_11BE_BASIC becomes 0.

When ll_stats requested for station connected with ML-AP
because of insuffient buffer size stats are getting truncated.
from hdd_debugfs_process_radio_stats.

To fix this issue move header file inclusion to beginning
of header file.

Change-Id: I962d81057680dab07b6569fff49a8711c0c628e8
CRs-Fixed: 3387517
2023-02-01 09:29:18 -08:00
Madan Koyyalamudi
4cb55d5dda Release 5.2.1.53T
Release 5.2.1.53T

Change-Id: I3a858bfd585d90cb7f32bfea244e9e2fad83ef9d
CRs-Fixed: 774533
2023-02-01 02:47:15 -08:00
Deeksha Gupta
1bba31889f qcacld-3.0: Don't change the ROC duration for GAS frame
Currently, host multiplies ROC duration by 10 for GAS tx frame.
since a one shot ULW (absence notice) has been given to peer,
peer would not be available for ULW duration due to which fw
can’t cancel the already communicated absence schedule.

Fix is, avoid multiplying the received ROC duration for
GAS frame.

Change-Id: If53d5ee446fc5f4df2fcf117a436133116270b9e
CRs-Fixed: 3378272
2023-02-01 02:47:14 -08:00
Madan Koyyalamudi
ea20d225a3 Release 5.2.1.53S
Release 5.2.1.53S

Change-Id: I189f7837594a973ad6ee4e26823796d8db0685bd
CRs-Fixed: 774533
2023-01-31 08:35:10 -08:00
Bing Sun
afe491ab56 qcacld-3.0: Ignore DFS process if operating channel is in NOL
When EasyMesh agents send channel preference report to EasyMesh
controller to indicate current operating DFS channel is not allowed,
EasyMesh controller checks operating channel is the same channel
indicated by EasyMesh agent or not. If it is, EasyMesh controller
adds current channel to NOL. If EasyMesh controller receives channel
preference report more than once from EasyMesh agents, it may trigger
adding current channel to NOL more than once. Then vdev CSA state is
triggered more than once during CSA process, which is not necessary.

If operating channel is in NOL, ignore current command.

Change-Id: Ibe15789adaac1d86838fbaa4602d3c6f4d734a95
CRs-Fixed: 3379859
2023-01-31 08:35:10 -08:00
Madan Koyyalamudi
a48fde3e41 Release 5.2.1.53R
Release 5.2.1.53R

Change-Id: Ibe72e0056c3abe70d67096cce8397337ac703459
CRs-Fixed: 774533
2023-01-31 02:35:08 -08:00
Vijay Raj
2d5ac65bf2 qcacld-3.0: remove WLAN_ENABLE_AGEIE_ON_SCAN_RESULTS macro
Remove WLAN_ENABLE_AGEIE_ON_SCAN_RESULTS macro as BSS age
is calculated using NL80211_BSS_SEEN_MS_AGO

Change-Id: I5473f9cea216df4968a43551875b0385605f616f
CRs-Fixed: 3391078
2023-01-31 02:35:08 -08:00
Madan Koyyalamudi
13bd2b20eb Release 5.2.1.53Q
Release 5.2.1.53Q

Change-Id: I2779036467c354e68f8e49ab6b87bd66bd2b4d44
CRs-Fixed: 774533
2023-01-31 00:13:52 -08:00
Yeshwanth Sriram Guntuka
c017966ec1 qcacld-3.0: Use the appropriate msg id macro for WFDS mem ind
Use the appropriate message id macro for WFDS QMI memory
indication.

Change-Id: Ia1b96ce412e8a8c41e1f6bd8145cffe53f1455c8
CRs-Fixed: 3385097
2023-01-31 00:13:51 -08:00
Madan Koyyalamudi
79b743d55e Release 5.2.1.53P
Release 5.2.1.53P

Change-Id: I8c452fedd0edcfe6fa92144b44606c739da9ad68
CRs-Fixed: 774533
2023-01-30 12:37:37 -08:00
Aravind Kishore Sukla
ca3c34af3e qcacld-3.0: Rate limit WMA MGT RX process logs
WMA MGT RX process extraction are logged in err level.
Rate limit the logs to avoid excessive logs to kernel
logging.

Change-Id: Idde55ab4dab24d55ff9e7239a69d586bd4f855ef
CRs-Fixed: 3391246
2023-01-30 12:37:37 -08:00
Madan Koyyalamudi
133581a793 Release 5.2.1.53O
Release 5.2.1.53O

Change-Id: Ibbb868b325ff3c3ece76ada6212c9c3b4c106522
CRs-Fixed: 774533
2023-01-30 10:35:58 -08:00
Vinod Kumar Myadam
6b0adfe1d5 qcacld-3.0: Add pwrmode argument to callers
The current channel list alone is not enough to represent the
capability of the chip or device. Given a channel, in many
cases it may be required to know all the power modes that are
supported by this channel.

Add pwrmode argument to callers of wlan_reg_get_opclass_details.

Change-Id: Ia470ae99cb374e4cfdbea8ce77cceabba5c7c959
CRs-Fixed: 3357155
2023-01-30 10:35:57 -08:00
Rachit Kankane
6890f7410c qcacld-3.0: New INI for STA+GO DFS SCC
In STA+SAP / GO concurrency, SCC is enforced by moving SAP / GO
to STA's operating channel. STA side, if there is a CSA
then SCC will be enforced only after STA moves to new channel.

In usecase of STA + GO SCC on DFS channel, CSA is sent with no-TX
and STA's movement will only happen once CSA count becomes 0.
This will block data transmission till then, which will have bad
user experience in case of XR where, it needs to have periodic data
transmission in every 1 second with GO interface.

This new INI is added to handle this scenario where SAP / GO will
move first followed by STA.

Change-Id: Id642872da4f3403a5168a2fad58b4c971cd88288
CRs-Fixed: 3380861
2023-01-30 10:35:50 -08:00
Madan Koyyalamudi
9e12a8f7b2 Release 5.2.1.53N
Release 5.2.1.53N

Change-Id: I082d9fdb78afb524fcea567caefaf80ad9fab8db
CRs-Fixed: 774533
2023-01-30 06:27:14 -08:00