Commit Graph

25757 Commitit

Tekijä SHA1 Viesti Päivämäärä
Karthik Kantamneni
ff74017c8d Revert "qcacld-3.0: Code cleanup from HDD module"
This reverts commit I66d52b1af7ae52dfde330c7a1b5046f77ab5fe70.

Change-Id: I11e52f785ef0e1d6ba8481f7e98d7ca9e45f249c
CRs-Fixed: 3196571
2022-05-16 18:57:53 -07:00
Madan Koyyalamudi
7bac6ecd2a Release 5.2.1.21S
Release 5.2.1.21S

Change-Id: I5480da6323758c65e4e06a49bd904af68b8149a6
CRs-Fixed: 774533
2022-05-16 17:18:36 -07:00
VIJAY RAJ
5121c86318 qcacld-3.0: Return success from dynamic nss chain support check for 1x1
In api hdd_update_nss(), when unit test command 'iwpriv wlan0 nss 1'
is used in 1x1 mode, the fail status is returned resulting in test
case failure.

Return a success status in api hdd_update_nss() for 1x1 mode resulting
successful execution of test case.

Change-Id: Id482c2686b48a0b6cdd41980c4eb4424da775ad0
CRs-Fixed: 3195517
2022-05-16 17:18:36 -07:00
Madan Koyyalamudi
1fcd9e90ab Release 5.2.1.21R
Release 5.2.1.21R

Change-Id: Ia1c47d79f3cbd853238706fa39869e25a0ee11a0
CRs-Fixed: 774533
2022-05-16 05:49:04 -07:00
Paul Zhang
eb528e1bb3 qcacld-3.0: set MLD cap presence to 0 in assoc req
Currently, MLD cap presence is set to 1 in assoc req, but it does not
update the MLD common info length field. It causes connection issue.

To resolve this issue, set MLD cap presence to 0 in assoc req by default.

Change-Id: Ieef9f9d2c5937abdb4dffe75ac0070479c536d15
CRs-Fixed: 3191286
2022-05-16 05:49:04 -07:00
Madan Koyyalamudi
9da0574953 Release 5.2.1.21Q
Release 5.2.1.21Q

Change-Id: Idd1df602730230b37ff9c47a04dc4084859859c3
CRs-Fixed: 774533
2022-05-14 06:20:10 -07:00
Karthik Kantamneni
b3b7cf5405 qcacld-3.0: Vote for PMQOS in low throughput case
Vote for PMQOS from Bus bandwidth handler in
low throughput case to achieve better results
during parallel throughput test cases.

Change-Id: Ie3e3d18794982a6b08e57b728237b0fc2051e2d2
CRs-Fixed: 3138949
2022-05-14 06:20:10 -07:00
Madan Koyyalamudi
5004c42be9 Release 5.2.1.21P
Release 5.2.1.21P

Change-Id: I32117f87f9dc28f8d7e6172687f827ecc077ab15
CRs-Fixed: 774533
2022-05-14 03:35:01 -07:00
Aditya Kodukula
41cbecf667 qcacld-3.0: Add support for mapping link bssid for get_station
Currently driver ignores the bssid parameter in STA mode for
NL80211_CMD_GET_STATION command. Add support for mapping link
bssid with corresponing adapter to fetch the stats.

Change-Id: I99a87d1946cafedd707961962c415d1f179efb91
CRs-Fixed: 3181024
2022-05-14 03:35:00 -07:00
Aditya Kodukula
4fa9c424ee qcacld-3.0: Add support for MLO get_station stats
As part of MLO stats feature, add support to process get_station
stats for all MLO vdevs and store them in the corresponding adapters.

Change-Id: I21034f7769290603f1540c84aed55cc0a39defcf
CRs-Fixed: 3181022
2022-05-14 03:34:55 -07:00
Aditya Kodukula
5e19348a66 qcacld-3.0: Add support for MLO LL_STATS
As part of MLO stats feature, add support to process link layer
stats for all MLO vdevs and store them in the corresponding adapters.

Change-Id: Ia6d731c94eaa3a355a9deae61d07dd06c5d412bd
CRs-Fixed: 3181021
2022-05-14 03:34:50 -07:00
Madan Koyyalamudi
5e5a18dc60 Release 5.2.1.21O
Release 5.2.1.21O

Change-Id: I61c49ff008b9347d893da53c93cc765d817001ea
CRs-Fixed: 774533
2022-05-14 02:04:26 -07:00
Arun Kumar Khandavalli
d6343c4a59 qcacld-3.0: Populate peer eht mcs to in peer assoc
As part of the peer assoc to the firmware populate the intersected
peer/target eht mcs capabilities to firmware.

Change-Id: I99eb43018da59ae05486423a8518dc59ca03d324
CRs-Fixed: 3196455
2022-05-14 02:04:25 -07:00
Madan Koyyalamudi
1386f6accb Release 5.2.1.21N
Release 5.2.1.21N

Change-Id: I69d302316bd4078cc9cfa0328ba61996fa9853d8
CRs-Fixed: 774533
2022-05-13 23:15:04 -07:00
Utkarsh Bhatnagar
0fa84e975a qcacld-3.0: Update MLME Cfg num_ppe_th
With Kernel 5.13.2 onwards, if
ppe_present is present in HE capabilities
then ppe_threshold fields are also required
to be sent such as length has to be non zero
and the data can be all zeros as part of
TDLS Discovery and Setup frame.

While sending setup frames, ies are packed using
dor11f apis such as dot11f_pack_ie_he_cap().
Even if ppet_present is set,
dot11f_pack_ie_he_cap() will only send
ppe_threshold if num_ppe_th is present.
The HE capabilties which are sent in these
are filled using MLME Cfg HE capabilities.
So, calculate and set num_ppe_th using cfg
ppe fields based on the operating band.
Also to cover a corner scenario where ppe_present
is set but calculated num_ppe_th is 0, set
num_ppe_th to 1 so that atleast 1 byte should be
sent to prevent framework from throwing
exception during add_sta.

Change-Id: Ibe4fd3fdacce24573c09b3609babf04ef4423fb1
CRs-Fixed: 3183531
2022-05-13 23:15:04 -07:00
Madan Koyyalamudi
cb8f052526 Release 5.2.1.21M
Release 5.2.1.21M

Change-Id: I993c0df1a9e57c6bd89a80ec1ce1e2164f4fe1e1
CRs-Fixed: 774533
2022-05-13 17:04:42 -07:00
Amit Mehta
cd59c3f232 qcacld-3.0: Add NULL check for tx_rx_hist
Currently, we are updating tx_rx_hist without performing a NULL check.
There can be the case where the tx_rx_hist is freed and we are trying to
de-reference the tx_rx_hist, which will cause the NULL pointer dereference
issue.

Fix is to add NULL check for tx_rx_hist before dereferencing it.

Change-Id: I0c298f1c86dd86b6ac987c005ed19b20933ffba8
CRs-Fixed: 3196312
2022-05-13 17:04:42 -07:00
Madan Koyyalamudi
8154bddf2a Release 5.2.1.21L
Release 5.2.1.21L

Change-Id: I9e177dbbb9bdff349a7cc63d7e466fb09eef1c0a
CRs-Fixed: 774533
2022-05-13 14:37:13 -07:00
Arun Kumar Khandavalli
93d9a32c30 qcacld-3.0: Initialize the MIC work for link adapters as well
Currently MIC work/spinlock are getting registered for the MLO
adapter only, during interface down driver is trying to flush
an uninitialized work acquiring uninitialized spinlock this will
result in system instability.

Initialize the MIC work for the link adapters.

CRs-Fixed: 3177796
Change-Id: I975bbe2e57e6b5988b78c1c91107b8a1f2bcbe8a
2022-05-13 14:37:13 -07:00
Madan Koyyalamudi
549c689c78 Release 5.2.1.21K
Release 5.2.1.21K

Change-Id: I132d651f65e2cd9290f8312f2bd8ea96ef2b3459
CRs-Fixed: 774533
2022-05-13 13:10:48 -07:00
abhinav kumar
29c9f12209 qcacld-3.0: Move multi-client caps get API to the dispatcher
Move wlan_mlme_get_wlm_multi_client_ll_caps API to dispatcher
folder so that other components would use this API to get
the multi-client feature capability flag.

Change-Id: Ib247401b9411c40a838b338a60d44cb187884480
CRs-Fixed: 3181381
2022-05-13 13:10:48 -07:00
Madan Koyyalamudi
e8e5f094f1 Release 5.2.1.21J
Release 5.2.1.21J

Change-Id: I695995f562ee515076c0b12fd6a05ba47ed5a3b5
CRs-Fixed: 774533
2022-05-13 09:53:15 -07:00
Azmath Mohammed
d4b45548e7 qcacld-3.0: Add threshold for SUPER_HIGH throughput in DP Component
Added new threshold corresponding to SUPER_HIGH
throughput and maxed out vote level to PLD_BUS_WIDTH_MAX.

Change-Id: I3d249fde7101d780bcfb6fba830ae2b255f02063
CRs-Fixed: 3194303
2022-05-13 09:53:15 -07:00
Azmath Mohammed
4f43df441b qcacld-3.0: Add 11be phymode in bus bandwidth vote table in DP components
Currently no 11be phymode is supported in bus bandwidth vote table,
then for 11be mode, wlan driver vote during throughput test is not right.
Add 11be support in bus bandwidth vote table in Dp components.

Change-Id: I84947ee2f5c4a7693927ef4fba6926cc56f26a87
CRs-Fixed: 3195143
2022-05-13 09:53:07 -07:00
Madan Koyyalamudi
b1adfac05b Release 5.2.1.21I
Release 5.2.1.21I

Change-Id: Ia62b40307700a2f441aebb460991ee641a334168
CRs-Fixed: 774533
2022-05-13 07:16:34 -07:00
Paul Zhang
86caf9f602 qcacld-3.0: update ADDBA Extension IE as per draft 1.5
Update dot11f ADDBA Extension IE definitions as per 11be draft 1.5
specification.

Change-Id: I08ae374b2b7f82a088272ee3c4566dfd7c6906c4
CRs-Fixed: 3185818
2022-05-13 07:16:34 -07:00
Paul Zhang
6226c7ead9 qcacld-3.0: Increase buff size for ADDBA resp for EHT
The current maximum buffer size for an ADDBA response action frame is
256 bytes. This needs to be increased in case of EHT session.

Change-Id: I4e4dbe1dbe5c69954d26f73cf51177358c411083
CRs-Fixed: 3185336
2022-05-13 07:16:28 -07:00
Surabhi Vishnoi
9c959bdc3a qcacld-3.0: Update auth_status and mac addr of roamed peer to dp
This change updates the auth_status and mac address of
roamed peer received in roam_sync_indication from FW to dp.

Change-Id: I27744017c87a956927108c5b3b0f9220d7e42965
CRs-Fixed: 3185110
2022-05-13 07:16:23 -07:00
Madan Koyyalamudi
809a1bb419 Release 5.2.1.21H
Release 5.2.1.21H

Change-Id: I2fa82385afd8280607ed273dd32240d1b4ee7532
CRs-Fixed: 774533
2022-05-13 04:20:35 -07:00
Yeshwanth Sriram Guntuka
f6b69258b9 qcacld-3.0: Enable CE4 copy completion irq for LI and BE targets
Enable CE4 copy completion irq for Lithium and Beryllium
targets.

Change-Id: I71ccbaec9707dad59bcb2ee98919285a22eef351
CRs-Fixed: 3195353
2022-05-13 04:20:34 -07:00
Surya Prakash Sivaraj
a0b6b2c739 qcacld-3.0: Add STA+SAP indoor channel scc support
Based on the ini "sta_sap_scc_on_indoor_chan" the behavior of
STA+SAP in scc is as follows:
1. STA is on 2.4 GHz & SAP is on 2.4 GHz and SAP user configured
initial channel was on 5 GHz, then move SAP to 5 GHz initially
started channel

2. When STA + SAP are doing SCC on indoor only channel and
  a) STA moves to 2.4 GHz -> then SAP moves to initialy started
channel
  b) STA moves to another indoor only channel -> SAP follows
STA channel
  c) STA moves to non-indoor, non-dfs channel -> SAP follows
STA channel.
  d) STA moves to DFS channel -> SAP moves to 2.4 GHz channel
  e) STA disconnects -> Move SAP to initially started channel

3. STA is on 2.4 GHz & SAP is on 5 GHz non-indoor, non-dfs channel
and STA moves to 5 GHz channel, then SAP should follow STA to 5 GHz
if SAP was initially started on 5 GHz channel. Else SAP restart
is not required and SAP will remain on the 2.4 GHz channel

Change-Id: I655dffff026d8147e13599dddc024980ba157be5
CRs-Fixed: 3186965
2022-05-13 04:20:29 -07:00
Madan Koyyalamudi
73da3f72d9 Release 5.2.1.21G
Release 5.2.1.21G

Change-Id: I783713b96a6f388489e0043b3a0cf03a8466d7e1
CRs-Fixed: 774533
2022-05-13 01:08:08 -07:00
Abhishek Singh
810795a323 qcacld-3.0: Use wlan_scan_* API instead of ucfg_scan_* API from umac
Use wlan_scan_* API instead of ucfg_scan_* API for scan calles from
umac.

Change-Id: Ib48ee01443ca9ff9ec66a931a95c152376c5027e
CRs-Fixed: 3192125
2022-05-13 01:08:07 -07:00
Madan Koyyalamudi
713719d24a Release 5.2.1.21F
Release 5.2.1.21F

Change-Id: I3459e6bc7d7bfc6ab55d20b4f52c955616996015
CRs-Fixed: 774533
2022-05-12 11:54:06 -07:00
Arun Kumar Khandavalli
8cbdf9a2c2 qcacld-3.0: send unified command in connected/disconnected state
This reverts commit 3693c5b6, Host will send unified command in the
connected/disconnected state.

Change-Id: Iceb1910e38f1296f1fc8986f7b90bd011750bdc5
CRs-Fixed: 3194125
2022-05-12 11:54:05 -07:00
Madan Koyyalamudi
66ab43dc29 Release 5.2.1.21E
Release 5.2.1.21E

Change-Id: Ie240714ad940f20fdad370d092a006e5885e868e
CRs-Fixed: 774533
2022-05-11 14:57:00 -07:00
Roopavathi Lingampalli
881a91c93b qcacld-3.0: Fix compilation issue related to DP component
Fix compilation issue related to cfg80211_rx_control_port
API in DP component

Change-Id: I9bff854197eb2baae333b54b338141ffa5c6b012
CRs-Fixed: 3194152
2022-05-11 14:57:00 -07:00
Madan Koyyalamudi
2e5695eb0f Release 5.2.1.21D
Release 5.2.1.21D

Change-Id: I75218fea30e71a553200ec30a7cdda455f9faf26
CRs-Fixed: 774533
2022-05-11 13:21:17 -07:00
Liangwei Dong
d4135e82cf qcacld-3.0: handle SAP force SCC channel validation for 3 or 4 vifs
Refine the logic in API policy_mgr_valid_sap_conc_channel_check
to support 3 or 4 Vif concurrency case.
If the force SCC result is not suitable for the SAP to start up
for some reason, the API will select an alternate channel for
the SAP. The limitations includes LTE unsafe limitation, 6 GHz
non-support limitation, DFS STA AP concurrency limitation.

Change-Id: Ifd9cbecce697a885ba502b91340502d3e10c2d88
CRs-Fixed: 3176126
2022-05-11 13:21:16 -07:00
Wade Song
2502638cbf qcacld-3.0: Code condensing for sme
When build kiwi_v2 driver, it reports below error
"make[3]: /bin/sh: Argument list too long". It's because when ar
process kiwi_v2.o, current driver generates too many characters which
over bash's limitation, so create sme.c file to includes all sme layer
common files to save some room.

Change-Id: Ib15fcb29efd6d06d48d305dcfac44de258dba259
CRs-Fixed: 3194081
2022-05-11 13:21:10 -07:00
Amit Mehta
4bb6f92ab3 qcacld-3.0: Code cleanup from HDD module
Cleanup HDD code which is refactored to
DP component.

Change-Id: I66d52b1af7ae52dfde330c7a1b5046f77ab5fe70
CRs-Fixed: 3169985
2022-05-11 13:20:54 -07:00
Karthik Kantamneni
2df27526fc qcacld-3.0: Update HDD to use DP component APIs
All the DP specific code logic is moved out of HDD to
new DP component. So update HDD module to use newly
introduced DP component APIs for DP specific operations.

Change-Id: I02fd36c45ec247fbd4fe79e035c1176cba3ebcec
CRs-Fixed: 3172570
2022-05-11 13:20:47 -07:00
Amit Mehta
6517e529b8 qcacld-3.0: Add HDD callback API for DP component
Add and register HDD callback APIs with DP component.
With this changes DP component will be able to call
HDD APIs which cannot be moved to DP component,
and to get information from HDD.

Change-Id: I393a12dc44b0c38a84a2c0245653c477ac6f2faa
CRs-Fixed: 3172463
2022-05-11 13:20:41 -07:00
Amit Mehta
939457884c qcacld-3.0: build script changes for DP component
build script changes to include DP component files

Change-Id: I1e99466cff805f22411f9bfa5a1842d0ffda265f
CRs-Fixed: 3164969
2022-05-11 13:20:35 -07:00
Karthik Kantamneni
21ff53c56b qcacld-3.0: HDD changes to incorporate new DP component
HDD changes to incorporate new DP component

Change-Id: Ic8d60f182b4af5c2706e8de45f677195f6aabfe4
CRs-Fixed: 3172412
2022-05-11 03:23:14 -07:00
Madan Koyyalamudi
c8feb77dcb Release 5.2.1.21C
Release 5.2.1.21C

Change-Id: I0c08072e3b8a5ac9615fb23bad89dec91b6b55cb
CRs-Fixed: 774533
2022-05-10 23:38:00 -07:00
Alan Chen
a15d229671 qcacld-3.0: Change default fw log ini settings
In order to debug HMT SAP, need to enable FW AP PS module logs.
Hence, change the default ini value for gFwDebugModuleLoglevel.

Change-Id: I5fc9f22b751f5e9c6b43592ec298462a0abd489f
CRs-Fixed: 3192480
2022-05-10 23:38:00 -07:00
Sandeep Puligilla
68fb0369f8 qcacld-3.0: Fix MLO connection failure
MLO AP is operating in US country code and channel
information in RNR is based on US domain.
MLO sta failed to get the channel frequency using the
RNR information because driver trying to get the channel
frequency from world domain where the AP is operating
in US domain.

Modified regulatory API parameters to obtain channel
frequency irrespective of the operating domain.

Removed 6 GHz HE capability from assoc request when the
association in 5 GHz band.

Change-Id: I278968c4019b55d8326de88a46b7669b0879e4e7
CRs-Fixed: 3187041
2022-05-10 23:37:54 -07:00
Alan Chen
4e491e5f35 qcacld-3.0: Set add virtual interface flag during pre cac
Due to Kernel 5.15+ upgrade, the correct kernel function must be used
to register netdevice. Hence, set the add virtual interface flag in
order to properly call cfg80211_register_netdevice().

Change-Id: I1fb0407dc8cb4858881b81d6cb5d4c280b3f9981
CRs-Fixed: 3192543
2022-05-10 23:37:48 -07:00
Madan Koyyalamudi
32aa0cdaac Release 5.2.1.21B
Release 5.2.1.21B

Change-Id: I41bf97af18f583d4e01b078527908e1d74eeb8bc
CRs-Fixed: 774533
2022-05-10 12:55:49 -07:00