Graphe des révisions

23260 Révisions

Auteur SHA1 Message Date
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
Madan Koyyalamudi
755388276d Release 5.2.0.238G
Release 5.2.0.238G

Change-Id: Ia563326849fcd31a32776a34809992b1718842d1
CRs-Fixed: 774533
2021-06-25 11:56:19 -07:00
Balaji Pothunoori
7c35c46258 qcacld-3.0: tx aggr support based on firmware capability
Currently ini based tx aggr support disabled due to firmware
incompatibility.

This change is to enable ini based tx aggr support based
on firmware capability.

Change-Id: Id5d7197f18fafd926de889f9b69ca2be90497fd2
CRs-Fixed: 2859709
2021-06-25 11:56:19 -07:00
Balaji Pothunoori
d56c5ea434 qcacld-3.0: revert Disable TX_AGGREGATION_SIZE ini for HSP
This reverts commit I9e49ad5218f913f116cf4472f768f572740f14df
since ini based tx aggregation is configured based on firmware
capability.

Change-Id: I54541cd282eda6606e75fa347989624a0e0fef01
CRs-Fixed: 2963280
2021-06-25 11:56:14 -07:00
Balaji Pothunoori
3dfe4180a2 Revert "qcacld-3.0: Enable TX_AGGREGATION_SIZE_ENABLE for HST"
This reverts commit Ieca8464991a6a194d6f02b70fe4972aca288b541.

Change-Id: Iacdbafc5e7e07a3a3effc029edb4adf58a619ada
CRs-Fixed: 2963209
2021-06-25 11:56:09 -07:00
Balaji Pothunoori
683de5d1f1 Revert "qcacld-3.0: Fix No AMSDU/MPDU aggregation issue"
This reverts commit I0c86e74f6447f401d24660e1291abf969b1abbe6.

Change-Id: I31bea28044fbec4911f42a38be1b1b6679dd6dda
CRs-Fixed: 2963188
2021-06-25 11:56:05 -07:00
abhinav kumar
e0fe068d35 qcacld-3.0: SAP not following STA channel
With below INI configuration, SAP is not following the STA
channel. It's forming STA + SAP MCC instead of Forced SCC.
1. gWlanMccToSccSwitchMode = 4
   (QDF_MCC_TO_SCC_SWITCH_WITH_FAVORITE_CHANNE)
2. gEnableSAPManadatoryChanList=1

When channel switch mode is
QDF_MCC_TO_SCC_SWITCH_WITH_FAVORITE_CHANNE and if STA
is on 5ghz and SAP also comes on 5ghz then driver considers
the HW mode as DBS capable and it allows SAP to form
MCC which is not favorable.

For non_DBS target, the fix is to allow SAP to
do force SCC if the channel switch mode is
MCC_TO_SCC_SWITCH_WITH_FAVORITE_CHANNE.

Change-Id: I4b945dc1831909caff72f8398c959f4450765f2b
CRs-Fixed: 2972273
2021-06-25 11:56:00 -07:00
Abhishek Singh
af34815a41 qcacld-3.0: Code cleanup for connection manager in HDD
Remove unused code related to ndef FEATURE_CM_ENABLE in HDD.

Change-Id: I2934e4a867458561c50170b0e786e63f20f1af4a
CRs-Fixed: 2977577
2021-06-25 11:55:56 -07:00
Madan Koyyalamudi
02492ff860 Release 5.2.0.238F
Release 5.2.0.238F

Change-Id: Ide07b8f5c1ee1f73206183e4c3640d18c6875828
CRs-Fixed: 774533
2021-06-25 09:40:17 -07:00
Surabhi Vishnoi
1954f6e25e qcacld-3.0: Register handler for wmi smart monitor event
Register handler for wmi smart monitor event in packet capture
mode in lithium. Currently, wmi smart monitor event provides
average rssi of last ten received data packets.

Change-Id: Ieeea5cbef328b04f139f54e7a42d52a3cf25824b
CRs-Fixed: 2969245
2021-06-25 09:40:17 -07:00
Vevek Venkatesan
3ca1f5fff2 qcacld-3.0: reorder error checks in ipa_uc_ol_deinit
Reorder error checks in ipa_uc_ol_deinit, so it can
return immediately if IPA config is not enabled.

Change-Id: Ibf9f30650ce201eea562baf07b6dd9b83fd8dfff
CRs-Fixed: 2977474
2021-06-25 09:40:12 -07:00
Huashan Qu
1d647269cd qcacld-3.0: Enable connection manager LFR2 code path
Enable connection manager LFR2 code path, then all targets which are
using LFR2 will switch to connection manager code path.

Change-Id: I37f831596699d39e635d88ee88faf841f3a36063
CRs-Fixed: 2968850
2021-06-25 09:40:08 -07:00
Ashish Kumar Dhanotiya
a341934e9a qcacld-3.0: Create dump_in_progress sysfs file
Based on new requirement create a sysfs file dump_in_progress,
this file has read and write functionalities for a bool variable,
if the value in this file is set to 1 cnss_diag will trigger
DEBUG_DUMP cmd to wpa_supplicant_8_lib through wpa_ctrl socket.
After log copy completion cnss_diag will reset sysfs node to 0.

Change-Id: I93f612d3caf4ef6ad5db98bc531ab091e96c7817
CRs-Fixed: 2971373
2021-06-25 09:40:04 -07:00
Madan Koyyalamudi
7f7006698d Release 5.2.0.238E
Release 5.2.0.238E

Change-Id: I731ea27c12dd8770e114e6b508984b82f063814a
CRs-Fixed: 774533
2021-06-25 07:19:54 -07:00
Sachin Ahuja
5399f87f06 qcacld-3.0: Reset the suspend flag on SSR
When cfg80211 suspend comes to the driver it configures the various
offloads to FW and set the hdd_wlan_suspended flag. If FW crashes after
this flag is set, the driver reinitializes but this flag is not
reset. As a result of this, the data packets are dropped which
leads to the connection failure.

To resolve this issue, reset the hdd_wlan_suspended flag during the
driver reinitalization.

CRs-Fixed: 2976125
Change-Id: I125a6a840f9cd7673fed921d1af112a6e1671bcb
2021-06-25 07:19:54 -07:00
Huashan Qu
c2aa4de42f qcacld-3.0: Only zero out reassoc_ft_ie under 11r and open mode
Currently, if it's 11r connection, zero out reassoc_ft_ie in
cm_preauth_success(), it will cause FT roaming failed due to
ft ie loss with reassoc request frame.

Fix is to only zero out reassoc_ft_ie when connection is 11r
and open mode.

Change-Id: I8c1d6ca743b528c4ab0211723a792b14abe5acab
CRs-Fixed: 2976385
2021-06-25 07:19:50 -07:00
Madan Koyyalamudi
cdaf61e7ef Release 5.2.0.238D
Release 5.2.0.238D

Change-Id: I0ebd7403d9f16c020c7917c9f83b056e9167faae
CRs-Fixed: 774533
2021-06-25 00:47:58 -07:00
Jianmin Zhu
fee0a0e3ed qcacld-3.0: Enable UDP print in WoW case
If WoW wake up packet is not DHCP, but general UDP, also print it.

Change-Id: I1aa26a9396787ff2775402c6fcb8f697567744bc
CRs-Fixed: 2976286
2021-06-25 00:47:57 -07:00