Commit Graph

25332 Commits

Author SHA1 Message Date
chunquan
ae8134b2ce qcacld-3.0: Clean up probe req after HB failed code
Since HB failed logic change to send deauth, we don't
need probe logic after HB failed. Clean up timer and
unnecessary code.

Change-Id: I26d9235c157065a21469b01abf31751825a1f277
CRs-Fixed: 3158364
2022-03-25 08:33:17 -07:00
Madan Koyyalamudi
21699e1efe Release 5.2.1.15J
Release 5.2.1.15J

Change-Id: I1cf9ba6213f343c2c1ff0608b5997c8d888b843f
CRs-Fixed: 774533
2022-03-25 07:20:03 -07:00
Subrat Dash
f90a06d5a8 qcacld-3.0: Enable sysfs for p2p-go mode
Create sysfs entry to enable or disable capture of
datapath tx delay stats per vdev in p2p-go mode.

Change-Id: I40ac17f50d78df4ce3bffba5c2719d337f58d8eb
CRs-Fixed: 2981002
2022-03-25 07:20:03 -07:00
Madan Koyyalamudi
4dd29624b4 Release 5.2.1.15I
Release 5.2.1.15I

Change-Id: I430c5a5296f8b28817ed50943e355aec8a1c22c8
CRs-Fixed: 774533
2022-03-25 01:36:20 -07:00
Rakesh Pillai
d6e6f8a861 qcacld-3.0: Disable TX credit cmd and status rings for Kiwi
Kiwi target does not use the TX credit cmd ring and the
TX status ring.
Hence disable these srngs for Kiwi target.

Change-Id: I2473aad5b16316e3033c7d7ee9f81ee518dd2097
CRs-Fixed: 3157132
2022-03-25 01:36:20 -07:00
Madan Koyyalamudi
c4750d8eb4 Release 5.2.1.15H
Release 5.2.1.15H

Change-Id: Ief865b16923fe3be086ac30abf707b600eb15c9f
CRs-Fixed: 774533
2022-03-24 23:23:39 -07:00
Bing Sun
a1921c1e06 qcacld-3.0: Update sta connection timestamp to EasyMesh
Indicate sta connection timestamp information to EasyMesh.

Change-Id: I6e0c8b4d5b246eecaa4e73041a329322c14ba2d4
CRs-Fixed: 3051535
2022-03-24 23:23:38 -07:00
Madan Koyyalamudi
1c13fb5e6a Release 5.2.1.15G
Release 5.2.1.15G

Change-Id: Ife0119d47b4aaafab9ad39eb3d7fae59130809f9
CRs-Fixed: 774533
2022-03-24 19:34:19 -07:00
Surya Prakash Sivaraj
e80bed206a qcacld-3.0: Reduce the log completion timeout
The thread that triggers wifi logger data from the
framework will be blocked until firmware and host
driver flushes their logs. The thread acquires wdev
lock when it gets suspended.

As the thread gets blocked, any cfg80211 driver kernel
call from the host driver that needs wdev could lead
to assert. Therefore, reduce the timeout from 3seconds
to 500 milliseconds.

Change-Id: I41f664ea686fa7c46ec580b2b0216c66968a677a
CRs-Fixed: 3156050
2022-03-24 19:34:19 -07:00
Madan Koyyalamudi
a5cbdeb175 Release 5.2.1.15F
Release 5.2.1.15F

Change-Id: I92fb0b05dec741db95822fe45ce8b8d12d8b624c
CRs-Fixed: 774533
2022-03-24 18:16:11 -07:00
Jianmin Zhu
255d161802 qcacld-3.0: Revert "Reconfig ITO when enter WoW for runtime pm"
Avoid sending any new WMI command during RTPM WoW sequence.

Change-Id: I4313257cbf8f83e79a74970cdff5a91d9c1eebb0
CRs-Fixed: 3157005
2022-03-24 18:16:11 -07:00
Jianmin Zhu
89d99afd4c qcacld-3.0: Revert "Fix assert for wmi cmd for invalid vdev"
Avoid sending any new WMI command during RTPM WoW sequence.

Change-Id: I78554358c2f225a9ead0dd347174b1a3189300f3
CRs-Fixed: 3157005
2022-03-24 18:16:05 -07:00
Madan Koyyalamudi
481fbdb119 Release 5.2.1.15E
Release 5.2.1.15E

Change-Id: I8919b62ab63172bb776b6439db36116c7e7ca98f
CRs-Fixed: 774533
2022-03-24 13:18:12 -07:00
Liangwei Dong
ea23c5f897 qcacld-3.0: Process MCC quota target event
Add and Register target if API to process MCC
quota wmi event. Deliver the event to existing
interfaces.

Change-Id: Ib044a336af2f5093dffbb053e65a52a174b85154
CRs-Fixed: 3101870
2022-03-24 13:18:12 -07:00
Madan Koyyalamudi
c823b9667c Release 5.2.1.15D
Release 5.2.1.15D

Change-Id: Iabbf07c7769c901fc32d3efe529c18cbaa744b9d
CRs-Fixed: 774533
2022-03-24 06:46:50 -07:00
Yeshwanth Sriram Guntuka
e64efc518f qcacld-3.0: Add new sysfs entry to enable tx_delay
Add new sysfs entry to enable or disable capture of
datapath tx delay stats per vdev.

Enable HW_TX_DELAY_STATS config flag for Lithium targets
to support capture of tx delay stats at runtime.

Change-Id: I838961daf27e08c4b6e693852c62f9f894f499a5
CRs-Fixed: 2981004
2022-03-24 06:46:50 -07:00
Madan Koyyalamudi
c8d40e2c05 Release 5.2.1.15C
Release 5.2.1.15C

Change-Id: I3a5a44234cddf6e6769a4941bccbe9e5f3004986
CRs-Fixed: 774533
2022-03-24 05:29:43 -07:00
Subrat Dash
19619ce40b qcacld-3.0: Send L2UF frame to update bridge forwarding table
Generate a Level 2 update frame and send it to the bridge in SAP
mode when a new station connects.

It will update the forwarding table of all the bridge devices
through source port learning.

Change-Id: Ia804968453c051e4c8322d3735506a912c0d963d
CRs-Fixed: 2997409
2022-03-24 05:29:43 -07:00
Madan Koyyalamudi
87304f21e8 Release 5.2.1.15B
Release 5.2.1.15B

Change-Id: Ia275808066b5967ee18a3770bf3c08fc4a47bc40
CRs-Fixed: 774533
2022-03-24 01:44:28 -07:00
Subrat Dash
19e3d0b415 qcacld-3.0: Add support for WDS repeater feature
Enable source port learning for SAP to add AST entry for the
remote stations with next hop. The SAP should use 4-address
frame format for the remote destinations.

Add support to handle data packets for WDS destination.

Change-Id: I6002e6dd9c9bb2c7b2e4f85bf06156dbb7feebee
CRs-Fixed: 2997812
2022-03-24 01:44:27 -07:00
Madan Koyyalamudi
3607584ce8 Release 5.2.1.15A
Release 5.2.1.15A

Change-Id: I8adfe75a5257b74d5629e86aed957d2a36584cb3
CRs-Fixed: 774533
2022-03-23 21:09:39 -07:00
Lin Bai
cd75ac9160 qcacld-3.0: Save user power-save config settings properly
Save the user power-save configuration setting in NL power save
command handler, rather than wlan_hdd_set_powersave.

Change-Id: I02612c53617e2c53e86ef19f37d4aa4c8b9b10d1
CRs-Fixed: 3155954
2022-03-23 21:09:39 -07:00
Madan Koyyalamudi
a2d07d545a Release 5.2.1.15
Release 5.2.1.15

Change-Id: I39304a522c9544bbaf7036da851f815b6bcd2ab2
CRs-Fixed: 774533
2022-03-23 19:42:07 -07:00
Pragaspathi Thilagaraj
d19ee8c7dc qcacld-3.0: Kbuild changes for new wifi pos files
Add Kbuild changes for the below new wifi pos files:
target_if_wifi_pos_tx_ops.c
target_if_wifi_pos_rx_ops.c

Change-Id: Icf64ace3fdcd359d7248cdbe1a009faeedcd5f8d
CRs-Fixed: 3139942
2022-03-23 19:42:06 -07:00
Pragaspathi Thilagaraj
a5de781f47 qcacld-3.0: Advertise 11az security related wiphy ext flags
Call the Wifi Pos API to advertise 11az security
related wiphy ext flags. Add Kbuild changes for new
file to advertise Wiphy Feature flag.

Change-Id: Id8c9c51770c3153c9c8a140f965249d1b0d1a844
CRs-Fixed: 3150582
2022-03-23 19:42:00 -07:00
Madan Koyyalamudi
5083b2a652 Release 5.2.1.14Z
Release 5.2.1.14Z

Change-Id: I7333d3037bcf4d7fb5c7a067811c294cd5c5e615
CRs-Fixed: 774533
2022-03-23 17:03:27 -07:00
Mohit Khanna
b2bc131098 qcacld-3.0: Enable DELAYED_REG_WRITE for CONFIG_PCI_MSM
Enable delayed register write feature for PCI based WLAN socs
in MSM platforms.

Change-Id: I8261c776ea2adcbe92fa87d3eed7d48ae9933730
CRs-Fixed: 3146740
2022-03-23 17:03:26 -07:00
Madan Koyyalamudi
0b77f4c6b2 Release 5.2.1.14Y
Release 5.2.1.14Y

Change-Id: I3097521765bf67558ed3621e9ee78f8077e44229
CRs-Fixed: 774533
2022-03-23 11:06:21 -07:00
Ashish
f853df3d5b Revert "qcacld-3.0: Fix arp offload not sent when suspend"
This reverts commit I06ea617df49287ee87e7b5bf8b20971b581dedf1

which introduced a fix to enable/disable arp offload on every
suspend/resume even if gActiveModeOffload is enabled, which is
not correct. The expectation here is that if gActiveModeOffload
is enabled, host should enable arp offload only onece and it
should not disable on any condition.

Change-Id: Ifc4ff1c0a39cc4c17e9a292ef8b0ebabd766a710
CRs-Fixed: 3147896
2022-03-23 11:06:21 -07:00
Madan Koyyalamudi
2f3abf889a Release 5.2.1.14X
Release 5.2.1.14X

Change-Id: I63568a097d3d8f87c6cca77d85141009c3a25536
CRs-Fixed: 774533
2022-03-23 07:43:38 -07:00
anikkuma
05c26a216a qcacld-3.0: Add support for getting AP capabilities
Add support for sending the AP capabilities to SON module

Change-Id: I9308608e321aa21f6e0566958508ceaf78c5635b
CRs-Fixed: 3154537
2022-03-23 07:43:38 -07:00
Madan Koyyalamudi
6034799457 Release 5.2.1.14W
Release 5.2.1.14W

Change-Id: I656f3269e90024d65f62a9e0393ada499bbaa699
CRs-Fixed: 774533
2022-03-23 04:48:28 -07:00
Jingxiang Ge
ee4a748759 qcacld-3.0: Add length check in wma_update_beacon_noa_ie
It may cause out of bound access if length exceed
SIR_MAX_BEACON_SIZE.

Add length check to protect that.

Change-Id: I6581b62aa8b380a0f1195a16515ad635a9154023
CRs-Fixed: 3147267
2022-03-23 04:48:27 -07:00
Madan Koyyalamudi
ea4fba45ac Release 5.2.1.14V
Release 5.2.1.14V

Change-Id: I3941c85f442dec6e8dd4ef883d1d8d03b106e07e
CRs-Fixed: 774533
2022-03-23 02:11:57 -07:00
Lincoln Tran
3c8477cf9f qcacld-3.0: Reject TDLS cmd if still in progress
Reject any incoming get_all_peers TDLS command if there are any
currently in progress.

The later commands will only be processed once the earlier commands
finish, since they are processed sequentially. However, once a
command finishes, the memory allocated for it from userspace is freed
up. Each command is passed the same address so the later commands will
end up writing to a freed address. To avoid this, reject incoming
requests if there are any still in progress.

Change-Id: I6970e3b73c6ce5afc921edaaf477825928800342
CRs-Fixed: 3150044
2022-03-23 02:11:56 -07:00
Madan Koyyalamudi
3ed0b008d2 Release 5.2.1.14U
Release 5.2.1.14U

Change-Id: Ieed5a37918d0491d0677ff51a457ce38db34c518
CRs-Fixed: 774533
2022-03-23 00:48:44 -07:00
Yeshwanth Sriram Guntuka
fc08738230 qcacld-3.0: Add op in dp_ol_if_ops to send unit test cmd
Add support for sending unit test command to FW via
dp_ol_if_ops for datapath.

Change-Id: I6afb69a862c366c66a1e1f3dc009964272dfb75a
CRs-Fixed: 3148644
2022-03-23 00:47:46 -07:00
Madan Koyyalamudi
b836c62e87 Release 5.2.1.14T
Release 5.2.1.14T

Change-Id: I89700cc965508130a4c5a62fcdeb93674b791f84
CRs-Fixed: 774533
2022-03-22 23:25:25 -07:00
Chaoli Zhou
c2fe56b756 qcacld-3.0: Support send BTM-REQ on SAP mode from driver
Filter out the BSS Transition Management Request frame
and allow it to be sent out from driver to firmware.

Change-Id: I6672c55421b0aa5cf186c82bec977848fdaddc2b
CRs-Fixed: 3154042
2022-03-22 23:25:25 -07:00
Yu Ouyang
762c9528f0 qcacld-3.0: Enable the RX_PERFORMANCE and HIF_CPU_PERF_AFFINE for Genoa
Enable two configure to improve performance whatever perf or debug image.
1. CONFIG_RX_PERFORMANCE, improve rx performance
2. CONFIG_HIF_CPU_PERF_AFFINE_MASK, Set IRQ affinity for CE IRQs to
   gold cores

Change-Id: I2953cbf4b97973e61f920e6485ebde2d6fd93359
CRs-Fixed: 3104699
2022-03-22 23:25:19 -07:00
Madan Koyyalamudi
71938fc704 Release 5.2.1.14S
Release 5.2.1.14S

Change-Id: I57abbeedaaa2843fc4de281e14c33c4b03d00190
CRs-Fixed: 774533
2022-03-22 17:00:32 -07:00
Vulupala Shashank Reddy
5acf8c3e2a qcacld-3.0: Reduce the log level to optimize roam time
Reduce the log level for the frequent acceptable errors
to reduce the roam latencies.

Change-Id: I9f5405025948d160e6fcd65ecca05dce7670ea84
CRs-Fixed: 3150439
2022-03-22 17:00:32 -07:00
Madan Koyyalamudi
e730b26b28 Release 5.2.1.14R
Release 5.2.1.14R

Change-Id: Idbfdd3c38bb8973e34e0e37a2966c2240a7b7e97
CRs-Fixed: 774533
2022-03-22 10:43:52 -07:00
Arun Kumar Khandavalli
2fa9d87942 qcacld-3.0: Configure the mld address wow pattern during vdev create
Currently mac address is getting configured as the wow pattern
while the vdev is getting created, configure the mld address also
during the vdev creation so during legacy connection or roaming
between the ml-legacy vice versa there wont be packet drops because
of pattern mismatch.

Change-Id: I9b98649bca132a6665f2e4dd94d9c6b840223827
CRs-Fixed: 3124115
2022-03-22 10:43:52 -07:00
Madan Koyyalamudi
53364d2cd0 Release 5.2.1.14Q
Release 5.2.1.14Q

Change-Id: Ie4eeb038ce38f5b72680103c15de0d7367efe459
CRs-Fixed: 774533
2022-03-22 08:44:06 -07:00
Utkarsh Bhatnagar
6462fb28ed qcacld-3.0: Set SA query Offload bit in Wiphy
For kernel 5.17 onwards, sa query offload bit
should be set which signifies that sa query is
offloaded to driver and userspace shall ignore
SA Query procedures and validations.
So, set SA query offload bit in ap_sme capability
flag.

Change-Id: Ie9911e6f122b63b76b5189973d302dec99050886
CRs-Fixed: 3146736
2022-03-22 08:44:05 -07:00
Madan Koyyalamudi
a6b08f4b68 Release 5.2.1.14P
Release 5.2.1.14P

Change-Id: I32f6e7bedd3985af2c1d79a1c48597c69b4c6a14
CRs-Fixed: 774533
2022-03-21 19:05:50 -07:00
Ananya Gupta
d38c336051 qcacld-3.0: Enable feature to deliver all OOR frames to stack
Enable feature DP_RX_DELIVER_ALL_OOR_FRAMES for lithium DP
which will allow all OOR frames to stack.

Change-Id: I3ad59fc3b3fc8e70b2f05a7cfa23e2646c1e03a4
CRs-Fixed: 3152334
2022-03-21 19:05:50 -07:00
Madan Koyyalamudi
9fd8b726a7 Release 5.2.1.14O
Release 5.2.1.14O

Change-Id: I5dc98285c8d921ebc5df70ea499f2417208209e6
CRs-Fixed: 774533
2022-03-21 17:05:03 -07:00
Utkarsh Bhatnagar
fea133e371 qcacld-3.0: Move MLO STA concurreny handling to Policy Mgr
Move MLO STA-SAP concurreny handling to Policy Mgr which
is present in CSR currently.
Also, Move MLO STA-STA concurreny handling to Policy Mgr
which was part of If Mgr currently.

Change-Id: I2b8de17c3d31b43ff1f6b81a7de07b88888d7fb5
CRs-Fixed: 3153393
2022-03-21 17:05:03 -07:00