Commit Graph

25089 Commits

Author SHA1 Message Date
Namita Nair
c22b7a5e0a qcacld-3.0: Enable multi SW2TCL and Tx completion IRQ affinity for KIWI
The flags, CONFIG_TX_MULTI_TCL for multi SW2TCL and DFEATURE_IRQ_AFFINITY
for Tx completion IRQ affinity, were turned on for KIWI.

Change-Id: I44a7b1c889d7113f078a75c549a632809dbebad0
CRs-Fixed: 3110299
2022-01-19 17:27:00 -08:00
Madan Koyyalamudi
2c453dff7e Release 5.2.1.7U
Release 5.2.1.7U

Change-Id: I7dd02e4d42a0f1660d09904b42babe985a768fe7
CRs-Fixed: 774533
2022-01-19 15:30:16 -08:00
Amruta Kulkarni
586338bcff qcacld-3.0: MLO roaming handling
CM, PE and WMA changes for mlo roaming
- Roam start and roam sync propogation updates.
- Handling connected link bitmap.
- Link specific assoc response generation
- WMA changes to handle add/remove peer
for mlo roaming scenarios.

Change-Id: I365a26ebb761d93dadd33c9fb8248c28e9eda94b
CRs-Fixed: 3033766
2022-01-19 15:30:15 -08:00
Mohammed Siddiq
1c61feb5de qcacld-3.0: Add pld api to get PCI slot of attached device
Add pld api to get PCI slot of attached device.

Change-Id: I5adb49a8c28d4211ede5aee4e5bc0e8046bbf542
2022-01-19 15:30:10 -08:00
Madan Koyyalamudi
58beac2703 Release 5.2.1.7T
Release 5.2.1.7T

Change-Id: Id8950e047b2c23a5ca9f59c026b5a8b02ccc48b9
CRs-Fixed: 774533
2022-01-19 12:35:04 -08:00
Bing Sun
3f3362dc79 qcacld-3.0: refine lim_set_eht_caps with new eht cap IE definition
Refine lim_set_eht_caps as wlan_eht_cap_info is updated according to
draft 1.3.

Change-Id: I2361caa928bfbdf4d6fdf0ef35bc76cebb041d99
CRs-Fixed: 3108905
2022-01-19 12:35:03 -08:00
Liangwei Dong
f01e9fec4b qcacld-3.0: Fix hw mode update failure by roam sync event
Update HW mode change tlv information to wma/policy mgr.
Losing the information will cause FW/host out of sync.

Change-Id: I1ba9931d10617664da653e85335fade1352c3600
CRs-Fixed: 3109789
2022-01-19 12:34:56 -08:00
Madan Koyyalamudi
99f240f15b Release 5.2.1.7S
Release 5.2.1.7S

Change-Id: I720ff3627162222c15ea511eaad3e20da7bca583
CRs-Fixed: 774533
2022-01-19 09:31:06 -08:00
Arun Kumar Khandavalli
35401bdb78 qcacld-3.0: Randomize mac address using the kernel api
Currently mld address are getting collied over different instances
of driver, use kernel api to randomize the mld address.

Change-Id: I79685f6884769a58f2b125481a2e809c318b3eab
CRs-Fixed: 3108547
2022-01-19 09:31:06 -08:00
Balaji Pothunoori
08a8867c8c qcacld-3.0: Enable extended avoid frequency update config
Enable compile macro to include extended avoid frequency update
for sub vendor command QCA_NL80211_VENDOR_SUBCMD_AVOID_FREQUENCY_EXT.

Change-Id: Ibdec18b9b749f18b1e9d704974f4cbaabbc4e612
CRs-Fixed: 3098824
2022-01-19 09:31:00 -08:00
Arun Kumar Khandavalli
68a04e245d qcacld-3.0: Increase the stats timeout higher than transport timeout
Currently the higher layer osif timeout is less than the underlying
transport layers qmi timeout resulting in the userspace queuing
multiple command without the transport layer timing out.

Change-Id: Ib18dc0532b883bda3fd1dc234488baf90ba5da5f
CRs-Fixed: 3112038
2022-01-19 09:30:54 -08:00
Madan Koyyalamudi
ffa5875455 Release 5.2.1.7R
Release 5.2.1.7R

Change-Id: Ieff9a00432ba447fc9021141c4e47a8f28275349
CRs-Fixed: 774533
2022-01-19 05:39:12 -08:00
Yu Wang
95310d4c81 qcacld-3.0: handle ML scenario for PCL setting
Handle ML scenario for PCL setting.

Change-Id: Ida632bff8709e2467649d094de4b4074ff0f15d7
CRs-Fixed: 3107517
2022-01-19 05:39:12 -08:00
Madan Koyyalamudi
bc631524e4 Release 5.2.1.7Q
Release 5.2.1.7Q

Change-Id: I71a5e73c86443e0e34f572be121e60983b3e0ec6
CRs-Fixed: 774533
2022-01-19 04:29:54 -08:00
Wu Gao
75071a2b44 qcacld-3.0: Cleanup pre-auth when start to disconnect
Pre-auth on different channel and started scan, then all scan
cancelled due to disconnect request, which cause command -
WLAN_SER_CMD_PERFORM_PRE_AUTH stuck in serialization active queue till
time out and blocking WLAN_SER_CMD_VDEV_START_BSS.

Change-Id: Ib6fa3c5275cea4b889296d3e1100550b81fb3255
CRs-Fixed: 3021018
2022-01-19 04:29:54 -08:00
Madan Koyyalamudi
a2ab9ae965 Release 5.2.1.7P
Release 5.2.1.7P

Change-Id: I8991602dd917be573135a0c796e3de7a7aefb46a
CRs-Fixed: 774533
2022-01-18 18:56:10 -08:00
Surabhi Vishnoi
31d8576ebd qcacld-3.0: Add kbuild cpp flag for low power mode feature
Add cpp flag support for CONFIG_ENABLE_LOW_POWER_MODE in Kbuild.
Currently, this config is enabled for wearables only.

Change-Id: I2fb08930290f5c23641e1d76796ab829b31aae04
CRs-Fixed: 3110291
2022-01-18 18:56:10 -08:00
Madan Koyyalamudi
378e5dea42 Release 5.2.1.7O
Release 5.2.1.7O

Change-Id: I9b75fd6bf89351bac658d07f4ed538dbbff1821c
CRs-Fixed: 774533
2022-01-18 08:41:12 -08:00
Abhishek Singh
62e14cfa41 qcacld-3.0: Enhance logs in freq on same MAC APIs
Avoid printing of mac range in freq on same MAC APIs
(policy_mgr_are_2_freq_on_same_mac and
 policy_mgr_are_3_freq_on_same_mac), and rate limit
other logs to avoid flooding of same info.

Change-Id: Ia6c3b2a71f81066e55b0200c6286939e146125b0
CRs-Fixed: 3111452
2022-01-18 08:41:11 -08:00
Madan Koyyalamudi
a344e9111a Release 5.2.1.7N
Release 5.2.1.7N

Change-Id: I40b2b350fe68080d75cac3436fdadcb513e94edf
CRs-Fixed: 774533
2022-01-18 06:56:34 -08:00
Surabhi Vishnoi
3319a74b56 qcacld-3.0: Allow suspend in Deep Sleep/Hibernate in wearables
Deep Sleep or Hibernate are system level mode power
modes wearable targets in which wlan firmware is shutdown
gracefully and linux kernel and platform are suspended.

Currently, wlan suspend and pm_suspend is not allowed if
firmware is down, with this change suspend is allowed if firmware
is down due to Deep Sleep or Hibernate low power state.

Change-Id: Ide7b8957d1cfe455d57769c30f0bb3d6e564cddc
CRs-Fixed: 3108081
2022-01-18 06:56:34 -08:00
Madan Koyyalamudi
6acb4ae665 Release 5.2.1.7M
Release 5.2.1.7M

Change-Id: I26f936c83ee514e5ff411892a67b8c2c0041016b
CRs-Fixed: 774533
2022-01-18 05:50:23 -08:00
Karthik Kantamneni
0474a821f1 qcacld-3.0: Add peer to inactive list based on unmap ref count
Currently dp peer is being added to inactive list during force
delete, but there is possiblity of peer getting freed up if
unmap ref count is not pending and leading to double free during
pdev cleanup.

To avoid this add the peer to inactive list only if unmap ref
count is pending.

Change-Id: Ib55a92dd36c4ec4a26d3103896ca31ff3d845148
CRs-Fixed: 3110728
2022-01-18 05:50:23 -08:00
Madan Koyyalamudi
9985884787 Release 5.2.1.7L
Release 5.2.1.7L

Change-Id: I9661aa6c657ad31a5cfb1180790346b9ea3186c9
CRs-Fixed: 774533
2022-01-18 00:53:19 -08:00
Arun Kumar Khandavalli
64ef69d772 qcacld-3.0: Increase the BMISS vdev count to 4
Max sta vdev config is increased to 4 for kiwi, increase the related
BMISS max vdev count also to 4.

Change-Id: Ief2543675d2cf7f18ffdafe999f6a967e997b4ef
CRs-Fixed: 3108608
2022-01-18 00:53:19 -08:00
Madan Koyyalamudi
853ad217a4 Release 5.2.1.7K
Release 5.2.1.7K

Change-Id: Ie71c5bc9a23eca062bb0cceac9f09150a697da5a
CRs-Fixed: 774533
2022-01-14 17:56:53 -08:00
Amruta Kulkarni
91fd25ed83 qcacld-3.0: Lim changes for MLO roaming
- Added code for handling legacy to MLO roaming scenarios.
- Added code for mlo link peer create and delete.

Change-Id: I56f9321f6576e2b26d1de267cc1924eba250f00d
CRs-Fixed: 3098659
2022-01-14 17:56:53 -08:00
Madan Koyyalamudi
5679c38d2e Release 5.2.1.7J
Release 5.2.1.7J

Change-Id: I60a3791cd871ab0acf5e5a2d657e2535e773f1c0
CRs-Fixed: 774533
2022-01-14 09:07:00 -08:00
Jingxiang Ge
3dde33185f Revert "qcacld-3.0: Prevent runtime suspend on ll_stats and get station requests"
This reverts commit I7704a3b9b3e8ad187677705e1b11fbd82be73cfb.

This change cause CXPC failure, as each ll_status will cause
runtime pm resume.

Change-Id: I3547181fb8cfee1e5e40992dfaf5547eaac29a2a
CRs-Fixed: 3110499
2022-01-14 09:07:00 -08:00
Alan Chen
c3b228f53a qcacld-3.0: Add check for return value of qdf_delayed_work_create
Add check for return value of qdf_delayed_work_create to resolve
compilation errors for new kernel.

Change-Id: Iaaad29a6f50baf11bb8b6951a5d2e5ccf15bc293
CRs-Fixed: 3110415
2022-01-14 09:06:54 -08:00
Madan Koyyalamudi
d2f68c4951 Release 5.2.1.7I
Release 5.2.1.7I

Change-Id: I2e2be4aeb514a6b53ff3435056e77ef0a13399cb
CRs-Fixed: 774533
2022-01-14 03:50:04 -08:00
chunquan
51509a327f qcacld-3.0: Replace blacklist/whitelist for denylist/allowlist
Replace blacklist/whitelist with denylist/allowlist for
blacklist manager component. and replace blm with dlm.

Change-Id: I8dec146d8cb3b61dc891b72bea44704b8ab733fe
CRs-Fixed: 3087575
2022-01-14 03:50:03 -08:00
Madan Koyyalamudi
2d84395960 Release 5.2.1.7H
Release 5.2.1.7H

Change-Id: Ic5ef3bbbde3a47cbfd278343d153b94609661685
CRs-Fixed: 774533
2022-01-13 22:20:17 -08:00
Surabhi Vishnoi
5dcd8bdd26 qcacld-3.0: Do not ignore idle_shutdown in case of driver mode change
Allow idle shutdown in case it is triggered due to driver mode change
even if any of interface is up.

Change-Id: I29db749d40729a7e7633836bd23083f7652ac845
CRs-Fixed: 3106971
2022-01-13 22:20:16 -08:00
Madan Koyyalamudi
0b3528ab3d Release 5.2.1.7G
Release 5.2.1.7G

Change-Id: I26b0413ef44b8a305c3f1da548a9aa3f5c52e639
CRs-Fixed: 774533
2022-01-13 19:13:12 -08:00
Jianmin Zhu
d79afa8020 qcacld-3.0: Fix arp offload not sent when suspend
When host resume, check arp offload status wrongly, so arp offload
disable cmd isn't sent to F/W. when next suspend comes, arp offload
enable cmd isn't sent too.

Change-Id: I06ea617df49287ee87e7b5bf8b20971b581dedf1
CRs-Fixed: 3106172
2022-01-13 19:13:12 -08:00
Madan Koyyalamudi
850df9353b Release 5.2.1.7F
Release 5.2.1.7F

Change-Id: I04ea42db6ddf85f89f5f12a5602f0d65dae24375
CRs-Fixed: 774533
2022-01-13 17:07:19 -08:00
Yu Wang
728e81e5a4 qcacld-3.0: handle MLO scenario for roam processing
Treat MLO STA as a single entity in roam processing:
only process roam related requests on assoc vdev.

Change-Id: Ida9665771e00236c491f58dc764cc6e470dcb6df
CRs-Fixed: 3104659
2022-01-13 17:07:17 -08:00
Madan Koyyalamudi
fd0ebe20c7 Release 5.2.1.7E
Release 5.2.1.7E

Change-Id: Ia928ce4af44948a06ede869225f390b3fb83b105
CRs-Fixed: 774533
2022-01-13 08:57:06 -08:00
Yu Wang
cc24a3b819 qcacld-3.0: map WEIGHT_OF_GROUP4_PCL_CHANNELS to valid weights
Map WEIGHT_OF_GROUP4_PCL_CHANNELS to WMI_PCL_WEIGHT_MEDIUM.

Change-Id: I478213eb45ed240b150ed8c9aeb7f37f5767f493
CRs-Fixed: 3109631
2022-01-13 08:57:06 -08:00
Madan Koyyalamudi
ca83b8efb4 Release 5.2.1.7D
Release 5.2.1.7D

Change-Id: I75e02a5d8972e79ca3edb52839b942dce61470c8
CRs-Fixed: 774533
2022-01-13 01:11:30 -08:00
Amruta Kulkarni
24f04ca536 qcacld-3.0: Add api's to handle MLO Roaming
- New api's added to handle mlo roaming scenarios.
- Read and store link addr from wmi.

Change-Id: I6a18802d27f72235dc69d2eedb05f3e563d1b0f4
CRs-Fixed: 2997105
2022-01-13 01:11:30 -08:00
Madan Koyyalamudi
5017adcd22 Release 5.2.1.7C
Release 5.2.1.7C

Change-Id: I476bfeffee380e69d3e1fb4d9f45266607e33491
CRs-Fixed: 774533
2022-01-12 11:06:59 -08:00
Chaoli Zhou
5d0487a1a4 qcacld-3.0: Fix no member named 'he_gi' compile issue
As for kernel-5.4, data struct cfg80211_bitrate_mask
has no member named 'he_gi', but kernel-5.10 has it.
So change the kernel version to fix the compile issue.

Change-Id: If79ea7af98964c1cfb7ded02549f7014d0024f9f
CRs-Fixed: 3108741
2022-01-12 11:06:58 -08:00
Madan Koyyalamudi
3d0a37a479 Release 5.2.1.7B
Release 5.2.1.7B

Change-Id: I9be834e3d227a6ea1796114e8413288622b35560
CRs-Fixed: 774533
2022-01-12 08:57:14 -08:00
Bing Sun
23c9d0bb4c qcacld-3.0: Call lim_send_assoc_rsp_mgmt_frame with valid sta ds
If there is a valid sta ds, call lim_send_assoc_rsp_mgmt_frame with
this valid sta ds.

For mlo, we only send assoc response on assoc link, we need sta ds
to drop non assoc link requests in lim_send_assoc_rsp_mgmt_frame.
For mlo if it is non assoc link request and sta ds is not created,
do not call lim_send_assoc_rsp_mgmt_frame.

Change-Id: Ie027221873458e492eabb37c668cd9222e6a2636
CRs-Fixed: 3106406
2022-01-12 08:57:14 -08:00
Madan Koyyalamudi
b6dc344e26 Release 5.2.1.7A
Release 5.2.1.7A

Change-Id: I89a848ac11e6e848df7ecdeb8d23e9a92fe5010b
CRs-Fixed: 774533
2022-01-12 01:51:36 -08:00
Arun Kumar Khandavalli
7facf0618c qcacld-3.0: Reduce the idle shutdown time to 250msec
Currently the idle shutdown timer is 10sec which was kept as a
experimental value during design, now because of issues from
customers where the wifi on/off from user should also help to
recover host/fw issues reducing the time to 250msec

Change-Id: I88ccfce1ac6d4654a4436771f291a22431585f44
CRs-Fixed: 3104701
2022-01-12 01:51:34 -08:00
Bapiraju Alla
9b19711595 qcacld-3.0: Hold mutex lock while registering wdev
From the kernel, it is expected to hold the mutex lock while registering
wdev. Currently it is not done hence kenel is asserting while
registering wdev.

To avoid kernel assert, register wdev after holding the mutex lock.

Change-Id: I497e428f6cea54a11b68ba68852fa1e98df475be
CRs-Fixed: 3103089
2022-01-12 01:51:25 -08:00
Ashish
7498ae997a qcacld-3.0: Add bug_on if 5 consecutive ll_stats requests fails
If ll_stats command does not receive response from fw continuously
for some time then there is no way to determine the actual reason
of this comamand failure if the logs are overwritten.

With this change, add bug_on and trigger recovery after 5
continuous command failures so that the current logs are captured
to analyse the issue.

Change-Id: I8f2f08d598c25ccea5ecd4b02c86e1069daeb6e0
CRs-Fixed: 3106087
2022-01-12 01:51:09 -08:00