Commit Graph

27669 Commits

Author SHA1 Message Date
Yeshwanth Sriram Guntuka
8ec8609bb9 qcacld-3.0: Add PLD API for Audio SMMU map and unmap
Add PLD API support for mapping and unmapping memory
regions via platform driver API calls to Audio SMMU
context bank.

Change-Id: I93b5308ce6cb024773a780c0aaf98a4fd06281d7
CRs-Fixed: 3351568
2022-12-12 07:49:30 -08:00
Paul Zhang
075d170c06 qcacld-3.0: Check the dscp value when update
The dscp value in the Qos map set element of assoc response
frame may be malformed. When try to update the dscpmampping,
make sure the value is less than SME_QOS_WMM_UP_MAX.

Change-Id: I669c5bec66a7dc839d2b2bdfa4eaafb8d7c8736a
CRs-Fixed: 3354319
2022-12-12 07:49:25 -08:00
Madan Koyyalamudi
1244103e06 Release 5.2.1.48W
Release 5.2.1.48W

Change-Id: I65425c5ee2cc026dd6e1fdd5e43fc0a9bdf78913
CRs-Fixed: 774533
2022-12-11 19:52:12 -08:00
Huashan Qu
9b6c1d80c2 qcacld-3.0: Add vdev_mlme NULL check in lim_get_self_dot11_mode()
Handle the possibility of NULL value for VDEV MLME component in
lim_get_self_dot11_mode().

Change-Id: I43ba34f0f1de53961c0f3ad2e675ddae899360d8
CRs-Fixed: 3356646
2022-12-11 19:52:11 -08:00
Madan Koyyalamudi
ffdf6d12b6 Release 5.2.1.48V
Release 5.2.1.48V

Change-Id: Id1424fefcf7eea255ed9e34d59bcf617ef03cf23
CRs-Fixed: 774533
2022-12-11 16:57:51 -08:00
Surya Prakash Sivaraj
e1ce015186 qcacld-3.0: Extend KEK and KCK lengths
For GTK offload functionality, currently only 16bytes of
KEK and KCK are being copied from the userspace.

In latest kernel, kek length and kck length are sent to the
host driver as part of set_rekey_data command. Therefore,
use this length to copy the kek, kck params in host driver.

Change-Id: Idef0247aaab22022a84898eca6eb2f010ca1bf1f
CRs-Fixed: 3345506
2022-12-11 16:57:51 -08:00
Madan Koyyalamudi
0c397eaac2 Release 5.2.1.48U
Release 5.2.1.48U

Change-Id: I963f3dc6394dd701fae4232c0e01cf44328ed6c3
CRs-Fixed: 774533
2022-12-09 19:09:48 -08:00
Jianmin Zhu
61c100819e qcacld-3.0: Fix wrong SAE tx addr issue in WoW mode
In WoW mode, roam auth event may comes before roam start event, so CM
isn't in ROAMING state at that time, can't assume ROAMING state.

Change-Id: Ibf868db1ca0f9863d4beae4c83227cf04fe55adb
CRs-Fixed: 3357115
2022-12-09 19:09:48 -08:00
Madan Koyyalamudi
b8cbd063c6 Release 5.2.1.48T
Release 5.2.1.48T

Change-Id: I6c7c4e8cca90aa0e09877181ab83eea6e3a5cf34
CRs-Fixed: 774533
2022-12-09 11:51:36 -08:00
Roopavathi Lingampalli
fe456edd03 qcacld-3.0: Fix Rx thread suspend error in DP component
Rx thread suspend fail error not handled properly, fix this
by adding proper error case.

Change-Id: Ia46eda8736c47f3015c36a6fa915fbc73a802062
CRs-Fixed: 3356655
2022-12-09 11:51:36 -08:00
Pragaspathi Thilagaraj
258e6ac52f qcacld-3.0: Fix the wrong event id specified for wow wakeup
In wow_get_wmi_eventid(), the reason to event id mapping fills
the wrong command id (WMI_ROAM_PREAUTH_STATUS_CMDID) instead of
the event WMI_ROAM_PREAUTH_START_EVENTID and.
Since the event WMI_ROAM_PREAUTH_START_EVENTID will not be
piggybacked, remove the reason WOW_ROAM_PREAUTH_START_EVENT from
wow_get_wmi_eventid api. Fix the documentation of setting the
WOW_ROAM_PREAUTH_START_EVENT bit in pmo wow bitmap.
Fix invalid event id mapping for WMI_TDLS_PEER_EVENTID also in
wow_get_wmi_eventid().

Change-Id: Ifd08dc94cda22d9de662ef15b74cb19571007052
CRs-Fixed: 3355578
2022-12-09 11:51:30 -08:00
Liangwei Dong
ead07b04fe qcacld-3.0: Make User CSA request as sync call
GO on 5 GHz channel 48, MLO STA 5 GHz (48) + 6 GHz (1) is UP.
SAP starts ACS, and before ACS complete, supplicant moves GO
to 5 GHz channel 149. Before GO CSA is completed, SAP ACS
is completed and start AP on 5 GHz channel 157. Then 3 home channels
are on same 5 GHz high band.
Fix by make User CSA as sync call and after GO CSA is completed
SAP should force SCC to low band during SAP starting, then avoid
3 home channels on high band.

Change-Id: I55ee559b47f270322ac3d2da7304dc5e8e104cf1
CRs-Fixed: 3352096
2022-12-09 11:51:25 -08:00
Madan Koyyalamudi
d0190a1cfa Release 5.2.1.48S
Release 5.2.1.48S

Change-Id: Id53359ac79e3809eed4e5154f39689fe7bc35899
CRs-Fixed: 774533
2022-12-09 09:35:18 -08:00
Surya Prakash Sivaraj
2095242876 qcacld-3.0: Increase PMK max length to 64bytes
For SAE-EXT-KEY AKM with group-21 pwe, the PMK
length is 64bytes. Therefore, increase the max
size of the PMK to 64bytes in host to facilitate
PMK storage and PMK offloads.

Change-Id: I777a31acd56073d6a0312c47d95fe7d155b06fc6
CRs-Fixed: 3353102
2022-12-09 09:35:17 -08:00
Madan Koyyalamudi
48366b73c1 Release 5.2.1.48R
Release 5.2.1.48R

Change-Id: I5ee79bd3dee73c54bfbbbdfa66501cf9bdbab63a
CRs-Fixed: 774533
2022-12-09 07:32:05 -08:00
Vinod Kumar Pirla
5f609834c4 qcacld-3.0: Remove unused session open event variable
In hdd_adapter structure, the qdf_session_open_event is
a declared as event type which is initialized but not used.
Remove this unused event variable and all its references.

Change-Id: Iec1ece36153a3c9986195bbc2cc19bf8a469f2ee
CRs-Fixed: 3354149
2022-12-09 07:32:04 -08:00
Vijay Raj
f101354847 qcacld-3.0: Add FW support for AKM 24
Add FW support for AKM 24

Change-Id: I067c7f2a4eabe680fdd38e78cb5ffbd8ad306ad3
CRs-Fixed: 3301709
2022-12-09 07:31:59 -08:00
vijaraj
d607d5e5e8 qcacld-3.0: Add support for AKM suite 24
Add support for AKM suite 24

Change-Id: I4b5be990a0f2d2aa481374486a5790970cc04592
CRs-Fixed: 3299864
2022-12-09 07:31:54 -08:00
Madan Koyyalamudi
aff891f305 Release 5.2.1.48Q
Release 5.2.1.48Q

Change-Id: Ib5af807ecbb2ffc13951d5da41f74bae5872f9dc
CRs-Fixed: 774533
2022-12-09 05:05:26 -08:00
Jeff Johnson
7c1e0f0759 qcacld-3.0: Fix wlan_dp_priv.h documentation
The kernel-doc script identified some documentation issues in
wlan_dp_priv.h, so fix them.

Change-Id: I38bc7293d4ef7b34bbc40930b2c1e4daaff4a13b
CRs-Fixed: 3352263
2022-12-09 05:05:26 -08:00
Madan Koyyalamudi
c934002558 Release 5.2.1.48P
Release 5.2.1.48P

Change-Id: I39edeede0c1a6faf0433c4bd1143581a0e0b02b6
CRs-Fixed: 774533
2022-12-09 01:06:35 -08:00
Ashish Kumar Dhanotiya
9520549e95 qcacld-3.0: Update dot11 mode correctly for Getbssinfo
Currently host driver does not update dot11 mode info correctly
for getbssinfo command if the dot11 mode is 11AX or 11BE.

With this fix add a logic to update the dot11 mode info
correctly in response to the getbssinfo command.

Change-Id: I9ebec3ab43fe4cff1cab5f646bcc93a8c6654fd0
CRs-Fixed: 3353630
2022-12-09 01:06:35 -08:00
Utkarsh Bhatnagar
377a632f72 qcacld-3.0: Change sap Channel if unsafe during cac
While doing CAC for moving SAP to DFS channel, channel
avoid event can be received. While in CAC is going on,
the current sap channel is not updated and remains the
channel on which sap was before CAC. It is only updated
after CSA. So, when channel avoid event is received,
it is checked against the previous frequency and hence,
no action is taken as the previous frequency is part of
safe channel. This results in sap starting and remaining
in Unsafe channel.
As, a fix when sap starts after CSA, check for unsafe
channel and if the sap frequency is unsafe then restart
it to another channel.

Change-Id: I910b80fe87fc149f25e84383b128a5e5c9d269e4
CRs-Fixed: 3287239
2022-12-09 01:06:30 -08:00
Madan Koyyalamudi
0ce2d9463e Release 5.2.1.48O
Release 5.2.1.48O

Change-Id: I79c6e8db1775d8acb688dbd8a1d7991dc60a2dc2
CRs-Fixed: 774533
2022-12-08 11:00:43 -08:00
abhinav kumar
9988950c6d qcacld-3.0: Abort roam invoke if BSSID is present in reject list
Driver adds a BSSID to the reject list due to multiple
DE authentication triggers from associated AP. If DUT tries the
FASTREASSOC command for the same BSSID multiple times, the host
triggers disconnection to handle roaming failure, and this results
in DUT losing the current connection.

To keep the current connection DUT should not trigger a roaming
event if the BSSID is already added to the reject list in the
host.

The fix is to add logic to avoid the FASTREASSOC trigger command
for AP(s) present in the reject list of HOST.

Change-Id: I315da12b3f93d5d9d67396a5dd9e12fa2be5fda0
CRs-Fixed: 3328847
2022-12-08 11:00:43 -08:00
Madan Koyyalamudi
e69617aa5e Release 5.2.1.48N
Release 5.2.1.48N

Change-Id: I4462aaa3d8941f89afe4873333e9fc7270ca8975
CRs-Fixed: 774533
2022-12-08 07:40:20 -08:00
Will Huang
1ad545d3d7 qcacld-3.0: Add SAP channel auto selection DCS callbacks with AFC
Add channel tx max power factor to existing ACS channel weight logic,
so if AFC available can automatically select Standard Power channel
which has higher 6 GHz tx power and better performance.

Add SAP best channel selection callback when AFC triggered DCS,
DCS module will invoke this callback and dynamic switch to best
channel/bandwidth if possible.

Change-Id: I300057c2b11d0b818f4e20ba51d6ab9b82f6a3ff
CRs-Fixed: 3204199
2022-12-08 07:40:20 -08:00
Jianmin Zhu
753520a1a4 qcacld-3.0: Fix encrypt type mismatch after roaming
When roam from legacy to MLO AP,  vdev1 pe session is created, but encrypt
type isn't filled,  so encrypt type in session and beacon mismatch,
disconnect will happen later.

change-Id: I289f81ab9b73f0d01c1c36a002f15eb2de66a334
CRs-Fixed: 3351876
2022-12-08 07:40:14 -08:00
Madan Koyyalamudi
c1e286914e Release 5.2.1.48M
Release 5.2.1.48M

Change-Id: I7043be82d3824356a0e056ae1813c93726fee5fa
CRs-Fixed: 774533
2022-12-08 02:48:36 -08:00
Will Huang
546b59df64 qcacld-3.0: Update TPC command after SAP DCS happen
If SAP switch to 6 GHz channel with CSA, its channel tx power may
change like by AFC updating, so need update TPC command after CSA
complete.

Current 6 GHz channel power is got from regdb power limit, didn't
consider AFC event to update SP channel power and state. So need
to get channel power from secondary channel list which update by
AFC data.

Change-Id: I4517dd112fa6a97d5771b3d88a2587a7ae3cd4a5
CRs-Fixed: 3204221
2022-12-08 02:48:36 -08:00
Srikanth Marepalli
f6ae09b410 qcacld-3.0: Add vendor attribute to include 6 GHz in roam full scan
During the roam scan, if there are no desired APs found in the partial
frequency list, an immediate full scan on all the supported frequencies
is initiated as a fallback. This would include the 6 GHz PSC
frequencies by default.
This attribute allow that behavior to be modified to include PSCs only
if 6 GHz use has been detected in the environment.

Change-Id: I6dc380419f14b920737fd87cd9a487c28364563b
CRs-Fixed: 3351697
2022-12-08 02:48:30 -08:00
Aditya Kodukula
ae8eee9988 qcacld-3.0: Update ll_stats request pending flag properly
In the current driver implementation, host honors LL_STATS request
even in disconnected state. But in disconnected state, the ll_stats
request pending flag is not updated properly, which results in allowing
multiple LL_STATS requests being sent to FW. So, to avoid this issue,
update the flag properly.

Change-Id: I318455492dc69bd540044b593a405eacdf185ff1
CRs-Fixed: 3339867
2022-12-08 02:48:24 -08:00
Madan Koyyalamudi
1d626b1c87 Release 5.2.1.48L
Release 5.2.1.48L

Change-Id: Ib9a8cc07544bedcd7a3c56de2f5de908c24fab84
CRs-Fixed: 774533
2022-12-07 21:22:51 -08:00
Vinod Kumar Pirla
c1a01044d2 qcacld-3.0: Add NULL check for vdev mlme pointer
Handle the possibility of NULL value for VDEV
MLME component in csr_get_vdev_dot11_mode() API.

Change-Id: Ib998514788466ce390d429703c6f72197597c743
CRs-Fixed: 3354425
2022-12-07 21:22:50 -08:00
Madan Koyyalamudi
807b698d82 Release 5.2.1.48K
Release 5.2.1.48K

Change-Id: Id6cfd6ff61771ddd933c2fab6624220e7a1047d8
CRs-Fixed: 774533
2022-12-07 19:36:44 -08:00
Liangwei Dong
f327b00ab4 qcacld-3.0: Fix potential out of memory access
Check num_ml_sta valid or not from API policy_mgr_get_ml_sta_info
result.

Change-Id: Id53764004110d21e34a8f059e8448d059737a9f6
CRs-Fixed: 3354411
2022-12-07 19:36:44 -08:00
Madan Koyyalamudi
8db4dd5838 Release 5.2.1.48J
Release 5.2.1.48J

Change-Id: I35e636eaea84ef3a1e2c67b3003d11dcc467770e
CRs-Fixed: 774533
2022-12-07 16:18:59 -08:00
Chaoli Zhou
6e710cfe9f qcacld-3.0: Fix sap_ctx_ref_count leak issue
Fix sap_ctx_ref_count leak issue in the P2P Go mode.

Change-Id: If6020833caf253884c776393b5844779607b74de
CRs-Fixed: 3348371
2022-12-07 16:18:59 -08:00
Madan Koyyalamudi
6e5006359f Release 5.2.1.48I
Release 5.2.1.48I

Change-Id: Idf3b87fa78999e3107a2ca67cea49beab6b16d58
CRs-Fixed: 774533
2022-12-07 11:58:11 -08:00
Liangwei Dong
cdd8a34bc0 qcacld-3.0: Update hw mode index for hw mode transition event
When vdev_mac_entry is NULL, update the hw mode index as well
to avoid mismatch between host and target.

Change-Id: I67bd91af8c72dcc468c128e266e7074308de04c0
CRs-Fixed: 3342565
2022-12-07 11:58:11 -08:00
Madan Koyyalamudi
8c345aad7b Release 5.2.1.48H
Release 5.2.1.48H

Change-Id: I20a15f198dd79c8db8633fce160405238c8fde5b
CRs-Fixed: 774533
2022-12-07 09:46:47 -08:00
Jeff Johnson
dc0cfa5342 qcacld-3.0: Fix CoAP documentation
The kernel-doc script identified several documentation issues in
components/coap, so fix them.

Change-Id: Iec06bb65071e4d9b1ee8787da84e66ba4ffb0028
CRs-Fixed: 3352334
2022-12-07 09:46:47 -08:00
Bing Sun
6798fa21ee qcacld-3.0: Check pointer before using it in lim_get_update_bw_allow
Should check update_allow firstly, then access it.

Change-Id: I1092530322b4f965f916956712f7260b4e0c3cdc
CRs-Fixed: 3354433
2022-12-07 09:46:42 -08:00
Madan Koyyalamudi
8955e45f7b Release 5.2.1.48G
Release 5.2.1.48G

Change-Id: Ifd8398db5df7dc7918caefee1f2cbb513ed6c962
CRs-Fixed: 774533
2022-12-07 05:50:07 -08:00
Arun Kumar Khandavalli
6d5ce1983d qcacld-3.0: reject client if the peer is present same ml address
Host/fw doesn't support the ml peers or legacy peers with same
mac address, So reject the client with the same link address or
mld address as one of the ml or legacy peers in the system.

Change-Id: I5f625e06c1f3832739d0424e1567a9957037fef8
CRs-Fixed: 3344809
2022-12-07 05:50:06 -08:00
Madan Koyyalamudi
d892c5bd75 Release 5.2.1.48F
Release 5.2.1.48F

Change-Id: I50ef7f14fa95cd8b14f62895bdbe3293ff46a24a
CRs-Fixed: 774533
2022-12-07 02:23:59 -08:00
Amruta Kulkarni
63583f71ac qcacld-3.0: Validate T2LM IE
Adds support to parse and validate T2LM IE,
based on tid to link mapping pick the
association link for MLO connection.

Change-Id: I8ea23ff10f2a637148686f1e2194fd8cc1f4fb90
CRs-Fixed: 3344675
2022-12-07 02:23:58 -08:00
Abhishek Singh
21fd53081b qcacld-3.0: remove unused API policy_mgr_pdev_get_pcl
Remove unused API policy_mgr_pdev_get_pcl

Change-Id: I8b0bc201f30482867023a8d938bedc9322f808a2
CRs-Fixed: 3352669
2022-12-07 02:23:53 -08:00
Madan Koyyalamudi
d7efa4f58c Release 5.2.1.48E
Release 5.2.1.48E

Change-Id: I2d3720a1fbbb9c2aed389d092854b8089593ff62
CRs-Fixed: 774533
2022-12-07 00:20:10 -08:00
Aravind Kishore Sukla
d73ef71ceb qcacld-3.0: Rate limit P2P OTA logs
P2P OTA rx frame indications are logged in info level.
This causes excessive logs to kernel logging when peer
sends multiple frames back to back. Rate limit the logs
to avoid excessive logs to kernel logging.

Change-Id: Ia97aef1490b8dbb759c27ba60c48c93ad7831497
CRs-Fixed: 3352880
2022-12-07 00:20:09 -08:00