提交線圖

28272 次程式碼提交

作者 SHA1 備註 日期
Madan Koyyalamudi
2bdfffdc18 Release 5.2.1.57N
Release 5.2.1.57N

Change-Id: I8cad98e4faae7dc1711e5a9d7b67b1a8f0b12a3b
CRs-Fixed: 774533
2023-03-06 00:19:04 -08:00
Divyajyothi Goparaju
4a59ae263c qcacld-3.0: Modify API wlan_reg_get_usable_channel
As part of modification
of reg_set_channel_params_for_freq API to
reg_set_channel_params_for_pwrmode to make it
compatible with new API need to modify
the wlan_reg_get_usable_channel with extra argument
of REG_CURRENT_PWR_MODE, to invoke
reg_set_channel_params_for_pwrmode which is having
extra parameter of type supported_6g_pwr_types.

Change-Id: I4589bc604ae6bbe25f24c4d0261bcf96347589a8
CRs-Fixed: 3311839
2023-03-06 00:19:04 -08:00
Madan Koyyalamudi
ae17ccf3e9 Release 5.2.1.57M
Release 5.2.1.57M

Change-Id: I7c567067c5d5bf089bd820bbaff07f91f506ca4c
CRs-Fixed: 774533
2023-03-05 11:22:39 -08:00
sandhu
c32269cc16 qcacld-3.0: Add bool flag to mlme_vdev_disconnect_peers legacy callback
Add bool flag to mlme_vdev_disconnect_peers legacy callback.
This flag will be used by WIN. MCC should ignore this flag.

Change-Id: I693d1aeda1109a987311c1b87346960bed52309f
CRs-Fixed: 3403218
2023-03-05 11:22:39 -08:00
Madan Koyyalamudi
19b9b6cb83 Release 5.2.1.57L
Release 5.2.1.57L

Change-Id: I3a9ed1fe341591db66433197edfdc85858d218ab
CRs-Fixed: 774533
2023-03-04 23:26:42 -08:00
Jianmin Zhu
f473d77df9 qcacld-3.0: Fix vdev ref leakage
Vdev ref WLAN_OSIF_STATS_ID leaked in corner case, then vdev was failed to
delete, assert happened.

Change-Id: I20b102804d4c3e89be14d89d261996025750be93
CRs-Fixed: 3423850
2023-03-04 23:26:42 -08:00
Madan Koyyalamudi
9a185e4496 Release 5.2.1.57K
Release 5.2.1.57K

Change-Id: Ie209c7fd504e03d530eca1bd3020ec6e8da57b17
CRs-Fixed: 774533
2023-03-04 03:54:07 -08:00
Jianmin Zhu
4dc1a27cf5 qcacld-3.0: Support mld self roaming with high rssi trigger
Support mld self roam between DBS(2 GHz+5/6 GHz) and HBS(5 GHz+6 GHz).
Change high rssi config.

Change-Id: Icb65f26509848a09fe46bf01154a0f42efa073f2
CRs-Fixed: 3416549
2023-03-04 03:54:07 -08:00
Madan Koyyalamudi
453ab92362 Release 5.2.1.57J
Release 5.2.1.57J

Change-Id: Iab89f0fc4ffc35faa534e144a67d8775ea3de8cc
CRs-Fixed: 774533
2023-03-03 19:53:11 -08:00
David Oladunjoye
3b4cda196e qcacld-3.0: Remove support for ESE in pe_session
ESE Connection param exist in both mlme_cfg and pe_session.
Current params saved in mlme_cfg can be retrieved from psoc directly.
Support in pe_session is no longer needed. Remove params from
pe_session and update functions to get mlme_cfg flag.

Change-Id: I202f6f5b7003eba64d77e5dd70fdf9a03f01183b
CRs-Fixed: 3415748
2023-03-03 19:53:11 -08:00
Madan Koyyalamudi
6759515556 Release 5.2.1.57I
Release 5.2.1.57I

Change-Id: Ibd7c9ddff13bc25399ee96ffe5884383931b17ea
CRs-Fixed: 774533
2023-03-03 11:45:53 -08:00
Qun Zhang
114f58739f qcacld-3.0: Free limAssocResponseData before assigning assoc_rsp
When do continuous reassociation test, It's needed to free
session_entry->limAssocResponseData first before assigning
new assoc_rsp, otherwise all previous allocated assoc_rsp
don't have chances to be freed except the last reassocation,
and memory leak will be detected.

Change-Id: Icf9056369b5f1d390b1393d5942cefe116d03417
CRs-Fixed: 3419762
2023-03-03 11:45:53 -08:00
Srinivas Dasari
18b0b2c910 qcacld-3.0: Populate partner info from roam sync ind to pe session
3-link ML connection/roaming expects link id to generate link
specific (re)assoc response from received (re)assoc response.
This info is fetched from pe_session but it's not populated
properly in case of roaming. Roam sync indication carries all
links info whereas the assoc rsp generation API expects the
link info for which it has to be generated.
Copy partner link info only from roam sync indication to
pe_session to cater the same.

Change-Id: I75c9a42688f7613ca3f1afab8afe77622bb659aa
CRs-Fixed: 3412939
2023-03-03 11:45:48 -08:00
Madan Koyyalamudi
522be3ecc3 Release 5.2.1.57H
Release 5.2.1.57H

Change-Id: I018710dabb6e01ae77f2b4e8849dc63ac1bb7462
CRs-Fixed: 774533
2023-03-03 08:40:02 -08:00
Jeff Johnson
21925c4a4a qcacld-3.0: Remove obsolete ANI_SIR_IBSS_PEER_CACHING logic
Code analysis identified dead code protected with the obsolete feature
flag ANI_SIR_IBSS_PEER_CACHING, so remove all logic associated with
that flag.

This is cleanup from a previous patch:
    qcacld-3.0: Cleanup IBSS code from LIM
    (Change-Id Idebb0f55aa27751f1fdd7b4c1fb8124ae29eb382)

Change-Id: I67a6b2b4747a774b5e116f017b7ef1be0fc5b2f7
CRs-Fixed: 3423129
2023-03-03 08:40:01 -08:00
Deeksha Gupta
840d2f87fd qcacld-3.0: Add an API to update preauth node MLD address
Add support to update preauth node MLD address.

Change-Id: I44c746ece9972b51c7b7a44201a98e7ee07f0de0
CRs-Fixed: 3421559
2023-03-03 08:39:56 -08:00
Madan Koyyalamudi
b4a7681fb3 Release 5.2.1.57G
Release 5.2.1.57G

Change-Id: I3ada86fda372f4dc366a9cf6bfce5f9e9b6978e0
CRs-Fixed: 774533
2023-03-03 05:26:15 -08:00
Mohammed Ahmed
ed443436d6 qcacld-3.0: handle idle_timeout during SSR
Currently if host driver requests for idle shutdown and SSR is
in progress then platform driver waits for the SSR to complete and
then call the idle shutdown callback to the driver.
But as a part of SSR shutdown sequence, driver flush this idle shutdown
work and this leads to the deadlock.
To resolve this issue, below changes are required.
1) Platform driver rejects the idle shutdown request with -EBUSY
   if SSR is in progress.
2) Host driver runs this idle shutdown work after the reinit if all
   the interfaces are down.
3) Remove the work flush from shutdown sequence.

Change-Id: Icae043971715948280dbafc4023fd58bdc1cc564
CRs-Fixed: 3421819
2023-03-03 05:26:15 -08:00
Madan Koyyalamudi
f255cb9dde Release 5.2.1.57F
Release 5.2.1.57F

Change-Id: I73d14a13a85c7b3eb1241fa5222c4091eefd435b
CRs-Fixed: 774533
2023-03-02 23:53:22 -08:00
Surya Prakash Sivaraj
652e3606f1 qcacld-3.0: Fix interop issue due to RSNXE
STA DUT sends RSNXE IE with PASN related capabilities by
default based on the target capability. But, connection
failure happens with some APs if the PASN capabilities are
set in the RSNXE IE.

Therefore, update the RSNXE stripping logic as follows:
For WPA3 connection where the AP doesn't broadcast RSNXE IE,
strip all capabilities other than WPA3 capabilities(SAE_H2E
and SAE_PK).

Change-Id: Ifba2894054635962dcb923e4d98418ad1d3ffc7f
CRs-Fixed: 3415097
2023-03-02 23:53:22 -08:00
Madan Koyyalamudi
614187d96d Release 5.2.1.57E
Release 5.2.1.57E

Change-Id: I658be331518efd32f7ec7dc19af395f5108da57d
CRs-Fixed: 774533
2023-03-02 22:27:35 -08:00
Jeff Johnson
e987317234 qcacld-3.0: Remove enum hdd_auth_key_mgmt
The last usage of enum hdd_auth_key_mgmt was removed with the patch:
    Change-Id I2934e4a867458561c50170b0e786e63f20f1af4a
    qcacld-3.0: Code cleanup for connection manager in HDD

Since this is unused, remove it.

Change-Id: I96a2f82e229ca73061da3ed781518d43c940cfa7
CRs-Fixed: 3422049
2023-03-02 22:27:35 -08:00
Madan Koyyalamudi
89a1ffd0ee Release 5.2.1.57D
Release 5.2.1.57D

Change-Id: Icf0bb5034e30f57e82a5862fc90391d1fdf08977
CRs-Fixed: 774533
2023-03-02 20:40:32 -08:00
abhinav kumar
ead7750ba5 qcacld-3.0: Fill proper RSSI value during kickout/bmiss
Issue: Host reports different RSSI values during roaming
trigger logging and subsequent deauth TX logging to user
space.

In case of roam trigger roaming, driver sends the rssi value
to user space from wmi_roam_ap_info tlv in roam scan results.

In case of disconnection due to BMISS or STA KICKOUT case,
host does not receive latest beacon from FW. This results,
on disconnection, host reports deauth TX logs to userspace
using old RSSI present in mac->lim.bss_rssi  which is updated
when beacon or probe response is received in host.

Fix is to update mac->lim.bss_rssi while processing sta
kickout or bmiss event coming from FW.

Change-Id: I108f94959fbf915d8f67f443a9fcd54d595c27d1
CRs-Fixed: 3417363
2023-03-02 20:40:31 -08:00
Madan Koyyalamudi
9e2112cb9f Release 5.2.1.57C
Release 5.2.1.57C

Change-Id: I821108749d7b5d74ac420c3185c91ec3dbf15129
CRs-Fixed: 774533
2023-03-02 16:28:29 -08:00
Srinivas Dasari
8f1170af29 qcacld-3.0: Fetch bcn/prb rsp received freq based on source addr
Firmware sends beacon/probe rsp received to host as part of roam
sync(frame) indication. Frame received frequency is same as
re-association frequency in case of non-ML or single link ML
roaming.
But the ML probe response might come from non-assoc link in case
of multi link roaming. Probe response received frequency and
reassociation frequency are different in such cases. Some
IEs(e.g. HT_INFO) expect frame received frequency to match with
the frequency mentioned in the IE.
So, fetch the probe response received frequency from source
address of the frame and the ml_info of roam sync indication.

Change-Id: Ife96aa46de10d4cd6882e6d04479dfdd481582d4
CRs-Fixed: 3412842
2023-03-02 16:28:28 -08:00
Jeff Johnson
b607e016e8 qcacld-3.0: Remove pktlog.h include
The header file pktlog.h is a legacy remnant that doesn't provide any
value, so remove the unnecessary #include. This is a precursor to
removing the actual file.

Change-Id: Ic9def32b2c800a9b05001eb3816d1b421f82288e
CRs-Fixed: 3420816
2023-03-02 16:28:23 -08:00
Madan Koyyalamudi
e2d5a9ac90 Release 5.2.1.57B
Release 5.2.1.57B

Change-Id: I78543cf6f4f28940441e693d670ba35b00ab2bf0
CRs-Fixed: 774533
2023-03-02 14:49:50 -08:00
Bing Sun
3eb742fe94 qcacld-3.0: Indicate backhaul station run time TX rate to EasyMesh
EasyMesh controller need backhaul station TX rate to calculate path
capacity in EasyMesh steering.
Run time TX rate is more suitable for EasyMesh controller to select
best path.

Backhaul station should indicate run time TX rate to EasyMesh

Change-Id: I2e72257327682235351bc04edf405f73b663a9f7
CRs-Fixed: 3420875
2023-03-02 14:49:50 -08:00
jinbaoliu
9ed1e2f656 qcacld-3.0: Enlarge the array size of qdf_nbuf_history
Given the fact that the RX nbuf history array size is not enough,
sometimes the dump fails to capture the problematic buffer address
records, leading to failing to identify sources of buffers. This
change is to increase the array size of qdf_nbuf_history, which
makes it possible to record more RX history buffers to be traced.

Change-Id: I7982873daf6fafcb31e77d2aec380f1c00401ee5
CRs-Fixed: 3405585
2023-03-02 14:49:44 -08:00
Madan Koyyalamudi
dcc0371c01 Release 5.2.1.57A
Release 5.2.1.57A

Change-Id: Ia4f61005cdf86663398c31c07f04b7f359c909c1
CRs-Fixed: 774533
2023-03-02 04:17:29 -08:00
Liangwei Dong
d6b1c34002 qcacld-3.0: Enhance Concurrency of CSA and AP Start
In MLO STA 2.4 GHz + 5 GHz High band and SAP concurrency case,
5 GHz Low band SAP will move to MLO 5 GHz link's home channel for
SCC after MLO STA is up.
But GO starts on 5 GHz high band when SAP CSA is in process and
pass the policy mgr concurrency check because the SAP channel
is still 5 GHz low band.
Fix by defer GO BSS start if any CSA is in progress and also
check any AP start is pending for STA, SAP force SCC concurrency
handling.

Change-Id: I0fcd799017d5048f3574687f913a396ab4d7ade1
CRs-Fixed: 3418351
2023-03-02 04:17:28 -08:00
Qun Zhang
29869c5fa8 qcacld-3.0: Support obtaining thermal level for non-offload case
Currently thermal level can be got from upper layer only
for FW thermal mgmt offload case. Per the requirement,
refine the code to support it for thermal non-offload
case as well.
Similar to offload thermal mitigation, add TX_OFF and
shutdown two states for non-offload case. Host will fully
stop TX traffic in TX_OFF state and target will trigger
shutdown when temperature come to the range of shutdown.
Per above requirement, add below four INI to configure
thermal temperature threshold value as need for TX off
and target shutdown.
gThermalTempMinLevel4
gThermalTempMaxLevel4
gThermalTempMinLevel5
gThermalTempMaxLevel5

Change-Id: I40d097ab8a5801052553ad7adedd38be475c7669
CRs-Fixed: 3413165
2023-03-02 04:17:22 -08:00
Madan Koyyalamudi
a86d1881cc Release 5.2.1.57
Release 5.2.1.57

Change-Id: I714491842a13f7391a9d041d3353eda618d33446
CRs-Fixed: 774533
2023-03-01 10:29:32 -08:00
Dundi Raviteja
5b76448b72 qcacld-3.0: Properly handle the flags defined as modules
The current way in the driver to handle CONFIG_CNSS_UTILS=m and
CONFIG_WCNSS_MEM_PRE_ALLOC=m will not work if the flags are not
coming from kernel Kconfig directly (e.g. CNSS utils and prealloc
module sources are built out of kernel tree) since "cppflags-
$(CONFIG_FLAG) += -DCONFIG_FLAG" will not take effect if CONFIG_FLAG=m.
Fix it in a proper way to work even if config is defined as m.

Change-Id: I60c26b1e0d64277b733e534960a00afb5579fb43
CRs-Fixed: 3419566
2023-03-01 10:29:32 -08:00
Jyoti Kumari
da3f3f0403 qcacld-3.0: Do not pass mode as arg in policy_mgr_is_vdev_ll_sap
Do not pass mode as an argument in policy_mgr_is_vdev_ll_sap().
Use vde_id to get the mode for further condition check.

Change-Id: Ie12c31d4cf536ba6c80f0e28524b4c99c23600d1
CRs-Fixed: 3414277
2023-03-01 10:29:27 -08:00
Vinod Kumar Pirla
ee1d5461d9 qcacld-3.0: Remove ML BSS peer before join request
The reference taken for objmgr peer during ML peer
context creation is not released if any validation
has failed in pe_session initialization. The call
to directly remove objmgr is initiated without a
call to detach ML peer. This leads to reference
leak for the peer.

If lim_fill_session_params() API returns error,
wma_remove_bss_peer_before_join() API is called
to cleanup the peer objmgr. Call API corresponding
to MLO peer detach in this function to release
the MLO_MGR reference.

Change-Id: I010150b4aefe9f076455cd5aafb1c3b55155458b
CRs-Fixed: 3405762
2023-03-01 10:29:21 -08:00
Madan Koyyalamudi
c076193299 Release 5.2.1.56Z
Release 5.2.1.56Z

Change-Id: I18e19fac23179cedae4b13894af827c169b678ac
CRs-Fixed: 774533
2023-03-01 05:44:10 -08:00
Deeksha Gupta
50b1c4941f qcacld-3.0: Update SA and DA addresses to the SAE auth frame
Currently, for SAE ML connection, in SAE auth frame
1. Userspace send source address as STA link address and
   destination address as AP link address.
2. Driver send STA and AP link addresses to userspace
   while receiving the SAE auth frame.

Now as a part of userspace changes,
1. Userspace shall send source address as STA MLD address and
   destination address as AP MLD address, those addresses
   driver can not send OTA.
2. Driver needs to send STA MLD and AP MLD address to userspace
   while receiving the SAE auth frame.

Fix is, driver updates the SA and DA as link or MLD address
internally and send OTA or to userspace in SAE auth frame.

Change-Id: Iabd73b7704b5f93cdebe29b920d3c797819f41c1
CRs-Fixed: 3367021
2023-03-01 05:44:10 -08:00
Madan Koyyalamudi
262084f32e Release 5.2.1.56Y
Release 5.2.1.56Y

Change-Id: I3c254338176a04c88497058023a1381dd1802e8a
CRs-Fixed: 774533
2023-03-01 00:53:18 -08:00
Surya Prakash Sivaraj
714848d11a qcacld-3.0: Update SR params on beacon update
If the Spatial Reuse parameters change in the beacon
post association, update the new parameters to the
firmware and userspace.

Add a new SR change reason for beacon update. Use this
to update the new SR params to userspace.

Change-Id: I929d8edf7425e6e9494027f6da07a5406d2db123
CRs-Fixed: 3316986
2023-03-01 00:53:17 -08:00
Vinod Kumar Myadam
b57c697e7f qcacld-3.0: Fix for twt responder after SSR
TWT responder will come from the OEM while start SAP, after SSR
this value is not present. TWT is not enabled after SSR, if this
value is set in the SAP start.

To solve this scenario, cache the twt responder value in
sap_config to use this after SSR.

Change-Id: Iba4c198d6f3d92584c2b6af27d2fbe688c781f7d
CRs-Fixed: 3408653
2023-03-01 00:53:12 -08:00
Madan Koyyalamudi
f3465e263b Release 5.2.1.56X
Release 5.2.1.56X

Change-Id: I0f5b73d5e6d45e617e7e56c6a96feb91104594d7
CRs-Fixed: 774533
2023-02-28 22:16:13 -08:00
Rajeev Kumar
5aa5818dca qcacld-3.0: Fix runtime pm wow sysfs stats destroy sequence
Fix runtime pm wow sysfs stats destroy sequence and add kernel
doc for public APIs.

Change-Id: I81e03183d3d397b78906a66917aaac057b37d703
CRs-Fixed: 3417630
2023-02-28 22:16:13 -08:00
Madan Koyyalamudi
f54f19f790 Release 5.2.1.56W
Release 5.2.1.56W

Change-Id: Ifda84244eebafa3c32f7d0ddf636810c27969ac5
CRs-Fixed: 774533
2023-02-28 20:00:35 -08:00
Surya Prakash Sivaraj
534c627cea qcacld-3.0: Support P2P GO on indoor channels
Add a new ini "p2p_go_in_indoor_chan" to enable support
for p2p go operation on indoor channels.

Do not allow standalone SAP on indoor channels if the
SAP indoor channel support is not enabled.

Change-Id: I2e6220ebcefe09b4ad5de496c36879ef048cb5b8
CRs-Fixed: 3405597
2023-02-28 20:00:35 -08:00
Gangadhar Kavalastramath
6588df93b1 qcacld-3.0: Support modularization for auto qcn7605/qca6174
Add code to support modularizing CNSS_GENL and CNSS_UTILS
for auto qcn7605 and qca6174.

Change-Id: I69660cba4fa912f8fd6bb009d2c0d62f707c5ae7
CRs-Fixed: 3418583
2023-02-28 20:00:29 -08:00
Madan Koyyalamudi
ea13440a5f Release 5.2.1.56V
Release 5.2.1.56V

Change-Id: I70e89197d0c85bceb2c75a3397314159a44f7fb9
CRs-Fixed: 774533
2023-02-28 16:56:57 -08:00
Liangwei Dong
cd92f3902a qcacld-3.0: Do not ACS optimize on DFS channel
DFS channel always has lowest preference when do ACS
channel selection.

Change-Id: Ia551cbca90629f0fefc79d4e4647f6a4d070e3de
CRs-Fixed: 3415611
2023-02-28 16:56:56 -08:00
Madan Koyyalamudi
b9848a522e Release 5.2.1.56U
Release 5.2.1.56U

Change-Id: If0b2b3cf3db223ab6fc951d80a54f420951fc9f9
CRs-Fixed: 774533
2023-02-27 20:53:41 -08:00