提交線圖

28548 次程式碼提交

作者 SHA1 備註 日期
Vinod Kumar Pirla
aa5adf2bc8 qcacld-3.0: Fix link info offset in ML IE
The assumption of link info sub-element offset
starting after link_id in common info sub-element
is wrong. There are other non mandatory fields
in common info sub-element.

The actual offset of link info sub-element
starts after the length of common info length.

Change-Id: I23bb7b148a672d0a45b0e32932f4a15a7e584b72
CRs-Fixed: 3443099
2023-03-30 21:44:47 -07:00
Madan Koyyalamudi
d15ee876f7 Release 5.2.1.61M
Release 5.2.1.61M

Change-Id: I123892c7ba5e584e28323c90c4835b629007ab41
CRs-Fixed: 774533
2023-03-30 20:19:08 -07:00
Surya Prakash Sivaraj
8b23fa3311 qcacld-3.0: Enable shortGI for 160 MHz based on BW cap
Enable the short GI support for 160 and 80+80 MHz only
if 160/80+80 MHz self cap is enabled for the STA DUT.

Change-Id: I4b9de06fe5b0cc8aecb35207fa1d117bfc23ed30
CRs-Fixed: 3416932
2023-03-30 20:19:08 -07:00
Amit Mehta
881fb8bb91 qcacld-3.0: Add change to update peer map unmap version
Add change to update peer map unmap version.
Change to get peer map event v3 and peer unmap
event v2 for 11BE target.

Change-Id: I77fa354807ef66effaeb37a845ccebccd5f66ff4
CRs-Fixed: 3442448
2023-03-30 20:19:02 -07:00
David Oladunjoye
8570648f49 qcacld-3.0: Remove ucfg_mlme_reset_twt_reset_cmd() stub
Stub exist for functions that does not exist. Was introduced as
typo that was fixed. Remove the stub.

Change-Id: I59797783ddec41f2afc08bae49191c13500b02fa
CRs-Fixed: 3441916
2023-03-30 20:18:55 -07:00
Madan Koyyalamudi
7211ee2483 Release 5.2.1.61L
Release 5.2.1.61L

Change-Id: I644177cfb8c60a17175ea3c0307b7932d183492d
CRs-Fixed: 774533
2023-03-30 18:29:58 -07:00
Jyoti Kumari
1869c9e5f9 qcacld-3.0: Rename session_id with vdev_id to avoid confusion
Rename session_id with vdev_id in
policy_mgr_check_for_session_conc() to avoid confusion.

Change-Id: I9449395043f3f8d4e632f38770405febb1e227ab
CRs-Fixed: 3439906
2023-03-30 18:29:58 -07:00
Mohammed Ahmed
4c14dfa315 qcacld-3.0: add hang event data to ssr driver dump
Current code does not include hang event data to ssr driver dump.
Fix this by adding struct registration/unregistration.

Change-Id: I6c21cbf7b2d0a242e1469b32820373a61235ac7a
CRs-Fixed: 3443220
2023-03-30 18:29:53 -07:00
Madan Koyyalamudi
e9de40f2a2 Release 5.2.1.61K
Release 5.2.1.61K

Change-Id: I50b119485f84af319ee21ca6d213d5bd7df6778c
CRs-Fixed: 774533
2023-03-30 14:44:03 -07:00
Mohammed Ahmed
ed5993c5c7 qcacld-3.0: add hif_ce_desc_history to ssr driver dump
Current code doesn't have hif_ce_desc_history in ssr driver dump.
Fix this by adding the two data structs: hif_ce_desc_history_buff
and hif_ce_desc_history to the ssr driver dump regions.

Change-Id: I4b73dfe8909bd4f75cdf8c172c590c0aff3b1d1c
CRs-Fixed: 3443225
2023-03-30 14:44:03 -07:00
Surya Prakash Sivaraj
83c55429be qcacld-3.0: Stop SAP on invalid RSN IE
Hostapd sends RSNIE with around 18AKMs. However, the driver
data structures allow storage upto 6 AKMs only. Therefore,
the dot11f unpack modules returns BAD IE. The akm suite
however carries the parsed count of 18.

The HDD caller checks only DOT11F_FAILED, which doesn't cover
many of the DOT11F_xx failure status codes. Therefore, instead
of failing BSS, the IE is processed further and access of 18
contiguous AKMs takes place leading to OOB read crash.

To fix this, check for all the failure status code and stop
the BSS upon RSN/WPA/WAPI IE parse failure.

Change-Id: I16399c8a5bd61b09d29cd88e35c0ec441c6b9af4
CRs-Fixed: 3445762
2023-03-30 14:43:58 -07:00
Madan Koyyalamudi
56a3526282 Release 5.2.1.61J
Release 5.2.1.61J

Change-Id: I915a647dd2c365b96fb8e272c6489ae5e52bc962
CRs-Fixed: 774533
2023-03-30 09:00:55 -07:00
Rahul Gusain
64f4ef5843 qcacld-3.0: Use MLD address for auth frames in SAE ML roaming
SAE authentication happens with MLD address rather than link
addresses as it's common authentication for all links in an ML
connection. But OTA exchange of authentication frames happens
with a chosen link address from available links.
As userspace takes care of the SAE authentication, host driver
has to replace the rx SAE auth frame SA with peer MLD and DA with
self MLD address. Similarly for tx SAE auth frames, replace self
SA with link address and DA with peer link address.

Current change is to support the same for roaming case. Fetch the
MLD from scan cache corresponds to link address provided in roam
auth event and replace as mentioned above.

Change-Id: Ide15caa122f78301391b5ea891e2e6eaf4af8974
CRs-Fixed: 3441483
2023-03-30 09:00:55 -07:00
Madan Koyyalamudi
b6f2edbfd1 Release 5.2.1.61I
Release 5.2.1.61I

Change-Id: I5b7ce1f9402b02fe6a4fd38b2bfad48a2c62c56d
CRs-Fixed: 774533
2023-03-30 05:26:30 -07:00
Aasir Rasheed
c7f2940417 Revert "qcacld-3.0: Replace CONFIG_WLAN_TWT_CONVERGED"
This reverts commit I849387c751a6d5f1c6d338ac9c2dfdb72244c137

Change-Id: Ibadeb635d9ddc31dad6c189ca13bb124b55c1dc2
CRs-Fixed: 3450256
2023-03-30 05:26:29 -07:00
Madan Koyyalamudi
c86f98f6f0 Release 5.2.1.61H
Release 5.2.1.61H

Change-Id: I2a1e50469f675d86aedd84cde1292523d5b8ecca
CRs-Fixed: 774533
2023-03-30 02:31:55 -07:00
jinbao liu
0d10445f64 qcacld-3.0: Fix the issue of mcs=255 in relatively high rate mode
Currently the RX link speed reported is taken from driver instead
of FW. In light of performance, driver will stop reporting rates
info when throughput exceeds certain threshold. In that case, the
rates info to be reported is from parsing the rateflags from FW.
However, driver sometimes fails to get an appropriate MCS index
and has to assign 0 to it, which has unfriendly user experience
when too much MCS=0 occurs. To address this issue, first, update
the logic to ignore the throughput judgement to make sure that
the rates info to be reported is always from driver. Second, add
the function wlan_hdd_get_peer_rx_rate_stats() where wma_get_mcs
_idx() has been called, to prevent the already updated rates info
from corrupting by FW due to multi-thread. This change has little
impact on throughput because the function is not called frequently.

Change-Id: I73e874caa8e77325c9e81d0e5929e1ba539946a5
CRs-Fixed: 3434764
2023-03-30 02:31:54 -07:00
Madan Koyyalamudi
bfc5e77729 Release 5.2.1.61G
Release 5.2.1.61G

Change-Id: I1391fb5fbab5e30f9f0d8cb0bf25e52d188ddd83
CRs-Fixed: 774533
2023-03-29 22:52:19 -07:00
David Oladunjoye
05670f4691 qcacld-3.0: Replace obsolete TWT function
Obsolete TWT functions are still called in driver. As part of
removal, Remove these functions and use component function.

Change-Id: I43c804c3b9b8ecd116aefe58f230755c041ae1e9
CRs-Fixed: 3261499
2023-03-29 22:52:19 -07:00
Madan Koyyalamudi
7fd57b54dd Release 5.2.1.61F
Release 5.2.1.61F

Change-Id: If07a2ff2b8821e07abbc0309f589a0d5356e200a
CRs-Fixed: 774533
2023-03-29 19:55:06 -07:00
David Oladunjoye
73687ef87e qcacld-3.0: Replace obsolete TWT function
Obsolete TWT functions are still called in driver. As part of
removal, Remove these functions and use component function.

Change-Id: I9f8b4186753ec9d446399be9e1cfc03a63a17391
CRs-Fixed: 3294868
2023-03-29 19:55:06 -07:00
David Oladunjoye
10141185b3 qcacld-3.0: Add static inline headers for twt
Implement static inline function when TWT is not enabled.

Change-Id: I671495be9e5b0828b154826757382806eb500310
CRs-Fixed: 3285179
2023-03-29 19:55:01 -07:00
David Oladunjoye
d5f6682047 qcacld-3.0: Replace CONFIG_WLAN_TWT_CONVERGED
Componentization is complete, therefore, TWT component
should be used whenever TWT is enabled. Replace CONFIG_WLAN_TWT_CONVERGED
with CONFIG_WLAN_FEATURE_TWT to always enable component for TWT.

Change-Id: I849387c751a6d5f1c6d338ac9c2dfdb72244c137
CRs-Fixed: 3300364
2023-03-29 19:54:55 -07:00
Madan Koyyalamudi
9d30ae6c8f Release 5.2.1.61E
Release 5.2.1.61E

Change-Id: I9b745e812cbc29fae39c12d7e286f6fbd5bcd34f
CRs-Fixed: 774533
2023-03-29 18:32:42 -07:00
Aditya Kodukula
3336cc1673 qcacld-3.0: Cache and tx power as part of cp station stats
In the driver, if CLUB_LL_STATS_AND_GET_STATION feature is
enabled, host requests Link Layer stats and station stats
from firmware periodically using a single WMI command.

Host then sends LL_STATS to userspace and caches station stats
in the adapter. Whenever userspace queries station stats, based
on the sta_stats_cached_timestamp, host returns cached stats
from adapter instead of sending a new WMI request.

The current issue, as part of station stats firmware also sends
connection_tx_power stats, which aren't cached into the adapter.
So, whenever userspace queries get_tx_power via nl commands,
host sends a WMI request to firmware for tx_power leading to
platform wakeups and power impacts.

To resolve this issue, cache the tx_power sent by firmware into
the adapter during station stats and return the cached value to
the user space.

Change-Id: Iaefc5629872431cbc6c24090b1edb6cebdad995a
CRs-Fixed: 3439323
2023-03-29 18:32:42 -07:00
Madan Koyyalamudi
db14660200 Release 5.2.1.61D
Release 5.2.1.61D

Change-Id: I440763ecdb6f70e184e4fe3d6b22baf6a0945d32
CRs-Fixed: 774533
2023-03-29 11:29:19 -07:00
Jianmin Zhu
79c8fc615d qcacld-3.0: Fix wrong self mac in pe session after roam to legacy
When roam from mlo to legacy, self mac need change from link addr to
interface addr.
When roam from legacy to mlo, self mac need change from interface addr
to link addr.
Self mac in vdev is updated by mlo_roam_update_vdev_macaddr already,
self mac in pe session need update too.

Remove useless self_mac in roam_offload_synch_ind.

Change-Id: I7bdfe35d5a219cb2c0eba30a4995babc8ac6199a
CRs-Fixed: 3442785
2023-03-29 11:29:18 -07:00
Madan Koyyalamudi
263cbf85ff Release 5.2.1.61C
Release 5.2.1.61C

Change-Id: Ie28e108c843ed11dca86a75d85dc324dced4ae1e
CRs-Fixed: 774533
2023-03-29 09:45:08 -07:00
chunquan luo
39dd13c819 qcacld-3.0: Add flag to filter special vendor roam log
Since special vendor roam log is not need for common roam,
add flag to filter the log.

Change-Id: I5eb47f68048a48f817037e5e98d3e7fe51ee6565
CRs-Fixed: 3437627
2023-03-29 09:45:08 -07:00
Madan Koyyalamudi
d4294aa25c Release 5.2.1.61B
Release 5.2.1.61B

Change-Id: Ic9040b7388d2c6162830df8b1bed1894883fd602
CRs-Fixed: 774533
2023-03-29 02:59:21 -07:00
Venkateswara Naralasetty
1d8033627a qcacld-3.0: Kbuild changes for dp_peer file split
Kbuild changes for dp peer file split.

Change-Id: I64eb8a8d5babe47a3b1b4a1a99eab31267349d77
CRs-Fixed: 3393711
2023-03-29 02:59:21 -07:00
Madan Koyyalamudi
772ec1dc2b Release 5.2.1.61A
Release 5.2.1.61A

Change-Id: Idb75192579dba046394972928e8ab2c044aaafde
CRs-Fixed: 774533
2023-03-29 01:12:55 -07:00
Liangwei Dong
b3b796b915 qcacld-3.0: Increase the max MLD dev context for SDXPINN
For SDXPINN to support 4 SAP concurrency, set
CONFIG_WLAN_UMAC_MLO_MAX_DEV = 4.

Change-Id: I3005efad37a28055492c8297ec21da8851faa34b
CRs-Fixed: 3442194
2023-03-29 01:12:55 -07:00
Madan Koyyalamudi
af9e488c76 Release 5.2.1.61
Release 5.2.1.61

Change-Id: I63df85ead9ca14eb594ab7867f6fe34052a5c50d
CRs-Fixed: 774533
2023-03-28 04:34:46 -07:00
Pragaspathi Thilagaraj
c2976a7b2d qcacld-3.0: Handle SAP + TDLS concurrencies
Disable TDLS offchannel on SAP start if concurrent STA with
TDLS exist.
Enable TDLS off channel after SAP start if SAP and
STA are not in MCC.

If TDLS is enabled, and off channel is required, update
TDLS off channel to be the SAP channel.

Change-Id: Ica508889acbae5e2dc4269d4d7518cf01d62714f
CRs-Fixed: 3444747
2023-03-28 04:34:46 -07:00
Madan Koyyalamudi
f5de86a061 Release 5.2.1.60Z
Release 5.2.1.60Z

Change-Id: If27c4edfad3a904d844443c27c7a64e2dd65b01b
CRs-Fixed: 774533
2023-03-28 01:26:51 -07:00
Karthik Kantamneni
f84c7cc43c qcacld-3.0: Add defconfig and Kbuild changes for WCN6450
Add wcn6450_defconfig configuration file and corresponding
Kbuild changes for WCN6450 platform.

Change-Id: I7189e718aac427f76a251284799ec2169b2495a8
CRs-Fixed: 3382931
2023-03-28 01:26:50 -07:00
Madan Koyyalamudi
9173d56615 Release 5.2.1.60Y
Release 5.2.1.60Y

Change-Id: I039b4a665a57ddc2c3505a272489f1c340da63e0
CRs-Fixed: 774533
2023-03-27 23:37:08 -07:00
Vijay Raj
72dfd6a38f qcacld-3.0: Add events to modify Beacon miss disconnection logging
Disconnection is logged even if keepalive indication is
sent to host after firmware sending final beacon miss
event.

Add two new roam failure reason code to indicate roam
failure and send final beacon miss.

ROAM_FAIL_REASON_NO_AP_FOUND_AND_FINAL_BMISS_SENT: Indicate
roam failure when no ap is found and final beacon miss
is sent.

ROAM_FAIL_REASON_NO_CAND_AP_FOUND_AND_FINAL_BMISS_SENT:
Indicate roam failure when no candidate ap is found and
final beacon miss is sent.

Change-Id: I6d7a6034f8be5388dd35dd3c05fecfd40a8d888d
CRs-Fixed: 3437060
2023-03-27 23:37:08 -07:00
Madan Koyyalamudi
6156b97c2b Release 5.2.1.60X
Release 5.2.1.60X

Change-Id: I7e5f0081cf5f6629ea788273e110548175c2ec48
CRs-Fixed: 774533
2023-03-27 21:08:12 -07:00
Vinod Kumar Pirla
33b09f6d9b qcacld-3.0: Refactor vdev deinit of various components
Refactor the hdd_vdev_destroy() code to move deinit of various
components to new API.

Change-Id: I705c328e4296fa4bc939d5d8a6174a709ee751b1
CRs-Fixed: 3306914
2023-03-27 21:08:11 -07:00
Arun Kumar Khandavalli
c0abdd6342 qcacld-3.0: Move serialization call to inside the umac
umac serialization details should not be exposed to OSIF, currently
during the vdev deletion OSIF is directly calling serialization
resulting in layer violation.

Move the serialization call from OSIF to inside the umac.

Change-Id: Idd972f31b074d4281c5914c8e34deafd0d0da0d7
CRs-Fixed: 3397919
2023-03-27 21:07:59 -07:00
Vinod Kumar Pirla
812d01784f qcacld-3.0: Remove INIT_TX_RX_SUCCESS adapter flag
Remove the INIT_TX_RX_SUCCESS adapter flag as its
functionality is insignificant after DP componentization.

Change-Id: Ief86ab81c42b767113bde46252246fa8677588ce
CRs-Fixed: 3399329
2023-03-27 21:07:49 -07:00
Vinod Kumar Pirla
528031916a qcacld-3.0: Refactor VDEV opmode config during create
Refactor the hdd_vdev_create() API to move device mode
based VDEV config to a new API.
The new API calls required configuration functions
based on the device mode.

Change-Id: I54c5412577b70d92652cb16fcfb10e4d69e6f6fd
CRs-Fixed: 3445149
2023-03-27 21:07:40 -07:00
Madan Koyyalamudi
7ff7bac480 Release 5.2.1.60W
Release 5.2.1.60W

Change-Id: I36ad4a236f01d83670fd9523572034e4562294ec
CRs-Fixed: 774533
2023-03-27 19:33:15 -07:00
Karthik Kantamneni
e0cfa501a1 qcacld-3.0: Init-Deinit changes for WCN6450
Add changes to init-deinit WCN6450 from HDD layer

Change-Id: I0572fa109738326b469bd2b77b9e7c600ac672f8
CRs-Fixed: 3381728
2023-03-27 19:33:15 -07:00
Madan Koyyalamudi
51230dd9b8 Release 5.2.1.60V
Release 5.2.1.60V

Change-Id: Ia17e15dc5be8b4ee1287ef264ad21447b51d6a69
CRs-Fixed: 774533
2023-03-27 11:20:53 -07:00
Surya Prakash Sivaraj
83299d06fc qcacld-3.0: Add support for AKM25
Add support for FT-SAE-EXT-KEY AKM.

Change-Id: Ia013a81f67d204fed486ab130b3480654703f59c
CRs-Fixed: 3406625
2023-03-27 11:20:51 -07:00
Madan Koyyalamudi
9fee6143d7 Release 5.2.1.60U
Release 5.2.1.60U

Change-Id: I4ea22eb44f8f8b7c3cd3ccd3f94c0807c3afbcef
CRs-Fixed: 774533
2023-03-27 01:47:16 -07:00
Pragaspathi Thilagaraj
37a1c90ea3 qcacld-3.0: Add initial checks for TDLS concurrencies
Check if TDLS is allowed for the current existing concurrency
combination. In below combinations, TDLS is not allowed:
1. MCC on STA vdev
2. STA + STA
3. Total connection count > 3
4. No STA vdev exists

If existing TDLS connection exists when 4th port is coming up,
then teardown the TDLS connection and disable off channel.

Change-Id: Iabe174bedecfa6147bd9de3cb2a3716b63145456
CRs-Fixed: 3435864
2023-03-27 01:47:16 -07:00