Revīziju grafs

25531 Revīzijas

Autors SHA1 Ziņojums Datums
Jia Ding
e19974e4a1 qcacld-3.0: Enable uplink delay feature for WCN6750
Enable uplink delay feature for WCN6750 chipset.

Change-Id: Ie37172a0b845529fc4b82c9812a84077d6d4a282
CRs-Fixed: 3180279
2022-04-22 10:57:46 -07:00
Madan Koyyalamudi
5de8655216 Release 5.2.1.18P
Release 5.2.1.18P

Change-Id: I7a57586a55b7143958e944da1fdfb7efdaada4d4
CRs-Fixed: 774533
2022-04-22 07:26:27 -07:00
Jia Ding
29f3bdd27b qcacld-3.0: Update support for 320MHz to wiphy
Update support for 320MHz to wiphy eht caps structure.

Change-Id: I1acaf5a51360a1c5085a980870e75035c0b536bf
CRs-Fixed: 3180232
2022-04-22 08:22:35 +08:00
Madan Koyyalamudi
e31e7b21f2 Release 5.2.1.18O
Release 5.2.1.18O

Change-Id: I1d257a6b23e85872391d3006dfe907ec6ff73457
CRs-Fixed: 774533
2022-04-21 08:53:55 -07:00
Abhishek Singh
2b79efb8d2 qcacld-3.0: Fix SBS PCL freq list to handle 3 SCC freqs
If there are 3 or more 5/6Ghz SCC freq, avoid filling SBS freq in
PCL as due to 3 home freq limitation, 3rd freq will always be
leading to SBS.

So add SBS freqs in PCL, only if number of SCC are 1 OR 2 with 5Ghz
MCC/SCC.

Change-Id: Ib97589df50bbacafa56766dd4b8af6d9f5d1419b
CRs-Fixed: 3178339
2022-04-21 08:53:54 -07:00
Madan Koyyalamudi
d51761c331 Release 5.2.1.18N
Release 5.2.1.18N

Change-Id: I3add89b2c92507a8fb4d982c92551f20b05d4724
CRs-Fixed: 774533
2022-04-21 07:24:32 -07:00
Srikanth Marepalli
e2e3e0326e qcacld-3.0: Use WLAN_WEAR_CHIPSET to modify INI path
On Wear HL based target with keystone kernel, it generates
WLAN driver with name "qca_cld3_wlan.ko" based on macro
definition WLAN_WEAR_CHIPSET. But the driver was not loading
because of the old INI path and /dev path.
This commit modifies the INI path and /dev path based on
macro defined i.e. WLAN_WEAR_CHIPSET.

Change-Id: I6d457a3bb708de3175c40b0f2b3ba0ebde915838
CRs-Fixed: 3168115
2022-04-21 07:24:32 -07:00
Amit Mehta
5116bc8f8f qcacld-3.0: Add DP Component Skeleton code
Add new files and Skeleton code for DP component.

Change-Id: I6bfe59f31b292b77bbd728423a4ed53c3e4d1c2f
CRs-Fixed: 3164956
2022-04-21 07:24:26 -07:00
Madan Koyyalamudi
9d3ca3f8ad Release 5.2.1.18M
Release 5.2.1.18M

Change-Id: Id01616ea7fb04bf7fc6f8cea5894ac14e2136d7e
CRs-Fixed: 774533
2022-04-21 05:57:11 -07:00
Utkarsh Bhatnagar
5831c17b52 qcacld-3.0: Reject TDLS as TDLS concurrency is not supported
Add concurrency conditions to reject TDLS connection if
along with BSS STA, any other iface is in connected state.

In case such as where peer directly sends TDLS setup
request and because of this supplicant does ADD peer
which is not rejected in case of concurrency.
This check is required because add_peer shouldn't be
processed if any other interface such as SAP, P2P already
have started otherwise it will result in FW crash.

Change-Id: Ied36228e033730cd337cd64612df6b4c2696ee28
CRs-Fixed: 3169912
2022-04-21 05:57:11 -07:00
Sheenam Monga
6443e967f5 qcacld-3.0: Update doc for new pcl types and order
Update doc for SBS related pcl_channel_order to make
it more clear and add doc for new pcl types.

Change-Id: I3635cc664f9a004a07956d88d7d95b02e14947a3
CRs-Fixed: 3178476
2022-04-21 05:57:05 -07:00
Madan Koyyalamudi
344a3921ac Release 5.2.1.18L
Release 5.2.1.18L

Change-Id: I9f0ae42d94334a15cd79e167d3a919d02bb40f2e
CRs-Fixed: 774533
2022-04-20 23:05:09 -07:00
Tushnim Bhattacharyya
39f197c346 qcacld-3.0: Add sanity check on feature capability before enable
Before enabling FW features via wext or vendor command, first
sanity check if the feature is supported or not.

Change-Id: I2bb1c61a717be39185aee580085952adcc70ef8f
CRs-Fixed: 3171698
2022-04-20 23:05:09 -07:00
Madan Koyyalamudi
d03d4e3185 Release 5.2.1.18K
Release 5.2.1.18K

Change-Id: If523ef995f682fd489a7e223f44c7737cf5f38cd
CRs-Fixed: 774533
2022-04-20 18:43:49 -07:00
Amruta Kulkarni
de6cf66038 qcacld-3.0: Add null check for vdev
To avoid null pointer access, in mlo_fw_ho_fail_req()
api add vdev null check.

Change-Id: Iabe6080f44b0a9cddba3f164697b07d9afc490b4
CRs-Fixed: 3173980
2022-04-20 18:43:49 -07:00
Madan Koyyalamudi
e84894b0a6 Release 5.2.1.18J
Release 5.2.1.18J

Change-Id: I9675864be9aa3d86abef5f2c3f406b1dc7d8c246
CRs-Fixed: 774533
2022-04-20 13:07:37 -07:00
Jingxiang Ge
dc302acee2 qcacld-3.0: Change ce desc history from dynamic to static
As dynamic allocation occupy cnss prealloc memory, which may
cause this prealloc pool to be exhausted.

Move dynamic memory to static.

Change-Id: Ib05c044f8c0c805148d832f54c09915ef9b4c98b
CRs-Fixed: 3174282
2022-04-20 13:07:36 -07:00
Madan Koyyalamudi
85990548c6 Release 5.2.1.18I
Release 5.2.1.18I

Change-Id: I3cb3f52e6aa1ef0af5f3e61383e94c7f55c93bd3
CRs-Fixed: 774533
2022-04-20 11:49:02 -07:00
Liangwei Dong
c614e0cad9 qcacld-3.0: enable spectrum Management for 6G SAP
Add check to enable lim11hEnable flag for 6G band SAP.
The flag lim11hEnable finally enables beacon capability
spectrum management bit.

Change-Id: I7dbf52acc18a611d72aad27ef021de5ac995c561
CRs-Fixed: 3176060
2022-04-20 11:49:01 -07:00
abhinav kumar
721b08defb qcacld-3.0: Update pmk for roamed AP to pmk cache table
Assume AP1 and AP2 are SPMK APs. For SPMK AP(s), Host
should add an entry of an AP in PMK cache table like below in
two cases only:
Case 1. When DUT successfully associated with SPMK supported AP
            In this case host update “is_spmk_ap” flag in PMK
            table by parsing beacon of associated AP after
            successful connection.
Case 2. When DUT successfully roamed to SPMK supported AP
            In this case host update “is_spmk_ap” flag in PMK
            table by parsing roam sync indication event.

In case of connection with SPMK AP, Host selectively deletes PMK
entry for other SPMK supported AP(s) on basis of “is_spmk_ap”
flag and maintains only one entry for all SPMK AP(s). And host
sends the same single PMK in RSO for further roaming to SPMK AP.
Initially, DUT is connected with AP2. Then Disconnection happens with
AP2 due to NUD failure. After disconnection, the upper layer sends
flush PMK requests for AP1 and AP2. Host deletes old PMK entries for
both APs. Now upper layer sends a set PMK request for AP2. Host adds
AP2 entry in PMK cache table but host does not set "is_spmk_ap" flag
in PMK table for this entry as DUT is not connected to AP2. Now host
receives a connect request for AP1 from the upper layer. DUT
successfully associated with AP1 by performing full SAE authentication.
Host adds an entry for AP1 in the PMK cache table and sets "is_spmk_ap"
flag for AP1 but fails to delete the entry for other SPMK AP(s), here
AP2, from PMK cache table. This is because of "is_spmk_ap" flag is not
set for AP2. At this point of time below is the PMK cache table entry
for SPMK AP(s): The Host PMK cache table has two entries for two SPMK
APs.

   BSSID        PMK     is_spmk_ap flag
    AP2        PMK2           0
    AP1        PMK1           1

Now FW roams to AP2 using PMK1. Host process roam sync indication for
AP2 and updates "is_spmk_ap" flag for AP2 in the PMK cache table. As
Host has a stale entry for AP2 in the PMK cache table, Host sends AP2’s
PMK (here PMK2) in RSO command which firmware will use for further
roaming but roaming fails due to invalid PMK, as target SPMK AP expects
PMK1 in reassociation request.

To handle these scenarios, FW should send PMK info of roamed AP and
host override stale entry for roamed AP (if any) with roamed AP's PMK
in PMK cache table.

Change-Id: I5e46d16a64aa05469ebc389df9b638351d02a1e0
CRs-Fixed: 3152132
2022-04-20 11:48:56 -07:00
Madan Koyyalamudi
06dd5b90bf Release 5.2.1.18H
Release 5.2.1.18H

Change-Id: I382d624cb8edf4f7dcf21c4e826a1dcebf05aa73
CRs-Fixed: 774533
2022-04-20 10:15:22 -07:00
Jianmin Zhu
7f667d844b qcacld-3.0: Fix read after free issue
If host invoke roam failed, roam request is freed from vdev when
EV_ROAM_INVOKE_FAIL is handled, can't access it after that.

Change-Id: Ia486a18a6213fce693f85e8f633d343a367ab6e2
CRs-Fixed: 3178286
2022-04-20 10:15:21 -07:00
Ashish
ca8cbf8864 qcacld-3.0: Update NSS in case of legacy rate as well
Currently driver does not update NSS in legacy rate info case.
This results in incorrect NSS info in big data stats.

To address above issue, update nss in all the cases.

Change-Id: I40ddd8b22f8c4bf77fb4788e26fbd291b37d5830
CRs-Fixed: 3172829
2022-04-20 10:15:15 -07:00
Madan Koyyalamudi
4c8f88a664 Release 5.2.1.18G
Release 5.2.1.18G

Change-Id: I9f86ba549407bd053a1d45b7c42d8025428ddfea
CRs-Fixed: 774533
2022-04-20 05:46:37 -07:00
Liangwei Dong
7bf14b97ea qcacld-3.0: Move SAP check_concurrent_intf to SAP IF mgr
In GO+SAP Case, SAP starts firstly, GO starts on same band
but different channel. SAP forces SCC check is done in
hdd_hostapd_sap_event_cb in the event handle of eSAP_START_BSS_EVENT.
But at the time the GO's connection entry is not added to
policy mgr list. It is added after WLAN_IF_MGR_EV_AP_START_BSS_COMPLETE
is received by SAP interface manager. SAP can't find the same
band GO's channel at this time.
Fix by move the SAP forces SCC check in SAP interface manager
after WLAN_IF_MGR_EV_AP_START_BSS_COMPLETE event is received.

Change-Id: I54663bdd887e3d591d7fd9ee7ce76572b1ef21f7
CRs-Fixed: 3176076
2022-04-20 05:46:37 -07:00
Liangwei Dong
7bc28b7bf6 qcacld-3.0: Add SAP P2P GO MCC check for concurrency
Allow SAP and P2P GO mode MCC in same band if
wmi_service_dual_beacon_on_single_mac_mcc_support is
supported.

Change-Id: I228916df7166c9eddb829e423222da7803e3c7d2
CRs-Fixed: 3176081
2022-04-20 05:46:31 -07:00
Madan Koyyalamudi
3cfad6ada3 Release 5.2.1.18F
Release 5.2.1.18F

Change-Id: Iccd61637aae53d5c1aca3b6dde6fb6447d91dee5
CRs-Fixed: 774533
2022-04-20 04:26:53 -07:00
Pragaspathi Thilagaraj
2bb23a6dd7 qcacld-3.0: Add new Wifi Pos files for legacy ops
Add below new Wifi pos files to register legacy peer create and
peer delete operations:
core/inc/wlan_wifi_pos_interface.h
core/src/wlan_wifi_pos_interface.c
dispatcher/inc/wifi_pos_ucfg_api.h
dispatcher/src/wifi_pos_ucfg_api.c

Change-Id: Iee628450fbaac9d57f1b672ca0550ce5c828f7d5
CRs-Fixed: 3170664
2022-04-20 04:26:53 -07:00
Madan Koyyalamudi
83e6817968 Release 5.2.1.18E
Release 5.2.1.18E

Change-Id: Ia9297700db245fc6a14f8271e7383da7155982ed
CRs-Fixed: 774533
2022-04-20 01:37:27 -07:00
Sheenam Monga
2b47974b8f qcacld-3.0: Add support for four port concurrencies
Add Support for four port concurrency support for ML
sta + p2p + p2p. PCL will be same for SAP, P2P GO and
P2P CLI, so only SAP is considered in naming convention
to avoid repetitive handling.

Change-Id: Ie66407fd79f4e7b51271da8146c681dbf303810e
CRs-Fixed: 3177300
2022-04-20 01:37:27 -07:00
David Oladunjoye
911eebd2bd qcacld-3.0: Add certain OUIs into FW triggered TWT WAR list
TWT is not disabled for certain APs. Add OUIs of the
APs to configuration file.

Change-Id: I3bb2238550294b443f166920069a14fb81e6873d
CRs-Fixed: 3176212
2022-04-20 01:37:21 -07:00
Madan Koyyalamudi
7f2c57d106 Release 5.2.1.18D
Release 5.2.1.18D

Change-Id: I40d42857489ed88b1239c0f2008022cce06d78e8
CRs-Fixed: 774533
2022-04-20 00:03:15 -07:00
Ashish
a1854c8ba0 qcacld-3.0: Add monitor mode check for set_mon_chan command
Currently driver does not check for adapter mode when it receives
set mon chan command, which leads to unexpected behavior when it
receives set mon chan command for non monitor mode adapters.

To address above issue, add a check in driver to avoid set mon
chan command for non monitor mode adapters.

Change-Id: I04f4a0c76823beb10ebfae6489f894ba8a302627
CRs-Fixed: 3175969
2022-04-20 00:03:15 -07:00
Madan Koyyalamudi
883abfef5c Release 5.2.1.18C
Release 5.2.1.18C

Change-Id: I0a36dc63206cf58dd190283a77822350564b5acb
CRs-Fixed: 774533
2022-04-19 13:21:23 -07:00
Aravind Kishore Sukla
df3ec76f19 qcacld-3.0: Replace QDF_TRACE with sme APIs
Replace QDF_TRACE with respective sme APIs

Change-Id: I34403dacc207c126b4edfb2c2fbc96463f9b7620
CRs-Fixed: 3173845
2022-04-19 13:21:23 -07:00
Madan Koyyalamudi
cb14779fc2 Release 5.2.1.18B
Release 5.2.1.18B

Change-Id: I9cf2187db4299cfcff86bdcdc57d459cc951c9ee
CRs-Fixed: 774533
2022-04-19 10:45:47 -07:00
Sheenam Monga
d70bbbef8c qcacld-3.0: Rename pcl types to avoid multiple handling for SCC/MCC
PCL for next connection is same in case of existing
concuurency is 3 port with 2 connections (one sta & sap)on
5G MCC or SCC and another STA on 2G. similarly pcl will
be same for 2 connections (one sta & sap)on
2.4G MCC or SCC and another STA on 5G.So, PM_STA_SAP_SCC_5_STA_24_DBS
can be renamed to PM_STA_SAP_24_STA_5_DBS and PM_STA_SAP_SCC_24_STA_5_DBS
to PM_STA_SAP_24_STA_5_DBS to avoid separate handling for SCC/MCC.

Change-Id: I5eeb809d49586b936f214c87defe6c0790d9829c
CRs-Fixed: 3170092
2022-04-19 10:45:47 -07:00
Nirav Shah
ebe117b4b2 qcacld-3.0: Add support for QCA_WLAN_VENDOR_ATTR_TWT_SETUP_ANNOUNCE_TIMEOUT
Add support for QCA_WLAN_VENDOR_ATTR_TWT_SETUP_ANNOUNCE_TIMEOUT
attribute as part of TWT setup command. This attribute is used
to configure the announce timeout value (in us) in the firmware.
This timeout value is only applicable for the announced TWT. If
the timeout value is non-zero, the firmware waits up to the
timeout value to use Data frame as an announcement frame. If the
timeout value is 0, the firmware sends an explicit QoS NULL frame
as the announcement frame on SP start.

Change-Id: Idf564813487b8157f05265dc73ef7a9a1c31d9e2
CRs-Fixed: 3168235
2022-04-19 10:45:42 -07:00
Sheenam Monga
90c75a1aef qcacld-3.0: Add PM_SCC_ON_5_CH_5G pcl type support
Add PM_SCC_ON_5_CH_5G pcl type to give priority
to SCC 5G followed by rest 5G channels for next
connection.

Change-Id: Ibff48dcd145368d967fb9f39c0118f94897a72a4
CRs-Fixed: 3170031
2022-04-19 10:45:36 -07:00
Madan Koyyalamudi
3df0d77782 Release 5.2.1.18A
Release 5.2.1.18A

Change-Id: Iddfc87c10cdd1b4b6f4087f1663a4f972b1ed342
CRs-Fixed: 774533
2022-04-19 08:38:18 -07:00
Mohammed Siddiq
ddf3264b03 qcacld-3.0: Enable CONFIG_CNSS_QCA6490 in qca6490 config file
Enable CONFIG_CNSS_QCA6490 in qca6490 config file.

Change-Id: I6759edb5404a913973fdf3d528872a816a75f347
CRs-Fixed: 3174532
2022-04-19 08:38:17 -07:00
Madan Koyyalamudi
a5538aec1e Release 5.2.1.18
Release 5.2.1.18

Change-Id: Ibfcfdd75a8dcde56d16d5e919bdd49632e3bbf07
CRs-Fixed: 774533
2022-04-19 05:17:02 -07:00
Abhishek Singh
bef5eed6f0 qcacld-3.0: Optimize the 3 home freq logic in policy manager
Optimize the 3 home freq logic in policy manager and rename few
APIs indicating the action they are performing.

Change-Id: Ice92917573537d0717144690a84ea46602984ef2
CRs-Fixed: 3174550
2022-04-19 05:17:02 -07:00
Madan Koyyalamudi
72b9d28d03 Release 5.2.1.17Z
Release 5.2.1.17Z

Change-Id: I363037d74a49d9a9d95f487c9a8b23431c00123d
CRs-Fixed: 774533
2022-04-19 02:46:19 -07:00
Rajeev Kumar
125a55e833 qcacld-3.0: Remove dev enter log from get stats
Get stats NDO can be called from user space or CLI in a loop
and this can over flow useful driver log buffer and hence remove
dev enter log from get stats ndo callback.

Change-Id: I99a4431f810dbb738ba94b31df488a9c5b24da86
CRs-Fixed: 3176830
2022-04-19 02:46:19 -07:00
Ashish
2c4b0aca58 qcacld-3.0: Init start completion in fw down instead of reovery shutdown
Currently driver initializes start completion on recovery shutdown
which leads to an issue where userspace thread does not wait when
it writes state ctrl params with below event sequence because of
which wifi on fails.
On fw down driver sets recovery in progress, on shutdown it resets
wlan_start_complete and on reinit, it sets wlan_start_complete.
Now if driver again receives fw down it sets recovery in progress and
when userspace tries to write state ctrl param this thread does not
wait here as wlan_start_comp was set in previous SSR sequence.
If driver does not block this thread, userspace tries to iface up
which fails because SSR is still in progress.

To address above issue, init start completion in fw down instead of
recovery shutdown so that driver can block the state ctrl param thread
until SSR completes, when it tries to set the params.

Change-Id: I3fe3768b1ec431620b37055d783de0201371e774
CRs-Fixed: 3176181
2022-04-19 02:46:12 -07:00
Madan Koyyalamudi
46156ecb48 Release 5.2.1.17Y
Release 5.2.1.17Y

Change-Id: I18ab2a04c70044ef8380e1098a0b256d0defad08
CRs-Fixed: 774533
2022-04-19 01:12:28 -07:00
VIJAY RAJ
e6a153e819 qcacld-3.0: Replace QDF_TRACE with sme api for log optimization
Optimize the log by replacing the QDF_TRACE api with sme api in
csr_api_scan.c

Change-Id: I8fdf9e0689c916c07424992c81d72249b508d3c9
CRs-Fixed: 3174442
2022-04-19 01:12:28 -07:00
Madan Koyyalamudi
5fd68227cf Release 5.2.1.17X
Release 5.2.1.17X

Change-Id: Iab03ed6154166a3661f854537c47a39dbef3706d
CRs-Fixed: 774533
2022-04-18 22:39:31 -07:00
Liangwei Dong
bd316f507b qcacld-3.0: Fix no_of_active_sessions validation failure
Acquire the policy mgr connection entry lock before
update no_of_active_sessions and call policy_mgr_decr_connection_count
API. Other thread may validate the no_of_active_sessions and
the connection list, so the two operations have to be done
in lock acquired.

Change-Id: Ibf06c7afe869ce4d582f54deae3f15dd789bdf1b
CRs-Fixed: 3175837
2022-04-18 22:39:31 -07:00