Gráfico de commits

28085 Commits

Autor SHA1 Mensaje Fecha
Deeksha Gupta
7d4c44c1df qcacld-3.0: Use QDF_MAC_ADDR_FMT to print the mac_address in lim
Use QDF_MAC_ADDR_FMT macro to print the mac_address instead of
using lim_print_mac_addr() API

Change-Id: If7261874639bf14e2f6b1c05ab8134b6a62c22e4
CRs-Fixed: 3401115
2023-02-13 23:29:36 -08:00
Madan Koyyalamudi
3086dd8605 Release 5.2.1.54W
Release 5.2.1.54W

Change-Id: Ib47d9306b13570f335e8e133c5d6cf4a691b04fe
CRs-Fixed: 774533
2023-02-13 17:24:24 -08:00
Sheenam Monga
1d4e456306 qcacld-3.0: Handle DCS event data for 6 GHz freq also
Currently, Host process DCS event data for 5 GHz frequency
only and discards event data for 6 GHz frequency.

Add support to handle DCS event data in case SAP is turned on
on 6 GHz frequency.

Change-Id: I7ad351fcf3c6909602d7ffd53bc79991cf2f0f7a
CRs-Fixed: 3402658
2023-02-13 17:24:24 -08:00
Madan Koyyalamudi
d06a46ba6b Release 5.2.1.54V
Release 5.2.1.54V

Change-Id: Id3b6ed7f8fb73901ed4ba004644ba4e27ceb7473
CRs-Fixed: 774533
2023-02-13 12:44:38 -08:00
sandhu
23a74529b0 qcacld-3.0: Multi link to single link connection
if probe response does not have ml ie element,
compare join request partner link info with scan db.
If join request info does not match scan db partner info
clear the partner link info in join request.

Change-Id: I0c63c543744c926502af5238f38d41460857ea98
CRs-Fixed: 3376313
2023-02-13 12:44:37 -08:00
Madan Koyyalamudi
5c8109e787 Release 5.2.1.54U
Release 5.2.1.54U

Change-Id: I4b058cc2f81ecead3e41edfdd2835e004b24dca4
CRs-Fixed: 774533
2023-02-13 04:04:12 -08:00
Asutosh Mohapatra
c639cb8500 qcacld-3.0: Enhance hang reason code mappings
Currently many host hang reason codes are not mapped to corresponding
userspace codes as a result these hang reason code will be invalid
for userspace and also QDF_REASON_UNSPECIFIED is used in some places
in host.

To add mappings for host hang codes to corresponding to userspace
hang codes and also add new hang codes.

Change-Id: Id617c2bbfd72b0e83b50f522fd1313fbc9eea2cc
CRs-Fixed: 3381230
2023-02-13 04:04:12 -08:00
Madan Koyyalamudi
7318f8bed4 Release 5.2.1.54T
Release 5.2.1.54T

Change-Id: Iea0f87042bfba15aed7bb67d0142d6e6bdea8d11
CRs-Fixed: 774533
2023-02-12 22:16:04 -08:00
Asutosh Mohapatra
639844a833 qcacld-3.0: Optimize PMO logs
Extensive amount of PMO logs are seen in case of crash, which
decreses the debugging effciency.

To address this issue, optimize PMO logs.

Change-Id: I7c3b76d72deaf53782befc6d931866d907b5d168
CRs-Fixed: 3402290
2023-02-12 22:16:04 -08:00
Madan Koyyalamudi
2d7777eb4c Release 5.2.1.54S
Release 5.2.1.54S

Change-Id: I9b3240e640fe07a88433b1425d16da22c5d75ea6
CRs-Fixed: 774533
2023-02-11 09:20:49 -08:00
Sheenam Monga
852ca5479e qcacld-3.0: Enable DCS for KIWI target
Channel switch is required whenever unwanted
heavy traffic is observed on SAP channel,
which can be handled by dynamic channel switch
feature. So, enable DCS feature for KIWI target.

Change-Id: Ic433b830f4e1355ae52e796769faec3560819d81
CRs-Fixed: 3402354
2023-02-11 09:20:48 -08:00
Madan Koyyalamudi
fa6a039f56 Release 5.2.1.54R
Release 5.2.1.54R

Change-Id: I34d23a4871eaf82cce56e68754fc6ddcf993157d
CRs-Fixed: 774533
2023-02-11 02:23:21 -08:00
Liangwei Dong
15691e1d7c qcacld-3.0: Assign combined ACS weight to 6 GHz PSC channel
For bw higher than 20 MHz ACS request, such as 160 MHz,
weight calculation will combine the neighbor channel's
weight which maybe Non PSC channel, the previous setting of
combined weight to channel of lowest weight of neighbor channel.
That maybe Non PSC channel, that causes the final ACS result
is Non PSC channel, which is unexpected for standalone SAP.

Fix by set combined weight to PSC channel, so that PSC
channel will have a valid weight in final sorting with 5 GHz
or 2 GHz list.

Change-Id: Ic37d005af524f5ff2c8cb2c86647f02ced7c32d7
CRs-Fixed: 3394384
2023-02-11 02:23:20 -08:00
Madan Koyyalamudi
6f61935b2a Release 5.2.1.54Q
Release 5.2.1.54Q

Change-Id: I4c503e5ba7372ce3302a4ec2f473df55909a43d1
CRs-Fixed: 774533
2023-02-10 18:10:24 -08:00
Amruta Kulkarni
33989948e3 qcacld-3.0: Correct camelcase in roam data structure
Componentized code should be adhering to the coding standard.
However struct roam_offload_synch_ind has a large number of
camelcase members.

To fix this replace camel case members with snake_case.

Change-Id: If866379d8f01cc0e932ea391d586575de4af9163
CRs-Fixed: 3383579
2023-02-10 18:10:23 -08:00
Madan Koyyalamudi
0a3ca6be7c Release 5.2.1.54P
Release 5.2.1.54P

Change-Id: I1a05af9bc69bb947861b153821a10074247b480a
CRs-Fixed: 774533
2023-02-10 00:56:35 -08:00
Vinod Kumar Pirla
eadaf118f2 qcacld-3.0: In get_channel check link VDEV's assoc state
Kernel calls get_channel callback registered in cfg80211_ops to
fetch the channel information.
For a two or more links MLO connection, the state of assoc VDEV
will be set to associated before get_channel API is called, but
for partner link VDEV might still be in unassociated state and
get_channel request on parter link will lead to sending invalid
channel information to kernel and result in kernel warning.

If partner VDEV is not in associated state, return error to avoid
kernel warning.

Change-Id: I7ac3f6e08301419a9dc916e59f611537ccf88d45
CRs-Fixed: 3392518
2023-02-10 00:56:35 -08:00
Madan Koyyalamudi
f494068349 Release 5.2.1.54O
Release 5.2.1.54O

Change-Id: I7d34c00653da82cbdafb6a2b838246fda76c79ef
CRs-Fixed: 774533
2023-02-09 19:23:17 -08:00
chunquan
e27a423531 qcacld-3.0: Enhanced roam information struct declare
Declare enhanced roam related information struct and
enum in host driver.

Change-Id: Ibe9e9dacb2abdeac15d57a25b067da083ee05542
CRs-Fixed: 3396059
2023-02-09 19:23:17 -08:00
Madan Koyyalamudi
eb0f2d0e4d Release 5.2.1.54N
Release 5.2.1.54N

Change-Id: I1634213ab3a98eba9ff83e90939ca9ace231c0ec
CRs-Fixed: 774533
2023-02-08 20:00:09 -08:00
Jianmin Zhu
1eb2511a22 qcacld-3.0: Disallow MCC for STA_POLICY_UNBIASED
Even primary interface is configured, if dual STA policy is
STA_POLICY_UNBIASED, MCC is disallowed for both roaming and connect.

Change-Id: I6e26fdcdc930eb116771abfe310811c6534be09f
CRs-Fixed: 3396425
2023-02-08 20:00:08 -08:00
Madan Koyyalamudi
202416dffe Release 5.2.1.54M
Release 5.2.1.54M

Change-Id: Ic67e8b3bc9615b1c4224c35348099faa705d87a5
CRs-Fixed: 774533
2023-02-08 15:07:29 -08:00
Yu Ouyang
32469752c6 qcacld-3.0: Enable FEATURE_STATION_INFO to handle get sta vendor cmd
Enable Genoa FEATURE_STATION_INFO to handle get station info over
vendor cmd QCA_NL80211_VENDOR_SUBCMD_GET_STATION.

Change-Id: I8d2a87f10057c3eaa407b60faed95d56788ede7e
CRs-Fixed: 3395891
2023-02-08 15:07:28 -08:00
Vinod Kumar Pirla
1201f91318 qcacld-3.0: Translate addr in MAC header for action frame
For mgmt frames of subtype action and category not public,
kernel will use MLD address in SA, TA and BSSID fields.
So these fields in the mgmt frame received from kernel
needs to be translated to link addresses and similarly,
in frames received over the air, the link addresses in
these fields are to be changed to MLD address before
sending to kernel.

Change-Id: Ie63c09ece7550dfdc69c82ef8b7111251deee33e
CRs-Fixed: 3392314
2023-02-08 15:07:23 -08:00
Paul Zhang
68a195a41a qcacld-3.0: Update EHT LTF support for 320 MHz
Populate EHT LTF support from HW_MODE_SINGLE mac_phy_caps_ext2 entry.

Change-Id: If363b0757b670581be8c7b2418535840e80f3e72
CRs-Fixed: 3399672
2023-02-08 15:07:17 -08:00
Madan Koyyalamudi
8ecb686990 Release 5.2.1.54L
Release 5.2.1.54L

Change-Id: Ie250a1f03b542c53f278e37b0a52fb62150f500b
CRs-Fixed: 774533
2023-02-08 06:56:11 -08:00
Liangwei Dong
268d888358 qcacld-3.0: Add new parameters to set link active inactive
Add new parameters to specify link inactive vdev list to
support new MLO_LINK_FORCE_MODE_ACTIVE_INACTIVE mode.

Change-Id: Ia51d2c77680b207bb5fb1bb5fbd91f2fd0ad5fd9
CRs-Fixed: 3352809
2023-02-08 06:56:11 -08:00
Madan Koyyalamudi
12b143caff Release 5.2.1.54K
Release 5.2.1.54K

Change-Id: If1016bf77fe1100cb1669dd5cf3ef82a02a4104b
CRs-Fixed: 774533
2023-02-07 23:41:28 -08:00
Surya Prakash Sivaraj
a6a7f6ac5c qcacld-3.0: Fix MLO PMKSA caching failure
For MLO connections, pmksa is cached for the mldaddr. In legacy
design, bssid(link mac) is used to retrieve the PMKSA during
reassociation.

Update the logic to use AP mldaddr to retrieve the PMKSA for
MLO connections.

Change-Id: I3553e1cc029f69033967e16dd36cb9d06e9873fa
CRs-Fixed: 3399156
2023-02-07 23:41:27 -08:00
Madan Koyyalamudi
9f6573f795 Release 5.2.1.54J
Release 5.2.1.54J

Change-Id: Ib1bfaecc2238fa6f1b7de313165efed40867c065
CRs-Fixed: 774533
2023-02-07 20:01:39 -08:00
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