Commit Graph

27796 次程式碼提交

作者 SHA1 備註 提交日期
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
Rakesh Pillai
95ce766762 qcacld-3.0: Initialize default log level for DP modules
Initialize the default log level for all the
DP-modules.

Change-Id: I586139de2e9e637de6b678864b6a7f789e96fd88
CRs-Fixed: 3348734
2022-12-07 00:20:04 -08:00
Madan Koyyalamudi
b602d7feb4 Release 5.2.1.48D
Release 5.2.1.48D

Change-Id: I9229a691f4442f6a9d47e09dfaa4d7d4c9598c0b
CRs-Fixed: 774533
2022-12-06 22:19:25 -08:00
Srinivas Dasari
49ea4902ae qcacld-3.0: Reset the RSO SM of MLO link upon roam abort
Roam sync may get aborted on link vdev due to multiple reasons.
Link scan entry being not available at host is one such case.
del_sta response of BSS gets dropped due to stale link-RSO state
and results in disconnect timeout.
Reset the RSO state machine of link vdev when roaming is aborted
to allow cleanup the vdev in next disconnect.

Change-Id: Ie584c5b7ccae989cf2ce64e85da26d1b3526f1e0
CRs-Fixed: 3352543
2022-12-06 22:19:24 -08:00
Sheenam Monga
b24ee5cee9 qcacld-3.0: Enable FEATURE_SR and OBSS_PD for kiwi and 6490
Currently, FEATURE_SR and OBSS_PD is enabled for all targets
which is not required. Enable FEATURE_SR and OBSS_PD based on
Target type and only if 11AX is enabled to avoid compilation
issues.

Change-Id: I919faaff34bd73ad022a32853169ce096a6bb3cd
CRs-Fixed: 3336017
2022-12-06 22:19:19 -08:00
Madan Koyyalamudi
11af68ee70 Release 5.2.1.48C
Release 5.2.1.48C

Change-Id: Ia9017e389742b6512b496adec6906007889d87a7
CRs-Fixed: 774533
2022-12-06 20:12:38 -08:00
Ben Wang
3afa883dea qcacld-3.0: Send mgmt frame directly if have no FT IE
When driver get (re)assoc response management frame from hostapd,
check if FT IE in it. If no FT IE in the frame, send it directly.

Change-Id: I780d1d6aff63276950a91fa7ee24ee99e3f6c98a
CRs-Fixed: 3338475
2022-12-06 20:12:37 -08:00
Ashish Kumar Dhanotiya
fe684dea21 qcacld-3.0: Update he mcs cap correctly in session
Currently session does not have correct he mcs caps
according to update nss value which results in incorrect
he mcs map.

Change-Id: I3ea80e3cc9d94aa4e30220588977d67d98d36d9d
CRs-Fixed: 3349760
2022-12-06 20:12:30 -08:00
Madan Koyyalamudi
faa0aaa858 Release 5.2.1.48B
Release 5.2.1.48B

Change-Id: I71670bd713ff30082344ab7aecb729437c61a950
CRs-Fixed: 774533
2022-12-06 17:44:52 -08:00
Vinod Kumar Pirla
c10aa97806 qcacld-3.0: Fetch peer addr from assoc resp in add key
Supplicant will send keys after EAPOL exchange on assoc link
is successful, even if peer is not created for partner links
in the MLO connection and can show peer not found error in
add key.

If peer is not found for ML VDEV from the MAC address, use
assoc response IEs to get partner link's MAC address.

Change-Id: Ieb8759e97fbe01b7964bb06f8715bffd43894890
CRs-Fixed: 3340583
2022-12-06 17:44:51 -08:00
Madan Koyyalamudi
3f73e29e69 Release 5.2.1.48A
Release 5.2.1.48A

Change-Id: I1d16ae02e0094ca34831ca3b685d17a73acc2567
CRs-Fixed: 774533
2022-12-06 13:18:59 -08:00
Yu Tian
8e0cb38f60 qcacld-3.0: Fix Linux NS un-pause sequence in PMO
In PMO architecture, Linux Network Stack is unpaused earlier
than DP resume handler, some TX frames are dropped as DP
resuming is not ready. Change is aimed to fix the
unpause sequence.

Change-Id: I6cfcc7c4dd77f9cbcf1ac5b4a3d78a35dc3d16bb
CRs-Fixed: 3350279
2022-12-06 13:18:59 -08:00
Madan Koyyalamudi
e396c0b1ab Release 5.2.1.48
Release 5.2.1.48

Change-Id: Ia5925340b5efeccebf8d1da4be9632a2c784caab
CRs-Fixed: 774533
2022-12-06 07:35:27 -08:00
Roopavathi Lingampalli
81e2d7813a qcacld-3.0: Add Rx thread feature support for HDD module
Add resume and suspend support for rx thread, rx refill threads
in HDD module through DP componentization.

Change-Id: I0cdd0d43ac742ef55fad2155bc8df063c5bb8657
CRs-Fixed: 3316821
2022-12-06 07:35:26 -08:00
Roopavathi Lingampalli
ab17639c2b qcacld-3.0: Add Rx thread feature support for CDS module
Add Rx thread and Rx refill thread feature support for
CDS module through DP componentization.

Change-Id: Ie4f0a7f52fca75d75ac57f263051a5fa5a61651b
CRs-Fixed: 3316849
2022-12-06 07:35:21 -08:00
Roopavathi Lingampalli
0c616f6306 qcacld-3.0: Add support for flush GRO packets using RX thread
Add support for flush GRO packets using RX thread in OSIF
module.

Change-Id: I776e863d03923bcaac685547d3047df2c8afb27e
CRs-Fixed: 3316855
2022-12-06 07:35:14 -08:00
Roopavathi Lingampalli
b81f52931c qcacld-3.0: Add Rx thread feature support for Dp component
Add Rx thread and Rx refill thread support for
DP componentization.

Change-Id: I2c0a0f7780280a0c2304f026d2580a81123de312
CRs-Fixed: 3316814
2022-12-06 07:35:08 -08:00
Madan Koyyalamudi
8211f09db9 Release 5.2.1.47Z
Release 5.2.1.47Z

Change-Id: I5955ba524d3e77fb49d7acf4098fd0c564e138b9
CRs-Fixed: 774533
2022-12-05 23:59:59 -08:00
Amit Mehta
ea9c714188 qcacld-3.0: Add change to clear per MAC obss stats
Add change to pass mac_id for which clear obss
request was received.

Change-Id: I9606f9c777b18ad3fc4383f1856975b04d384812
CRs-Fixed: 3343340
2022-12-05 23:59:59 -08:00
Asutosh Mohapatra
d10945a7b3 qcacld-3.0: Handle timer initialization gracefullly
Currently hdd_medium_assess_init() and hdd_medium_assess_deinit()
are not paired with event the events eSAP_START_BSS_EVENT and
eSAP_STOP_BSS_EVENT respectively. Hence multiple call traces
can be seen for eSAP_STOP_BSS_EVENT if eSAP_START_BSS_EVENT is
not invoked from __wlan_hdd_cfg80211_start_ap or SSR sequence.

To address this issue invoke hdd_medium_assess_init()
for eSAP_START_BSS_EVENT only from hdd_hostapd_sap_event_cb
if timer is not initialized already.

Change-Id: I361e371c8b59a226fe6cae97c6f66bec46eeeb0f
CRs-Fixed: 3349485
2022-12-05 23:59:54 -08:00
Madan Koyyalamudi
4893c56a68 Release 5.2.1.47Y
Release 5.2.1.47Y

Change-Id: I9c6a735e856a243142f0cbfe7bba183c89f69721
CRs-Fixed: 774533
2022-12-05 22:01:53 -08:00
Rahul Gusain
f4dcdbd94b qcacld-3.0: Out of bound access while fetching disabled ml links
Host driver tries to fetch info of disabled ML links from
pm_disabled_ml_links by passing arrays to fill vdev_id_list,
freq_list and ml_idx list. Disabled + enabled links together can't be
more than MAX_NUMBER_OF_CONC_CONNECTIONS from functionality perspective.
But static analyzer tool complains that there are chances for out of
bound access of the given arrays while filling the indexes. Add checks to
avoid any such possible out bound access.

Change-Id: Icff77f9700c782f05e10c1d0aee8e1f238b0cc94
CRs-Fixed: 3344532
2022-12-05 22:01:53 -08:00
Vinod Kumar Pirla
041956887a qcacld-3.0: Set ML adapter only if target supports 11be
The adapter create flag for is_ml_adapter is set to true
by default for mission mode on primary interface and in
hdd_open_adapter() the flag is set but MLD is set only
after checking if target supports 11be. This leads to
adapter being set as ML type but MLD is null.

Check the target 11be capability as before making
adapter ML type and in open adapter for mission mode
bring the is_ml_adapter under if conditional check.

Change-Id: Ic0325ea6fde364e5180e9d164095b79bdabfee41
CRs-Fixed: 3352138
2022-12-05 22:01:47 -08:00
Amit Mehta
7f32cd3b69 qcacld-3.0: Fix check in wlan_hdd_tsf_reg_update_details API
Currently in wlan_hdd_tsf_reg_update_details there is check for
change in tsf_id and mac_id, If current and new values are same
tsf_details_valid bit will not be set (In case of tsf_id = 0 and
mac_id = 0), which we result in host continuously reading via WMI
command instead of scratch register.

So to Fix the issue only check for tsf_id_valid and update the
values.

Change-Id: I8007a40baa7be249afa5ff316d57983983ce988a
CRs-Fixed: 3351476
2022-12-05 22:01:41 -08:00