Commit Graph

24373 Commits

Author SHA1 Message Date
Madan Koyyalamudi
ba6acfde12 Release 5.2.0.255K
Release 5.2.0.255K

Change-Id: I15997d75f1517b093dab649f1f641525ca861e63
CRs-Fixed: 774533
2021-11-10 23:02:37 -08:00
Will Huang
eb218a1c61 qcacld-3.0: Add vendor attribute to configure ARP/NS offload
In some scenario, it is required to receive every ARP/NS packet even
it is not to solicit address itself. So add this vendor attribute
configuration to enable/disable ARP/NS offload on fly.

On some platform, if target suspend to WoW mode, APF filter will drop
such ARP/NS packet in the front, so prevent runtime suspend happen
if disable ARP/NS offload. System suspend still allow in consideration
of potential power impact.

It only support on STA/P2P-Client mode device, and this configure is
optional, while default behavior is ARP/NS offload enable. It will
restore to default behavior if interface being closed.

Change-Id: Icd49e230024bc1ce51519cd9fafee9bc9f79f382
CRs-Fixed: 3058494
2021-11-10 23:02:37 -08:00
Madan Koyyalamudi
1480887425 Release 5.2.0.255J
Release 5.2.0.255J

Change-Id: I81887d1720fcd1521ef1f6e6203a8f3990a3aa69
CRs-Fixed: 774533
2021-11-10 02:30:44 -08:00
sheenam monga
65c2cb4682 qcacld-3.0: Add ini support for tx_retry_multiplier
Add ini support for tx_retry_multiplier and send
tx_retry_multiplier to fw as PDEV_STATS_TX_XRETRY_EXT
pdev param, so that fw can multiply the counter by the
percentage provided by user.

Change-Id: Ie2f06dc3aaa4a161a451b68abd085cc1537eb468
CRs-Fixed: 3066799
2021-11-10 02:30:44 -08:00
Madan Koyyalamudi
c454a6fd06 Release 5.2.0.255I
Release 5.2.0.255I

Change-Id: Iaafe433edf4929031b0d641b347d2aad7e2f0a0d
CRs-Fixed: 774533
2021-11-09 22:19:52 -08:00
Amit Mehta
72fb06b560 qcacld-3.0: Enable network queue directly in case of roaming
Currently in the case of roaming between latency-critical connection
and non-latency critical connection we are scheduling work to
update features and after feature update we are enabling network queues
which is introducing a delay in enabling queues due to work schedule.

To Fix the issue enable network queue in the current context and schedule
work to update features.

Change-Id: Idba5b81a58aaf2bd47d80da1d17ad0acf9939071
CRs-Fixed: 3070688
2021-11-09 22:19:52 -08:00
Madan Koyyalamudi
c2f957175b Release 5.2.0.255H
Release 5.2.0.255H

Change-Id: If8a09300d2553fb7ec047087bc7eeb5b065e0b15
CRs-Fixed: 774533
2021-11-09 19:21:39 -08:00
abhinav kumar
3511153ef6 qcacld-3.0: Allow host to send bssid hint to userspace
Userspace sends a connect request to host and connect
request contains either BSSID or BSSID hint.

Fix is to validate bssid_hint for non zero or broadcast
instead of checking for bssid.

Change-Id: I468f412c0b07c379b9719e175d5709c37b862a6d
CRs-Fixed: 3064383
2021-11-09 19:21:38 -08:00
sheenam monga
1c91e56fc7 qcacld-3.0: Fix force SCC for Autonomous GO+GO
Currently "is_forcescc_restart_required" flag is updated
for first go when any new go comes up. Force scc is
done as part of set key and it is expected that when CLI
joins second GO, first GO moves to new GO's channel but in
case of AUTO GO when no client is connected to first GO
and second GO comes up then "is_forcescc_restart_required"
is set for existing GO but when any client joins first GO
then as part of set key CSA is triggered for same target and
current frequency because "is_forcescc_restart_required" is true
for first AUTO GO. As target and current frequencies are same,
CSA fails and "is_forcescc_restart_required" sets to false. When
CLI joins second GO then CSA for first GO doesn't happen as
"is_forcescc_restart_required" is already changed to false as
part of first CSA attempt.

Fix is to trigger CSA only if current and target session ids are
different.

Change-Id: Ib875cdd93e08f4edc912589b867b733a1d57bdf3
CRs-Fixed: 3067847
2021-11-09 19:21:34 -08:00
Madan Koyyalamudi
250535a58f Release 5.2.0.255G
Release 5.2.0.255G

Change-Id: I2eeeec8adcb816d721244e8aa6f359f94118cdb2
CRs-Fixed: 774533
2021-11-09 15:34:35 -08:00
Yeshwanth Sriram Guntuka
f819fd2149 qcacld-3.0: Enable multiple TX ring pairs for qca6490
Enable config flag to use multiple tx and tx completion
ring pairs for qca6490 when IPA is disabled.

Change-Id: Iafa6df504d7be55cbc5a233d6975963f0e118df5
CRs-Fixed: 3059736
2021-11-09 15:34:35 -08:00
Yeshwanth Sriram Guntuka
1e31f26b25 qcacld-3.0: Affine tx rings intrs to gold core at very high tputs
Affine tx rings interrupts to gold cores at very high tput
level and to silver cores at tput levels lower than very
high.

Change-Id: I90006645acb82b71c63d2255722e2c67bb7a2f46
CRs-Fixed: 3059716
2021-11-09 15:34:30 -08:00
Mohit Khanna
de54732b25 qcacld-3.0: Use FW stats to update TX/RX stats
Currently we use sta_info TX/RX counters to update stats request from
upper layers. This requires these counters to be updated in per packet
path during TX/RX. These counters are already available from FW stats.
Hence use FW stats to update TX/RX packet and byte count.

Obtain last_tx_rx timestamp from DP layer.

CRs-Fixed: 3059244
Change-Id: Ic36c025992bf1dca6702e4b39efd797f5735f78a
2021-11-09 15:34:25 -08:00
Mohit Khanna
8105ca9b57 qcacld-3.0: Throughput based runtime PM support
Invoke runtime_pm APIs based on throughput level in bus bandwidth timer.

CRs-Fixed: 3059244
Change-Id: Ie1d5d8eddeec6076aa162e3ba3604ffd54fcc98d
2021-11-09 15:34:20 -08:00
Mohit Khanna
31e3feb24e qcacld-3.0: Add HDD SAP Data trace functions
Add tracings APIs for SAP datapath.

CRs-Fixed: 3059244
Change-Id: I3c1891bdb3d14cb8dad75e053c5b96c596d3d978
2021-11-09 15:34:15 -08:00
Mohit Khanna
c36b6729e3 qcacld-3.0: Optimize hdd_wmm_select_queue
Remove validate_context call from hdd_select_queue and replace it with
light-weight cds_is_driver_transitioning API.
Add SSR protection using hdd_dp_ssr_protect APIs to
hdd_wmm_select_queue.

CRs-Fixed: 3059244
Change-Id: Iff991ea0cc8afefc8711b233e864a47ba5fb4fec
2021-11-09 15:34:11 -08:00
Mohit Khanna
6f11bb125a qcacld-3.0: Remove sta_info usage from softap xmit
Remove sta_info usage from _hard_xmit SAP API. The APIs are
taking/releasing a lock to access sta_info and adds lots of cpu cycles.
Replace it by accessing dp_peer from DP layer and checking for its
state.
Some of the existing stats being updated in sta_info during TX packet
path will be updated on demand using CDP APIs and stats obtained from FW.

CRs-Fixed: 3059244
Change-Id: Id33d7271244687e616ce08b80e1c540ec9b42084
2021-11-09 15:34:06 -08:00
Madan Koyyalamudi
e171c409ae Release 5.2.0.255F
Release 5.2.0.255F

Change-Id: I8e1c3adf96d3601d9318e7ce072d4cc72b68a142
CRs-Fixed: 774533
2021-11-09 06:15:35 -08:00
Yeshwanth Sriram Guntuka
022e4b65f9 qcacld-3.0: Use QDF abstraction API to get cpu id
Use the QDF abstraction API to get the cpu id instead
of using HLOS API directly.

Change-Id: I555ac130e153b8a5c458670a276d277c19a97104
CRs-Fixed: 3070758
2021-11-09 06:15:35 -08:00
Madan Koyyalamudi
98989cb44c Release 5.2.0.255E
Release 5.2.0.255E

Change-Id: Ia68106623bc771259a92d1424df3f1ef48c6009d
CRs-Fixed: 774533
2021-11-09 04:04:39 -08:00
Arun Kumar Khandavalli
5f647b19ba qcacld-3.0: send peer authorize for the non assoc link
Send the peer authorize command for the non-assoc link.

Change-Id: I888f104ba549b738ca0bb7f8d50df04bcbf6328b
CRs-Fixed: 3056817
2021-11-09 04:04:38 -08:00
Madan Koyyalamudi
e088b5ba70 Release 5.2.0.255D
Release 5.2.0.255D

Change-Id: Idbc3926c7bd75205febcc777a41347ed1c880c16
CRs-Fixed: 774533
2021-11-09 00:21:21 -08:00
VIJAY RAJ
36b8fa050d qcacld-3.0: Fix fw_timestamp copy in cm_roam_trigger_info_event
In cm_roam_trigger_info_event, fw_timestamp is not copied to
wlan_log_record.

Add changes to copy fw_timestamp to wlan_log_record in
cm_roam_trigger_info_event.

Change-Id: I8ec7796b656d716e6ab3b7613be0c1332d5c9fa0
CRs-Fixed: 3068843
2021-11-09 00:21:21 -08:00
Madan Koyyalamudi
79c49fdf6a Release 5.2.0.255C
Release 5.2.0.255C

Change-Id: I2446938388afde2058fb34a4fd91db914e2d05ae
CRs-Fixed: 774533
2021-11-08 19:39:47 -08:00
Deeksha Gupta
e3e0f3b1b1 qcacld-3.0: Move enet.h header file
In wma_data.c file, move "enet.h" header after "wma.h" header

Change-Id: I7fd1128d32dce1768f61eb3b2e80245b67e3aa0f
CRs-Fixed: 3070893
2021-11-08 19:39:46 -08:00
Madan Koyyalamudi
1535d6c1f4 Release 5.2.0.255B
Release 5.2.0.255B

Change-Id: I3fbdc16501bfae64a42f597dceb1eb3edfec1311
CRs-Fixed: 774533
2021-11-08 13:21:18 -08:00
Jianmin Zhu
22dd408968 qcacld-3.0: Add self bss roam check for connnect cmd
Add self bss roam check in roam invoke cmd handler,
If ini enable_self_bss_roam is 0, don't permit to roam
to current connected bss, just keep current connection.

Change-Id: I7fe724e26d15bcc008957829e4e3384c60b58773
CRs-Fixed: 3069587
2021-11-08 13:21:18 -08:00
Madan Koyyalamudi
4b35a94b79 Release 5.2.0.255A
Release 5.2.0.255A

Change-Id: Ia9ccc6033727aa4ab367d0ec1d5eb878d9768e68
CRs-Fixed: 774533
2021-11-08 11:20:34 -08:00
Utkarsh Bhatnagar
fb350af4eb qcacld-3.0: SAP concurrency changes
SAP concurrency changes to support
SBS

Change-Id: I8a509b20ab172bce2df977f69a78f5ec0070535a
CRs-Fixed: 3052123
2021-11-08 11:20:33 -08:00
Madan Koyyalamudi
cea21cd5c9 Release 5.2.0.255
Release 5.2.0.255

Change-Id: Ib33a3e4ee072d8ab0072480bf441bfda8653f603
CRs-Fixed: 774533
2021-11-08 09:41:50 -08:00
Srikanth Marepalli
b58c94c063 qcacld-3.0: Add wow event and reason for roam event stats
This change sends the new wow event in the bitmap to FW only
when the roam stats suspend mode attribute is enabled from the
user space.
Also, the new wow reason is added to wake up the host while
sending the roam event stats.

Change-Id: Iaefb229929e8791870f33bf787487f7c20daf218
CRs-Fixed: 3050830
2021-11-08 09:41:50 -08:00
Amruta Kulkarni
db5eae6149 qcacld-3.0: Fix freqency list copy in cm_roam_scan_info_event
In cm_roam_scan_info_event, qdf_mem_copy is performed with
different sizes.

Fix is to assign frequency values instead of mem copy.

Change-Id: Ie7dc4eaf4d7c0b65100edd77d7c2306e53e2ea9b
CRs-Fixed: 3065698
2021-11-08 09:41:44 -08:00
Arun Kumar Khandavalli
ea94b543b7 qcacld-3.0: Release the leaked peer/vdev/pdev references
Presently, whenever there is any kind of reference leak in the system
wlan driver doesn't recover and goes into a bad state.

Add support to forcefully clean the references in the builds where
the leak detection is disabled, so the system can gracefully recover
and wifi can be functional.

Change-Id: Ib9f59e71fe7f09ab11322aa6da9834c2c58fc32f
CRs-Fixed: 3012995
2021-11-08 09:41:39 -08:00
Srikanth Marepalli
bbeccbc9ce qcacld-3.0: Fill the vendor attributes with the Roam stats
This change gathers the roam event stats from the FW.
New vendor event is used to fill in the vendor attributes
whenever the roam stats are received from Firmware.

Change-Id: I9a2ddef62d26b0b68897891788733df452ac1ceb
CRs-Fixed: 3036518
2021-11-08 09:41:34 -08:00
Srikanth Marepalli
5de37373cb qcacld-3.0: Vendor command changes to enable the roam events stats
Add new vendor command to enable the roam events stats from the
driver/FW in both resume and suspend mode.
New roam param is introduced to indicate the FW to enable/disable
the roam stats using the new roam set command.

Change-Id: I6d04f0946e6735613a4cf3d4361bf31052314fa0
CRs-Fixed: 3036518
2021-11-08 09:41:27 -08:00
Madan Koyyalamudi
76d287b2d4 Release 5.2.0.254Z
Release 5.2.0.254Z

Change-Id: Ice7cf461bd147b7a23980ae9da9a0e4779d1bdec
CRs-Fixed: 774533
2021-11-08 07:06:17 -08:00
Guisen Yang
d73ce958f8 qcacld-3.0: Change the max vdev number to 5
When 32 STAs connected to APUT, crash will happen because of lack
of resource. The max vdev number was decreased by 1 from the value
of 4 because of nan is not supported. Then FW will received the
value of 3 and finally the tid number is not enough. Change the
max value of vdev number to 5 to fix this issue.

Change-Id: Ia212a0b05922530526439206fd70a44f3ce03838
CRs-Fixed: 3064133
2021-11-08 07:06:17 -08:00
Madan Koyyalamudi
d464995f14 Release 5.2.0.254Y
Release 5.2.0.254Y

Change-Id: I16c89965e49e65d5e1470db8acbe9518e02d3664
CRs-Fixed: 774533
2021-11-07 22:52:37 -08:00
Yu Wang
b4e1e2b18a qcacld-3.0: add concurrency checking for MLO STA
Update the concurrency policy for STA mode.
For an upcoming STA connection:
1. Disallow the 2nd STA connection if multiple STA connections are
   not allowed.
2. Allow the secondary MLO link when primary link is connected.
3. Disallow ML STA when ML STA/SAP is present.
4. Disallow the 3rd STA.
5. Allow for the other cases.

Change-Id: I70c41177b7a3a9aa9cbac0aaced08c6eafca2b6d
CRs-Fixed: 3012577
2021-11-07 22:52:37 -08:00
Madan Koyyalamudi
672893071f Release 5.2.0.254X
Release 5.2.0.254X

Change-Id: I3ca6caf11c1b0e87b962f264d7413d3cd4438fdb
CRs-Fixed: 774533
2021-11-06 19:20:56 -07:00
Lincoln Tran
a036f8aaad qcacld-3.0: Move 6ghz check in band bitmap conversion API
Move the 6GHz support check so that the logic is invoked
regardless of the input band bitmap.

Change-Id: I45db2d2be8966ac073a8ede721d52bd689a98a88
CRs-fixed: 3069557
2021-11-06 19:20:56 -07:00
Madan Koyyalamudi
498a8661ae Release 5.2.0.254W
Release 5.2.0.254W

Change-Id: Ia3b649bd7ab4d6d13953ebc4743ddba374282d5a
CRs-Fixed: 774533
2021-11-06 11:51:52 -07:00
Yu Wang
b5bf07d319 qcacld-3.0: Update Kbuild to compile wmi_unified_11be_api APIs
Update Kbuild to compile wmi_unified_11be_api APIs.

Change-Id: I226cfd9b0d42e4d239a2b966da73c61f3998803e
CRs-Fixed: 3054742
2021-11-06 11:51:52 -07:00
Madan Koyyalamudi
8ba8c87d68 Release 5.2.0.254V
Release 5.2.0.254V

Change-Id: I74b4839dd5caf79e1bcbfa9c0d699409681e1850
CRs-Fixed: 774533
2021-11-05 16:31:42 -07:00
Balaji Pothunoori
517caa56e6 qcacld-3.0: add os_if layer for monitor mode configuration
Add os_if layer for monitor mode vendor configuration.

Change-Id: I20488e0e398b1761745b24a70e9888fe487b88ac
CRs-Fixed: 3055069
2021-11-05 16:31:41 -07:00
Madan Koyyalamudi
19532c3f4a Release 5.2.0.254U
Release 5.2.0.254U

Change-Id: Id2d2e7918bfdfed158db6c79cd9df1a86cd6dfa4
CRs-Fixed: 774533
2021-11-05 14:20:46 -07:00
abhinav kumar
a8f171946b qcacld-3.0: Send the deauth/disassoc mgmt frame info
When the wait_for_ack flag is not set in deauth/disassoc
case, the Host does not send the management frame info
log event to userspace.

Make changes to send the deauth/disassoc events when
wait_for_ack flag is not set.

Change-Id: Id9f4f2e4af124644d919bf36b12376d292acfe3e
CRs-Fixed: 3065707
2021-11-05 14:20:46 -07:00
Madan Koyyalamudi
dc34f76f52 Release 5.2.0.254T
Release 5.2.0.254T

Change-Id: I45c3624d38a46b6995cac5ad89f8bc1e08416bc9
CRs-Fixed: 774533
2021-11-05 12:32:26 -07:00
Yeshwanth Sriram Guntuka
931a150a12 qcacld-3.0: Enable TX multiq per AC config for LI/BE
Enable TX multiple queues per AC config flag for
Lithium and Beryllium.

Change-Id: I491991716fdddbd4c9e972d5fd3f6c1a67f3bb6f
CRs-Fixed: 3069651
2021-11-05 12:32:26 -07:00
Madan Koyyalamudi
499f7f7280 Release 5.2.0.254S
Release 5.2.0.254S

Change-Id: Id43e03715629b2c987a0b2e8cde94679de3ed362
CRs-Fixed: 774533
2021-11-05 11:03:04 -07:00