Графік комітів

27373 Коміти

Автор SHA1 Повідомлення Дата
Madan Koyyalamudi
dbd3d0e91d Release 5.2.1.44R
Release 5.2.1.44R

Change-Id: Ib8101a530c6da8af1f67e8f3210905fdf81e7e89
CRs-Fixed: 774533
2022-11-10 09:33:16 -08:00
Vinod Kumar Pirla
eba8d81f7e qcacld-3.0: Fetch peer using MLD address on add key
For ML capable client associating with ML capable SAP in ML mode,
the cfg80211 will send the MLD address of the STA as part of add
key after successful EAPOL handshake.
Use this MLD address to look up the SAP MLD peer list and get all
the peers from this MLD list and send add key on the link address
of each link peer.

For legacy clients the address sent from the cfg80211 will be
legacy MAC address which will be used directly to fetch peer.

Change-Id: I2659a8a7c5d221ce980139dcc36d528045e3545b
CRs-Fixed: 3323799
2022-11-10 09:33:16 -08:00
Sheenam Monga
45372b860a qcacld-3.0: Handle SRG and NON-SRG pd threshold
Currently, only single pd_threshold is fetched and
treated as SRG and NON-SRG pd threshold instead of
handling both threshold separately.

Fix is to get SRG and NON-SRG pd threshold from
userspace instead of single pd threshold

Change-Id: I2a131ea9040c799bc12a17a9ce42be02da8a717b
CRs-Fixed: 3328189
2022-11-10 09:33:10 -08:00
Venkateswara Naralasetty
1b32411a89 qcacld-3.0: Enable HIF_LATENCY_PROFILE_ENABLE in debug mode
Enable NAPI schedule latency histogram stats in debug mode
which helps to debug the NAPI shcedule delay issues.

Change-Id: Idc58a5c2eab6fcb9ac55ab04cf083982d0aed003
CRs-Fixed: 3318049
2022-11-10 09:33:04 -08:00
Madan Koyyalamudi
5cb509556f Release 5.2.1.44Q
Release 5.2.1.44Q

Change-Id: I1b94592fe248526bae5149a1aff4b9664de9b8a3
CRs-Fixed: 774533
2022-11-10 02:23:08 -08:00
Qian Zhang
6b67f86e66 qcacld-3.0: Fix memory leak in OWE pending assoc_ind
In normal scenario, owe_pending_assoc_ind is inserted to
owe_pending_assoc_ind_list and would be released when
sap is destroyed.

Once wlansap_roam_process_infra_assoc_ind failed to handle
assoc_ind, owe_pending_assoc_ind will not be inserted to
owe_pending_assoc_ind_list. There would be memory leakage.

Change-Id: I6e799cae09d0bdc0beaf1a8c3f2e55c48c9056e0
CRs-Fixed: 3323377
2022-11-10 02:23:08 -08:00
Arun Kumar Khandavalli
7467ffcecd qcacld-3.0: Indicate driver MLO support to kernel/userplane
If the underlying target supports MLO indicate the same via
wiphy to the kernel/userplane.

Change-Id: I9cb40ceb2769b31f464dfd630a0f2a6587b8057e
CRs-Fixed: 3323553
2022-11-10 02:23:02 -08:00
Vinod Kumar Pirla
370fadfee0 qcacld-3.0: Enable ML support for virtual interface
For virtual interface, add support to create the interface
as ML capable.
Currently implementation will create a single link ML interface.
This ML capability will only be enabled for STA/SAP type mode.

Change-Id: I11263460ee8404c8ea319cd139d92b080035b416
CRs-Fixed: 3315353
2022-11-10 02:22:57 -08:00
Vinod Kumar Pirla
fec271cfb2 qcacld-3.0: Add changes to support ML-SAP dynamic MAC update
Current implementation for MAC address update for SAP
doesn't check if the adapter is ML capable or not.
Add the logic to check if the adapter is ML capable
in SAP mode and update MLD address if it is true.

Change-Id: I06ce99e53439904acbc1f96f3aedba816d58f0da
CRs-Fixed: 3323654
2022-11-10 02:22:51 -08:00
jinbaoliu
48a1159e8b qcacld-3.0: Fix rx rate report when throuthput is high
When rx throughput is relatively high, driver will not refill rx
rates info. This has been done in wlan_hdd_get_peer_rx_rate_stats()
so that wlan_hdd_refill_actual_rate() do not need to consider this
condition. Otherwise, we will fail to report rates info to kernel.

Change-Id: Icf677138d7c51b66a0afed87ba4897d6fd5b7d25
CRs-Fixed: 3328555
2022-11-10 02:22:46 -08:00
Madan Koyyalamudi
1452f241dc Release 5.2.1.44P
Release 5.2.1.44P

Change-Id: I319afd28398b034f545dc6486822cd3bffe98fd5
CRs-Fixed: 774533
2022-11-10 00:21:56 -08:00
Rachit Kankane
98a91f4bda qcacld-3.0: Get SR stats per MAC
Get Spatial Reuse stats per MAC based on the VDEV where
Spatial Reuse stats are requested from.

Change-Id: Iaf4197d7424ee7f8a825fa77e39cd055e2c41283
CRs-Fixed: 3319066
2022-11-10 00:21:55 -08:00
Madan Koyyalamudi
8988dafb3b Release 5.2.1.44O
Release 5.2.1.44O

Change-Id: I2af9813b1bd0e8ee2bf4b473fc7e534487934ed2
CRs-Fixed: 774533
2022-11-09 20:09:46 -08:00
Yeshwanth Sriram Guntuka
a80f659fbf qcacld-3.0: Register for LPASS data msg service for Direct Link
Add support to register for LPASS data message htc service
for Direct Link datapath.

Change-Id: Iff9be53841088abe884d8e282bf13509a99ddeb2
CRs-Fixed: 3317634
2022-11-09 20:09:46 -08:00
Yeshwanth Sriram Guntuka
527f560be6 qcacld-3.0: Initialize Direct Link datapath for MISSION mode
Initialize and deinitialize Direct Link datapath for
MISSION mode in wlan start and stop modules respectively.

Change-Id: I33f0e14f686d9f565440c287b26ad9719624220e
CRs-Fixed: 3331068
2022-11-09 20:09:41 -08:00
Madan Koyyalamudi
a0545a1dea Release 5.2.1.44N
Release 5.2.1.44N

Change-Id: I5a8695a503e8ba4ee007293f609a1e1b8ceae840
CRs-Fixed: 774533
2022-11-09 18:18:59 -08:00
Yeshwanth Sriram Guntuka
f263f50933 qcacld-3.0: Add skeleton code for direct link datapath
Add skeleton code for direct link datapath in DP
component.

Change-Id: I1279abfe573017258b13043d779d0ddc41ee8dd2
CRs-Fixed: 3295346
2022-11-09 18:18:58 -08:00
Madan Koyyalamudi
8f5a6f0e39 Release 5.2.1.44M
Release 5.2.1.44M

Change-Id: Iee8a7689b157ae378af052de42d108678330e4d7
CRs-Fixed: 774533
2022-11-09 14:02:46 -08:00
Jia Ding
b36a07bb25 qcacld-3.0: Disable unneeded features on SDXPINN
arch=SDXPINN is a new MDM platform. Hence disable some
unneeded features for it.

Change-Id: I3f2162591a0d0d6278712c325c93fb13b200381e
CRs-Fixed: 3331499
2022-11-09 14:02:46 -08:00
Madan Koyyalamudi
e0e38797e5 Release 5.2.1.44L
Release 5.2.1.44L

Change-Id: I11d80e1b07905a8273e9c72bf201af885b977ca1
CRs-Fixed: 774533
2022-11-09 11:16:38 -08:00
Yu Tian
4e94e6a592 qcacld-3.0: Disable FISA update in suspend state
FISA update may come when target in suspend state, then
UMAC force wake may return failure and lead to system timeout
crash. Change is used to defer the update when resume happens.

Change-Id: I8d3082355f780d11fd5047d67f916f0a7dd0c6e8
CRs-Fixed: 3325498
2022-11-09 11:16:37 -08:00
Madan Koyyalamudi
8bfa33cb57 Release 5.2.1.44K
Release 5.2.1.44K

Change-Id: Iee03284a415015f131c8f51c7a542ed7524a51d6
CRs-Fixed: 774533
2022-11-09 09:29:43 -08:00
Jia Ding
1a97addf36 qcacld-3.0: Properly advertise NAN iface_combinations to wiphy
With WLAN_FEATURE_NAN=n and kernel version > 4.9.0 , wiphy_register()
returns failure and throws below warning:

WARNING: CPU: 1 PID: 8 at net/wireless/core.c:641
wiphy_register+0x5ac/0x944

With above config, NL80211_IFTYPE_NAN is not advertised to
wiphy->interface_modes. But NL80211_IFTYPE_NAN is advertised
to wiphy->iface_combinations. Hence the failure and warning are seen.

Fix is to advertise NAN iface_combinations only when NAN feature
flag and kernel version are met.

Change-Id: Iaceea699939df919c17dc81a1195f7dea1543982
CRs-Fixed: 3329527
2022-11-09 09:29:43 -08:00
Madan Koyyalamudi
99bd09c11a Release 5.2.1.44J
Release 5.2.1.44J

Change-Id: Ifce81643fb3f6481af05a740fb0ac4c37a8f4f9d
CRs-Fixed: 774533
2022-11-09 04:03:17 -08:00
Liangwei Dong
00efb2d2ea qcacld-3.0: No need to handle ml sta link state in non-connected state
If ml sta is not "connected" state, no need to do link state handling.
After disconnected, target will clear the force active/inactive state
and host will remove the connection entry finally.
After roaming done, active/inactive will be re-calculated.

Change-Id: Ic9ba3e3ef704b3dcdd8185e9b0864a9cbac000c7
CRs-Fixed: 3322063
2022-11-09 04:03:17 -08:00
Madan Koyyalamudi
8a690b9dee Release 5.2.1.44I
Release 5.2.1.44I

Change-Id: I0c1d09e36f89195fbcec33b3e22ce529ab71745d
CRs-Fixed: 774533
2022-11-09 02:02:52 -08:00
Amruta Kulkarni
eb4164dbf3 qcacld-3.0: Modify number of station interfaces for mlo
With 11be mlo, the number of open station interfaces is 3.
Modify the check in policy manager api for the same.

CRs-Fixed: 3320739
Change-Id: I89166ebdf1559cde6f77f5a5c535e5f2e81eefc5
2022-11-09 02:02:51 -08:00
Madan Koyyalamudi
9d43d20d87 Release 5.2.1.44H
Release 5.2.1.44H

Change-Id: I1cccda1d18bc4a04f58d57353f68c7605c30cbe5
CRs-Fixed: 774533
2022-11-08 20:51:15 -08:00
Aditya Kodukula
300c8cd146 qcacld-3.0: Update MCS based VHT rate table
Currently, the driver has VHT rate table for MCS
indices ranging from 0 to 9, but FW supports VHT rates
for MCS 10 and 11 as well. So, update the VHT rate table
accordingly.

Change-Id: Iecb55d664f6dbb4a10eb98d75cf942af4833ca45
CRs-Fixed: 3325194
2022-11-08 20:51:14 -08:00
Srinivas Dasari
255d217cca qcacld-3.0: Re-enable roaming with correct reason upon p2p disconnect
Currently, roaming is disabled with requestor "RSO_CONNECT_START"
on the STA when concurrent P2P-client is connected .
It's re-enabled once the P2P-client is disconnected but with
requestor RSO_INVALID_REQUESTOR. Roaming module still doesn't
re-enable roaming as it expects roam-enable command from the
requestors(i.e. RSO_CONNECT_START in this case) which disabled
roaming.
Pass right requestor to re-enable roaming.

Change-Id: Icb3deeed788ca248391b4b84288229aea2bdb8c2
CRs-Fixed: 3330219
2022-11-08 20:51:09 -08:00
Paul Zhang
0d53d82f4f qcacld-3.0: malloc enough buffer for stats info
Currently in function hdd_get_station_info, it does not malloc the
NLA_HDRLEN for each attribute, it causes no enough buffer to put
the data.

Since in that function, it combines lots of info for the station,
define WLAN_STATS_INFO_LEN to malloc enough buffer.

Change-Id: I31deccb329c5b14abc97e30ee75de9452f0e06e0
CRs-Fixed: 3325629
2022-11-08 20:51:03 -08:00
Madan Koyyalamudi
e9dac48c34 Release 5.2.1.44G
Release 5.2.1.44G

Change-Id: Ib52c066c91b27a3c8ca34b889a89da5ea7dcd038
CRs-Fixed: 774533
2022-11-08 18:52:21 -08:00
Ashish Kumar Dhanotiya
5eeff35d5a qcacld-3.0: Give correct information for frame pcap logging
Currently host driver indicates frame pcap logging feature as
supported by default to fw.
Host driver does not support this feature as of now, so indicate
this feature as not supported to fw in feature set capability info.

Change-Id: I5a6f4d83cca1b5b92d8a9159b68349534b112d92
CRs-Fixed: 3329222
2022-11-08 18:52:21 -08:00
Yu Wang
63c54dfc79 qcacld-3.0: Restart SAP if not SCC with any MLO link
For MLO STA+SAP case, mlo link maybe in inactive state after
connected and the hw mode maybe not updated, check MCC/SCC by
policy_mgr_are_2_freq_on_same_mac may not match MCC/SCC state
after the link is activated by target later. So to check frequency
match or not to decide SAP do force SCC or not if MLO STA 2 links
are present.

Change-Id: I614e6879cf4f9614b979fc3c78f87b76fc6c7c16
CRs-Fixed: 3313043
2022-11-08 18:52:15 -08:00
Madan Koyyalamudi
616d8908a2 Release 5.2.1.44F
Release 5.2.1.44F

Change-Id: I2fa130fe0ad97031548c0616effc0eb53b7ef462
CRs-Fixed: 774533
2022-11-08 16:49:10 -08:00
Bing Sun
09b25d7556 qcacld-3.0: Define new_ch_width in csa_offload_params as phy_ch_width
Currently sme_switch_channel set new_ch_width as phy_ch_width, while
wma_csa_offload_handler set new_ch_width as raw bit in wide bandwidth
channel switch IE.
Clean up the code. Define new_ch_width in csa_offload_params as
phy_ch_width.

Change-Id: Iadecc7693bf4ffd9f9562405ef18ea9d25d45c9e
CRs-Fixed: 3324762
2022-11-08 16:49:10 -08:00
Aditya Kodukula
2079c4033e qcacld-3.0: Update statsClearReqmask for LL_STATS
Whenvever WiFi is disconnected, link layer stats are cleared
by wlan_hdd_clear_link_layer_stats(). In the current driver
implementation the statsClearReqMask is set clear IFACE_AC and
IFACE_ALL_PEER only. This results in driver reporting incorrect
contention stats, even though WiFi is disconnected.

To resolve this issue, update statsClearReqMask to clear
IFACE_CONTENTION stats as well.

Change-Id: I1e07df91823db1db70f73075982e551f4b8a85c7
CRs-Fixed: 3323943
2022-11-08 16:49:04 -08:00
Liangwei Dong
23c85c9ae6 qcacld-3.0: Handle ML STA for 3rd connection pcl table index
If existing STA+STA is MLO STA, the current HW mode is not
reliable because the STA link maybe inactive. HW mode may
change if MLO STA becomes active.
Add special handling to this case by checking MAC frequency
range to decide DBS or SBS.

Change-Id: I4d3728965d2f687805535abb0716bb1b58e1c51d
CRs-Fixed: 3328517
2022-11-08 16:48:59 -08:00
Madan Koyyalamudi
c6bb4c8e84 Release 5.2.1.44E
Release 5.2.1.44E

Change-Id: Icc21502524bf2768a934a28ce1bf04c8496e3f05
CRs-Fixed: 774533
2022-11-08 03:24:41 -08:00
Liangwei Dong
32eb6434c7 qcacld-3.0: Fix get 4th connection pcl index failed
In concurrency case: GO on 5180 MHz, SAP on 5765 MHz,
MLO STA vdev 0 5180 MHz, MLO STA vdev 1 2462 MHz.
When the MLO STA is up and driver does force SCC on
SAP, the get PCL is failed because the GO vdev,
MLO STA vdev 0 and vdev 1 are all non-SBS channels
between each other. Driver doesn't handle the case in
policy_mgr_get_index_for_ml_sta_sap_sbs if current
hw mode is SBS. This case can happen the mlo sta link
vdev is inactive after get connected.
To fix it add new API:
policy_mgr_get_index_for_ml_sta_sap_hwmode_sbs to
handle it. It will return the correct PCL index
to avoid 3 home channels on same mac.

Change-Id: Ia16f8a391b34fc15287a93590b2c119d58250e20
CRs-Fixed: 3326358
2022-11-08 03:24:40 -08:00
Jeff Johnson
4c279e027f qcacld-3.0: Fix wlan_cfg80211_tdls.h documentation
wlan_cfg80211_tdls.h has a few documentation issues, so fix them.

Change-Id: I60533048f1a3a1eff03f597b34b193ba1d292c96
CRs-Fixed: 3324161
2022-11-08 03:24:35 -08:00
Rachit Kankane
f020a7bf78 qcacld-3.0: Remove PDEV based PD threshold command
Remove WMI_PDEV_PARAM_SET_CMD_OBSS_PD_THRESHOLD which is sent to
initialize the hardware registers. The initialization of hardware
registers is done as part of WMI_VDEV_PARAM_SET_CMD_OBSS_PD_THRESHOLD

Change-Id: I272fbd6723836efb9864cb78bdaf3e0eacf45554
CRs-Fixed: 3329913
2022-11-08 03:24:30 -08:00
Madan Koyyalamudi
4a0d15fa87 Release 5.2.1.44D
Release 5.2.1.44D

Change-Id: Ib591fe6c0e830733437d64f0847ab0ebe7225fed
CRs-Fixed: 774533
2022-11-07 14:58:02 -08:00
Rakesh Pillai
df71279452 qcacld-3.0: change trace level for HAL module
Change the default driver log trace level for HAL
to INFO. This is to disable logging the debug logs
from HAL module to the driver logs.

Also fix the way in which DP module default log
level is being set.

Change-Id: I8b068f31dcb733bf7714b6e7234f01f3ce180edf
CRs-Fixed: 3319410
2022-11-07 14:58:01 -08:00
Madan Koyyalamudi
295fac4ad2 Release 5.2.1.44C
Release 5.2.1.44C

Change-Id: Ice54fe228be831e552d451a86554d96fb737857a
CRs-Fixed: 774533
2022-11-05 02:57:21 -07:00
Deeksha Gupta
cd5cb50120 qcacld-3.0: Save assoc_resp ie in peer common object structure
In case of ML SAP, userspace needs assoc resp IE to get all
the ML link info.
So, Add support to save assoc_resp ie pointer in peer common object
which will send to userspace.

Change-Id: If19857ecce62092b1aa4e7fef17c09e819822f5f
CRs-Fixed: 3325938
2022-11-05 02:57:21 -07:00
Madan Koyyalamudi
536cb3b381 Release 5.2.1.44B
Release 5.2.1.44B

Change-Id: Idd581eafd40b750b8926a0a5ccb4ab4128fe5da7
CRs-Fixed: 774533
2022-11-04 20:09:20 -07:00
Gururaj Pandurangi
9b9d13bbe5 qcacld-3.0: Ignore EHT op ccfs0 field if BW is 160/320 MHz
In case of bandwidth is 80/160 MHz, use ccfs0 value from VHT
or HE ops and if bandwidth is 320 MHz, use ccfs1 value from
EHT ops. Thus, ccfs0 value in EHT op is redundant and needs
to be ignored.

Change-Id: Ia8f988ac28349be7bce47388d9f8b844fa52a90e
CRs-Fixed: 3305667
2022-11-04 20:09:20 -07:00
Madan Koyyalamudi
ce6cbf19de Release 5.2.1.44A
Release 5.2.1.44A

Change-Id: I59177b3fdd25c8e1c0c3edac2d3d2ce03b3a69a4
CRs-Fixed: 774533
2022-11-04 16:27:11 -07:00
Sheenam Monga
26ee5aa617 qcacld-3.0: Don't allow SR operation in disconnected state
Currently, SR enable can be set even if sta is not connected
to AP due to which success is returned to userspace but command
is not sent to FW.
Fix is to not to entertain any SR operation if station is not
connected or connected AP is not supporting SR.

Change-Id: Ie46e5f4db12a1ecf8eea44847a97355f26163ed8
CRs-Fixed: 3321577
2022-11-04 16:27:10 -07:00