Commit Graph

25785 Commits

Author SHA1 Message Date
Vulupala Shashank Reddy
389655e402 qcacld-3.0: Fix early stop scan threshold values
Currently we are reading early stop scan min and max
threshold to unsigned int, because of which we are
sending wrong values to FW.

Read early stop scan threshold min and max values
to signed int to send correct values to FW.

Change-Id: I2e96b3c3e9fb48352d8075a4e7a96eae41dacedc
CRs-Fixed: 3191076
2022-05-19 08:06:18 -07:00
Madan Koyyalamudi
55bb17fe85 Release 5.2.1.22C
Release 5.2.1.22C

Change-Id: I7a9f7315718a6340382e43b343779ba66348b49d
CRs-Fixed: 774533
2022-05-19 03:41:40 -07:00
Aditya Kodukula
a1b9df7c4d qcacld-3.0: Add check to update request bitmap for MLO Stats
Add a guard check to update ll stats request bitmap in case
of MLO connection only.

Change-Id: Ie910e9afe6280d607c0a81b722a790c325e227dd
CRs-Fixed: 3200229
2022-05-19 03:41:40 -07:00
Madan Koyyalamudi
fb11191a29 Release 5.2.1.22B
Release 5.2.1.22B

Change-Id: I92059e28d5b06214a9fc8f610e471211e715e0ea
CRs-Fixed: 774533
2022-05-19 01:57:05 -07:00
Rakesh Pillai
11e66ac007 qcacld-3.0: PLD interface API changes for shadow config v3
PLD interface related changes for using shadow
config v3 msg in KIWI.

Change-Id: I2b075b7ecffbedbdf9c2c5577866ba6a23a24ca2
CRs-Fixed: 3167763
2022-05-19 01:57:05 -07:00
Rakesh Pillai
1f7aaef741 qcacld-3.0: Enable Shadow config v3 for beryllium chipsets
Enable feature flag for shadow config v3 for all
the beryllium chipsets.

Change-Id: I8fb7facb51f017fa880109e12face1f31366797b
CRs-Fixed: 3167764
2022-05-19 01:56:59 -07:00
Madan Koyyalamudi
6fe0573f9a Release 5.2.1.22A
Release 5.2.1.22A

Change-Id: I125bcda6fd83f21a3195325113732d80ecc10556
CRs-Fixed: 774533
2022-05-18 05:20:44 -07:00
Jyoti Kumari
eafa02c574 qcacld-3.0: Skip STA connect on 6G or 5G indoor chan if SAP is up
Currently STA can scan and come up on 6Ghz or 5Ghz indoor channel
if hardware is non-dbs and SAP is present

As part of this change, do not allow STA to connect on 6Ghz and
5Ghz indoor channel for non-dbs hardware if SAP is present

Change-Id: I48ed8483225e35d8b898b0325eee398f74e41c97
CRs-Fixed: 3196247
2022-05-18 05:20:43 -07:00
Madan Koyyalamudi
907660cc2a Release 5.2.1.22
Release 5.2.1.22

Change-Id: Ib35c86310f96b6ac88507fbc7fc8ed49438523dc
CRs-Fixed: 774533
2022-05-18 03:34:58 -07:00
Jia Ding
a1dd8c42c5 qcacld-3.0: Properly get channel width for SON module
Channel width from WMI_VDEV_PARAM_CHWIDTH get command is always 0.
Fix is to get correct channel width from vdev mlme structure and
convert it to SON channel width.

Change-Id: I9eba5a3d0a8490919ac1c0f66eb6fcf26b2db0a8
CRs-Fixed: 3181185
2022-05-18 03:34:58 -07:00
Madan Koyyalamudi
781ff17a3f Release 5.2.1.21Z
Release 5.2.1.21Z

Change-Id: I21521c8a2efdc0d718f8321dcf961198013d1157
CRs-Fixed: 774533
2022-05-18 01:40:28 -07:00
Rajeev Kumar
c5190e4605 qcacld-3.0: Enable SAP/GO D3 WoW feature by default
Enable SAP and GO D3 WoW feature by default since these features
are controlled by FW WMI service capability as well and hence for
older FW which does not support SAP/Go D3 WoW there is no impact.

Change-Id: I13597c2ee790270b295101252c4548d7c1c93f29
CRs-Fixed: 3199070
2022-05-18 01:40:27 -07:00
Madan Koyyalamudi
8cd19883b2 Release 5.2.1.21Y
Release 5.2.1.21Y

Change-Id: Ia99521e27ce782b5160bc0db7b4af4b67298553d
CRs-Fixed: 774533
2022-05-17 22:57:53 -07:00
Dundi Raviteja
b59f96fb33 qcacld-3.0: Add osif callbacks for pre cac
Add osif callbacks for pre cac component.

Change-Id: Ic49f61c413e4630bba8fd2e5ff3e69560fb52b52
CRs-Fixed: 3174540
2022-05-17 22:57:53 -07:00
Dundi Raviteja
e63bf7f295 qcacld-3.0: Add pre cac component
Add support for pre cac component.

Change-Id: I883febac103fc462fcd09f1534fda78c23b96466
CRs-Fixed: 3174505
2022-05-17 22:57:46 -07:00
Madan Koyyalamudi
341153308e Release 5.2.1.21X
Release 5.2.1.21X

Change-Id: I37072bc5773a99373ca5cd330d0310b90e9ce570
CRs-Fixed: 774533
2022-05-17 13:50:09 -07:00
Dundi Raviteja
d3bb29db4c qcacld-3.0: Move pre cac hdd code to new file
Move pre cac code related to hdd into a new file
wlan_hdd_pre_cac.c

Change-Id: Ia6b2e92a1bea03d7efe12a7dad27e345dc5ef53d
CRs-Fixed: 3174488
2022-05-17 13:50:08 -07:00
Madan Koyyalamudi
e42e7fb2a0 Release 5.2.1.21W
Release 5.2.1.21W

Change-Id: I5cc01bf201043729431bf17e7d0def9d0c58011e
CRs-Fixed: 774533
2022-05-17 09:21:24 -07:00
Vinod Kumar Myadam
70b46d3736 qcacld-3.0: Sanity check for session_id in roam
For session_id is not have sanity check, an OOB would happen
leads to crash.

Added Sanity checks for session_id in roam functions and
return failure if session_id is equals to NULL or MAX value.

Change-Id: I033c6567f53ead2a721882e9b44f3d0bcb58084d
CRs-Fixed: 3149880
2022-05-17 09:21:23 -07:00
Madan Koyyalamudi
693e074e9f Release 5.2.1.21V
Release 5.2.1.21V

Change-Id: I4bf818060280d695c4cc30cb7c9b3d3015a7f5c2
CRs-Fixed: 774533
2022-05-17 05:52:57 -07:00
Nirav Shah
100ab02392 qcacld-3.0: Check for PM QoS vote only if dynamic runtime pm is enabled
Check for PM QoS Latency constraint only if dynamic runtime
pm is enabled.

Change-Id: If38de1d5c28ec80fb3dccaa6444916cf81347268
CRs-Fixed: 3196823
2022-05-17 05:52:57 -07:00
Madan Koyyalamudi
84bdd3ae4f Release 5.2.1.21U
Release 5.2.1.21U

Change-Id: If59c5e788c0f100819dd4204fc4247785acd6081
CRs-Fixed: 774533
2022-05-17 00:48:37 -07:00
Ben Wang
4531a1ccd4 qcacld-3.0: Fix DBS freq range when receive multiple DBS Mode
QCN7605 HW DBS mode have two index. If DBS freq range fill two
index info, function policy_mgr_are_2_freq_on_same_mac will
not return correctly. So only fill DBS freq range when no freq
info are filled.

Change-Id: I4a8b6dbd470db3f3ecc40746abbb02d81272c74b
CRs-Fixed: 3161847
2022-05-17 00:48:37 -07:00
Madan Koyyalamudi
6f5870b668 Release 5.2.1.21T
Release 5.2.1.21T

Change-Id: I6115e3978c63d2a64d2e8faaaeb393b387917b56
CRs-Fixed: 774533
2022-05-16 18:58:19 -07:00
Karthik Kantamneni
dd3ab5f8dd Revert "qcacld-3.0: build script changes for DP component"
This reverts commit I1e99466cff805f22411f9bfa5a1842d0ffda265f.

Change-Id: Iaf5766d372558eb28085610191f1d66b340fbd8a
CRs-Fixed: 3196571
2022-05-16 18:58:18 -07:00
Karthik Kantamneni
667547b486 Revert "qcacld-3.0: HDD changes to incorporate new DP component"
This reverts commit Ic8d60f182b4af5c2706e8de45f677195f6aabfe4.

Change-Id: I7d8d8c792bc94868ddde04e2c8dec543e07da81a
CRs-Fixed: 3196571
2022-05-16 18:58:10 -07:00
Karthik Kantamneni
cb8a67a440 Revert "qcacld-3.0: Add HDD callback API for DP component"
This reverts commit I393a12dc44b0c38a84a2c0245653c477ac6f2faa.

Change-Id: I40773c6b5aba4dd24a88e68e16b22608abcbd5f7
CRs-Fixed: 3196571
2022-05-16 18:58:04 -07:00
Karthik Kantamneni
6bbad18fde Revert "qcacld-3.0: Update HDD to use DP component APIs"
This reverts commit I02fd36c45ec247fbd4fe79e035c1176cba3ebcec.

Change-Id: I26758565ac783b9c76b59eee6c2a526c68646fa5
CRs-Fixed: 3196571
2022-05-16 18:57:59 -07:00
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