Commit Graph

23277 Commits

Author SHA1 Message Date
Yu Wang
e7df98e50e qcacld-3.0: Enable DCS for QCA6490
Enable CONFIG_DCS for QCA6490 in default_defconfig.

Change-Id: I45726ff0032e72939efde6a73051796c788f9ff6
CRs-Fixed: 2976853
2021-07-01 04:24:03 -07:00
Abhishek Singh
a651b893b9 qcacld-3.0: Remove unused params of struct csr_roam_info
Remove unused params of struct csr_roam_info.

Change-Id: I90aeafc9618ca9569769b7d708d4b552c5ef93ae
CRs-Fixed: 2981156
2021-07-01 04:23:56 -07:00
Madan Koyyalamudi
4e57076cf5 Release 5.2.0.238Y
Release 5.2.0.238Y

Change-Id: I2169da19e087de5929dc1bf9fb2aee15dece461f
CRs-Fixed: 774533
2021-07-01 02:04:03 -07:00
sheenam monga
9742335f49 qcacld-3.0: keep pmo_enable_igmp_offload inside igmp feature flag
Currently ucfg_pmo_enable_igmp_offload is conditionally compiled
with feature flag WLAN_FEATURE_BIG_DATA_STATS which may introduce
compilation issue when WLAN_FEATURE_BIG_DATA_STATS is disabled
but WLAN_FEATURE_IGMP_OFFLOAD is enabled.

Fix is to use WLAN_FEATURE_IGMP_OFFLOAD feature flag for
pmo_enable_igmp_offload.

Change-Id: I647ad960f5c0abc14449f0af9430f867ddcdf1e3
CRs-Fixed: 2981344
2021-07-01 02:04:03 -07:00
Madan Koyyalamudi
9d2ee305ea Release 5.2.0.238X
Release 5.2.0.238X

Change-Id: Id4b9126697e604c7e81a636f89f9d650a7501b7c
CRs-Fixed: 774533
2021-06-30 18:51:45 -07:00
Yu Tian
2af4d0a937 qcacld-3.0: use adaptive timeout value for rx thread flush
When vdev down flag is set, rx thread needs to flush the
pending frames in a fixed timeout value. Overall scheduler
timeout value is 10s, fixed timeout for each thread is 4s,
so if more than two threads timeout happens, scheduler timeout
may happen and lead to crash. Change to use adaptive timeout
for each thread to make overall threads wait time less than 10s.

Change-Id: If8acdaf1cac9d776e15d3020c8152101eae74a0c
CRs-Fixed: 2973947
2021-06-30 18:51:44 -07:00
Madan Koyyalamudi
46783236fc Release 5.2.0.238W
Release 5.2.0.238W

Change-Id: I6b89c440bac6fd1d3eea2a825e5ecfc62dc84add
CRs-Fixed: 774533
2021-06-30 13:47:24 -07:00
Mohit Khanna
f06df4c16a qcacld-3.0: Cleanup HW-based feature flags from Kbuild
Currently we use hardware based feature flags in Kbuild file to
enable/disable certain feature flags. In case hardware changes, then we
would also need to edit Kbuild file to enable feature flags for the next
target. Instead, use CONFIG_<FEATURE_FLAG> from defconfig files to
enable DP feature flags. This will limit the changes for hardware update
to defconfig files only.

Change-Id: Icc8aa6ad51904946f9141a0f41728ed72b1f6d2f
CRs-Fixed: 2964342
2021-06-30 13:47:24 -07:00
Mohit Khanna
8869913019 qcacld-3.0: Add HIF NAPI Stats to periodic STATS
Add HIF NAPI stats to periodic stats, so that interrupts/CPUs can be
observed.

CRs-Fixed: 2971353
Change-Id: I91d022cd6faf85c3ac7099a453e3cbe4d823af2f
2021-06-30 13:47:19 -07:00
Mohit Khanna
41c2c3060a qcacld-3.0: Disable GENERIC_SHADOW_ENABLE feature for BE
Disable the feature as force wake recipe is expected to work on BE.

CRs-Fixed: 2971353
Change-Id: Ic4c4cd1d23272ddea00e9bb8bb23bf72b5a4bbff
2021-06-30 13:47:15 -07:00
Rakesh Pillai
5010352aea qcacld-3.0: Enable Near Full IRQ in Kbuild
Enable the Near Full IRQ feature flag in Kbuild
for WCN7850.

Change-Id: I3c3760133c3fb31233f8abf450dacbd9ba51f09c
CRs-Fixed: 2965085
2021-06-30 13:47:10 -07:00
Manjunathappa Prakash
add10158ba qcacld-3.0: Add support for additional REO rings for Hamilton
Hamilton supports 4 additional REO rings to cater to increased
throughput. Enable additional REO rings.

Change-Id: I5a527724220cf898994e71b48cee577e3c538f9f
2021-06-30 13:47:05 -07:00
Madan Koyyalamudi
3964321a52 Release 5.2.0.238V
Release 5.2.0.238V

Change-Id: If1ac8b027bac1d3c86df2a440ff6a707f60a2e00
CRs-Fixed: 774533
2021-06-30 02:06:57 -07:00
Deeksha Gupta
0bb0c0e680 qcacld-3.0: Print all peer info for SAP TWT get_status
Currently, host prints only one peer info instead of
all peer info as part of oem_ss initiated broadcast
SAP TWT get_status command.

Add a support to print all peer info if oem_ss sends
broadcast SAP TWT get_status command.

Change-Id: I0a617f655b7a5486582cb47a4602b30514ffae88
CRs-Fixed: 2970487
2021-06-30 02:06:57 -07:00
Karthik Kantamneni
dfee357853 qcacld-3.0: Don't skip GRO flush for non-legacy clients
Currently GRO flush is being skipped if bus bandwidth level
is low this is resulting in rx packets to be in queue for more
time and affecting over all RTT value.

To avoid this for non legacy clients GRO flush is not being skipped
even at low throughput level.

Change-Id: I5ce64ee2bd5f332cf4db38116b1bbf400220269b
CRs-Fixed: 2978843
2021-06-30 02:06:52 -07:00
Madan Koyyalamudi
282ddde1fb Release 5.2.0.238U
Release 5.2.0.238U

Change-Id: I7b00b476dcfbbc28c68838479f3f2a18508a945b
CRs-Fixed: 774533
2021-06-29 21:39:07 -07:00
Abhishek Singh
76ff2f706c qcacld-3.0: Cleanup STA specific code from SAP/NAN start bss
Cleanup STA specific code from SAP/NAN start bss.

Change-Id: Iae62d8f01fef297f68ec7836b787b178167f0e69
CRs-Fixed: 2980398
2021-06-29 21:39:07 -07:00
Gururaj Pandurangi
928955ae6c qcacld-3.0: Update ap power type for 6G roaming case
Update the ap power type when STA moves in/out of 6G
during roaming in beacon process API. Add new API
wlan_reg_get_6g_power_type to return ap power type
and country code match.
Currently, after roaming, the lim join req is null and
the null check in TPC calculation API returns without
calculating the TPC power again. This change should
fix the issue and recalculate TPC power after roaming.

Change-Id: Ide50d1d516307dd5661ad31f2b48c85f08ed2891
CRs-Fixed: 2968407
2021-06-29 21:39:02 -07:00
Madan Koyyalamudi
72a68d7384 Release 5.2.0.238T
Release 5.2.0.238T

Change-Id: I23f0b337bf31d8d87e068e8e9e13460ed8e216c2
CRs-Fixed: 774533
2021-06-29 19:14:49 -07:00
Abhishek Singh
a2c4145a3c qcacld-3.0: Cleanup unused params from csr structs
Cleanup unused params from csr structures.

Change-Id: I8384ad5e8c6a9d7f33ffe9bc1ed5508776f39607
CRs-Fixed: 2980067
2021-06-29 19:14:49 -07:00
Ashish Kumar Dhanotiya
89c41b9256 qcacld-3.0: Enable utf for connection manager
Add a logic to enable utf for connection manager.

Change-Id: Id8ac70c6437bb9d77cc374abbbeea17dab6f9e3a
CRs-Fixed: 2975701
2021-06-29 19:14:36 -07:00
Madan Koyyalamudi
88d665ea2e Release 5.2.0.238S
Release 5.2.0.238S

Change-Id: I826a0e4a5c4c35fcd3d944a068cf6aaa6e59d042
CRs-Fixed: 774533
2021-06-29 15:04:57 -07:00
Abhishek Singh
febb2d848f qcacld-3.0: Remove connection manager Macro from kbuild
Remove connection manager Macro from kbuild.

Change-Id: Ica3e5b36c7d8d885f02c906db3456227d25cdfc6
CRs-Fixed: 2979612
2021-06-29 15:04:57 -07:00
Yu Wang
c96692a0f9 qcacld-3.0: allow DCS interference event to wake up host
Set WOW event bitmap for WMI_DCS_INTERFERENCE_EVENTID.

Change-Id: I41d9101789adfdc954e4bade974113c51c7f6141
CRs-Fixed: 2960240
2021-06-29 15:04:53 -07:00
Madan Koyyalamudi
be9edd6a63 Release 5.2.0.238R
Release 5.2.0.238R

Change-Id: If759398e006d48192f57d8a1b2ab20a54a8150c5
CRs-Fixed: 774533
2021-06-29 12:45:35 -07:00
abhinav kumar
d6c9e893a0 qcacld-3.0: Print 5g & 6g candidate rssi threshold in kmsg
In case of WTC_BTM roam trigger reason, if FW reports rssi
threshold for 5G and 6G AP via wmi_roam_trigger_reason,
Host should print it in kmsg.

If wtc_candi_rssi_ext_present is set (1), It means fw
reports 5g and 6g candidate rssi (new firmware case).
If wtc_candi_rssi_ext_present is clear (0), It means fw
doesn’t report 5g and 6g candidate rssi (old firmware case).

Host use flag "wtc_candi_rssi_ext_present" to keep backward
compatibility.

Change-Id: Idbaac2e9d470525641c152b024b8786d262e600c
CRs-Fixed: 2965025
2021-06-29 12:45:35 -07:00
Madan Koyyalamudi
807f380593 Release 5.2.0.238Q
Release 5.2.0.238Q

Change-Id: Ibe009c38872ea2273ad5d4a526c83857e222a7c2
CRs-Fixed: 774533
2021-06-29 07:09:32 -07:00
Ashish Kumar Dhanotiya
b96c06d2b5 qcacld-3.0: Fill cac duration as well in wiphy channels
Currently driver does not fill cac duration for wiphy channels
whenever it indicates current channels configs to user space.

With this change fill cac duration as well in wiphy channels

Change-Id: I847468f0c1839974ea1c6cd31260fb7ef4fbb897
CRs-Fixed: 2975822
2021-06-29 07:09:32 -07:00
Madan Koyyalamudi
b4af3e0d09 Release 5.2.0.238P
Release 5.2.0.238P

Change-Id: I3bd8c8f4f30923d66c106296515f1737e04da9ca
CRs-Fixed: 774533
2021-06-29 03:54:14 -07:00
Yu Ouyang
3d25ada75c qcacld-3.0: clean flag chan_switch_in_progress if link tear down
If the channel-list that AP is asking us to switch is invalid, then
we cannot switch the channel. Just call lim_tear_down_link_with_ap()
to disassociate from AP. We will find better AP.
So, vdev_stop, peer_del, vdev_down will be sent. VDEV_MLME state
is back to init.

But, we didn't clean flag chan_switch_in_progress. When better AP
found, vdev will start. Because flag chan_switch_in_progress is true,
WMI_VDEV_RESTART_REQUEST_CMDID sent. But WMI_VDEV_START_REQUEST_CMDID
is expected. And then WMI_VDEV_RESTART_RESP_EVENT received.

Host will send WMI_PEER_SET_PARAM_CMDID with parameter ID
WMI_PEER_CHWIDTH(4) once WMI_VDEV_RESTART_RESP_EVENT received.
However, FW was already back to INIT state because vdev already down.
PEER state was init state, PEE_CHWIDTH set not allowed.

So, flag chan_switch_in_progress should be clean if vdev_stop sent.

Change-Id: I1b72b2a774b80b3725c7a21ec0d308036d551dcb
CRs-Fixed: 2970123
2021-06-29 03:54:14 -07:00
Liangwei Dong
11611472b1 qcacld-3.0: Avoid duplicated thermal level change event
At present, duplicated thermal level change events are reported
on different mac with different pdev id from target. To report
the lowest pdev id's thermal level to avoid confusing the user.

Change-Id: Ia1f497ba1a1e0af946b87924de80b9fd39fe95e8
CRs-Fixed: 2976437
2021-06-29 03:54:09 -07:00
Madan Koyyalamudi
62a7eb9d30 Release 5.2.0.238O
Release 5.2.0.238O

Change-Id: I309cc7b61e246772943019f635c4aea1d5f1131f
CRs-Fixed: 774533
2021-06-29 01:33:01 -07:00
Yu Wang
df4bcbdb97 qcacld-3.0: Add sanity check for RRM global channel list
Add sanity check for RRM global channel list to avoid
possible NULL-Pointer issue.

Change-Id: Icfbf5282304a549a0dc92889f83cb1a31dde15b2
CRs-Fixed: 2972194
2021-06-29 01:33:01 -07:00
Madan Koyyalamudi
dfad9fb2b3 Release 5.2.0.238N
Release 5.2.0.238N

Change-Id: I63384cfcd93825557209046e9332a97875c90e00
CRs-Fixed: 774533
2021-06-28 19:25:49 -07:00
Wu Gao
9a64793130 qcacld-3.0: Enable wakelock for enhanced CFR capture
There is potential risk when starting CFR and resume happens at same
time. Wake lock is added to CFR component, and this change enables
wake lock for enhanced CFR.

Change-Id: I1ebe8c11fad66b66adcad0b551756abf2c010cde
CRs-Fixed: 2977699
2021-06-28 19:25:49 -07:00
Madan Koyyalamudi
0e11222cf8 Release 5.2.0.238M
Release 5.2.0.238M

Change-Id: Ie7926b0af90b4f99e1f7194fbfd5350027509fbd
CRs-Fixed: 774533
2021-06-28 14:41:29 -07:00
Abhishek Singh
1af81f83c6 qcacld-3.0: Code cleanup for unused csr files
Code cleanup for unused csr files.

Change-Id: I15d4e64534c960c7f048f2a7b7bbedac419700da
CRs-Fixed: 2978777
2021-06-28 14:41:29 -07:00
Abhishek Singh
5ca9e12a4e qcacld-3.0: Code cleanup for connection manager MLME/SME
Remove unused code related to ndef FEATURE_CM_ENABLE in MLME/SME.

Change-Id: I022823296d2e186450a1a1082a975eccf0b7c122
CRs-Fixed: 2977907
2021-06-28 14:41:24 -07:00
Madan Koyyalamudi
d9fb3d334d Release 5.2.0.238L
Release 5.2.0.238L

Change-Id: Ie5f07e19e92138c3bcbf4ff499383fa3f3fecc51
CRs-Fixed: 774533
2021-06-28 12:24:34 -07:00
Surabhi Vishnoi
8301f863d1 qcacld-3.0: Fill the average rx rssi in rx data packets
Currently, rssi of rx data packet is not received as part of rx_tlv_hdr.
To mitigate this limitation, fill the average rx rssi received from
firmware in wmi smart monitor event which is stored in pkt_capture's
vdev_priv structure.

Change-Id: I3a1b7b766979816d6b17f05edc1c25d503edec1d
CRs-Fixed: 2958109
2021-06-28 12:24:34 -07:00
Abhishek Singh
046eb026ea qcacld-3.0: Code cleanup for connection manager in LIM/WMA
Remove unused code related to ndef FEATURE_CM_ENABLE in LIM/WMA.

Change-Id: I1697f0a6c9102e3b70ce6f7a1c78ea895d4d160b
CRs-Fixed: 2977902
2021-06-28 12:24:29 -07:00
Abhishek Ambure
1d037f5650 qcacld-3.0: Reset cac state before precac sap start
Host creates a precac adapter and uses it for all the precac
request instances from userspace. To avoid cac state impact
of previous instance on current precac request, reset the
cac_state before starting a prepcac adapter.

Change-Id: I8bb7a2d10350eeeafaac9bea60947a52a1e8686e
CRs-Fixed: 2970505
2021-06-28 12:24:24 -07:00
Madan Koyyalamudi
21fe332f5b Release 5.2.0.238K
Release 5.2.0.238K

Change-Id: I0278086914f863f389f4ef771018d9d0398ea3ec
CRs-Fixed: 774533
2021-06-28 07:22:30 -07:00
Yeshwanth Sriram Guntuka
b4377be446 qcacld-3.0: Do not do PN check in case of WEP security
In WEP connection, IV values used for consecutive packets
could be random and need not be monotonically increasing
or consecutive in case of fragments. This could result in
incorrect drop of fragments.

Fix is to not do PN check in case of WEP security.

Change-Id: I8bfe16f3bf68752f4279b3fae1cf485a3abc1af7
CRs-Fixed: 2977416
2021-06-28 07:22:29 -07:00
Madan Koyyalamudi
3aa48b7f6b Release 5.2.0.238J
Release 5.2.0.238J

Change-Id: I92737b7dd1edf445ac6b1db3ca1cde6e6d7338aa
CRs-Fixed: 774533
2021-06-27 23:35:23 -07:00
Abhishek Singh
e9531a9d24 qcacld-3.0: Code cleanup for connection manager CSR
Remove unused code related to ndef FEATURE_CM_ENABLE in CSR.

Change-Id: I156b7ee286f666ee5d660312bf5ba2fe364165c4
CRs-Fixed: 2977584
2021-06-27 23:35:22 -07:00
Madan Koyyalamudi
7b04d1ae9b Release 5.2.0.238I
Release 5.2.0.238I

Change-Id: I21322c21ed886e3356dbf980a5e79926699599a4
CRs-Fixed: 774533
2021-06-27 21:18:28 -07:00
Abhishek Ambure
da63682687 qcacld-3.0: Update GFP flag in nl vendor event for CFR data
Host use GFP_KERNEL flag in cfg80211_vendor_event() to send CFR data
via NL event to userspace. Host gets CFR data from FW and processes
it in soft_irq context. To avoid host sleep in soft_irq context, call
cfg80211_vendor_event() with GFP_ATOMIC flag.

Change-Id: I9ab5451eb2650fe177638d0bb3974a9c933a1cf9
CRs-Fixed: 2978140
2021-06-26 11:21:36 +05:30
Madan Koyyalamudi
68a5ccbcee Release 5.2.0.238H
Release 5.2.0.238H

Change-Id: Ieb054ec3842b48ce3d4a750f8157e5cdf4d9e3e8
CRs-Fixed: 774533
2021-06-25 14:15:01 -07:00
Surabhi Vishnoi
9686432f2c qcacld-3.0: Add function to fill rssi received from target in vdev_priv
Add function to populate the rx average rssi received from target in
pkt_capture vdev_priv structure. The rx average rssi is received in
wmi smart monitor event.

Change-Id: I9206669b418a2245bb8d53920040fddea77ce06c
CRs-Fixed: 2969242
2021-06-25 14:15:01 -07:00