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

28977 Коммитов

Автор SHA1 Сообщение Дата
Rahul Choudhary
694b8beda7 Release 5.2.1.67A
Release 5.2.1.67A

Change-Id: Iaac1ed24d17f04ac142786d82d812b72f22ea676
CRs-Fixed: 774533
2023-05-19 11:22:55 -07:00
Vinod Kumar Pirla
14b1df5721 qcacld-3.0: Set link agnostic flag for all action frames
FW drops the management frames received on the inactive link,
so timeout happens on SCS action frames from userspace that are
sent on inactive link.

Set link agnostic flag in all management frame of subtype action
so that FW can send the packet OTA on the active link.

Change-Id: I4677617b52eca3f933aae2c4a7584750a95b3302
CRs-Fixed: 3486974
2023-05-19 11:22:55 -07:00
Rahul Choudhary
dcb6e11aac Release 5.2.1.67
Release 5.2.1.67

Change-Id: I96b88845071f5e31e849ac253e70dcb0b06b43d4
CRs-Fixed: 774533
2023-05-19 07:27:20 -07:00
Gururaj Pandurangi
85219a5119 qcacld-3.0: Configure listen interval in assoc request
Populate the user-defined listen interval in association
request frame for STA.

Change-Id: I1733ed1d528fa99fc5556639ddfbd68ca97a40e0
CRs-Fixed: 3438369
2023-05-19 07:27:20 -07:00
Gururaj Pandurangi
0670335810 qcacld-3.0: Invoke API to update EMLSR HW mode support
The policy manager API to update hardware mode list is
invoked before the host can extract EMLSR capabilities
from the target via service ready extended event. Thus,
invoke the policy manager API again through SBS
frequency update API to set the EMLSR capabilities in
the host.

Change-Id: I4d71b983ddb4b09e2010d24f0af0c26e2077cbd7
CRs-Fixed: 3417254
2023-05-19 07:27:15 -07:00
Jeff Johnson
cd2f747c1a qcacld-3.0: Fix struct mlme_ht_param_info featurization
When ANI_LITTLE_BIT_ENDIAN is not defined, a compiler error is
flagged in the definition of struct mlme_ht_param_info due to a
misplaced #endif, so relocate it.

Change-Id: I72df79a1dfae84c2cd6797d1d112de6ef8ca7ef6
CRs-Fixed: 3498279
2023-05-19 07:27:10 -07:00
Rahul Choudhary
7f6efe00db Release 5.2.1.66Z
Release 5.2.1.66Z

Change-Id: Ic2a10068c5d63fab8700a4c108876e5b7959c024
CRs-Fixed: 774533
2023-05-18 23:28:12 -07:00
Vinod Kumar Pirla
4733bee447 qcacld-3.0: Use link info in wlan_hdd_flush_pmksa_cache()
Modify the wlan_hdd_flush_pmksa_cache() function prototype
to use link info pointer instead of adapter.

As VDEV is part of per link data structure in adapter, the
API will only need link info to get VDEV reference, so move
the function argument to link info from adapter.
The existing callers moved to deflink.

Change-Id: Ifbe6f1f2437b3ee83144247ec2f2e1b4a71e11ca
CRs-Fixed: 3448503
2023-05-18 23:28:12 -07:00
Vinod Kumar Pirla
dc43def130 qcacld-3.0: Use link_info pointer to get vdev from user
With single netdev multi vdev changes, each adapter now can
have multiple VDEVs. To get the right VDEV reference, callers
have to pass the link info corresponding to that VDEV.

Change hdd_objmgr_get_vdev_by_user() API definition to
fetch lock protected VDEV reference from link info
instead of adapter.
The existing callers moved to deflink in adapter.

Change-Id: I3be810994f8768104c9a93491966a13d3b159e5c
CRs-Fixed: 3448468
2023-05-18 23:28:06 -07:00
Zhiwei Yang
09cb1c6ac2 qcacld-3.0: Avoid using small buffer address
On some third-party platforms, we observe the memory physical
address below 0x2000 is allocated will cause HW/FW NOC error,
so this region memory should not be used by host.

This change will hold the memory if the allocated memory physical
address below 0x2000 until driver unload.

Change-Id: I11fb698d32e69852f1cb5c8eb99ead121b8db2f4
CRs-Fixed: 3419652
2023-05-18 23:28:00 -07:00
Liangwei Dong
19e0551f91 qcacld-3.0: Fix 4th SAP force SCC issue
SAP 1 is started on 5 GHz 5180, SAP 2 is started on 5 GHz 5745.
ML STA 2 GHz 2437 + 6 GHz 6275 is up. SAP 1 is moved to 2 GHz 2437,
SAP 2 is not moved to 2 GHz 2437 because the SAP2 PCL is PM_SCC_ON_5_CH_5G
which have no 2.4 GHz scc channel. STA+SAP+SAP SCC is allowed
in same mac, but MCC is not supported.
Fix by:
1. Change PCL to include SCC channel in 4th pcl table for SAP/GO.
2. Add API policy_mgr_modify_sap_go_4th_conc_disallow to filter
out the channels which not supported in same mac based on
current concurrency combinations.

Change-Id: Ieb482076d961234d3987b2daebab4c407ee0b7f5
CRs-Fixed: 3479297
2023-05-18 23:27:55 -07:00
Rahul Choudhary
c54702c3ad Release 5.2.1.66Y
Release 5.2.1.66Y

Change-Id: Ibb3c57cfaf241ec582b4880b803f3ba3d4e3994a
CRs-Fixed: 774533
2023-05-18 21:19:54 -07:00
Jeff Johnson
ee81cbc693 qcacld-3.0: Fix policy_mgr_change_sap_channel_with_csa() stub
When FEATURE_WLAN_MCC_TO_SCC_SWITCH is not enabled, a compilation
error is observed due to the fact that the stub implementation of
policy_mgr_change_sap_channel_with_csa() does not return QDF_STATUS,
so add an appropriate return statement.

Change-Id: I568289cc825adffa3fbcbab2419e093dc5c44cfa
CRs-Fixed: 3498278
2023-05-18 21:19:53 -07:00
Rahul Choudhary
5a71b72391 Release 5.2.1.66X
Release 5.2.1.66X

Change-Id: I4d40df383f379e5bdbc2d58de18bbbaa12d9938c
CRs-Fixed: 774533
2023-05-18 18:41:44 -07:00
Will Huang
3a5fbe1891 qcacld-3.0: Set correct center frequency for bandwidth 160 MHz
Currently center frequency pass to API to check unsafe channel is
not correct set for bandwidth greater than 80 MHz. It lead to
unexpected shrink bandwidth.

For channel bandwidth greater than 80 MHz, center frequency should
set to mhz_freq_seg1 instead of mhz_freq_seg0.

Change-Id: I278590cd128b4760e35f4ea5921a6ed687dc1308
CRs-Fixed: 3466845
2023-05-18 18:41:44 -07:00
Rahul Choudhary
d443b80bd6 Release 5.2.1.66W
Release 5.2.1.66W

Change-Id: I2f0cfc71429666ad4dff9e4659a9cbe65d02df70
CRs-Fixed: 774533
2023-05-18 16:28:20 -07:00
Srinivas Girigowda
1163fd27bd qcacld-3.0: Change logs to appropriate log levels
Change logs to appropriate log levels.

Change-Id: I8f74260a0293d0d8147e4b4df355aeb2914ca80b
CRs-Fixed: 3494143
2023-05-18 16:28:19 -07:00
Srinivas Girigowda
2f097e5014 qcacld-3.0: Make log strings consistent
Make log strings consistent.

Change-Id: Ic80d7d041211c0def34d0bb8f185c7154e981d28
CRs-Fixed: 3492715
2023-05-18 16:28:14 -07:00
Srinivas Girigowda
3acf9cdec0 qcacld-3.0: Add context to the logs
Logs without meaningful message or values serves no purpose in debugging.
Hence, add more context to the logs.

Change-Id: Ie913f7460356a1550b5252fd72ed5b454c67b3cf
CRs-Fixed: 3492709
2023-05-18 16:28:10 -07:00
Srinivas Girigowda
e22cdc789a qcacld-3.0: Log TX/RX path stats if Data stall event is received
Log TX/RX path stats if Data stall event is received.

Change-Id: I472159dae68f85f32e317ee0bea65275308c5831
CRs-Fixed: 3492708
2023-05-18 16:28:05 -07:00
Srinivas Girigowda
b0fbbd3cc7 qcacld-3.0: Remove __func__ from the DP logs
Logging macros already takes care of adding function name.
Hence, delete the occurrence of __func__.

Change-Id: Iee88f5b9620a70a3707c254866201447c10dcbbd
CRs-Fixed: 3492707
2023-05-18 16:28:00 -07:00
Srinivas Girigowda
9325f4c7b8 qcacld-3.0: Remove trailing newline from the DP Logs
Remove trailing newline from the DP Logs.

Change-Id: I0a0f0952539443f9937591ebee1d8432b12ed506
CRs-Fixed: 3492704
2023-05-18 16:27:55 -07:00
Madan Koyyalamudi
3f6ad7ad97 Release 5.2.1.66V
Release 5.2.1.66V

Change-Id: I61cd010870515547afb3402c12c332c6a999088d
CRs-Fixed: 774533
2023-05-18 09:36:38 -07:00
Krupali Dhanvijay
d8a6ea4e49 qcacld-3.0: Add API to set/reset CPU frequency
Add API to set/reset CPU frequency, which is used to
enable the tx queues faster during roam.

Change-Id: I8594dacc9b3e8bc3fcdce575102cecef573cbf06
CRs-Fixed: 3487568
2023-05-18 09:36:37 -07:00
Abhinav Kumar
c72ef79f56 qcacld-3.0: Send proper status for Set wifi config req
Set wifi configuration comes to the host via
QCA_NL80211_VENDOR_SUBCMD_SET_WIFI_CONFIGURATION vendor
command for independent as well as interdependent attributes.

Currently, if a set wifi config request comes for independent
attribute host return failure to the upper layer if
interdependent attributes QCA_WLAN_VENDOR_ATTR_CONFIG_TX_NSS and
QCA_WLAN_VENDOR_ATTR_CONFIG_RX_NSS are zero which is not correct.

The fix is to return the status of "set wifi config req for
independent attribute" even interdependent attributes
QCA_WLAN_VENDOR_ATTR_CONFIG_TX_NSS and
QCA_WLAN_VENDOR_ATTR_CONFIG_RX_NSS are zero.

Change-Id: Ifb098efb18d236a2f24091bcc4c75e10e05933ac
CRs-Fixed: 3501246
2023-05-18 09:36:32 -07:00
abhinav kumar
5e17372c8c qcacld-3.0: Post disconnection DUT should connect in max BW
Scenarios are:
    1. Connect to AP in HE80/HE160
    2. Set the bandwidth to 20 MHz (SET_MAX_BANDWIDTH 1)
    3. Disconnect from AP
    4. Reconnect to AP.
    5. AP should be connected to the max bandwidth.

To fix this, host should update channel bandwidth to
the max supported bandwidth on disconnection.

Change-Id: I139d082ca4e4950d760f1da074dbcc021fb8a9e1
CRs-Fixed: 3491677
2023-05-18 09:36:26 -07:00
Madan Koyyalamudi
724d27f232 Release 5.2.1.66U
Release 5.2.1.66U

Change-Id: I34ca2c7072c8cc8ccb7bdd2ad14893f9c2c99b22
CRs-Fixed: 774533
2023-05-18 07:15:55 -07:00
Yu Wang
0385147f1e qcacld-3.0: skip unnecessary operations when debug domain transition aborted
If system reboot comes when starting wlan modules, it aborts
debug domain transition, and also the following initializtions
of the modules.
Then it calls cds_shutdown_notifier_purge, hdd_check_for_leaks and
hdd_debug_domain_set to clean up and fall back, however,
cds_shutdown_notifier_purge is unnecessary, since no shutdown_notifier
is registered at this point;
hdd_check_for_leaks here only checks the leaks for active debug domain
in previous design, but it tries to check the leaks for init debug
domain in this case, which is wrong at this point and causes false
alarm of leaks.
hdd_debug_domain_set is redundant since no debug domain transition
happens in this case.

To fix it, skip cds_shutdown_notifier_purge, hdd_check_for_leaks
and hdd_debug_domain_set if debug domain transition is aborted when
starting modules.

Change-Id: I19818649f272b6375a89dc3e493e1edd8ed87607
CRs-Fixed: 3498383
2023-05-18 07:15:55 -07:00
Madan Koyyalamudi
625081f295 Release 5.2.1.66T
Release 5.2.1.66T

Change-Id: Ibb3021eab99e09ab62e820c127f4d3035af4eaf7
CRs-Fixed: 774533
2023-05-18 04:35:14 -07:00
Asutosh Mohapatra
63d4988c35 qcacld-3.0: Reject asymmetric nss config if not connected
Currently driver process SET_TX_ANT_CONFIG command for
asymmetric tx/rx nss values, but it's not correct to
have asymmetric tx/rx nss values before connection
as connection will always happen in 1x1 or 2x2.

To address this issue, reject SET_TX_ANT_CONFIG cmd
if TX nss and RX nss values are different.

Change-Id: Id6f3ff57ae3a991192b76bd476034867a799d95e
CRs-Fixed: 3485059
2023-05-18 04:35:14 -07:00
Amit Mehta
c6ad6f2fe0 qcacld-3.0: Print wow_nack reason code
Currently, Fw did not set NACK reason code
to Host when Fw is not ready for WoW.

As part of the new change, Fw will send NACK
reason code along with WoW NACK to host.
Make changes in host to store and print
NACK reason code.

Change-Id: Ic978af9572c8de37df3fb926083aac5e6ddefda7
CRs-Fixed: 3481177
2023-05-18 04:35:09 -07:00
Madan Koyyalamudi
d82a7c1fc4 Release 5.2.1.66S
Release 5.2.1.66S

Change-Id: Ibcbe566176cd730e88e7137cd393a1ed809f7403
CRs-Fixed: 774533
2023-05-18 02:32:47 -07:00
Vinod Kumar Pirla
d88f5412f8 qcacld-3.0: Use link_info pointer to get SAP context
As part of single netdev multi vdev changes, AP context is
now per link. To get the SAP context pointer from AP context,
pass link_info pointer instead of adapter.
The existing callers are moved to deflink pointer.

Change-Id: If49ce9dcbf58710d8184dfbef1d0a99567f3111b
CRs-Fixed: 3448342
2023-05-18 02:32:47 -07:00
Madan Koyyalamudi
3401d72cea Release 5.2.1.66R
Release 5.2.1.66R

Change-Id: Ic35874445fa7585996db260e67e233cb4fbc4ffc
CRs-Fixed: 774533
2023-05-17 21:29:30 -07:00
chunquan luo
57696567aa qcacld-3.0: Get tx power value from each mac
When user space use "iw dev" to get tx power info,
driver send WMI_REQUEST_STATS_CMDID to fw,
fw update tx power info with two events, usually we
parse the last event, and maybe get invalid value.
Filter invalid value for each event, and get valid
tx power value from the mac which the AP/STA mode work.

Change-Id: I2411bb87e03fe385759852b028819e19a055b7f3
CRs-Fixed: 3474361
2023-05-17 21:29:30 -07:00
Madan Koyyalamudi
8d82bbedc1 Release 5.2.1.66Q
Release 5.2.1.66Q

Change-Id: I7e47f4601992db881c99a9f34ad82deb8364097b
CRs-Fixed: 774533
2023-05-17 16:11:15 -07:00
Tiger Yu
a8d57a4bf7 qcacld-3.0: Enable tracepoints for qca6390 module
Enable the tracepoints for qca6390 module in the wlan host for latency
debugging.

Change-Id: I9f69a5d9cc08a63185961bf2a88d403bb62799e8
CRs-Fixed: 3497709
2023-05-17 16:11:15 -07:00
Alan Chen
47d7e7e3d4 qcacld-3.0: Fix typo for ENABLE_HAL_SOC_STATS
There is a typo for the feature flag ENABLE_HAL_SOC_STATS. Thus,
correct it to -DENABLE_HAL_SOC_STATS.

Change-Id: Idc7e478480e799659c971e42962e9d527960a9da
CRs-Fixed: 3492601
2023-05-17 16:11:10 -07:00
Madan Koyyalamudi
462e4ca9da Release 5.2.1.66P
Release 5.2.1.66P

Change-Id: I1fd8e5a6b6c45540bd37fab6d0679f2a85a98e9b
CRs-Fixed: 774533
2023-05-17 08:34:19 -07:00
Abhishek Singh
868f852f2e qcacld-3.0: Fix the bandwidth switch while handling CSA WBW IE
While handling CSA Wide BW IE to switch freq, driver update the
PE session bandwidth and limit the switch to existing bandwidth.

This result in failure while checking if new bandwidth is same
as previous bandwidth and thus bandwidth change fails in this
case.

To fix do not update PE session while handling CSA Wide BW IE and
do not limit the switch to 80 MHz. Also add current Bandwidth
info in logs.

Change-Id: Icb1f169b17f711df91fd10230d6fdfd9a3d30274
CRs-Fixed: 3498943
2023-05-17 08:34:18 -07:00
Surya Prakash Sivaraj
7bb5bb0420 qcacld-3.0: Abort connection upon auth failure
Host driver sends deauth to AP BSS if the ML Info
IE is not present in the auth frame, but doesn't
abort the connection. Later, upon auth failure timeout
the connection gets terminated.

Instead of waiting till timeout, abort the connection
if the authentication fails.

Change-Id: I61e429baf29c49e4b28f379a9f4870dac7de5217
CRs-Fixed: 3497640
2023-05-17 08:34:13 -07:00
Madan Koyyalamudi
20516aa39a Release 5.2.1.66O
Release 5.2.1.66O

Change-Id: Icd571c03b7d1a6850500eaf3d525964536bb64d3
CRs-Fixed: 774533
2023-05-17 00:37:54 -07:00
Gururaj Pandurangi
6f178f75ef qcacld-3.0: Reset UL MU MIMO capability for ML STA
The UL MU MIMO capability is neither supported by SAP nor
STA. In the case of ML STA, reset UL MU MIMO capability on
all its vdevs.

Change-Id: I14ba48aceade0ac4fd85aa66a6dda54748c89a03
CRs-Fixed: 3487893
2023-05-17 00:37:54 -07:00
Jianmin Zhu
8fee440021 qcacld-3.0: STA handle beacon puncture update
1. When handle STA CSA, find only puncture bitmap changed, primary freq and
bandwidth not changed, still continue CSA.

2. When Updated beacon has no eht op info, need look up he/vht op to get
channel info.

Change-Id: Ib5270a1245e0dd9ba095c63f2bea959dd9ddac44
CRs-Fixed: 3499067
2023-05-17 00:37:49 -07:00
sandhu
934aa6c4ee qcacld-3.0: Enable BTM in ML IE ext
Enable BTM ML ie ext capability if roaming is allowed

Change-Id: I064cd11ec5d33c050657cdc2fb2c0a41a3f5451b
CRs-Fixed: 3492992
2023-05-17 00:37:43 -07:00
Gururaj Pandurangi
9c54d84369 qcacld-3.0: Fix the EHT MCS rates for 5 GHz testbed STA
Fix the EHT MCS rates for 5 GHz 20 MHz-only testbed STA.
This allows for the required MCS rates 0-7 and 8-9 to be
enabled that were currently reset in set EHT testbed
defaults API.

Change-Id: I13555882c68e5b5454415d5a63cc02d12be5f43a
CRs-Fixed: 3487863
2023-05-17 00:37:38 -07:00
Madan Koyyalamudi
7c3178dba9 Release 5.2.1.66N
Release 5.2.1.66N

Change-Id: I3e33047f8d187b37b3770250c97ddffe9de7c0c0
CRs-Fixed: 774533
2023-05-16 17:33:08 -07:00
Vinod Kumar Pirla
487b917705 qcacld-3.0: Toggle MSB to avoid MAC address collision
Toggle the MSB of last byte while deriving the link MAC address to
increase the MAC address range and avoid deriving duplicate MAC
addresses.

Change-Id: I2ba1d8bcfaa95fd5291202316106d9b0dd74766b
CRs-Fixed: 3499105
2023-05-16 17:33:07 -07:00
Rakesh Pillai
a265a33e91 qcacld-3.0: Add config for number of perf clusters in SoC
Kbuild changes to define the number of perf clusters
in an SoC.

Change-Id: Ibbc58dbe425ac560c86a56d63ed39e4ac80acfa4
CRs-Fixed: 3498169
2023-05-16 17:33:03 -07:00
Arun Kumar Khandavalli
49da2461fe qcacld-3.0: ENABLE 11BE draft-3.0 support
Enable the 11be draft-3.0 support through WLAN_SUPPORT_11BE_D3_0.

Change-Id: Ibcb27ecc392f0bfed1a249833b338188e53116f0
CRs-Fixed: 3496133
2023-05-16 17:32:58 -07:00