Commit Graph

27709 Commits

Author SHA1 Message Date
Liangwei Dong
59418f4b1f qcacld-3.0: Reject bssid in deny or reject list for roam invoke
Allow roam invoke on bssid in monitor list but reject bssid in
deny or reject list.

Change-Id: I639f30e194fdb3f5521e0483a7b8151d48134450
CRs-Fixed: 3359171
2022-12-16 16:59:37 -08:00
Madan Koyyalamudi
395d843cf8 Release 5.2.1.49M
Release 5.2.1.49M

Change-Id: Ied9d61729d0f74b030f565edae8173306c1a02e7
CRs-Fixed: 774533
2022-12-16 12:33:21 -08:00
Tiger Yu
099f09d746 qcacld-3.0: Enable the PRE_CAC_SUPPORT for qca6390 by default
Enable the PRE_CAC_SUPPORT for qca6390 by default to fix the AP start
failure on the DFS channel.

Change-Id: Iacc513c6804c1b51dd6752a74423fb9d5e6a8194
CRs-Fixed: 3353106
2022-12-16 12:33:20 -08:00
Madan Koyyalamudi
da12e7dfd0 Release 5.2.1.49L
Release 5.2.1.49L

Change-Id: I1c3525032f49ffe6cc28b5c23410e8a4e34936ac
CRs-Fixed: 774533
2022-12-16 03:28:29 -08:00
Deeksha Gupta
7c00434445 qcacld-3.0: Send peer ML link_id info on tx control port
For ML connection, send the link_id on tx control port as per
6.0 kernel.

For legacy or non-ML connection don't need to send this info.

Change-Id: Iad3337481d62fd9cc2c35744a6aa1af14ab89d59
CRs-Fixed: 3342965
2022-12-16 03:28:28 -08:00
Madan Koyyalamudi
df3489fda8 Release 5.2.1.49K
Release 5.2.1.49K

Change-Id: I334f5d32bcc4590fb672b40fb4aad8fbcc409202
CRs-Fixed: 774533
2022-12-16 00:38:41 -08:00
Ashish Kumar Dhanotiya
ffd332217a qcacld-3.0: Add an attribute to set wfc state via set wifi config
Currently there is no attribute to set the wifi calling state
from user space to fw.
With this change add an attribute to set wifi config vendor
command to configure wifi calling state to fw via platform
driver.

Change-Id: I982e9a7245b9e5108cd6cbcb4162daa4b4b6a412
CRs-Fixed: 3345705
2022-12-16 00:38:41 -08:00
Naman Padhiar
2b2c0a0436 qcacld-3.0: Add PLD API to send WFC mode to FW
Add PLD API to send WFC(WiFi Calling) mode to WLAN FW.

Change-Id: I4aef58caa93d255233d2412aa6d03017da4b5f10
CRs-Fixed: 3346545
2022-12-15 21:17:57 +05:30
Madan Koyyalamudi
ffe89b5eaa Release 5.2.1.49J
Release 5.2.1.49J

Change-Id: I61375b69757bd83d7c50a761a13b2969e96b04d2
CRs-Fixed: 774533
2022-12-14 23:15:18 -08:00
Srinivas Dasari
f3438c702a qcacld-3.0: Fetch link freq based on link mac addr from roam sync
Currently, link frequency is fetched from roam sync indication
based on vdev_id. But the vdev_id is of assoc link in OWE/1x
cases(where link vdev would be down as part of roam sync handling)
but it would of non-assoc link in case of other modes
like SAE/WPA2/.. So current fetching of frequency based vdev_id
may give invalid frequency in SAE case as non-assoc link vdev_id
is passed.
Fetch the frequency based on link mac addr to avoid such failures.

Change-Id: I0a5748ac351473d85b21f2da8d8f124715c4d595
CRs-Fixed: 3358448
2022-12-14 23:15:18 -08:00
Madan Koyyalamudi
fbbcbd919c Release 5.2.1.49I
Release 5.2.1.49I

Change-Id: Iab8841de3859a461d0e1f7204fdef7621b7fc69e
CRs-Fixed: 774533
2022-12-14 11:57:13 -08:00
Will Huang
9029c332a6 qcacld-3.0: Enable AFC feature for sdxlemur
Add AFC common include path to regulatory include path.
Enable AFC feature for sdxlemur.

Change-Id: I6b936b3f6443868f05cf86351bcf31d24d65bbbc
CRs-Fixed: 3154178
2022-12-14 11:57:13 -08:00
Madan Koyyalamudi
c3318881c3 Release 5.2.1.49H
Release 5.2.1.49H

Change-Id: I49171d64fe196389816c7216b4563b9506b3bd50
CRs-Fixed: 774533
2022-12-14 09:51:24 -08:00
Pragaspathi Thilagaraj
e340881301 qcacld-3.0: Handle deauthentication action for PASN peer
The userspace sends QCA_WLAN_VENDOR_SECURE_RANGING_CTX_ACTION_DELETE
action in the QCA_WLAN_VENDOR_ATTR_SECURE_RANGING_CTX_ACTION to delete
the pasn peer. Add changes to handle this action.

Change-Id: I30bcdadd792d5bf1271c61fa585c62d5255eee5b
CRs-Fixed: 3358878
2022-12-14 09:51:23 -08:00
Madan Koyyalamudi
8232f4cfd0 Release 5.2.1.49G
Release 5.2.1.49G

Change-Id: If61cd911c92c71561ad0f8e94de0f3f840226576
CRs-Fixed: 774533
2022-12-14 02:02:53 -08:00
Divyajyothi Goparaju
017f34dd8d qcacld-3.0: configure valid range of value for aliasing INI
There are two different names with different range of
value for aliasing INI's.
So, it should pick the valid range of value wrt INI
name.

Change-Id: I58d4797a0fa598a1e44349c8954dac3378f1a751
CRs-Fixed: 3352412
2022-12-14 02:02:52 -08:00
Sai Kumar Kunchala
8e09eaace8 qcacld-3.0: Fix failure check to process QCA_TSF_GET command
Reset return value in wlan_hdd_cfg80211_handle_tsf_cmd
function so that QCA_TSF_GET command gets process.

Change-Id: Ia81d5e3920a6f707edcbdb05583f94798534b721
CRs-Fixed: 3353246
2022-12-14 02:02:47 -08:00
Madan Koyyalamudi
e0f5c3ec20 Release 5.2.1.49F
Release 5.2.1.49F

Change-Id: I8ae6e9677fa6929479d4ebf13b810465fe360d02
CRs-Fixed: 774533
2022-12-14 00:02:18 -08:00
Jianmin Zhu
6a88b4a711 qcacld-3.0: Update vdev self mac address after roaming
When roam from legacy to MLO/SLO, need change vdev self mac to link addr.
When roam from MLO/SLO to legacy,  need change vdev self mac to mld/net
addr.

Change-Id: Ife17fd0a79a9f067eb72ac510dbf437b6d3649d8
CRs-Fixed: 3351027
2022-12-14 00:02:18 -08:00
Madan Koyyalamudi
3e4d62f761 Release 5.2.1.49E
Release 5.2.1.49E

Change-Id: I45a98f17d58fcd9260d1d5891644f4f4e0c01281
CRs-Fixed: 774533
2022-12-13 17:24:16 -08:00
Sheenam Monga
ac14a3912b qcacld-3.0: Send async event to userspace for NAN concurrency
As part of Spatial Reuse, host has to send SR Suspend and resume
events based on concurrency which is not sent in case of NAN
concurrency.

Fix is to send SR Suspend in case NAN comes up and any STA that
supports SR is already present because SR is not supported in
case of NAN concurrency. Similarly during NAN disable check
if any other vdev apart from NAN is sharing mac with STA that
supports SR and SR support on same mac is disabled then don't
send SR resume event as there is already a concurrent vdev that
will take care of SR Suspend event otherwise send SR Resume event.

Change-Id: I56a9b455dd0166bc3997f8306992e46da759e992
CRs-Fixed: 3339713
2022-12-13 17:24:16 -08:00
Madan Koyyalamudi
9406e4252e Release 5.2.1.49D
Release 5.2.1.49D

Change-Id: I7d44ae3c045180779894383800b00cd4c6b70ea4
CRs-Fixed: 774533
2022-12-13 14:06:13 -08:00
Sheenam Monga
80368c0326 qcacld-3.0: Update correct color and partial bssid bitmap
Currently, srg color bit map and partial bssid bit map
is not updated correctly.

Fix is to parse srg color bit map and partial bssid bit
map array correctly from assoc resp and add it to 64 bit
map which will be used to send 2 bitmaps of 32 bits to FW.

Change-Id: I8114359f8dda246c9d210fefdb1be55a3d0568a3
CRs-Fixed: 3355534
2022-12-13 14:06:12 -08:00
Roopavathi Lingampalli
fcb513f88f qcacld-3.0: Add Component APIs for required ucfg APIs in DP component
When component dependent functions calling from higher
modules or any other components, it uses ucfg APIs pattern.
Calling ucfg dependent APIs is acceptable for higher modules
like HDD, OSIF but for another components like DP to avoid
using ucfg APIs here, implementing component APIs for existing
ucfg APIs to other components like MLME, TDLS, Pkt capture in
DP component module.

Change-Id: Ib8857eeca6a88810d7875312ff6dc14ffb60bc70
CRs-Fixed: 3351486
2022-12-13 14:06:07 -08:00
Madan Koyyalamudi
75c248dbb9 Release 5.2.1.49C
Release 5.2.1.49C

Change-Id: I7d79319257b8306a11ec81e3d8d9534e19d93eac
CRs-Fixed: 774533
2022-12-13 07:45:59 -08:00
abhinav kumar
ce9bc69f08 qcacld-3.0: Disable unsupported EHT capability for SAP/GO
SAP/GO doesn’t support below EHT capabilities, So the driver
should not advertise it in beacon, probe rsp and assoc rsp.
It can cause IOT issues if capabilities are advertised
without support.

1. tx_1024_4096_qam_lt_242_tone_ru
2. rx_1024_4096_qam_lt_242_tone_ru
3. non_ofdma_ul_mu_mimo_le_80mhz
4. non_ofdma_ul_mu_mimo_160mhz
5. non_ofdma_ul_mu_mimo_320mhz

Fix is to disable the above unsupported EHT capabilities
for SAP/GO's beacon, probe rsp and assoc rsp.

Change-Id: Ia958e2f3de7454eb5eff34a347e65f7510f433bc
CRs-Fixed: 3340585
2022-12-13 07:45:59 -08:00
Madan Koyyalamudi
0366a80ea2 Release 5.2.1.49B
Release 5.2.1.49B

Change-Id: I0339a7e842157e0ec94dd7b06e65abda5b0f3a55
CRs-Fixed: 774533
2022-12-12 18:38:18 -08:00
Yeshwanth Sriram Guntuka
bac8bc45cf qcacld-3.0: Modify the return statuses of OS_IF QMI APIs
Use existing failure return statuses for os_if QMI APIs.

Change-Id: I49abbf8d10f04df3bd4ef7d2796ee72d281409a0
CRs-Fixed: 3356631
2022-12-12 18:38:18 -08:00
Lin Bai
403aafca53 qcacld-3.0: Always print SAE TX addr
Enhance the print of SAE TA, to always log the address passed to
cfg80211_external_auth_request().

Change-Id: I0765b3a0465d7271b3bf42bc7498d4b7e673c88e
CRs-Fixed: 3357863
2022-12-12 18:38:13 -08:00
Madan Koyyalamudi
c3b0cec165 Release 5.2.1.49A
Release 5.2.1.49A

Change-Id: I466182a4f5cfe093befee1b6f2e5d771ee76de25
CRs-Fixed: 774533
2022-12-12 15:38:42 -08:00
Srikanth Marepalli
b73718cf7d qcacld-3.0: Introduce ini to configure roam RSSI diff for 6 GHz AP
This is applicable only when the roaming happens from 2.4 GHz/5 GHz
to 6 GHz AP.
The value is used to check if the 6 GHz AP to which we are roaming
(from 2.4 GHz/ 5 GHz) is better than current AP in terms of RSSI.
This checking is disabled if the value is set to zero.

Change-Id: I77f1183e1fd704dfa153841e669a20c9e75d0fe7
CRs-Fixed: 3353346
2022-12-12 15:38:42 -08:00
Madan Koyyalamudi
fc8c64aa9e Release 5.2.1.49
Release 5.2.1.49

Change-Id: Ifea3acacd0f38ce2da8562e24077f16d3ab1c521
CRs-Fixed: 774533
2022-12-12 13:47:04 -08:00
Yu Wang
52377c6b5c qcacld-3.0: free skb properly for vendor command reply
In __wlan_hdd_cfg80211_sr_operations(), it doesn't free the
skb for vendor command reply when fail to fill it, which
will result in memory leak in such case.

To fix it, free the skb properly, and replace the kernel APIs
cfg80211_vendor_cmd_alloc_reply_skb()/cfg80211_vendor_cmd_reply()
with internal APIs wlan_cfg80211_vendor_cmd_alloc_reply_skb()/
wlan_cfg80211_vendor_cmd_reply().

Change-Id: Iefa578c06782db579d8fe9f5453aca2bf6622b2d
CRs-Fixed: 3354148
2022-12-12 13:47:03 -08:00
Madan Koyyalamudi
9c4e541279 Release 5.2.1.48Z
Release 5.2.1.48Z

Change-Id: I6ea508c07c797cf97855d22348695c03e7804bcb
CRs-Fixed: 774533
2022-12-12 11:49:23 -08:00
Jyoti Kumari
e6921ffc40 qcacld-3.0: Add edca_pifs_param_ie in OTA frames for ll sap
For LL SAP, add edca_pifs_param vendor ie in assoc rsp, beacon
and probe rsp and send it to earbud via OTA frames.

Change-Id: I7641e8c98d57acf600fe2137a04b34625e29c3e0
CRs-Fixed: 3344888
2022-12-12 11:49:23 -08:00
Jyoti Kumari
af62331dd8 qcacld-3.0: Add WMI interface to configure EDCA/PIFS param
Add WMI interface(WMI_VDEV_SET_TWT_EDCA_PARAMS_CMDID) to
configure EDCA/PIFS param for LL SAP.

This configuration depends on edca_param_type.
If edca_param_type is 0 then host will configure EDCA param and
send it to firmware via WMI interface.
If edca_param_type is 1 then host will configure PIFS param and
send it to firmware via WMI interface.

Change-Id: I09f49474c0a698257d06aa4f1a17b56aae735fa5
CRs-Fixed: 3349447
2022-12-12 11:49:17 -08:00
Madan Koyyalamudi
3bc6862f31 Release 5.2.1.48Y
Release 5.2.1.48Y

Change-Id: I88dbd90e6729d4ee6ed5132ef9cf4317cc9b0101
CRs-Fixed: 774533
2022-12-12 09:54:38 -08:00
Yeshwanth Sriram Guntuka
46fdb5e45b qcacld-3.0: IOMMU map and unmap direct link mem regions
IOMMU map and unmap memory regions related to direct link
into LPASS SMMU context bank for LPASS to access that memory
in direct link use cases.

Change-Id: I4414ad1f480a639ee2d8a0677326624cd959b2b4
CRs-Fixed: 3356587
2022-12-12 09:54:38 -08:00
Jinwei Chen
ad9fd42f9f qcacld-3.0: enable TX completion ring desc sanity check
set CONFIG_DP_TX_COMP_RING_DESC_SANITY_CHECK for Def build to
enable TX completion ring desc sanity check.

Change-Id: Ia9cd28f6bcce234d0e7bf7f621cc33208479e899
CRs-Fixed: 3349744
2022-12-12 09:54:32 -08:00
Madan Koyyalamudi
09e0c0b9e4 Release 5.2.1.48X
Release 5.2.1.48X

Change-Id: I1d07bdb4e950435ee457cc9972fd20115fb06dce
CRs-Fixed: 774533
2022-12-12 07:49:31 -08:00
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