提交線圖

26188 次程式碼提交

作者 SHA1 備註 日期
VIJAY RAJ
f327e23c86 qcacld-3.0: Optimize logs in wlan_connectivity_mgmt_event
In api wlan_connectivity_mgmt_event(), the connecting status
is checked for every instance of wlan_connectivity_mgmt_event
resulting in excessive printing of wlan_cm_is_vdev_connecting
logs.

Add check to verify connection status for STA/CLI mode which
results in trimming of wlan_cm_is_vdev_connecting() logs.

Change-Id: I33d8d91e58a38b8998183e20bbf455ff94855c6d
CRs-Fixed: 3211801
2022-07-04 11:51:57 -07:00
Madan Koyyalamudi
2232b3be6b Release 5.2.1.27P
Release 5.2.1.27P

Change-Id: I7e06758093e18dd858010c05a29058fcb4562983
CRs-Fixed: 774533
2022-07-04 10:16:04 -07:00
Jianmin Zhu
64204cc788 qcacld-3.0: Fix disconnect for NUD failure just after roaming
For EAP 802.1x AP, when host received roam sync,  just reassociated, RSO
is still stopped to wait EAPOL handshake finished,  if nud failure is
handled, roaming is failed to invoke and disconnect happens.

To fix it,  don't handle nud failure during EAPOL handshake.

Change-Id: Ia3a9e989ea16443fa157834ef9d4ceb247f82e24
CRs-Fixed: 3233058
2022-07-04 10:16:04 -07:00
Madan Koyyalamudi
1dc356ca41 Release 5.2.1.27O
Release 5.2.1.27O

Change-Id: I58671bc8b05f2e13c44625f6397b4501d4fbd269
CRs-Fixed: 774533
2022-07-02 23:11:05 -07:00
Amit Mehta
c87481282c qcacld-3.0: Fix return value
Currently in some cases we are returning
enum of type rx_pkt_fate instead of qdf_dp_tx_rx_status

Fix issue by returning correct enum type.

Change-Id: I97c67003178fd5347de57c1b78602177696e0973
CRs-Fixed: 3234233
2022-07-02 23:11:05 -07:00
Aditya Kodukula
3f9ed9d291 qcacld-3.0: Avoid double free in sch_gen_timing_advert_frame
In sch_gen_timing_advert_frame, the memory allocated for buffer
timing_advert->template_value is freed but not reset to NULL.
This creates a dangling pointer, and it is freed again inside
__wlan_hdd_cfg80211_ocb_start_timing_advert.

To avoid this issue, reset the pointer to buffer
timing_advert->template_value to NULL before returning from
sch_gen_timing_advert_frame.

Change-Id: I2445c53f217d0fd22cbe3026b0869284fe13b851
CRs-Fixed: 3229906
2022-07-02 23:10:59 -07:00
Madan Koyyalamudi
db7ba79859 Release 5.2.1.27N
Release 5.2.1.27N

Change-Id: I1d901364961d54b3485cf9d0e3cdda7451427fb7
CRs-Fixed: 774533
2022-07-02 11:28:05 -07:00
Rakesh Pillai
b87648dd65 qcacld-3.0: Enable Monitor status buffer tracking history
Enable monitor status buffer tracking history.
Also enable the allocation of memory for the monitor
status buffer tracking history via prealloc.

Change-Id: Iafec8e68c85b3f2d9b0bf0523a19b7a32869e20a
CRs-Fixed: 3229689
2022-07-02 11:28:04 -07:00
Madan Koyyalamudi
8b1c2c39f5 Release 5.2.1.27M
Release 5.2.1.27M

Change-Id: I5e6b73b214a4eccb008e8c692885d317889dbe48
CRs-Fixed: 774533
2022-07-02 09:55:42 -07:00
Srinivas Girigowda
7c1cbf8c2c qcacld-3.0: Add support for Mango device id
Add support for Mango device id.

Change-Id: If390215c648fa02d525c66c9d286b2dc1b8d4af3
CRs-Fixed: 3232540
2022-07-02 09:55:42 -07:00
Madan Koyyalamudi
df2ca40acd Release 5.2.1.27L
Release 5.2.1.27L

Change-Id: I07ec5eeaeb5ce4952be9532f0263b380cb061fe4
CRs-Fixed: 774533
2022-07-01 13:22:30 -07:00
chunquan
f3b0e58647 qcacld-3.0: Print all freqs info in ACS range
Print all freqs info log in ACS range.

Change-Id: Ic250ac8e2c41527db7683e1e8ef66f0bcfa306a5
CRs-Fixed: 3211309
2022-07-01 13:22:29 -07:00
Madan Koyyalamudi
fb92c95465 Release 5.2.1.27K
Release 5.2.1.27K

Change-Id: I84c7d8d1113c10a28124ae50672d946b03b856ed
CRs-Fixed: 774533
2022-06-30 23:28:18 -07:00
Xiaoning Ma
a41c89dd02 qcacld-3.0: Fix compile error for incompatible function pointer types
Fix compile error with '-Werror,-Wincompatible-function-pointer-types'

Change-Id: Iba97ead4e8d5b940463a3786a0b375cbbecf503f
CRs-Fixed: 3226016
2022-06-30 23:28:18 -07:00
Madan Koyyalamudi
97ad0f4b98 Release 5.2.1.27J
Release 5.2.1.27J

Change-Id: I0473fe8b7dddeba38b04cbca181e4dc310547f21
CRs-Fixed: 774533
2022-06-30 14:25:36 -07:00
Vinod Kumar Pirla
6d318bfbaf qcacld-3.0: Disable latency detection feature for Helium targets
In Helium targets disable CONFIG_HIF_DETECTION_LATENCY_ENABLE
feature flag.

Change-Id: I251fa35738b283a6eb1dc181bfe1224947451471
CRs-Fixed: 3228475
2022-06-30 14:25:36 -07:00
Madan Koyyalamudi
db07bafe3d Release 5.2.1.27I
Release 5.2.1.27I

Change-Id: I3c50c78e825512da4af83830cac76be570408896
CRs-Fixed: 774533
2022-06-30 12:50:48 -07:00
Divyajyothi Goparaju
d7ae20bac5 qcacld-3.0: Increase the buffer size for LL_STATS
ll_stats are not fit into current buffer sizeof
12288 bytes to write into debugfs

Increase the LL_STATS buffer size i.e DEBUGFS_LLSTATS_BUF_SIZE
from 3 pages to 4 pages for single vdev case also double the
buffer size for MLO case.

Change-Id: Idcae0816de0a29ae92a821623d3d2e8c4f33bdf8
CRs-Fixed: 3214694
2022-06-30 12:50:48 -07:00
Surya Prakash Sivaraj
c01e68f5b4 qcacld-3.0: Send RSO update after set key failure
In multiple AKM suite roaming scenario, if the STA is
roaming from WPA3 to WPA2 AKM suite, during the roam sync the
rso config will have the PMK of previous WPA3 connection. The
RSO start for the new connection would plumb the PMK of WPA3 to
the FW. After the RSO is enabled, set_key from userspace will
update the proper PMK of the current WPA2 to the FW via
RSO Update.

Due to a race condition, the set_key from userspace can reach
driver before the RSO start is sent to the FW. In this case,
the RSO update(due to set_key) will fail. Therefore, the FW
will keep the WPA3 PMK(in RSO start) as the final PMK for
the WPA2 connection, leading to roam failures.
To fix this, if the set_key for the connected bssid is
received during Roam sync in progress, then mark the
set_key rejection in vdev and send RSO update to the
FW after RSO gets enabled.

Change-Id: Ibb5a4929212e6c2ccabf39136962d3a8e606ece9
CRs-Fixed: 3212800
2022-06-30 12:50:42 -07:00
Abhishek Singh
95bf3bb120 qcacld-3.0: Remove unused variable pe_session->is_key_installed
Remove unused variable pe_session->is_key_installed.

Change-Id: I532af9b36faa7998061a9fcbbc058f2cd1ef8e9a
CRs-Fixed: 3230695
2022-06-30 12:50:37 -07:00
Madan Koyyalamudi
64aa961338 Release 5.2.1.27H
Release 5.2.1.27H

Change-Id: I6344d6a07ace3d716406d6670d9d1fc796d3417a
CRs-Fixed: 774533
2022-06-30 10:54:06 -07:00
Surya Prakash Sivaraj
381bb0f03a qcacld-3.0: Allow same band alternate channel for SAP
Allow the policy manager to select an alternate channel
on the same band if the SAP has no concurrent interfaces.

Change-Id: Ibd358018b0e9d631dbf61b42069a117870b5af44
CRs-Fixed: 3230881
2022-06-30 10:54:05 -07:00
Utkarsh Bhatnagar
4d9e51e8a7 qcacld-3.0: Allow TDLS connection in wideband only if fw supports
Irrespective of 6 GHz, wideband can be supported.
So, Allow TDLS connection in wideband only if FW supports TDLS
on 6Ghz.
If Fw doesn't support wideband then restrict the TDLS connection
BW to APs Bw.

Change-Id: If726233f381921a8eda25ac7a2705942db79d410
CRs-Fixed: 3223760
2022-06-30 10:53:58 -07:00
Madan Koyyalamudi
1d9049888f Release 5.2.1.27G
Release 5.2.1.27G

Change-Id: Iac16a52ff21ab9bc5abc4f0572a07a6331a3ce3e
CRs-Fixed: 774533
2022-06-30 03:06:03 -07:00
abhinav kumar
85c8c8c9b8 qcacld-3.0: Allow Host to process ROAM_CONTROL_ENABLE vendor cmd
Allow Host to process ROAM_CONTROL_ENABLE vendor command
irrespective of WLAN_VENDOR_HANDOFF_CONTROL feature flag.

Change-Id: I1fb1b231a4273013bacd35e38436c12ae6566b1d
CRs-Fixed: 3230968
2022-06-30 03:06:03 -07:00
Madan Koyyalamudi
1a83980ca7 Release 5.2.1.27F
Release 5.2.1.27F

Change-Id: If685738eeef80b6728799d63c81c82a7a4d289a2
CRs-Fixed: 774533
2022-06-29 15:46:26 -07:00
VIJAY RAJ
ee9e38f2b0 qcacld-3.0: Send Connectivity diag event through netlink
Connectivity logs are sent through the vendor event to the
supplicant.

Modify the connectivity log flow through the diag event to
the supplicant in order to maintain single logging infrastructure.

Change-Id: Id5429349e00c16c23b76894744fef404b2266e9e
CRs-Fixed: 3218152
2022-06-29 15:46:26 -07:00
Madan Koyyalamudi
cc40b01d48 Release 5.2.1.27E
Release 5.2.1.27E

Change-Id: I96a18b2fb9aa731ee3b4f682ed82a89868eb5818
CRs-Fixed: 774533
2022-06-29 13:02:34 -07:00
Jia Ding
5aaad69eb7 qcacld-3.0: Do not set CONFIG_IPA3 to n
CONFIG_IPA3 is a macro defined by IPA driver to indicate IPA function
support in kernel. Previously WLAN driver depends on it to correctly
set CONFIG_IPA_OFFLOAD for WLAN IPA component support.

Now setting CONFIG_IPA_OFFLOAD depends first on CONFIG_MDM_PLATFORM.
This means to support WLAN IPA component, CONFIG_MDM_PLATFORM needs
to be set first. Then CONFIG_IPA3 is checked for IPA driver support.

Change is to do cleanup, where CONFIG_IPA3 is not needed to be set
to N explicitly.

Change-Id: I9c3e152c37207a1bac003d85149b2136bb9c2cd0
CRs-Fixed: 3222721
2022-06-29 13:02:34 -07:00
Madan Koyyalamudi
76f536a400 Release 5.2.1.27D
Release 5.2.1.27D

Change-Id: If5308d33ba211fb8a1fa94f2b014bff953b68858
CRs-Fixed: 774533
2022-06-29 11:24:13 -07:00
Huashan Qu
a49743aa13 qcacld-3.0: Add new macro for automotive platform regdomain
Regdomain revision 39 version add a specific AUTO regdomain table for
automotive platform, so add new macro and enable the macro for
automotive platform to choose AUTO regdomain table usage.

Change-Id: I5fded1a6fa9c9b7c06b6be77e25c56f2a660922e
CRs-Fixed: 3210729
2022-06-29 11:24:13 -07:00
Madan Koyyalamudi
7512780815 Release 5.2.1.27C
Release 5.2.1.27C

Change-Id: I32973dcac111bbd0a871735c1bb2603f53bd8e6b
CRs-Fixed: 774533
2022-06-29 09:32:31 -07:00
VIJAY RAJ
7b37f88e1d qcacld-3.0: Incorrect throughput value in Connectivity logging
In the api cm_roam_candidate_info_event(), the value of
throughput is sent in Mbps whereas throughput is expected
in Kbps

Correct this by converting the throughput to Kbps instead of
sending it in Mbps.

Change-Id: I0fe95efc3a02d43187ff2c0423813529687c2ee9
CRs-Fixed: 3224754
2022-06-29 09:32:30 -07:00
Madan Koyyalamudi
2abed8c436 Release 5.2.1.27B
Release 5.2.1.27B

Change-Id: I9b6e8b83459fafec225a9386784ac7cfcb77c9d5
CRs-Fixed: 774533
2022-06-29 04:31:06 -07:00
Utkarsh Bhatnagar
50885ab717 qcacld-3.0: Add support for TDLS offchannel
Add support for TDLS offchannel changes required
for supporting TDLS offchannel on 6 GHz band.

Change-Id: Ie150ff7e5a8237dab445ccb0ab6a4959a7c7fbf0
CRs-Fixed: 3223640
2022-06-29 04:31:05 -07:00
Utkarsh Bhatnagar
186163bc5a qcacld-3.0: Populate wideband HE MCS rates
Since, with wide wideband, TDLS device should
support higher MCS rates of bw greater than 160 MHz,
even when AP doesn't support it.
So, fill those MCS rates in case device supports it.

Change-Id: I89379a82441c5d1811145c56b6fe8a46e69b3037
CRs-Fixed: 3230426
2022-06-29 04:30:59 -07:00
Madan Koyyalamudi
4e0a2a6967 Release 5.2.1.27A
Release 5.2.1.27A

Change-Id: Ida5f52aeed0c8488cf4196efcd93d602b11f7b02
CRs-Fixed: 774533
2022-06-29 01:09:03 -07:00
Deeksha Gupta
102a08f0d5 qcacld-3.0: Update ML IE handling as per draft 2.0 spec
Update ML IE as per 11be draft 2.0 spec

Change-Id: Ib66624d25d91811dd9bdde0818f20901929d16dd
CRs-Fixed: 3220099
2022-06-29 01:09:02 -07:00
Deeksha Gupta
f656e5d56d qcacld-3.0: Update EHT capabilities IE as per draft 2.0
During init, update EHT capabilities IE as per draft 2.0

Change-Id: Ia0acc3c20b35966b91709a965ed816123da4dd4f
CRs-Fixed: 3217955
2022-06-29 01:08:57 -07:00
Paul Zhang
d3e27dca30 qcacld-3.0: Update EHT CAP's IE as per draft 2.0
Update EHT CAP's IE as per draft 2.0.

Change-Id: I002cfc8fa1e37ec340ea9e257ee293d1c09c9a3f
CRs-Fixed: 3221504
2022-06-29 01:08:51 -07:00
Paul Zhang
0ef59fbaa6 qcacld-3.0: Update EHT OP's IE as per draft 2.0
Update EHT OP's IE as per draft 2.0

Change-Id: If104e125f773bd88196ae7aec8ccf9862559e467
CRs-Fixed: 3221658
2022-06-29 01:08:46 -07:00
Paul Zhang
85e1583dbf qcacld-3.0: Update EHT operation/capabilities IE per draft 2.0
Update dot11f EHT operation/capabilities IE definitions as
per 11be draft 2.0 specification.

Change-Id: I3aa8d0cccb08a957eeb10cafa932779a4c0516ec
CRs-Fixed: 3217855
2022-06-29 01:08:40 -07:00
Madan Koyyalamudi
2d11b233ab Release 5.2.1.27
Release 5.2.1.27

Change-Id: I3f6f1f0d5d1bbf38e0f286cafe70ae48683ce602
CRs-Fixed: 774533
2022-06-28 21:04:04 -07:00
Jingxiang Ge
bd496ad1c1 qcacld-3.0: Limit TPC power level for non-11be
when 11be is disabled, num_pwr_levels should not
exceed 8.
Limit num_pwr_levels before sending
WMI_VDEV_SET_TPC_POWER_CMDID.

Change-Id: I1e48d455f24b74479212441c7b42f7c11de7531b
CRs-Fixed: 3225090
2022-06-28 21:04:04 -07:00
Madan Koyyalamudi
927cb9f94b Release 5.2.1.26Z
Release 5.2.1.26Z

Change-Id: I249c92bfc4b47f3f74064fa38bde47a508de27bf
CRs-Fixed: 774533
2022-06-28 15:37:25 -07:00
Liangwei Dong
d6e9616054 qcacld-3.0: Add radio combination matrix vendor command support
Create radio combination matrix list from target mac phy information.
Return the supported radio matrix to apps by vendor command
QCA_NL80211_VENDOR_SUBCMD_GET_RADIO_COMBINATION_MATRIX.

Change-Id: I9732eadf10e8634336dbdac21e10f60e81cbaca6
CRs-Fixed: 3214050
2022-06-28 15:37:25 -07:00
Srinivas Dasari
db79080a21 qcacld-3.0: Add support to update ch_width of peer to DP
When the STA connects to a peer, max supported ch_width is
calculated and configured to firmware. This is calculated from
self and peer capability in case of STA/SAP. Cache this in
peer object. Currently, data path module isn't aware of the final
ch_width configured.
Fetch the phymode and covert it to the DP expected ch_width
format. Update the ch_width to DP.
phymode of NDI peers is not maintained in host. So, get the NDI
self phymode and update to DP.

Change-Id: I25993053ae1f129c8fc9a352a05c788451060b2d
CRs-Fixed: 3227453
2022-06-28 15:37:19 -07:00
Madan Koyyalamudi
82fbeff919 Release 5.2.1.26Y
Release 5.2.1.26Y

Change-Id: I2c2f7bfe5fc31a856a137ce6e89ad4ef5fffaafe
CRs-Fixed: 774533
2022-06-28 12:17:30 -07:00
Pragaspathi Thilagaraj
6792757118 qcacld-3.0: Fix incorrect AID in assoc response log
Sometimes AID is printed wrongly in connectivity logging.
Fix this by properly masking the AID value.

Change-Id: I8904466798e0c3de693e369c09c6099f2876ae18
CRs-Fixed: 3230870
2022-06-28 14:26:47 +05:30
Madan Koyyalamudi
b7542fdac6 Release 5.2.1.26X
Release 5.2.1.26X

Change-Id: I39a33c081d6024b9784cb7af71997cd5d6450ae3
CRs-Fixed: 774533
2022-06-27 16:31:06 -07:00